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]

K6-II+, persistent strange test results of glibc-2.2.3



There was no noticeable problem in compiling glibc-2.2.3 on my K6-II+
machine. But, 'make check' and some private tests shows strange problems
related with math testsuites on this machine.
In short, 'make check' shows 1 error in math testsuites, but the binary
generated in math directory emits random success and random fail at
command prompt: (kernel-2.4.3-ac14, glibc-2.2.2-10, gcc-2.96-81,
binuutils-2.10.91.0.2-3, ie., Red Hat 7.1 system installed 3 days ago and
some updates)
BTW, I saw this problems on my pc and reported this to this list,
waited 2.2.3 release, but the results are the worst thing that I have
ever seen while 'make check'ing glibc.
BTW, I didn't use particular flags, only used default config(
ie.,
cd glibc-2.2.3; mkdir build-i386-linux ; cd build-i386-linux; \
../configure --prefix=/usr --enable-add-ons=yes \
--enable-kernel=2.2.5 i386-redhat-linux


1. make check fails 'only' while testing test-ifloat
...
make[2]: ***
[/usr/src/glibc-2.2.3/build-i386-linux/math/test-ifloat.out] Error 1
make[1]: *** [math/tests] Error 2
make[2]: [/usr/src/glibc-2.2.3/build-i386-linux/posix/annexc.out] \
Error 1 (ignored)
make: *** [check] Error 2
....

testing float (inline functions)
Failure: Test: yn (3, 10.0) == -0.25136265718383732978
Result:
 is:         -2.48292386531829833984e-01  -0x1.fc80b800000000000000p-3
 should be:  -2.51362651586532592773e-01  -0x1.01653600000000000000p-2
 difference:  3.07026505470275878906e-03   0x1.926d0000000000000000p-9
 ulp       :  103021.0000
 max.ulp   :  1.0000
Maximal error of `yn'
 is      :  103021.0000 ulp
 accepted:  3.0000 ulp

Test suite completed:
  2410 test cases plus 2208 tests for exception flags executed.
  2 errors occurred.

======================================================================

testing float (without inline functions)

Test suite completed:
  2472 test cases plus 2270 tests for exception flags executed.
  All tests passed successfully.

======================================================================
testing double (without inline functions)

Test suite completed:
  2485 test cases plus 2277 tests for exception flags executed.
  All tests passed successfully.

======================================================================
testing long double (without inline functions)

Test suite completed:
  2484 test cases plus 2276 tests for exception flags executed.
  All tests passed successfully.

======================================================================
testing double (inline functions)

Test suite completed:
  2423 test cases plus 2215 tests for exception flags executed.
  All tests passed successfully.

=====================================================================
testing double (inline functions)

Test suite completed:
  2423 test cases plus 2215 tests for exception flags executed.
  All tests passed successfully.

======================================================================
testing long double (inline functions)

Test suite completed:
  2422 test cases plus 2214 tests for exception flags executed.
  All tests passed successfully.


3. tests on command prompt: randome success or random (diffrent)
errors. all testsutes about float, double precision except test-ldouble,
test-ildouble shows these problems. Especially, test-ifloat shows
non-predictable results.
I omitted successful results of test-float, test-ifloat, test-double,
test-idouble amongst various results per test.

=======================================================================
[root@progress math]# ./test-float
testing float (without inline functions)
Failure: Test: y1 (8.0) == -0.15806046173124749426
Result:
 is:         -1.58502578735351562500e-01  -0x1.449d0000000000000000p-3
 should be:  -1.58060461282730102539e-01  -0x1.43b53400000000000000p-3
 difference:  4.42117452621459960938e-04   0x1.cf980000000000000000p-12
 ulp       :  29670.0000
 max.ulp   :  2.0000
Maximal error of `y1'
 is      :  29670.0000 ulp
 accepted:  2.0000 ulp

Test suite completed:
  2472 test cases plus 2270 tests for exception flags executed.
  2 errors occurred.

=======================================================================
testing float (inline functions)
Failure: Test: jn (3, 10.0) == 0.058379379305186812343
Result:
 is:          1.40567660331726074219e-01   0x1.1fe1f000000000000000p-3
 should be:   5.83793781697750091553e-02   0x1.de3e6e00000000000000p-5
 difference:  8.21882784366607666016e-02   0x1.50a4a800000000000000p-4
 ulp       :  22062248.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  22062248.0000 ulp
 accepted:  2.0000 ulp
