Bug 19285

Summary: Re: Minor suggestion
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ghutchis>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: tom
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-17 20:46:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2000-10-17 20:46:35 UTC
As a humble suggestion, would someone at RedHat consider building
gcc-2.95.2 RPMs for RedHat 7? I won't argue one way or another, but this
seems like an excellent way to provide choice for users (and silence
critics) Since downgrading the libraries could cause package conflicts,
perhaps these RPMs could be built into /usr/local or some other
non-conflicting directory.

As a side note, I cannot build gcc-2.95.2 from RedHat 7--it fails when
trying to build libio.
Otherwise, I would provide said RPMs myself.

Cheers,
-Geoff Hutchison

Failure of gcc-2.95.2 libio:
/home/hutchisn/build-gcc/gcc/xgcc -B/home/hutchisn/build-gcc/gcc/
-B/usr/local/i686-pc-linux-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

Comment 1 Jakub Jelinek 2000-12-19 17:49:18 UTC
See http://gcc.gnu.org/install/specific.html#*-*-linux-gnu
for fix to make gcc-2.95.2 build under glibc 2.2.