Re: Make check fails on samsung S8 (2)
Yes, I've just tested and it's OK. Regards. Luc Le ven. 4 déc. 2020 à 13:55, Marco Bodrato a écrit : > Ciao Luc, > > Il Gio, 3 Dicembre 2020 5:03 pm, Luc Sanselme ha scritto: > > I ran make check on termux on my phone and It's OK now. > > Great, thank you! > > Then, also the new release GMP-6.2.1 should be OK. > > Ĝis, > m > > ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
Ciao Luc, Il Gio, 3 Dicembre 2020 5:03 pm, Luc Sanselme ha scritto: > I ran make check on termux on my phone and It's OK now. Great, thank you! Then, also the new release GMP-6.2.1 should be OK. Ĝis, m ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
Hi Marco, sorry for being long but I got a few things to do lately. I ran make check on termux on my phone and It's OK now. I join the file of the standard output and the file of standard error was empty. Regards. Luc Le lun. 2 nov. 2020 à 00:23, Marco Bodrato a écrit : > Ciao Luc, > > Il 2020-10-29 08:39 Marc Glisse ha scritto: > > I think so, yes. Maybe Luc can confirm if that works? > > Could you try if the latest available snapshot is working in your > environment? > > You can download it at: > > https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst > > Ĝis, > m > make check-recursive make[1]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635' Making check in tests make[2]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' Making check in . make[3]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make libtests.la t-bswap t-constants t-count_zeros t-hightomask t-modlinv t-popc t-parity t-sub make[4]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make[4]: 'libtests.la' is up to date. make[4]: 't-bswap' is up to date. make[4]: 't-constants' is up to date. make[4]: 't-count_zeros' is up to date. make[4]: 't-hightomask' is up to date. make[4]: 't-modlinv' is up to date. make[4]: 't-popc' is up to date. make[4]: 't-parity' is up to date. make[4]: 't-sub' is up to date. make[4]: Leaving directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make check-TESTS make[4]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make[5]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' PASS: t-bswap PASS: t-constants PASS: t-count_zeros PASS: t-hightomask PASS: t-modlinv PASS: t-popc PASS: t-parity PASS: t-sub Testsuite summary for GNU MP 6.2.0 # TOTAL: 8 # PASS: 8 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 make[5]: Leaving directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make[4]: Leaving directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' make[3]: Leaving directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests' Making check in devel make[3]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests/devel' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests/devel' Making check in mpn make[3]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests/mpn' make t-asmtype t-aors_1 t-divrem_1 t-mod_1 t-fat t-get_d t-instrument t-iord_u t-mp_bases t-perfsqr t-scan logic t-toom22 t-toom32 t-toom33 t-toom42 t-toom43 t-toom44 t-toom52 t-toom53 t-toom54 t-toom62 t-toom63 t-toom6h t-toom8h t-toom2-sqr t-toom3-sqr t-toom4-sqr t-toom6-sqr t-toom8-sqr t-div t-mul t-mullo t-sqrlo t-mulmod_bnm1 t-sqrmod_bnm1 t-mulmid t-hgcd t-hgcd_appr t-matrix22 t-invert t-bdiv t-fib2m t-broot t-brootinv t-minvert t-sizeinbase t-gcd_11 t-gcd_22 t-gcdext_1 make[4]: Entering directory '/data/data/com.termux/files/home/Documents/TestsPaul/GMP/gmp-6.2.0-20201101220635/tests/mpn' make[4]: 't-asmtype' is up to date. make[4]: 't-aors_1' is up to date. make[4]: 't-divrem_1' is up to date. make[4]: 't-mod_1' is up to date. make[4]: 't-fat' is up to date. make[4]: 't-get_d' is up to date. make[4]: 't-instrument' is up to date. make[4]: 't-iord_u' is up to date. make[4]: 't-mp_bases' is up to date. make[4]: 't-perfsqr' is up to date. make[4]: 't-scan' is up to date. make[4]: 'logic' is up to date. make[4]: 't-toom22' is up to date. make[4]: 't-toom32' is up to date. make[4]: 't-toom33' is up to date. make[4]: 't-toom42' is up to date. make[4]: 't-toom43' is up to date. make[4]: 't-toom44' is up to date. make[4]: 't-toom52' is up to date. make[4]: 't-toom53' is up to date. make[4]: 't-toom54' is up to date. make[4]: 't-toom62' is up to date. make[4]: 't-toom63' is up to date. make[4]: 't-toom6h' is up to date. make[4]: 't-toom8h' is up to date. make[4]: 't-toom2-sqr' is up to date. make[4]: 't-toom3-sqr' is up to date. make[4]: 't-toom4-sqr' is up to date. make[4]: 't-toom6-sqr' is up to date. make[4]: 't-toom8-sqr' is up to date. make[4]: 't-div' is up to date. make[4]: 't-mul' is up to date. make[4]: 't-mullo' is up to date. make[4]:
Re: Make check fails on samsung S8 (2)
I do it ASAP. Le lun. 2 nov. 2020 à 00:23, Marco Bodrato a écrit : > Ciao Luc, > > Il 2020-10-29 08:39 Marc Glisse ha scritto: > > I think so, yes. Maybe Luc can confirm if that works? > > Could you try if the latest available snapshot is working in your > environment? > > You can download it at: > > https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst > > Ĝis, > m > ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
Ciao Luc, Il 2020-10-29 08:39 Marc Glisse ha scritto: I think so, yes. Maybe Luc can confirm if that works? Could you try if the latest available snapshot is working in your environment? You can download it at: https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst Ĝis, m ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
On Thu, 29 Oct 2020, Marco Bodrato wrote: Ciao Marc, Il 2020-08-22 19:39 Marc Glisse ha scritto: Ah, on your OS nl_langinfo is defined inline as a static function in langinfo.h, so the hack used in the test of redefining the function cannot work. I guess we are supposed to add some configure check that nl_langinfo can be redefined... although for just one platform we could add a simple #if like we already do for mingw, so the test is skipped. Are you suggesting something like the following? I think so, yes. Maybe Luc can confirm if that works? Thanks, -- Marc Glisse ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
Ciao Marc, Il 2020-08-22 19:39 Marc Glisse ha scritto: Ah, on your OS nl_langinfo is defined inline as a static function in langinfo.h, so the hack used in the test of redefining the function cannot work. I guess we are supposed to add some configure check that nl_langinfo can be redefined... although for just one platform we could add a simple #if like we already do for mingw, so the test is skipped. Are you suggesting something like the following? diff -r 3328dc92960a tests/misc/t-locale.c --- a/tests/misc/t-locale.c Sun Oct 25 22:14:38 2020 +0100 +++ b/tests/misc/t-locale.c Thu Oct 29 02:43:25 2020 +0100 @@ -57,7 +57,7 @@ #endif /* Replace the libc nl_langinfo with one we can manipulate. */ -#if HAVE_NL_LANGINFO +#if HAVE_NL_LANGINFO && ! defined __TERMUX__ char * nl_langinfo (nl_item n) #if defined __cplusplus && defined __GLIBC__ Ĝis, m ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: Make check fails on samsung S8 (2)
On Wed, 19 Aug 2020, Luc Sanselme wrote: first of all, sorry for my previous bug report with confidentiality issues. I forgot to remove them before sending the mail. I installed gmp on my Samsung S8, running termux. Here are my environment informations: - gmp-6.2.0 from the tar.bz2 archive - make check fails - clang 10.0.1 aarch64-unknown-linux-android - uname -a: Linux localhost 4.4.153-16125356 #2 SMP PREEMPT Thu Jul 4 23:06:25 KST 2019 aarch64 Android - ./config.guess: arrch64-unknown-linux-gnu The error occurs on a make check. The two files attached are the output of stderror for make check and for ./configure Ah, on your OS nl_langinfo is defined inline as a static function in langinfo.h, so the hack used in the test of redefining the function cannot work. I guess we are supposed to add some configure check that nl_langinfo can be redefined... although for just one platform we could add a simple #if like we already do for mingw, so the test is skipped. This seems specific to termux: https://github.com/termux/termux-packages/commit/d486f2a0831550fbf5af50d5e94d713e53137c2d which can be identified with __TERMUX__ after including some random header https://github.com/termux/termux-packages/commit/b9d83f9fb83e42b3fbd2d515412d44111846ef96 Anyway, you can ignore this error, it only says that a hack in a test is failing, nothing wrong with the library itself. -- Marc Glisse ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs