This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
failed build of gcc-4_2-branch on gentoo linux
- From: "Perrin Meyer" <Perrin at meyersound dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 9 Nov 2006 20:10:38 -0800
- Subject: failed build of gcc-4_2-branch on gentoo linux
I'm having trouble building gcc-4_2-branch on Gentoo linux (I can build fine on RedHat and SUSE).
Linux version 2.6.17-gentoo-r8 (root@localhost) (gcc version 4.1.1 (Gentoo 4.1.1)) #1 SMP Fri Nov 3 12:43:16 PST 2006
x86-64 dual opteron box
here is what I use to build:
--prefix=/home/perrin/gcc-4_2-branch/install/$revnum --enable-languages=c,c++,fortran --enable-threads=posix
Here is where the bootstrap fails:
/home/perrin/gcc-4_2-branch/object/./gcc/xgcc -shared-libgcc -B/home/perrin/gcc-4_2-branch/object/./gcc -nostdinc++ -L/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/bin/ -B/home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/lib/ -isystem /home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/include -isystem /home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2 -D_GNU_SOURCE -I/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/perrin/gcc-4_2-branch/gcc/libstdc++-v3/libsupc++ -O2 -g /home/perrin/gcc-4_2-branch/gcc/libstdc++-v3/include/precompiled/stdtr1c++.h -o x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch/O2g.gch
/home/perrin/gcc-4_2-branch/gcc/libstdc++-v3/include/precompiled/stdtr1c++.h:30:25: warning: /home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/stdc++.h.gch/O0g.gch: not used because `__NO_INLINE__' not defined
touch ./x86_64-unknown-linux-gnu/bits/stdtr1c++.h
if [ ! -d "./x86_64-unknown-linux-gnu/bits/extc++.h.gch" ]; then \
mkdir -p ./x86_64-unknown-linux-gnu/bits/extc++.h.gch; \
fi; \
/home/perrin/gcc-4_2-branch/object/./gcc/xgcc -shared-libgcc -B/home/perrin/gcc-4_2-branch/object/./gcc -nostdinc++ -L/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/bin/ -B/home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/lib/ -isystem /home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/include -isystem /home/perrin/gcc-4_2-branch/install/118647/x86_64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2 -D_GNU_SOURCE -I/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/perrin/gcc-4_2-branch/gcc/libstdc++-v3/libsupc++ -O2 -g /home/perrin/gcc-4_2-branch/gcc/libstdc++-v3/include/precompiled/extc++.h -o x86_64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
touch ./x86_64-unknown-linux-gnu/bits/extc++.h
make[2]: Leaving directory `/home/perrin/gcc-4_2-branch/object/x86_64-unknown-linux-gnu/libstdc++-v3/include'
make[1]: Leaving directory `/home/perrin/gcc-4_2-branch/object'
make: *** [all] Error 2