I have tried to compile gmp-6.1.0 from source according to gmp.build
./configure ... OK
./make -j4 ... OK
make check ... FAIL
Originally I compile it natively on Raspberry pi Zero, make check fail, retried couple times, still fail.
If I run the .../gmp-6.1.0/tests/cxx/t-locale directly, it shows the error is "Segmentation fault".
I thought the error maybe related to Raspberry pi platform.
I compile the source again on x86 platform, yields SAME ERRORS, fail on make check, t-locale.
It seems like t-locale is locale related, do I need any "locale" packages in order to compile gmp 6.1.0?
Anyone pass ALL the "make check" with gmp-6.1.0 ?
Thanks!
quote from some screenshots:
...
PASS: t-binary
PASS: t-cast
PASS: t-cxx11
PASS: t-headers
PASS: t-iostream
PASS: t-istream
FAIL: t-locale
PASS: t-misc
PASS: t-mix
PASS: t-ops
PASS: t-ops2
PASS: t-ops3
PASS: t-ostream
PASS: t-prec
PASS: t-ternary
PASS: t-unary
PASS: t-do-exceptions-work-at-all-with-this-compiler
PASS: t-assign
PASS: t-constr
PASS: t-rand
============================================================================
Testsuite summary for GNU MP 6.1.0
============================================================================
# TOTAL: 20
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/cxx/test-suite.log
Please report to gmp-bugs@gmplib.org, see
https://gmplib.org/manual/Reporting-Bugs.html============================================================================
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory `/mnt/tmp/gmp/gmp-6.1.0/tests/cxx'
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory `/mnt/tmp/gmp/gmp-6.1.0/tests/cxx'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/mnt/tmp/gmp/gmp-6.1.0/tests/cxx'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/mnt/tmp/gmp/gmp-6.1.0/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/mnt/tmp/gmp/gmp-6.1.0'
make: *** [check] Error 2