GMP-6.0.0 Fails Test Suite Using enable-cxx flag with icc
refarr at uncg.edu
Thu Aug 6 05:09:28 UTC 2015
I just wanted to report that I encountered an issue not by compiling
GMP-6.0.0, but using the test suite after compiling. The version was not
patched at all, and directly downloaded from gmplib.org tonight.
My machine is an intel i5-haswell running Ubuntu 14.04.2 and using Intel
Compiler version 15.0.1 (gcc 4.9.0 compatible). The environment variables
for the compiler were set as CC=icc and CXX=icc. The configure flags used
./configure --prefix=/usr/local --disable-static --enable-cxx
I was able to compile the library, but when I used "make check -j4" I
failed one test. The relevant output from the test suite is given below.
Note that I was able to compile and pass all tests by removing the
--enable-cxx configure flag.
make: Leaving directory `usr/local/gmp-6.0.0/tests/cxx'
make: Entering directory `usr/local/gmp-6.0.0/tests/cxx'
1 of 20 tests failed
As a side note, using the intel compiler for my set up more than doubles
the speed compared to compiling with gcc. Also with no special compile
flags set except defaults determined by gmp during configuration. If you'd
like me to present benchmark comparisons, please let me know.
Ricky Eugene Farr
University of North Carolina at Greensboro
More information about the gmp-bugs