This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]