This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/8156: -mcpu=pentium4 generates wrong fp resultsin glibc-2.3
- From: Andreas Steinmetz <ast at domdv dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, bregor at sf dot anu dot edu dot au, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Mon, 07 Oct 2002 13:13:19 +0200
- Subject: Re: optimization/8156: -mcpu=pentium4 generates wrong fp resultsin glibc-2.3
> This is a glibc bug, not a gcc bug.
I'm not so sure that it is a problem of glibc only. In my case building
glibc 2.3 with gcc 3.2 (release)/binutils 2.13 (release) succeeds in all
cases but:
1. CFLAGS="-O3 -mcpu=pentiumpro -march=pentiumpro" produces a working
glibc
2. CFLAGS="-O3 -fomit-frame-pointer -mcpu=pentiumpro -march=pentiumpro"
produces a glibc with defunct pthreads (hangs and segfaults of
threaded processes), strace-ing these processes indicate defunct
signal handling
As it seems that "-fomit-frame-pointer" does trigger the problems it
could well be that there is a gcc bug.