[LLVMdev] LLVM build problem
Andrew Haley
aph at redhat.com
Wed Aug 13 06:30:22 PDT 2008
Duncan Sands wrote:
> 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.
Hmm. It is "ld -r" that seems to be doing this.
If I use the sub-objects on their own I don't get any warning.
I've submitted this to RH bugzilla as https://bugzilla.redhat.com/show_bug.cgi?id=458950
Andrew.
More information about the llvm-dev
mailing list