egcs miscompiles glibc 2.1.1?
H.J. Lu
hjl@lucon.org
Tue May 25 15:41:00 GMT 1999
>
> 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)
More information about the Libc-hacker
mailing list