This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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]

glibc-2.2.2: make check fails on float test


My system is

    Pentium II
    linux kernel 2.4.3-pre2,  symlink /usr/src/linux -> linux-2.4.3-pre2
    glibc-2.1.3
    /usr/bin/cc is egcs-1.1.2
    /usr/local/gnu/bin/gcc-2.95.2

I unpacked glibc-2.2.2.tar.gz and glibc-linuxthreads-2.2.2.tar.gz to
/usr/src/glibc-2.2.2 and then did

    mkdir /usr/src/glibc-build; cd /usr/src/glibc-build
    export CC=/usr/local/gnu/bin/gcc-2.95.2
    CFLAGS=-Os /usr/src/glibc-2.2.2/configure --prefix=/usr \
	--enable-add-ons=linuxthreads \
	--with-headers=/usr/src/linux/include
    make

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

The output file test-float.out contains

    testing float (without inline functions)
    Failure: Test: Real part of: cacosh (-2 - 3 i) == -1.9833870299165354323 + 2.1414491111159960199 i
    Result:
     is:         -1.98338615894317626953e+00  -0x1.fbbf3200000000000000p+0
     should be:  -1.98338699340820312500e+00  -0x1.fbbf4000000000000000p+0
     difference:  8.34465026855468750000e-07   0x1.c0000000000000000000p-21
     ulp       :  7.0000
     max.ulp   :  4.0000
    Maximal error of real part of: cacosh
     is      :  7.0000 ulp
     accepted:  4.0000 ulp
    Maximal error of imaginary part of: cacosh
     is      :  0.0000 ulp
     accepted:  4.0000 ulp
    Failure: Test: Imaginary part of: clog10 (0.7 + 1.2 i) == 0.1427786545038868803 + 0.4528483579352493248 i
    Result:
     is:          4.52848374843597412109e-01   0x1.cfb77c00000000000000p-2
     should be:   4.52848345041275024414e-01   0x1.cfb77a00000000000000p-2
     difference:  2.98023223876953125000e-08   0x1.00000000000000000000p-25
     ulp       :  1.0000
     max.ulp   :  0.0000
    Failure: Test: Real part of: csqrt (0.7 + 1.2 i) == 1.022067610030026450706487883081139 + 0.58704531296356521154977678719838035 i
    Result:
     is:          1.02206754684448242188e+00   0x1.05a63800000000000000p+0
     should be:   1.02206766605377197266e+00   0x1.05a63a00000000000000p+0
     difference:  1.19209289550781250000e-07   0x1.00000000000000000000p-23
     ulp       :  1.0000
     max.ulp   :  0.0000
    Maximal error of real part of: csqrt
     is      :  1.0000 ulp
     accepted:  0.0000 ulp
    Maximal error of imaginary part of: csqrt
     is      :  0.0000 ulp
     accepted:  0.0000 ulp
    
    Test suite completed:
      2468 test cases plus 2266 tests for exception flags executed.
      5 errors occurred.


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