ERROR: incorrect plain product in test 54

Virgil Anderson vda at earthlink.net
Mon Jun 18 07:32:17 CEST 2007


FYI Observation to mailing list problem.
This problem has been reported several times in the mail archive.
I have attached patches to turn off the gcc optimization which gmp
configure.in defaults to -O2;
Test program gmp/tests/mpz/t-mul.c fails when doing the "make check"; 
It appears to be trying a plain multi-step multiplication which appears
to be running over a boundry / dropping a bit, in an internal variable. 
This causes an oscillating result, which is occasionally right -
allowing for an occasional test success.  Running the test either passes
or gets a failure in test #53 or #54, The result is always the same in
the particular failing test on my machine which has an athlon 1.1 GHZ
32-bit processor on an ASUS board.
I have previously reported the bug and the test output results have not
changed significantly.
I am using gcc-4.2 to compile gmp-4.2.1;
My kernel is 2.6.21.5




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gmp-configure.patch
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20070618/818c827e/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gmp-configure.in.patch
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20070618/818c827e/attachment-0001.ksh 


More information about the gmp-bugs mailing list