Re: errors in make check
Paul E Reimer writes: > I downloaded what I believe is the most recent version and it seem to > have passed all checks, except for one which was skipped. (Why?) SKIP: t-addaddmul is likely because mpn_addaddmul_1msb0 is an assembly function only implemented for a few architectures, and not enabled in your build. Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance. ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: errors in make check
Marc Glisse writes: could you check with the latest snapshot from https://gmplib.org/download/snapshot/gmp-next/ ? If that does not help, can you try with a different compiler (a real gcc, or maybe a non-Apple llvm, you can probably get them through homebrew or macports)? It would surprise me dearly if these test failures are not due to a compiler bug. We have gotten reports of problems with Apple's compilers serveral times over the years. Unfortunately, these days I cannot reproduce any of them on x86 as I do not have access to the current compilers. (The GMP project has a few years old Mac x86 hardware, but Apple blocks the installation of non-obsolete software on these machines.) Also, isolating these compiler problems is likely a waste of effort. We do generally not work around compiler bugs in GMP. My recommendation for Apple developers is: Get a well-tested compiler. Avoid Apple's compilers. The least buggy compiler is gcc, but clang specifically for x86 is ok. -- Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: errors in make check
Hello, could you check with the latest snapshot from https://gmplib.org/download/snapshot/gmp-next/ ? If that does not help, can you try with a different compiler (a real gcc, or maybe a non-Apple llvm, you can probably get them through homebrew or macports)? On Fri, 19 Jan 2024, Paul E Reimer wrote: Hello, The command "make check" produces a number of failures for me. I am using on a MacBook pro running macOS Sonoma 14.2.1 and XCode 15.2. To build, I run [gmp-6.3.0] configure --prefix=/Users/reimer/Documents/local > ../gmp-6.3.0Configure.log [gmp-6.3.0] make >& ../gmp-6.3.0Make.log [gmp-6.3.0] make check >& ../gmp-6.3.0MakeCheck.log Other useful (perhaps) information [gmp-6.3.0] gcc -v Apple clang version 15.0.0 (clang-1500.1.0.2.5) Target: x86_64-apple-darwin23.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin [gmp-6.3.0] uname -a Darwin CSI358562 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 x86_64 [gmp-6.3.0] ./config.guess kabylake-apple-darwin23.2.0 [gmp-6.3.0] ./configfsf.guess zsh: permission denied: ./configfsf.guess [gmp-6.3.0] chmod 770 configfsf.guess [gmp-6.3.0] ./configfsf.guess x86_64-apple-darwin23.2.0 If there is any more information which I can supply, please let me know. Paul -- Marc Glisse ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs