我在 M1 Pro 芯片组上运行 Mac OS Ventura (13.0)。
我成功编译了 GMP 版本 6.2.1,但大多数单元测试都失败了。
要么与
分段错误:11
或与
中止陷阱:6
Version: GNU MP 6.2.1
Host type: aarch64-apple-darwin22.1.0
ABI: 64
Install prefix: /usr/local
Compiler: gcc
Static libraries: yes
Shared libraries: yes
============================================================================
Testsuite summary for GNU MP 6.2.1
============================================================================
# TOTAL: 50
# PASS: 14
# SKIP: 0
# XFAIL: 0
# FAIL: 36
# XPASS: 0
# ERROR: 0
============
Run Code Online (Sandbox Code Playgroud)
例子:
../../test-driver: line 107: 36102 Segmentation fault: 11 "$@" > $log_file 2>&1
FAIL: t-toom22 …Run Code Online (Sandbox Code Playgroud)