bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc-2.3.2: make check fails on math test (test-ildoubl)


From: Andreas Jaeger
Subject: Re: glibc-2.3.2: make check fails on math test (test-ildoubl)
Date: Sun, 15 Jun 2003 16:48:44 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux)

"Vrihad Shoonya" <address@hidden> writes:

> I am trying to compile and install glibc-2.3.2 on a
> x86 based computer (SiS 552 chipset). The system
> architecture is i586. I am using gcc-3.2.3 and
> binutils-2.13.2.1. These were compiled with
> gcc version 2.95.3 [20010315(SuSE)] on SuSE
> linux 8.0. After compiling gcc and binutils, I
> used "rpm -e" to remove older gcc and binutils
> to make sure that oler libraries do not get linked
> accidently while building new glibc. The configure
> command was as follows.
>
> ./configure --prefix=/mnt/base --with-add-ons=linuxthreads
>
> I did not set any CFLAGS and the default (-g -O2) was
> used.
>
> The compilation succeeds flawlessly. But when I do
> make check, it fails while testing math functions.
> Apparently it fails on test-ildoubl. Following is
> the output of make check (where error occurs).
>
> ----------------------------------------------------
> make -C math tests
> make[2]: Entering directory `/var/home/stb/src/glibc-2.3.2/math'
> gcc test-ildoubl.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
> -Wwrite-strings -g -Wno-uninitialized -D__NO_MATH_INLINES 
> -D__LIBC_INTERNAL_MATH_INLINES -I../include -I. 
> -I/home/vrihad/stb/src/glibc-2.3.2/BUILD/math -I.. -I../libio 
> -I/home/vrihad/stb/src/glibc-2.3.2/BUILD -I../sysdeps/i386/elf 
> -I../linuxthreads/sysdeps/unix/sysv/linux/i386 
> -I../linuxthreads/sysdeps/unix/sysv/linux -I.
>
> ./linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
> -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
> -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv 
> -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix 
> -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu 
> -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
> -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include 
> ../include/libc-symbols.h -DNOT_IN_libc=1 -U__LIBC_INTERNAL_MATH_INLINES 
> -D__FAST_MATH__ -DTEST_FAST_MATH -o 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl.o
>
> gcc -nostdlib -nostartfiles -o 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl 
> -Wl,-dynamic-linker=/mnt/base/lib/ld-linux.so.2 -Wl,-z,combreloc 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/csu/crt1.o 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/csu/crti.o `gcc 
> --print-file-name=crtbegin.o` 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl.o 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/libm.so.6 
> -Wl,-rpath-link=/home/vrihad/stb/src/glibc-2.3.2/BUILD:/home/vrihad/stb/src/glibc-2.3.2/BUILD/math:/home/vrihad/stb/src/glibc-2.3.2/BUILD/elf:/home/vrihad/stb/src/glibc-2.3.2/BUILD/dlfcn:/home/vrihad/stb/src/glibc-2.3.2/BUILD/nss:/home/vrihad/stb/src/glibc-2.3.2/BUILD/nis:/home/vrihad/stb/src/glibc-2.3.2/BUILD/rt:/home/vrihad/stb/src/glibc-2.3.2/BUILD/resolv:/home/vrihad/stb/src/glibc-2.3.2/BUILD/crypt:/home/vrihad/stb/src/glibc-2.3.2/BUILD/linuxthreads
>  /home/vrihad/stb/src/glibc-2.3.2/BUILD/libc.so.6 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/libc_nonshared.a -lgcc `gcc 
> --print-file-na
>  me=crtend.o` /home/vrihad/stb/src/glibc-2.3.2/BUILD/csu/crtn.o
>
> GCONV_PATH=/home/vrihad/stb/src/glibc-2.3.2/BUILD/iconvdata LC_ALL=C 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/elf/ld-linux.so.2 --library-path 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD:/home/vrihad/stb/src/glibc-2.3.2/BUILD/math:/home/vrihad/stb/src/glibc-2.3.2/BUILD/elf:/home/vrihad/stb/src/glibc-2.3.2/BUILD/dlfcn:/home/vrihad/stb/src/glibc-2.3.2/BUILD/nss:/home/vrihad/stb/src/glibc-2.3.2/BUILD/nis:/home/vrihad/stb/src/glibc-2.3.2/BUILD/rt:/home/vrihad/stb/src/glibc-2.3.2/BUILD/resolv:/home/vrihad/stb/src/glibc-2.3.2/BUILD/crypt:/home/vrihad/stb/src/glibc-2.3.2/BUILD/linuxthreads
>  /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl > 
> /home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl.out
> make[2]: *** [/home/vrihad/stb/src/glibc-2.3.2/BUILD/math/test-ildoubl.out] 
> Error 1
> make[2]: Leaving directory `/var/home/stb/src/glibc-2.3.2/math'
> make[1]: *** [math/tests] Error 2
> make[1]: Leaving directory `/var/home/stb/src/glibc-2.3.2'
> make: *** [check] Error 2
> ----------------------------------------------------
>
> Here /home/vrihad/stb is symlinked to /var/home/stb.
>
> The error message is not verbose and hence I am unable
> to figure out the reasons for this failure. Has anybody
> faced the same problem while compiling latest glibc?

Look at the .out file, this is normally a sign of small differences
which could come from GCC, glibc or the CPU.  Just ignore this
failure.

> How can we make sure that all tests pass successfully?
> Should I set CFLAGS to -O0 -march=i486 etc.? I had read

No.
> somewhere that no special compiler options should be used
> while compiling glibc. Is that correct?
Yes, it is.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj

Attachment: pgpkVN5JuuNX1.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]