[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25243] static linking with exceptions and iostream is broken on
m.olbrich at pengutronix dot de
[Bug ld/25243] static linking with exceptions and iostream is broken on ARM
Tue, 03 Dec 2019 16:46:31 +0000
--- Comment #1 from Michael Olbrich <m.olbrich at pengutronix dot de> ---
Right, it's a bug in ld:
The problem is, that __exidx_start is not correctly aligned. It is defined at
the end of the .ARM.extab section. This may be different from the start of the
In the error case here, __exidx_start is defined as the start of '.ARM.exidx -
As a result, the unwinding table is not read correctly and unwinding fails.
The changes that seem to trigger the issue just change the size of the
.ARM.extab so that its end is not 4 (or 8?) bytes aligned.
If I move the definition of __exidx_start inside the .ARM.exidx section in
ld/emulparams/armelf_linux_eabi.sh then everything works as expected.
I'm not sure if this is the correct fix or where else this needs to be fixed.
You are receiving this mail because:
You are on the CC list for the bug.