bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27428] Error .eh_frame_hdr refers to overlapping FDEs


From: darelab178 at wedbo dot net
Subject: [Bug ld/27428] Error .eh_frame_hdr refers to overlapping FDEs
Date: Wed, 17 Mar 2021 12:25:20 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27428

--- Comment #2 from Marco <darelab178 at wedbo dot net> ---
Sorry for the delay.
The error appeared building a software I'm working on that unfortunately I
cannot share.
Anyway I did some tests on that old machine:
- the problem occurs only with [gcc-10.2.0 + binutils-2.36.1], if I use the
[system gcc 4.2.4 + system binutils 2.18.0] I can build the program
- I tried to build other software (like fftw library) with [gcc-10.2.0 +
binutils-2.36.1] and I didnt have problems, so it seems that something in my
code originates the error
- if I add the option --no-eh-frame-hdr to the linker the configuration
[gcc-10.2.0 + binutils-2.36.1] works also with my code
- I don't know if there is a way to see which objects create the problem, I
added the verbose option to the linker but there is not information about the
objects that have the eh_frame_hdr inconsistency
- I tried to rebuild the gcc and the linker in the opposite order:
   - I built the binutils with the system gcc
   - I built the gcc using the linker of binutils-2.36.1
and in this case the problem disappeared, but I cannot use the gcc built with
the older linker because doesn't work, I can use only new gcc with new linker.

In conclusion I think there is some dependency between gcc and binutils.
At this point I don't know if is a bug or is a normal behavior.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]