This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95.2 Fails to Compile on RedHat 7.0 System
- To: gcc-help at gcc dot gnu dot org
- Subject: gcc-2.95.2 Fails to Compile on RedHat 7.0 System
- From: rruth at computer dot org
- Date: Sat, 28 Oct 2000 08:05:56 -0700
- Reply-To: rruth at computer dot org
gcc-2.95.2 (and 2.95.1) fails to compile on an Intel RedHat 7.0 System. make
bootstrap fails during stage 2. I tried 'make bootstrap' twice: once with
CC=kgcc (based on egcs-1.1.2) and again with CC=gcc (based on gcc2.96). Both
fail well into stage 2.
Any Ideas on compiling gcc-2.95.2 on RH 7.0 would be appreciated. (gcc2.96,
that comes with RH 7.0 has problems compiling certain packaes like MySQL and
dosemu)
Richard
rruth@computer.org
End of output from make bootstrap:
test x"no" != xyes || \
/tmp/gcc/gcc-obj/gcc/xgcc -B/tmp/gcc/gcc-obj/gcc/ -B/usr/local/pgcc/i686-pc-lin
ux-gnu/bin/ -c
-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/fstream.cc -o
pic/fstream.o
/tmp/gcc/gcc-obj/gcc/xgcc -B/tmp/gcc/gcc-obj/gcc/ -B/usr/local/pgcc/i686-pc-lin
ux-gnu/bin/ -c
-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/fstream.cc
test x"no" != xyes ||
/tmp/gcc/gcc-obj/gcc/xgcc -B/tmp/gcc/gcc-obj/gcc/ -B/usr/local/pgcc/i686-pc-lin
ux-gnu/bin/ -c
-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/indstream.cc -o
pic/indstream.o
/tmp/gcc/gcc-obj/gcc/xgcc -B/tmp/gcc/gcc-obj/gcc/ -B/usr/local/pgcc/i686-pc-lin
ux-gnu/bin/ -c
-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/indstream.cc
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long
long int, ios::seek_dir, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to non-scalar
type `streampos'
requested
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to
non-scalar type
`streampos' requested
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/tmp/gcc/gcc-obj/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/tmp/gcc/gcc-obj'
make: *** [bootstrap] Error 2