2 bootstrap problems with solaris 2.8

Roman Lechtchinsky rl@cs.tu-berlin.de
Thu Jun 28 12:12:00 GMT 2001


Hi,

> I'm trying to bootstrap gcc on solaris using sun's compiler.
> 
> I've run into two problems with yesterday Cvs gcc.
> 
> The first is related to the genXXXX programs since libiberty is not 
> used at link time. My (dirty?) fix was to add ../libiberty/libiberty.a
> to the HOST_LIBS which seems to parallel better what is done in LIBS.
> (This is from gcc/Makefile). If this is the way to go, I'll submit a 
> patch. By the way the symptom is that the function C_alloca is not 
> found at link time.

See http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01214.html which fixes
this ... 

> The second problem arises at the end of stage1 while building 
> libgcc.so The compilation line is:
> 
> ./xgcc -B./ -B/net/home/robotvis/gnu/gcc-sol8/sparc-sun-solaris2.8/bin/ -isystem /net/home/robotvis/gnu/gcc-sol8/sparc-sun-solaris2.8/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../../../Cvs/gcc/gcc -I../../../Cvs/gcc/gcc/. -I../../../Cvs/gcc/gcc/config -I../../../Cvs/gcc/gcc/../include  -DL_floatdisf -c ../../../Cvs/gcc/gcc/libgcc2.c -o libgcc/./_floatdisf.o
> ../../../Cvs/gcc/gcc/libgcc2.c: In function `__floatdisf':
> ../../../Cvs/gcc/gcc/libgcc2.c:1129: Internal compiler error in ?, at emit-rtl.c:1173
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

and http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01619.html which fixes
this. Unfortunately, the two patches haven't been reviewed yet. Shouldn't
there be some mechanism to get patches which fix bootstrap failures
reviewed quickly, at least for major platforms?

Bye

Roman




More information about the Gcc-bugs mailing list