GMP failure on Mac OS X 10.5

Matt Fago fago at earthlink.net
Thu Jan 24 20:02:31 CET 2008


I installed gcc 4.2.2 via ../gcc/configure; make; make install and  
then tried to install GMP 4.2.2 using this new compiler via ./ 
configure; make; make check

This results in the message:

make  check-TESTS
/bin/sh: line 1: 28320 Segmentation fault      ${dir}$tst
FAIL: t-bswap
PASS: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
/bin/sh: line 1: 28431 Segmentation fault      ${dir}$tst
FAIL: t-popc
PASS: t-parity
PASS: t-sub
==================================
2 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================


Note that I get the following errors at the end of the build:

ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
ranlib .libs/libgmp.a
ranlib: file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
rm -fr .libs/libgmp.lax
creating libgmp.la


Also note that I have GMP version 4.1.4 installed from a previous  
installation of gcc.


Additionally, the ./configure script set -march=k8, even though the  
appropriate value would be -march=nocona. Did not change the test  
failure of course, but not ideal on this platform?


Building with Apple's supplied gcc [gcc version 4.0.1 (Apple Inc.  
build 5465)], still gives the ranlib messages above, but the checks  
all pass.

Probably a known issue, but I thought I'd report them just in case.

Thanks,
Matt


More information about the gmp-bugs mailing list