[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment #10 from John David Anglin --- I hit this error in stage1 after a small change to pa.cc. It seems to have gone after updating to Debian binutils 2.42-2. I just rebuilt without any changes to gcc tree. The error occurred with binutils 2.41.90.20240122-1.
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #9 from Rich Townsend --- OK, I managed to get things working by setting export LDFLAGS='-Wl,--no-eh-frame-hdr' prior to configuring. I'm hoping this won't affect the functionality of the built compiler.
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 Richard Biener changed: What|Removed |Added Target||x86_64-linux-gnu --- Comment #8 from Richard Biener --- yes
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #7 from Rich Townsend --- (In reply to Andrew Pinski from comment #6) > GCC 13 won't build with anything older than GCC 4.8.x as documented at > https://gcc.gnu.org/install/prerequisites.html (which is right now for the > trunk but that requirement has not changed yet). The plot thickens -- I misidentified the compiler, here's the correct id: [user@0ec987449fdf gcc-build]$ x86_64-pc-linux-gnu-g++ -v Using built-in specs. COLLECT_GCC=x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=/opt/bootstrap/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.1.0 (GCC) So, 12.1.0 should be perfectly capable of building 13.1, right?
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #6 from Andrew Pinski --- GCC 13 won't build with anything older than GCC 4.8.x as documented at https://gcc.gnu.org/install/prerequisites.html (which is right now for the trunk but that requirement has not changed yet).
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #5 from Rich Townsend --- (In reply to Andrew Pinski from comment #2) > What compiler did you start with? > That is what is the output of `x86_64-pc-linux-gnu-g++ -v` ? [user@60947d0cbd04 ~]$ x86_64-pc-linux-gnu-g++ -v bash: x86_64-pc-linux-gnu-g++: command not found [user@60947d0cbd04 ~]$ g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #4 from Rich Townsend --- Someone else seems to have the same problem: https://stackoverflow.com/questions/76375244/how-can-i-resolve-a-ld-eh-frame-hdr-refers-to-overlapping-fdes-error-during ...although there is no fix suggested.
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-07-13 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski --- To build an GCC 13, you might need to bootstrap GCC 10 (which is just c++98 code rather than C++11) and then bootstrap GCC 13.
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #2 from Andrew Pinski --- What compiler did you start with? That is what is the output of `x86_64-pc-linux-gnu-g++ -v` ?
[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #1 from Rich Townsend --- I should add that this is on CentOS 5.11, running inside a Docker container. This ships with a very old binutils, so before trying to compile gcc I installed binutils 2.40 (built from source with --disable-gprofng).