[Please CC me as I'm not on the list]

Hello,

I tried to build gcc-4.0 on my amd64-box running pure64/gcc-3.4 but it
failed with the following error message (copied from
bootstrap-protocol):

/home/gcc4/gcc-4.0-4.0/build/gcc/xgcc -shared-libgcc
-B/home/gcc4/gcc-4.0-4.0/build/gcc/ -nostdinc++
-L/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3/src
-L/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3/src/.libs
-B/usr/x86_64-linux/bin/ -B/usr/x86_64-linux/lib/ -isystem
/usr/x86_64-linux/include -isystem /usr/x86_64-linux/sys-include
-I/home/gcc4/gcc-4.0-4.0/src/libstdc++-v3/../gcc
-I/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3/include/x86_64-linux
-I/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3/include
-I/home/gcc4/gcc-4.0-4.0/src/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2
-D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -c ../../../../src/libstdc++-v3/libsupc++/guard.cc
-fPIC -DPIC -o guard.o
../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected 
primary-expression before '.' token
../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected 
primary-expression before '{' token
../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected `}' before 
'{' token
../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected `,' or `;' 
before '{' token
../../../../src/libstdc++-v3/libsupc++/guard.cc:86: error: expected declaration 
before '}' token
../../../../src/libstdc++-v3/libsupc++/guard.cc:40:1: unterminated #ifdef
make[6]: *** [guard.lo] Error 1
make[6]: Leaving directory 
`/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3/libsupc++'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/gcc4/gcc-4.0-4.0/build/x86_64-linux/libstdc++-v3'
make[3]: *** [all-target-libstdc++-v3] Error 2
make[3]: Leaving directory `/home/gcc4/gcc-4.0-4.0/build'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/home/gcc4/gcc-4.0-4.0/build'

Is it a problem with the package or a problem with my build environment?
I tried to build it in a chroot which I normally use to build gnome 2.8
packages. The directory with the failed build does still exist, so if
you need some more information let me know.

Michael


Reply via email to