This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Trying to "downgrade" under RedHat 7.1
- To: gcc at gcc dot gnu dot org
- Subject: Trying to "downgrade" under RedHat 7.1
- From: Benjamin Scherrey <scherrey at innoverse dot com>
- Date: Fri, 6 Jul 2001 21:20:37 -0400
- Organization: Innoverse, Inc.
I know that this is unlikely to be a gcc fault since I've built gcc-2.95.2
countless times without incident but I'm asking here in hopes that someone
else has encountered the same problem. I just installed RedHat 7.1 on my new
Sony laptop (runs great) but I need to get binary/c++ source compatible gcc &
g++ running on it which means getting rid of the 2.95.6 creature that RedHat
provides and getting 2.95.2 on it which is what I run on my other boxes. (Its
gonna be a few months before we can move to 3.x.)
I do the normal ./<srcdir>/configure --enable-shared;make bootstrap from a
build directory but the build process breaks with the following messages:
../../../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[1]: *** [all-target-libio] Error 2
make: *** [bootstrap] Error 2
Any ideas on what I should do? FWIW - RedHat 7.1 uname -a reports "Linux
bonzo.innoverse.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown"
thanx & later,
Ben Scherrey