gmp fails make checks on OSX Snow Leopard

Mark Rodenkirch mgrogue at wi.rr.com
Tue Jan 24 13:27:25 CET 2012


On Jan 24, 2012, at 12:49 AM, Gordon Anderson wrote:

> error log of 'make check' on OSX 10.6.8 building with preinstalled gcc :
> 
> compiler :
> 
>    i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.1.00)
> 
> 
> error log :
> 
> PASS: t-sizeinbase
> PASS: t-set_str
> PASS: t-aorsmul
> PASS: t-cmp_d
> PASS: t-cmp_si
> /bin/sh: line 1: 74661 Segmentation fault      ${dir}$tst
> FAIL: t-hamdist
> PASS: t-oddeven
> /bin/sh: line 1: 74700 Segmentation fault      ${dir}$tst
> FAIL: t-popcount

I ran into the same problem.  The issue is with llvm-gcc.  You need to switch to clang, which should also be installed with Xcode.  I suggest changing your symbolic links for cc, gcc, c++, and g++ to clang instead of llvm-gcc.

--Mark


More information about the gmp-bugs mailing list