This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bootstrap error


On Sat, Mar 24, 2001 at 12:19:39PM +0100, Michael Ritzert wrote:
> Hello everybody,
> 
> I haven't been able to compile current CVS sources (both 3.0 branch and
> HEAD) for about a week now. The error is always the same:

The problem is still there. In the meantime, I've arranged for very similar
versions of the used programs to be installed on both machines - make
3.79.1 and bash 2.03.0(1) and 2.04.0(1) as /bin/sh.

I've also run a diff on the output of the make process. Here is the
end of the result. Up until then the two build went in sync.

< (MAKE="make"; srcdir=`cd ../../gcc/gcc/fixinc && pwd` ; \
< CC="stage1/xgcc -Bstage1/ -B/opt/gcc-3.0/i686-pc-linux-gnu/bin/"; CFLAGS="-g -O2"; LDFLAGS=""; \
< WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long"; \
< export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS; cd ./fixinc && \
< /bin/sh ${srcdir}/mkfixinc.sh i686-pc-linux-gnu i686-pc-linux-gnu)
< constructing ../fixinc.sh for i686-pc-linux-gnu to run on i686-pc-linux-gnu
< make TARGETS=oneprocess SHELL="/bin/sh" CC="stage1/xgcc -Bstage1/ -B/opt/gcc-3.0/i686-pc-linux-gnu/bin/" CFLAGS="-g -O2" LDFLAGS="" install-bin
< make[3]: Entering directory `/home/ritzert/compile/gcc/gcc-3_0-branch/apathix/gcc/fixinc'
< /bin/sh ../../../gcc/gcc/fixinc/genfixes machname.h
< Forbidden identifiers: i386 linux unix
< stage1/xgcc -Bstage1/ -B/opt/gcc-3.0/i686-pc-linux-gnu/bin/ -c -DIN_GCC -g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixincl.c
< make[3]: stage1/xgcc: Command not found
< make[3]: *** [fixincl.o] Error 127
< make[3]: Leaving directory `/home/ritzert/compile/gcc/gcc-3_0-branch/apathix/gcc/fixinc'
< make[2]: *** [fixinc.sh] Error 2
< make[2]: Leaving directory `/home/ritzert/compile/gcc/gcc-3_0-branch/apathix/gcc'
< make[1]: *** [stage2_build] Error 2
< make[1]: Leaving directory `/home/ritzert/compile/gcc/gcc-3_0-branch/apathix/gcc'
< make: *** [bootstrap] Error 2
< Fri Apr  6 13:00:13 CEST 2001
---
> objext='.o' \
> OLDCC='cc' \
> LIBGCC1='' \
> LIB1FUNCS='_mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3 _ashlsi3 _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi _floatsidf _floatsisf _truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3 _mulsf3 _divsf3 _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2' \
> ./xgcc -B./ -B/opt/gcc-3.0/i686-pc-linux-gnu/bin/ -isystem /opt/gcc-3.0/i686-pc-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_fixunssfsi -c ../../gcc/gcc/libgcc2.c -o libgcc/./_fixunssfsi.o


It seems that one systems tries to build fixincl while the other doesn't.
This seems to happen while make is running with
stage2_build: stage1_copy
   $(MAKE) CC="stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
       STAGE_PREFIX=stage1/ \
       $(STAGE2_FLAGS_TO_PASS)
   touch stage2_build
   echo stage2_build > stage_last
(from gcc/Makefile:2917)
since this is the only place where CC is set to someting with -Bstage1 in it.


The working system is a SuSE Linux 6.4 (i386), the non-working a
Red Hat Linux release 6.2 (Zoot).
The host compiler has been upgraded to
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
on both machines.

Does anybody have a clue what's going on here?

I still have both object trees and build logs here, so if you need any
further information just tell me.

Regards,
Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]