problem with "make check" on windows with shared library

Marcin Kucharczyk marcinkk at gmail.com
Wed Jun 3 08:16:20 CEST 2009


Hello,

Platform: MinGW on Windows.

Almost everything works, but ...

I've configured gmp-4.3.1 using (to get the dll library):

./configure --disable-static --enable-shared --enable-cxx --enable-fat

then:

make check

and the result is:

/bin/make  check-recursive
make[1]: Entering directory `/d/gmp-4.3.1'
Making check in tests
make[2]: Entering directory `/d/gmp-4.3.1/tests'
Making check in .
make[3]: Entering directory `/d/gmp-4.3.1/tests'
/bin/make  libtests.la t-bswap.exe t-constants.exe t-count_zeros.exe
t-gmpmax.exe t-hightomask.exe t-modlinv.exe t-popc.exe t-parity.exe
t-sub.exe
make[4]: Entering directory `/d/gmp-4.3.1/tests'
make[4]: `libtests.la' is up to date.
make[4]: `t-bswap.exe' is up to date.
make[4]: `t-constants.exe' is up to date.
make[4]: `t-count_zeros.exe' is up to date.
make[4]: `t-gmpmax.exe' is up to date.
make[4]: `t-hightomask.exe' is up to date.
make[4]: `t-modlinv.exe' is up to date.
make[4]: `t-popc.exe' is up to date.
make[4]: `t-parity.exe' is up to date.
make[4]: `t-sub.exe' is up to date.
make[4]: Leaving directory `/d/gmp-4.3.1/tests'
/bin/make  check-TESTS
make[4]: Entering directory `/d/gmp-4.3.1/tests'
FAIL: t-bswap.exe
FAIL: t-constants.exe
FAIL: t-count_zeros.exe
FAIL: t-gmpmax.exe
FAIL: t-hightomask.exe
FAIL: t-modlinv.exe
FAIL: t-popc.exe
FAIL: t-parity.exe
FAIL: t-sub.exe
====================================
9 of 9 tests failed
Please report to gmp-bugs at gmplib.org
====================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/d/gmp-4.3.1/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/d/gmp-4.3.1/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/d/gmp-4.3.1/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/d/gmp-4.3.1'
make: *** [check] Error 2

make failed. Exit value 2.

but... "make test" works properly when static library is compiled. Compiled
dll file also works fine, just an error in the "make test" :(

With Regards,
Marcin


More information about the gmp-bugs mailing list