This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14626] New: Compile fails at stage2
- From: "ehicks at binarymagi dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 01:30:59 -0000
- Subject: [Bug bootstrap/14626] New: Compile fails at stage2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
My system is an Ultrasparc e250 running Solaris 9 0403. The compiler is a
32bit-only version of 3.3.3 that was compiled with the gcc included in the Ada
precompiled binaries. Binutils is version 2.14. I am now attempting to
compile a 64bit-enabled version of 3.3.3 with Ada support and get this during
the compile:
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/root/build/gnatgcc3-64bit/sparcv9-sun-
solaris2/bin/" \
STAGE_PREFIX=stage1/ \
ADAC="\$(CC)" AR_FOR_TARGET="ar" RANLIB_FOR_TARGET="true" CFLAGS="-g -
O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRI
CT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/root/build/gnatgcc3-
64bit/lib LANGUAGES="c gcov ada c++" MAKEOVERRIDES= OUT
PUT_OPTION="-o \$@"
make[2]: Entering directory `/root/build/gcc-3.3.3/gcc-build/gcc'
stage1/xgcc -Bstage1/ -B/root/build/gnatgcc3-64bit/sparcv9-sun-solaris2/bin/ -
c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstric
t-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -
DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -
I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/gengenrtl.c -
o gengenrtl.o
In file included from ../../gcc/gengenrtl.c:29:
../../gcc/real.h:67: error: size of array `test_real_width' is negative
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/root/build/gcc-3.3.3/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/root/build/gcc-3.3.3/gcc-build/gcc'
make: *** [bootstrap] Error 2
[root@lurch gcc-build]#
My configuration looks like this: (The build dir is srcdir/gcc-build)
export PATH=/root/build/gnatgcc3-32bit/bin:$PATH
export CONFIG_SHELL=/bin/ksh
cd ../gcc/ada
touch treeprs.ads [es]info.h nmake.ad[bs]
cd ../../gcc-build
../configure \
--prefix=/root/build/gnatgcc3-64bit \
--enable-languages=c,c++,ada \
--disable-nls \
--with-gnu-ld --with-gnu-as \
--with-ld=/usr/local/bin/ld --with-as=/usr/local/bin/as \
sparcv9-sun-solaris2
make bootstrap
cd gcc
make gnatlib_and_tools
cd ..
make install
If you need any more info please feel free to contact me. TIA
--
Summary: Compile fails at stage2
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehicks at binarymagi dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14626