This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.92 make check results under Linux PPC
- To: Jack Howarth <howarth at fuse dot net>
- Subject: Re: glibc 2.1.92 make check results under Linux PPC
- From: Andreas Jaeger <aj at suse dot de>
- Date: 14 Aug 2000 07:50:42 +0200
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200008132357.e7DNvXY20167@localhost.localdomain>
>>>>> Jack Howarth writes:
> Kevin,
> I built the glibc 2.1.92 srpm from this weeks rawhide release
> and it showed the same two failures as you found with one additional
> one that perhaps you forgot to mention.
> /usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux/elf/ld.so.1 --library-path /usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux:/usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux/math:/usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux/elf:/usr/src/redh
> make[2]: *** [/usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux/math/test-fpucw.out] Error 1
> make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.1.92/math'
> make[1]: *** [math/tests] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.1.92'
> make: *** [check] Error 2
> [root@localhost build-ppc-linux]# more /usr/src/redhat/BUILD/glibc-2.1.92/build-ppc-linux/math/test-fpucw.out
> control word is 0xd4 but should be 0x0.
> Hopefully Geoff and Franz can track these down soon since we seem to be
> very close to a usable glibc 2.1.9x on linuxppc.
That's easy to track down - the kernel initializes the FPU to a
different value than glibc expects. Check the program, check the
value of _FPU_DEFAULT in sysdeps/powerpc/fpu_control.h - and see what
the kernel does. Either of them is at fault.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj