public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* build of gcc
@ 2000-10-26  3:23 P.A. Smith
  2000-10-26  3:31 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: P.A. Smith @ 2000-10-26  3:23 UTC (permalink / raw)
  To: gcc-help

I am trying a build of gcc-2.95.2 on an athlon thunderbird system with
Redhat 7.0 on. I have simply unpacked the source, run configure and then
make bootstrap. It gets so far and then starts giving me errors
/usr/local/gcc/gcc/xgcc -B/usr/local/gcc/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I/tmp/gcc/gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO /tmp/gcc/gcc-2.95.2/libio/indstream.cc
/tmp/gcc/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a
`int' was expected
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a
`int' was expected
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a
`int' was expected
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to
non-scalar type `streampos' requested
/tmp/gcc/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a
`int' was expected
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where
a `int' was expected
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where
a `int' was expected
/tmp/gcc/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 `/usr/local/gcc/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/local/gcc'
make: *** [bootstrap] Error 2

Is this a glibc6 problem?
Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build of gcc
  2000-10-26  3:23 build of gcc P.A. Smith
@ 2000-10-26  3:31 ` Alexandre Oliva
  2000-10-26  4:29   ` P.A. Smith
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Oliva @ 2000-10-26  3:31 UTC (permalink / raw)
  To: P.A. Smith; +Cc: gcc-help

On Oct 26, 2000, "P.A. Smith" <pas50@hermes.cam.ac.uk> wrote:

> Is this a glibc6 problem?

Just an incompatibility between recent versions of glibc and GCC
2.95.2.  There are patches that fix GCC 2.95.2.  I've (re)posted one
myself in one of the GCC mailing lists in the last few weeks.  Please
search the archives and you'll find it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build of gcc
  2000-10-26  3:31 ` Alexandre Oliva
@ 2000-10-26  4:29   ` P.A. Smith
  2000-10-26  5:23     ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: P.A. Smith @ 2000-10-26  4:29 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

On 26 Oct 2000, Alexandre Oliva wrote:

> On Oct 26, 2000, "P.A. Smith" <pas50@hermes.cam.ac.uk> wrote:
> 
> > Is this a glibc6 problem?
> 
> Just an incompatibility between recent versions of glibc and GCC
> 2.95.2.  There are patches that fix GCC 2.95.2.  I've (re)posted one
> myself in one of the GCC mailing lists in the last few weeks.  Please
> search the archives and you'll find it.

I got the patch from
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00869.html
and it seems to have been installed fine. 
Now I get
/usr/local/gcc/gcc/xgcc -B/usr/local/gcc/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I/tmp/gcc/gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO /tmp/gcc/gcc-2.95.2/libio/indstream.cc
/tmp/gcc/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:77: conversion from `int' to
non-scalar type `_G_fpos64_t' requested
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:86: no match for `streampos & !=
int'
/tmp/gcc/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:94: conversion from `int' to
non-scalar type `_G_fpos64_t' requested
/tmp/gcc/gcc-2.95.2/libio/indstream.cc:103: no match for `streampos & !=
int'
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/usr/local/gcc/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/local/gcc'
make: *** [bootstrap] Error 2

Paul 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build of gcc
  2000-10-26  4:29   ` P.A. Smith
@ 2000-10-26  5:23     ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2000-10-26  5:23 UTC (permalink / raw)
  To: P.A. Smith; +Cc: gcc-help

On Oct 26, 2000, "P.A. Smith" <pas50@hermes.cam.ac.uk> wrote:

> I got the patch from
> http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00869.html

That's not the right one.  It was an incomplete and unsuccessful
attempt to fix the problem.  Look for messages posted by myself in the
last two months and you'll find it.  It was a reply to someone who had
the same problem you had.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-26  5:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26  3:23 build of gcc P.A. Smith
2000-10-26  3:31 ` Alexandre Oliva
2000-10-26  4:29   ` P.A. Smith
2000-10-26  5:23     ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).