other/2351: can't build gcc-2.95.2 on redhat 7.0

jeff.deifik@jpl.nasa.gov jeff.deifik@jpl.nasa.gov
Thu Mar 22 18:46:00 GMT 2001


>Number:         2351
>Category:       other
>Synopsis:       can't build gcc-2.95.2 on redhat 7.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 18:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     jeff deifik
>Release:        unknown-1.0
>Organization:
>Environment:
virgin redhat 7.0, x86, dual pIII 866mhz with 1gig rdram
>Description:
I cannot build gcc 2.95.2

I have tried as root with configure with no options.
I have tried as a normal user with 'configure --prefix=/home/user'
I have tried defining CC as egcs.

All produce the same error:

ake[2]: Leaving directory `/export/home/jdeifik/gnu/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
make[1]: Leaving directory `/export/home/jdeifik/gnu/gcc-2.95.2/i686-pc-linux-gnu/libiberty'
make[1]: Entering directory `/export/home/jdeifik/gnu/gcc-2.95.2/i686-pc-linux-gnu/libio'
test x"no" != xyes || \
  /export/home/jdeifik/gnu/gcc-2.95.2/gcc/xgcc -B/export/home/jdeifik/gnu/gcc-2.95.2/gcc/ -B/home/jdeifik/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
/export/home/jdeifik/gnu/gcc-2.95.2/gcc/xgcc -B/export/home/jdeifik/gnu/gcc-2.95.2/gcc/ -B/home/jdeifik/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 `/export/home/jdeifik/gnu/gcc-2.95.2/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2
>How-To-Repeat:
Build on a redhat 7.0 x86 system
>Fix:
unknown at this time
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list