http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46548

           Summary: Build arm gcc failure after patch 165463
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: car...@google.com
                CC: froy...@codesourcery.com


When I build arm gcc from the trunk source, I got a compile error. It is caused
by patch r165463. I can build arm gcc successfully when sync to revision
165462.

My configuration:

../trunk2/configure '--build=x86_64-build_pc-linux-gnu'
'--host=x86_64-build_pc-linux-gnu' '--target=arm-unknown-linux-gnueabi'
'--with-sysroot=/home/carrot/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root'
'--disable-multilib' '--with-float=soft' '--disable-sjlj-exceptions'
'--enable-__cxa_atexit' '--disable-nls' '--enable-threads=posix'
'--enable-symvers=gnu' '--enable-c99' '--enable-long-long'
'--enable-target-optspace' '--disable-bootstrap'
'build_alias=x86_64-build_pc-linux-gnu' 'host_alias=x86_64-build_pc-linux-gnu'
'target_alias=arm-unknown-linux-gnueabi' '--enable-languages=c,c++'


The error message is:

/usr/local/google/home/carrot/armobj3/./gcc/xgcc
-B/usr/local/google/home/carrot/armobj3/./gcc/
-B/usr/local/arm-unknown-linux-gnueabi/bin/
-B/usr/local/arm-unknown-linux-gnueabi/lib/ -isystem
/usr/local/arm-unknown-linux-gnueabi/include -isystem
/usr/local/arm-unknown-linux-gnueabi/sys-include    -g -Os -O2 -g -Os -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I. -I../../trunk2/gcc -I../../trunk2/gcc/.
-I../../trunk2/gcc/../include -I../../trunk2/gcc/../libcpp/include
-I/usr/local/google/home/carrot/armobj3/./gmp
-I/usr/local/google/home/carrot/trunk2/gmp
-I/usr/local/google/home/carrot/armobj3/./mpfr
-I/usr/local/google/home/carrot/trunk2/mpfr
-I/usr/local/google/home/carrot/trunk2/mpc/src 
-I../../trunk2/gcc/../libdecnumber -I../../trunk2/gcc/../libdecnumber/dpd
-I../libdecnumber    -g0 -finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector  -I. -I. -I../.././gcc -I../../../trunk2/libgcc
-I../../../trunk2/libgcc/. -I../../../trunk2/libgcc/../gcc
-I../../../trunk2/libgcc/../include  -o crtbegin.o -MT crtbegin.o -MD -MP -MF
crtbegin.dep  \
      -c ../../../trunk2/libgcc/../gcc/crtstuff.c -DCRT_BEGIN
../../../trunk2/libgcc/../gcc/crtstuff.c: In function '__do_global_dtors_aux':
../../../trunk2/libgcc/../gcc/crtstuff.c:308:26: error: '__DTOR_LIST__'
undeclared (first use in this function)
../../../trunk2/libgcc/../gcc/crtstuff.c:308:26: note: each undeclared
identifier is reported only once for each function it appears in
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory
`/usr/local/google/home/carrot/armobj3/arm-unknown-linux-gnueabi/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/usr/local/google/home/carrot/armobj3'
make: *** [all] Error 2

Reply via email to