http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46040
Summary: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: armv5tejl-unknown-linux-gnueabi Target: armv5tejl-unknown-linux-gnueabi Build: armv5tejl-unknown-linux-gnueabi /home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/ -B/home/ dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/ -B/home/dave/opt /gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/lib/ -isystem /home/dave/opt/ gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/include -isystem /home/dave/op t/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissi ng-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/home/dave/opt/gnu/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -o crtbegin.o -MT crtbegin.o -MD -MP -MF crtbegin.dep \ -c ../../../gcc/libgcc/../gcc/crtstuff.c -DCRT_BEGIN ../../../gcc/libgcc/../gcc/crtstuff.c: In function '__do_global_dtors_aux': ../../../gcc/libgcc/../gcc/crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared (first use in this function) ../../../gcc/libgcc/../gcc/crtstuff.c:308:26: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [crtbegin.o] Error 1 make[3]: Leaving directory `/home/dave/gnu/gcc/objdir/armv5tejl-unknown-linux-gnueabi/libgcc' -bash-3.2$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: armv5tejl-unknown-linux-gnueabi Configured with: ../gcc/configure --host=armv5tejl-unknown-linux-gnueabi --target=armv5tejl-unknown-linux-gnueabi --build=armv5tejl-unknown-linux-gnueabi --enable-languages=c,c++,fortran,objc,obj-c++ --enable-checking=release --enable-shared --enable-threads --disable-multilib --disable-libmudflap --disable-libssp --enable-symvers=gnu --enable-__cxa_atexit --disable-libstdcxx-pch --prefix=/home/dave/opt/gnu/gcc/gcc-4.5.0 --with-gmp=/home/dave/opt/gnu --with-as=/home/dave/opt/gnu/bin/as --with-ld=/home/dave/opt/gnu/bin/ld Thread model: posix gcc version 4.6.0 20101015 (experimental) [trunk revision 165513] (GCC)