This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs miscompiles glibc 2.1.1?
- To: drepper at cygnus dot com
- Subject: Re: egcs miscompiles glibc 2.1.1?
- From: hjl at lucon dot org (H.J. Lu)
- Date: Tue, 25 May 1999 15:41:26 -0700 (PDT)
- Cc: libc-hacker at sourceware dot cygnus dot com, egcs at egcs dot cygnus dot com
>
> hjl@lucon.org (H.J. Lu) writes:
>
> > Has anyone tried to use -O2 or -O3 to compile glibc 2.1.1? Both
> > seem to miscompile glibc 2.1.1. rpcgen dumps core in sunrpc. -O
> > seems ok. I tried egcs 1.1.2 and gcc 2.95 19990525. I got the
> > same results.
>
> Which architecture? I see this on Alpha but x86 seems to work (at
> least with the compiler as of yesterday or Sunday, don't remember
> exactly).
>
It is on x86 when glibc 2.1.1 is configured as i386-gnu-linux.
-O2 and -O3 seem to miscompile glibc.
--
H.J. Lu (hjl@gnu.org)