[LLVMdev] link errors on ARM with GCC 3.4.4

Chris Lattner sabre at nondot.org
Wed Oct 31 21:20:43 PDT 2007


On Oct 27, 2007, at 5:25 PM, P. Durante wrote:
>>
>> unfortunately gcc 4 has a different EABI (version 4 vs version 0) so
>> upgrading is out of question
>>
>> thanks in advance,
>> \pd\
>>
>
> I knew it, I should have tried harder...
>
> it's clearly an optimization bug in gcc, using -O2 still exhibits the
> same behavior, but I can now build successfully with
>
> make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION=-O1
>
> (tried both 2.1 and trunk/)
>
> the debug version seems to build fine as well (albeit I didn't wait
> for it to complete and killed make after about half an hour)
>
> maybe an update to http://llvm.org/docs/GettingStarted.html#brokengcc
> is necessary ? (ARM developers use CodeSourcery's toolchains a lot)

Sounds great, done:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071029/055053.html

Thanks!

-Chris



More information about the llvm-dev mailing list