------- Additional Comments From markus at unixforces dot net 2005-07-31 18:55 ------- I have now tried to bulid outside of portage. Or that is to say: a normal bulid. Here is what I did (this is basicly what emerge does):
$ cd ~ $ mkdir libstc++-v3-temp2 $ cd libstc++-v3-temp2 $ tar xfj /usr/portage/distfiles/gcc-3.3.6.tar.bz2 $ mkdir build $ cd build $ ../gcc-3.3.6/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.1.0-beta20050730/ --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/include/ --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/ --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/man/ --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/info/ --enable-shared --host=powerpc64-unknown-linux-gnu --target=powerpc64-unknown-linux-gnu --with-system-zlib --enable-languages=c++ --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/include/g++-v4/ --with-local-prefix=/usr/local/ --disable-multilib --enable-nls --without-included-gettext $ touch ../gcc-3.3.6/gcc/c-gperf.h (don't know why this done by the way..) $ make all-target-libstdc++-v3 LIBPATH="/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.0-beta20050730/" BOOT_CFLAGS=" -O2 -pipe" STAGE1_CFLAGS="-O" And the I get exactly the same error as before: [...] /root/libstc++-v3-temp2/build/gcc/xgcc -B/root/libstc++-v3-temp2/build/gcc/ -B/usr/powerpc64-unknown-linux-gnu/bin/ -B/usr/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/powerpc64-unknown-linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.6/gcc -I../../gcc-3.3.6/gcc/. -I../../gcc-3.3.6/gcc/config -I../../gcc-3.3.6/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \ -c ../../gcc-3.3.6/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o In file included from /usr/include/stdio.h:828, from ../../gcc-3.3.6/gcc/tsystem.h:72, from ../../gcc-3.3.6/gcc/crtstuff.c:62: /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:36: error: syntax error before "__restrict__" /usr/include/bits/stdio.h: In function `getchar': /usr/include/bits/stdio.h:43: error: syntax error before "__restrict__" /usr/include/bits/stdio.h:59: confused by earlier errors, bailing out make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory `/root/libstc++-v3-temp2/build/gcc' make: *** [all-gcc] Error 2 -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23158