[Buildroot] External Toolchain in latest stable buildroot

Ulf Samuelsson ulf.samuelsson at atmel.com
Mon Sep 14 05:57:41 UTC 2009


H Hartley Sweeten skrev:
> On Friday, September 11, 2009 3:50 AM, Teemu Keskinarkaus wrote:
>> Hi,
>>
>> So I was able to get some of the stuff compile and some not. The
>> external toolchain I'm using is Codesourcery's toolchain for arm.
>> Version is(Sourcery G++ Lite 2009q1-203) (gcc version 4.3.3)
>>
>> I'm quite sure that this is not 100% buildroot problem, but I ask
>> anyway.
>>
>> I hit problems when compiling bootstrap for AT91.
>>
>> Get few of these errors:
>>
>> build/at91sam9263ek/main.o:(.ARM.exidx+0x0): undefined reference to
>> `__aeabi_unwind_cpp_pr1'
>> build/at91sam9263ek/at91sam9263ek.o:(.ARM.exidx+0x0): undefined
>> reference to `__aeabi_unwind_cpp_pr0'
>>
>> I did some digging and it seems that the problem might be in the
>> toolchain, but it might also need some work in buildroot side.
>>
>> Has anyone been able to use CodeSourcerys toolchain to compile buildroot
>> for ARM? Or is anyone even using CodeSourcerys toolchain for ARM?
>>
>> Teemu Keskinarkaus
> 
> The Sourcery G++ Lite 2009q1-203 toolchain is a multilib sysroot toolchain.
> I had similar problems trying to get it to work for an EP93XX processor.
> 
> I think the AT91 processor is an ARM920T so you need to pass -march=armv4t
> to the toolchain to in order for it to compile the code correctly.  This
> is the same option I need for the EP93XX.

The AT91SAM9263 is an ARM926EJ-S.
BR
Ulf Samuelsson


> 
> I spent the last three weeks trying to get this toolchain to work correctly.
> I finally got "way" over my head and built my own toolchain with crosstool-ng.
> Personally I would prefer to use a prebuilt external toolchain but at least
> everything works now.
> 
> Regards,
> Hartley
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot





More information about the buildroot mailing list