This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 4.2.4 bootstrap failure
- From: Qinghai Zhang <QHZhang at lbl dot gov>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 01 Mar 2009 13:21:26 -0800
- Subject: gcc 4.2.4 bootstrap failure
Dir Sir/Madam,
I am trying to bootstrap gcc 4.2.4 on openSUSE 11.1 since some library I currently use do not support gcc 4.3.x yet. My machine is AMD dual Opetron 8222 socket F.
The configure command I used was:
----------------------------------------------------------------
../gcc-4.2.4/configure --prefix=/home/tsinghai/install/HyPAM/gcc-4.2.4 --enable-language=c,c++,fortran
---------------------------------------------------------------
`make bootstrap' finally generated the following:
-------------------------------------------------------------------------------------------------------------------------
make[5]: Entering directory `/home/tsinghai/tmp/hypamInstall/gccObj/gcc'
/home/tsinghai/tmp/hypamInstall/gccObj/./gcc/xgcc -B/home/tsinghai/tmp/hypamInstall/gccObj/./gcc/ -B/home/tsinghai/install/HyPAM/gcc-4.2.4/x86_64-unknown-linux-gnu/bin/ -B/home/tsinghai/install/HyPAM/gcc-4.2.4/x86_64-unknown-linux-gnu/lib/ -isystem /home/tsinghai/install/HyPAM/gcc-4.2.4/x86_64-unknown-linux-gnu/include -isystem /home/tsinghai/install/HyPAM/gcc-4.2.4/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I32 -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/32 -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
-c ../../gcc-4.2.4/gcc/crtstuff.c -DCRT_BEGIN \
-o 32/crtbegin.o
In file included from /usr/include/features.h:354,
from /usr/include/stdio.h:28,
from ../../gcc-4.2.4/gcc/tsystem.h:90,
from ../../gcc-4.2.4/gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
---------------------------------------------------------------------------------------------------------------------------
Interestingly, when I tried to bootstrap gcc-4.1.2, it gives the same results. I also tried bootstrap gcc-4.2.4 inside openSUSE 11.0 (shipped with gcc4.3.1) on my intel-based notebook(Thinkpad T43), it went through without any errors.
Is there some package missing, or is it a conflict with some other packages?
Thanks for your help!
Qinghai