This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: glibc 2.1.97


> In the meantime, I've had good success (compiling glibc-2.2) with:
>
> CFLAGS="-O2 -mcpu=ev56 -pipe"
>
> It even seems to have compiled __printf_fphex correctly...

printf_fphex is only miscompiled with -mcpu=ev4/-mcpu=ev5 AFAIK.
I'll try to look into it soon (unless Richard beats me to do that).

>
> After applying the attached patch to sysdeps/alpha/fpu/libm-test-ulps, make
> check passes cleanly.

Please don't. Errors like 156 ulps should not be in libm-test-ulps, it is a
bug to compute it with such errors, not something that should be tolerated.
Please make sure you have Richard's sqrt fixes in the compiler (or compile
e_sqrt.c with -O1).
I got both
CFLAGS="-freorder-blocks -DNDEBUG=1 -g -O3"
and
CFLAGS="-mcpu=ev6 -freorder-blocks -DNDEBUG=1 -g -O3"
glibcs to bootstrap today and pass make check if printf_fphex had:

CFLAGS-printf_fphex.c = -O0

(with yesterday's binutils patches and alpha dl-machine.h patch posted
today).

	Jakub

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