[Buildroot] compile error with 'crtstuff.c'

Asbjoern Laurberg asl at thrane.com
Mon Oct 5 09:18:12 UTC 2009


Heyendal, Carl wrote:
> Hi,

Hi,

> /home/heyendal/buildroot/output/toolchain/gcc-4.3.4/libgcc/../gcc/crtstuff.c 
> -DCRT_BEGIN
> /home/heyendal/buildroot/output/toolchain/gcc-4.3.4/libgcc/../gcc/crtstuff.c: 
> In function '__do_global_dtors_aux':
> /home/heyendal/buildroot/output/toolchain/gcc-4.3.4/libgcc/../gcc/crtstuff.c:306: 
> error: '__DTOR_LIST__' undeclared (first use in this function)
> /home/heyendal/buildroot/output/toolchain/gcc-4.3.4/libgcc/../gcc/crtstuff.c:306: 
> error: (Each undeclared identifier is reported only once
> /home/heyendal/buildroot/output/toolchain/gcc-4.3.4/libgcc/../gcc/crtstuff.c:306: 
> error: for each function it appears in.)

To get GCC compiling in Buildroot with a ARM926 + EABI-configuration the 
following post+patch was the solution:

http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg115966.html

-- 
Best regards,
Asbjoern Laurberg
Development Engineer
Thrane & Thrane A/S



More information about the buildroot mailing list