gmp fails make checks on OSX Snow Leopard

mgrogue at wi.rr.com mgrogue at wi.rr.com
Thu Jan 26 20:24:02 CET 2012


---- Torbjorn Granlund <tg at gmplib.org> wrote: 
> Mark Rodenkirch <mgrogue at wi.rr.com> writes:
> 
>   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.
> 
> Did somebody try to isolate the problem?

I tried, but was unsuccessful in isolating the problem.  Someone with more knowledge of GMP configure would be more successful.

--Mark


More information about the gmp-bugs mailing list