This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc segfault on "special" long double values is _ok_!?
Ulrich Drepper wrote:
> Intel's IA-64 people (and I smell HP in there) are the idiots who caused this.
The crash also occurs on i386 platforms, e.g. CPUs built by AMD.
> Here it's the implementation of the processor which is at fault.
But printf %Le does not do any hardware floating-point instruction except
those in glibc's __isnanl and __isinfl functions: __mpn_extract_long_double
extracts the bits using integer arithmetic.
> Neither CPU nor kernel bugs will be worked around if it's expensive.
Do you find that Jakub's added 4 lines of code are "expensive"?
> Just don't use those OS and processor versions if it bothers you.
Right. Don't use i386, x86_64, and ia64. What machine are you using?
Bruno