[LLVMdev] dragonegg build failure

Duncan Sands baldrick at free.fr
Fri Apr 8 04:41:46 PDT 2011


Hi Jack,

>>>      The new dragonegg 2.9 sources fail to build against either FSF gcc 4.5.2 or 4.5.3svn
>>> (with the i386_static.diff patch applied) on x86_64-apple-darwin10. In both cases, the
>>> build fails as...
>>
>> what does the command
>>     ./TargetInfo -p
>> return (the TargetInfo program is created during the dragonegg build).
>> Some of your errors are consistent with this program failing to run.
>>
>
> Duncan,
>     Yes, the result from "./TargetInfo -p" is incorrect under darwin10...
>
> x86

x86 is correct for both 32 bit and 64 bit machines from the x86 family.  So are
you sure it is wrong?  Anyway, what I don't understand is why LLVM_TARGET_NAME
is then undefined (see the #error from your log output) since it is defined in
x86/Target.h.

Ciao, Duncan.



More information about the llvm-dev mailing list