Failure: Test: y1 (8.0) == -0.15806046173124749426
Result:
 is:         -1.58502578735351562500e-01  -0x1.449d0000000000000000p-3
 should be:  -1.58060461282730102539e-01  -0x1.43b53400000000000000p-3
 difference:  4.42117452621459960938e-04   0x1.cf980000000000000000p-12
 ulp       :  29670.0000
 max.ulp   :  2.0000
Maximal error of `y1'
 is      :  29670.0000 ulp
 accepted:  2.0000 ulp

Test suite completed:
  2410 test cases plus 2208 tests for exception flags executed.
  4 errors occurred.


testing float (inline functions)
Failure: Test: jn (1, 2.0) == 0.57672480775687338720
Result:
 is:          5.93207716941833496094e-01   0x1.2fb8ec00000000000000p-1
 should be:   5.76724827289581298828e-01   0x1.27487a00000000000000p-1
 difference:  1.64828896522521972656e-02   0x1.0e0e4000000000000000p-6
 ulp       :  276537.0000
 max.ulp   :  0.0000
Failure: Test: jn (1, 10.0) == 0.043472746168861436670
Result:
 is:         -4.58623319864273071289e-02  -0x1.77b44800000000000000p-5
 should be:   4.34727445244789123535e-02   0x1.6420f400000000000000p-5
 difference:  8.93350765109062194824e-02   0x1.6dea9e00000000000000p-4
 ulp       :  23980702.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  23980702.0000 ulp
 accepted:  2.0000 ulp
Failure: Test: y1 (8.0) == -0.15806046173124749426
Result:
 is:         -1.58502578735351562500e-01  -0x1.449d0000000000000000p-3
 should be:  -1.58060461282730102539e-01  -0x1.43b53400000000000000p-3
 difference:  4.42117452621459960938e-04   0x1.cf980000000000000000p-12
 ulp       :  29670.0000
 max.ulp   :  2.0000
Maximal error of `y1'
 is      :  29670.0000 ulp
 accepted:  2.0000 ulp

Test suite completed:
  2410 test cases plus 2208 tests for exception flags executed.
  5 errors occurred.


testing float (inline functions)
Failure: Test: jn (1, 2.0) == 0.57672480775687338720
Result:
 is:          5.93207716941833496094e-01   0x1.2fb8ec00000000000000p-1
 should be:   5.76724827289581298828e-01   0x1.27487a00000000000000p-1
 difference:  1.64828896522521972656e-02   0x1.0e0e4000000000000000p-6
 ulp       :  276537.0000
 max.ulp   :  0.0000
Failure: Test: jn (1, 10.0) == 0.043472746168861436670
Result:
 is:         -4.58623319864273071289e-02  -0x1.77b44800000000000000p-5
 should be:   4.34727445244789123535e-02   0x1.6420f400000000000000p-5
 difference:  8.93350765109062194824e-02   0x1.6dea9e00000000000000p-4
 ulp       :  23980702.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  23980702.0000 ulp
 accepted:  2.0000 ulp

Test suite completed:
  2410 test cases plus 2208 tests for exception flags executed.
  3 errors occurred.


testing float (inline functions)
Failure: Test: jn (3, 10.0) == 0.058379379305186812343
Result:
 is:          1.40567660331726074219e-01   0x1.1fe1f000000000000000p-3
 should be:   5.83793781697750091553e-02   0x1.de3e6e00000000000000p-5
 difference:  8.21882784366607666016e-02   0x1.50a4a800000000000000p-4
 ulp       :  22062248.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  22062248.0000 ulp
 accepted:  2.0000 ulp
Failure: Test: y1 (8.0) == -0.15806046173124749426
Result:
 is:         -1.58502578735351562500e-01  -0x1.449d0000000000000000p-3
 should be:  -1.58060461282730102539e-01  -0x1.43b53400000000000000p-3
 difference:  4.42117452621459960938e-04   0x1.cf980000000000000000p-12
 ulp       :  29670.0000
 max.ulp   :  2.0000
Maximal error of `y1'
 is      :  29670.0000 ulp
 accepted:  2.0000 ulp
Failure: Test: yn (3, 10.0) == -0.25136265718383732978
Result:
 is:         -2.48292386531829833984e-01  -0x1.fc80b800000000000000p-3
 should be:  -2.51362651586532592773e-01  -0x1.01653600000000000000p-2
 difference:  3.07026505470275878906e-03   0x1.926d0000000000000000p-9
 ulp       :  103021.0000
 max.ulp   :  1.0000
Failure: Test: yn (10, 10.0) == -0.35981415218340272205
Result:
 is:         -3.55780839920043945312e-01  -0x1.6c51d000000000000000p-2
 should be:  -3.59814167022705078125e-01  -0x1.70732000000000000000p-2
 difference:  4.03332710266113281250e-03   0x1.08540000000000000000p-8
 ulp       :  135336.0000
 max.ulp   :  1.0000
Maximal error of `yn'
 is      :  135336.0000 ulp
 accepted:  3.0000 ulp

