[LLVMdev] LLVM build problem

Duncan Sands baldrick at free.fr
Wed Aug 13 05:23:53 PDT 2008


Hi Andrew,

> Checking out LLVM from svn and building, I get:
> 
> llvm[2]: Linking Release executable ModuleMaker (without symbols)
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMX86.o(.eh_frame); no .eh_fr
> ame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMInterpreter.o(.eh_frame); n
> o .eh_frame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMExecutionEngine.o(.eh_frame
> ); no .eh_frame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMJIT.o(.eh_frame); no .eh_fr
> ame_hdr table will be created.

this looks like a bug in gcc: it has created an invalid exception handling frame.
I've seen this before, but not while compiling LLVM.

> Configured with:
> 
> ./configure \
> --disable-static \
> --enable-assertions \
> --enable-debug-runtime \
> --enable-jit \
> --enable-optimized \
> --enable-shared \
> --enable-targets=host-only \
> --with-pic \
> --enable-pic \
> --disable-binding
> 
> Host is x86_64-unknown-linux-gnu

Does it work if you configure with: ./configure
?

Best wishes,

Duncan.



More information about the llvm-dev mailing list