-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
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