Skip to content

cmake error, no .eh_frame_hdr table will be created. #3764

@nlewycky

Description

@nlewycky
Bugzilla Link 3392
Resolution WORKSFORME
Resolved on Feb 22, 2010 12:51
Version trunk
OS Linux
CC @oscarfv

Extended Description

I get this message from ld a lot when building LLVM with cmake:

[ 81%] Building CXX object tools/llc/CMakeFiles/llc.dir/llc.cpp.o
Linking CXX executable ../../bin/llc
/usr/bin/ld: error in ../../lib/LLVMXCore.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMX86AsmPrinter.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMX86CodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMSparcCodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMPowerPCCodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMPIC16.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMMips.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMIA64.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMCellSPUCodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMARMCodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/LLVMAlphaCodeGen.o(.eh_frame); no .eh_frame_hdr table will be created.
[ 81%] Built target llc

The resulting bin/llc it built and works when run. What's up with the error though?

I'm on i686 Linux.

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-3' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 20090117 (prerelease) (Debian 4.3.2-3)

$ ld -v
GNU ld (GNU Binutils for Debian) 2.18.50.20080803

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacmakeBuild system in general and CMake in particularworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions