compile failed with gcc-3.4.1-20040601

F. Fernandez florian.fernandez2 at wanadoo.fr
Thu Jul 1 20:44:42 PDT 2004


compiling with gcc-3.3.4 and glibc-3.2.1.

Here the output:

/home/arc/base/gcc-build2/gcc/xgcc -B/home/arc/base/gcc-build2/gcc/ 
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ 
-isystem /usr/i686-pc-linux-gnu/include 
-isystem /usr/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.4.1-20040601/gcc 
-I../../gcc-3.4.1-20040601/gcc/. -I../../gcc-3.4.1-20040601/gcc/../include  
-fexceptions -c ../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde-glibc.c -o 
libgcc/./unwind-dw2-fde-glibc.o
In file included from ../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde-glibc.c:56:
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: warning: missing braces 
around initializer
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: warning: (near 
initialization for `object_mutex.__data')
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: error: `__LOCK_INITIALIZER' 
undeclared here (not in a function)
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: error: initializer element 
is not constant
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: error: (near initialization 
for `object_mutex.__data.__nusers')
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: warning: missing initializer
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: warning: (near 
initialization for `object_mutex.__data.__nusers')
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: error: initializer element 
is not constant
../../gcc-3.4.1-20040601/gcc/unwind-dw2-fde.c:52: error: (near initialization 
for `object_mutex.__data')
make[2]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[2]: Leaving directory `/home/arc/base/gcc-build2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/arc/base/gcc-build2/gcc'
make: *** [all-gcc] Error 2

-- 
Florian F.



More information about the lfs-dev mailing list