Mail Archives: pgcc/2000/11/10/20:48:33
This is a multi-part message in MIME format.
--------------D8E2FEF46AA2CA6F601FB78B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I'm not on the mailling list so please send me an email response. Here
is the problem: I'm using RedHat 7.0 trying to compile PGCC-2.95.3. I
did a ./configure --prefix=/usr, make bootstrap, and it errors out with
the attached relevant part of the error message. I was previously able
to compile this on various RedHat 6.x versions, I also tried editing the
Makefile and replacing CC=gcc to CC=kgcc (only after compilation failed
the first time), since I read that RedHat 7.0 mucked up gcc making their
own version 2.96 (which doesn't exist !).
Here is my info:
RedHat 7.0
kgcc --version = egcs-2.91.66
gcc --version = 2.96
uname -a = Linux psyche.dietznet.net 2.4.0-test10 #2 SMP Thu Nov 9
19:39:05 CST 2000 i686 unknown
I have all RedHat errata patches applied.
--
Running on Linux 2.4
Where hasn't linux been today!
mad099 AT dietznet DOT net
--------------D8E2FEF46AA2CA6F601FB78B
Content-Type: text/plain; charset=us-ascii;
name="compile-error.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="compile-error.txt"
make[1]: Entering directory `/home/expand/gcc-2.95.2/libiberty'
make[2]: Entering directory `/home/expand/gcc-2.95.2/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/expand/gcc-2.95.2/libiberty/testsuite'
make[1]: Leaving directory `/home/expand/gcc-2.95.2/libiberty'
make[1]: Entering directory `/home/expand/gcc-2.95.2/texinfo'
make all-recursive
make[2]: Entering directory `/home/expand/gcc-2.95.2/texinfo'
Making all in intl
make[3]: Entering directory `/home/expand/gcc-2.95.2/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/expand/gcc-2.95.2/texinfo/intl'
Making all in lib
make[3]: Entering directory `/home/expand/gcc-2.95.2/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/expand/gcc-2.95.2/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/home/expand/gcc-2.95.2/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/expand/gcc-2.95.2/texinfo/makeinfo'
make[2]: Leaving directory `/home/expand/gcc-2.95.2/texinfo'
make[1]: Leaving directory `/home/expand/gcc-2.95.2/texinfo'
make[1]: Entering directory `/home/expand/gcc-2.95.2/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/expand/gcc-2.95.2/etc'
make[1]: Entering directory `/home/expand/gcc-2.95.2/gcc'
(cd intl && make all)
make[2]: Entering directory `/home/expand/gcc-2.95.2/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/expand/gcc-2.95.2/gcc/intl'
if [ -f libgcc2.ready ] ; then \
true; \
else \
touch libgcc2.ready; \
fi
make[1]: Leaving directory `/home/expand/gcc-2.95.2/gcc'
make[1]: Entering directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Entering directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
if [ -z "" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd .; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/expand/gcc-2.95.2/gcc/xgcc -B/home/expand/gcc-2.95.2/gcc/ -B/usr/i686-pc-linux-gnu/bin/"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" "CC=/home/expand/gcc-2.95.2/gcc/xgcc -B/home/expand/gcc-2.95.2/gcc/ -B/usr/i686-pc-linux-gnu/bin/" "CFLAGS=-O6 -Os -mcpu=pentiumpro" "LIBCFLAGS=-O6 -Os -mcpu=pentiumpro" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh /home/expand/gcc-2.95.2/install-sh -c" "INSTALL_DATA=/bin/sh /home/expand/gcc-2.95.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/expand/gcc-2.95.2/install-sh -c " "LDFLAGS=" "LOADLIBES=" "RANLIB=ranlib" "SHELL=/bin/sh" "prefix=/usr" "exec_prefix=/usr" "libdir=/usr/lib" "libsubdir=/usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2" "tooldir=/usr/i686-pc-linux-gnu" \
CFLAGS="-O6 -Os -mcpu=pentiumpro ${flags}" \
CXXFLAGS="-g -O2 -fvtable-thunks -D_GNU_SOURCE ${flags}" \
LIBCFLAGS="-O6 -Os -mcpu=pentiumpro ${flags}" \
LIBCXXFLAGS="-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[2]: Leaving directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
make[1]: Leaving directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
make[1]: Entering directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libio'
test x"no" != xyes || \
/home/expand/gcc-2.95.2/gcc/xgcc -B/home/expand/gcc-2.95.2/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO indstream.cc -o pic/indstream.o
/home/expand/gcc-2.95.2/gcc/xgcc -B/home/expand/gcc-2.95.2/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO indstream.cc
indstream.cc: In method `struct streampos indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
indstream.cc:82: `struct streampos' used where a `int' was expected
indstream.cc:85: `struct streampos' used where a `int' was expected
indstream.cc:87: `struct streampos' used where a `int' was expected
indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int = 3)':
indstream.cc:99: `struct streampos' used where a `int' was expected
indstream.cc:102: `struct streampos' used where a `int' was expected
indstream.cc:104: `struct streampos' used where a `int' was expected
indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
make[1]: *** [indstream.o] Error 1
make[1]: Leaving directory `/home/expand/gcc-2.95.2/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2
--------------D8E2FEF46AA2CA6F601FB78B--
- Raw text -