This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: glibc-2.2.2: make check fails on float test
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: glibc-2.2.2: make check fails on float test
- From: Urs Thuermann <urs at isnogud dot escape dot de>
- Date: 13 Mar 2001 22:40:16 +0100
- References: <m2zoezwzy9.fsf@isnogud.escape.de>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Urs Thuermann <urs@isnogud.escape.de> writes:
> configuring and compiling looks ok, but when I make check, I get
>
> ...
> GCONV_PATH=/usr/src/glibc-build/iconvdata LC_ALL=C /usr/src/glibc-build/elf/ld-linux.so.2 --library-path /usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf:/usr/src/glibc-build/dlfcn:/usr/src/glibc-build/nss:/usr/src/glibc-build/nis:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/glibc-build/crypt:/usr/src/glibc-build/linuxthreads /usr/src/glibc-build/math/test-float > /usr/src/glibc-build/math/test-float.out
> make[2]: *** [/usr/src/glibc-build/math/test-float.out] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.2.2/math'
> make[1]: *** [math/tests] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.2.2'
> make: *** [check] Error 2
I did some further testing and found out, that the make check fails if
I optimize with -Os but not when using the default -O2. I've run the
script
#!/bin/sh
export CC=gcc-2.95.2
cd glibc-build-1
../glibc-2.2.2/configure --enable-add-ons=linuxthreads
make
make check
cd ../glibc-build-2
CFLAGS=-Os ../glibc-2.2.2/configure --enable-add-ons=linuxthreads
make
make check
The first "make check" in glibc-build-1 completes with no error, but
the second one in glibc-build-2 stops as described in my first posting
at math/test-float (functions cacosh, clog10, csqrt).
Is this a bug in glibc-2.2.2 or in gcc-2.95.2? Is it a known bug?
urs