gmp 6.3.0 build failure on macOS 10.14.6 (Mojave) using Homebrew
Marc Glisse
marc.glisse at inria.fr
Sun Dec 10 18:23:27 CET 2023
Hello,
could you give a bit more info (see
https://gmplib.org/manual/Reporting-Bugs)?
3 things in particular:
* what did config.guess identify your system as
* what arguments did you pass to configure
* could you run one of the failing tests in a debugger until it complains
about the illegal instruction, then ask it to disassemble the current
instruction (and neighbors), and tell us what this illegal instruction is?
On Sun, 10 Dec 2023, Russ Gutwin wrote:
> Hope this helps you and others:
> bash-3.2$ more tests/mpz/test-suite.log
> ============================================
> GNU MP 6.3.0: tests/mpz/test-suite.log
> ============================================
>
> # TOTAL: 64
> # PASS: 57
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 7
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: t-bin
> ===========
>
> FAIL t-bin (exit status: 132)
>
> FAIL: t-fac_ui
> ==============
>
> FAIL t-fac_ui (exit status: 132)
>
> FAIL: t-mfac_uiui
> =================
>
> FAIL t-mfac_uiui (exit status: 132)
>
> FAIL: t-primorial_ui
> ====================
>
> FAIL t-primorial_ui (exit status: 132)
>
> FAIL: t-hamdist
> ===============
>
> FAIL t-hamdist (exit status: 132)
>
> FAIL: t-popcount
> ================
>
> FAIL t-popcount (exit status: 132)
>
> FAIL: t-nextprime
> =================
>
> FAIL t-nextprime (exit status: 132)
>
> Other details are as follows:
> ==> Formula
> Path: /Users/russgutwin/Library/Caches/Homebrew/downloads/493bd833806b18608ad2a7ebabf4bc0769f6758080d63aee6a1c808e0383ab76--gmp.rb
> ==> Configuration
> HOMEBREW_VERSION: 4.1.24-12-gc32bd1c
> ORIGIN: https://github.com/Homebrew/brew
> HEAD: c32bd1c7cc0c3b1b914845bddfeda53f4d877a3f
> Last commit: 3 days ago
> Core tap origin: https://github.com/Homebrew/homebrew-core
> Core tap HEAD: 187d25afa55827b232da42d50f1006e2d7039f5a
> Core tap last commit: 18 hours ago
> Core tap branch: master
> Core tap JSON: 10 Dec 09:46 UTC
> HOMEBREW_PREFIX: /usr/local
> HOMEBREW_CASK_OPTS: []
> HOMEBREW_EDITOR: pico
> HOMEBREW_MAKE_JOBS: 2
> HOMEBREW_NO_AUTO_UPDATE: set
> HOMEBREW_SORBET_RUNTIME: set
> Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
> CPU: dual-core 64-bit penryn
> Clang: 11.0.0 build 1100
> Git: 2.43.0 => /usr/local/bin/git
> Curl: 7.54.0 => /usr/bin/curl
> macOS: 10.14.6-x86_64
> CLT: 11.3.1.0.1.1576735732
> Xcode: 11.3.1
> ==> ENV
> HOMEBREW_CC: clang
> HOMEBREW_CXX: clang++
> MAKEFLAGS: -j2
> CMAKE_PREFIX_PATH: /usr/local
> CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
> CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
> PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
> HOMEBREW_GIT: git
> HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
> ACLOCAL_PATH: /usr/local/share/aclocal
> PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/libtool/bin:/usr/bin:/bin:/usr/sbin:/sbin
>
> This preceded the build’s ‘Test Summary’, before the build failure:
> /Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
> PASS: t-addsub
> PASS: t-cmp
> PASS: t-mul
> PASS: t-mul_i
> PASS: t-tdiv
> PASS: t-tdiv_ui
> PASS: t-fdiv
> PASS: t-fdiv_ui
> PASS: t-cdiv_ui
> PASS: reuse
> PASS: t-gcd_ui
> PASS: t-lcm
> PASS: t-invert
> PASS: t-gcd
> PASS: dive_ui
> PASS: t-sqrtrem
> PASS: dive
> PASS: io
> PASS: t-inp_str
> PASS: logic
> PASS: t-bit
> PASS: convert
> PASS: t-powm
> PASS: t-pow
> PASS: t-div_2exp
> PASS: t-root
> PASS: t-perfsqr
> PASS: t-perfpow
> PASS: t-jac
> ../../test-driver: line 107: 82346 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-bin
> PASS: t-get_d
> PASS: t-get_d_2exp
> PASS: t-get_si
> PASS: t-powm_ui
> PASS: t-set_d
> PASS: t-set_si
> PASS: t-lucm
> ../../test-driver: line 107: 82479 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-fac_ui
> ../../test-driver: line 107: 82494 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-mfac_uiui
> ../../test-driver: line 107: 82517 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-primorial_ui
> PASS: t-fib_ui
> PASS: t-lucnum_ui
> PASS: t-scan
> PASS: t-fits
> PASS: t-divis_2exp
> PASS: t-cong
> PASS: t-cong_2exp
> PASS: t-sizeinbase
> PASS: t-divis
> PASS: t-set_str
> PASS: t-cmp_d
> PASS: t-cmp_si
> ../../test-driver: line 107: 82784 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-hamdist
> PASS: t-aorsmul
> PASS: t-oddeven
> ../../test-driver: line 107: 82827 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-popcount
> PASS: t-set_f
> PASS: t-import
> PASS: t-export
> PASS: t-pprime_p
> ../../test-driver: line 107: 82938 Illegal instruction: 4 "$@" > $log_file 2>&1
> FAIL: t-nextprime
> PASS: t-io_raw
> PASS: t-limbs
> PASS: t-remove
>
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
--
Marc Glisse
More information about the gmp-bugs
mailing list