GMP failure on Mac OS X 10.5

mnostrich mnostrich at gmail.com
Sun Jun 8 06:58:06 CEST 2008


Hi Matt,

Did you figure this problem? I am experiencing the same... THanks.

Matt Fago wrote:
> 
> 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
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at swox.com
> https://gmplib.org/mailman/listinfo/gmp-bugs
> 
> 

-- 
View this message in context: http://www.nabble.com/GMP-failure-on-Mac-OS-X-10.5-tp15126914p17715701.html
Sent from the Gnu - GMP - Bugs mailing list archive at Nabble.com.



More information about the gmp-bugs mailing list