Test suite completed:
  2410 test cases plus 2208 tests for exception flags executed.
  7 errors occurred.

=======================================================================
[root@progress math]# ./test-double
testing double (without inline functions)
Failure: Test: yn (3, 2.0) == -1.1277837768404277861
Result:
 is:         -1.22227794179508597594e+00  -0x1.38e7350aa1d060000000p+0
 should be:  -1.12778377684042774298e+00  -0x1.20b670067d2f10000000p+0
 difference:  9.44941649546582329577e-02   0x1.830c50424a1500000000p-4
 ulp       :  425563886078485.0000
 max.ulp   :  1.0000
Failure: Test: yn (10, 2.0) == -129184.54220803928264
Result:
 is:         -1.37770754506644298090e+05  -0x1.0d156093ac78f0000000p+17
 should be:  -1.29184542208039289108e+05  -0x1.f8a08ace256460000000p+16
 difference:  8.58621229860500898212e+03   0x1.0c51b2c99c6c00000000p+13
 ulp       :  590040016304344.0000
 max.ulp   :  2.0000
Maximal error of `yn'
 is      :  590040016304344.0000 ulp
 accepted:  6.0000 ulp

Test suite completed:
  2485 test cases plus 2277 tests for exception flags executed.
  3 errors occurred.
[root@progress math]#

[root@progress math]# ./test-double
testing double (without inline functions)
Failure: Test: jn (1, 2.0) == 0.57672480775687338720
Result:
 is:          5.93207715674805236006e-01   0x1.2fb8ebf51dc680000000p-1
 should be:   5.76724807756873403264e-01   0x1.27487958371f00000000p-1
 difference:  1.64829079179318327419e-02   0x1.0e0e539cd4f000000000p-6
 ulp       :  148464835914360.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  148464835914360.0000 ulp
 accepted:  4.0000 ulp

Test suite completed:
  2485 test cases plus 2277 tests for exception flags executed.
  2 errors occurred.

======================================================================
testing long double (without inline functions)

Test suite completed:
  2484 test cases plus 2276 tests for exception flags executed.
  All tests passed successfully.
testing long double (without inline functions)

====================================================================
[root@progress math]# ./test-idouble
testing double (inline functions)
Failure: Test: jn (1, 2.0) == 0.57672480775687338720
Result:
 is:          5.93207715674805236006e-01   0x1.2fb8ebf51dc680000000p-1
 should be:   5.76724807756873403264e-01   0x1.27487958371f00000000p-1
 difference:  1.64829079179318327419e-02   0x1.0e0e539cd4f000000000p-6
 ulp       :  148464835914360.0000
 max.ulp   :  1.0000
Maximal error of `jn'
 is      :  148464835914360.0000 ulp
 accepted:  4.0000 ulp

Test suite completed:
  2423 test cases plus 2215 tests for exception flags executed.
  2 errors occurred.

[root@progress math]# ./test-idouble
testing double (inline functions)
Failure: Test: jn (3, 10.0) == 0.058379379305186812343
Result:
 is:          1.40567647708616738633e-01   0x1.1fe1ee4e45f4c0000000p-3
 should be:   5.83793793051868153965e-02   0x1.de3e6e9c0cc060000000p-5
 difference:  8.21882684034299232367e-02   0x1.50a4a54e858950000000p-4
 ulp       :  11844577758589226.0000
 max.ulp   :  3.0000
Failure: Test: jn (10, 10.0) == 0.20748610663335885770
Result:
 is:          1.77769869558646237406e-01   0x1.6c129bffbfa270000000p-3
 should be:   2.07486106633358868834e-01   0x1.a8ee79d2eacb00000000p-3
 difference:  2.97162370747126314274e-02   0x1.e6deee99594480000000p-6
 ulp       :  1070640273732233.0000
 max.ulp   :  4.0000
Maximal error of `jn'
 is      :  11844577758589226.0000 ulp
 accepted:  4.0000 ulp

Test suite completed:
  2423 test cases plus 2215 tests for exception flags executed.
  3 errors occurred.

===================================================================
testing long double (inline functions)

Test suite completed:
  2422 test cases plus 2214 tests for exception flags executed.
  All tests passed successfully.
testing long double (inline functions)


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