Tests Hang

Hans Aberg haberg-1 at telia.com
Fri Nov 11 12:12:09 CET 2011


On 30 Aug 2011, at 18:38, Torbjorn Granlund wrote:

> "David E. Wheeler" <david at kineticode.com> writes:
> 
>  Sure. Above it the error message. I am not a a C programmer. I don't
>  know what it means. Perhaps some helpful denizen of this list knows?
> 
> As a workaround for now, I suggest that you remove
> mpn/x86_64/mod_34lsub1.asm, then make a clean build.

This does not work (gmp-5.0.2) on OS X 10.7.2, Xcode 4.2 (see below). It hangs on the t-cdiv_ui test, with non-termination on t-gcd. Unpacked and removed the file above before doing ./configure && make && make check.

On this platform, the default UNIX compiler is llvm-gcc-4.2. However, the default compiler in the Xcode IDE is clang. If you so want, I can try that one as well; this is the system compiler that supports C++0x extensions.

Hans


$ cc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

$ uname -a
Darwin Virgo-Supercluster.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:56:15 PDT 2011; root:xnu-1699.24.8~1/RELEASE_I386 i386

$ ls -l $(which gcc)
lrwxr-xr-x  1 root  wheel  12 Nov  2 23:48 /usr/bin/gcc -> llvm-gcc-4.2

$ ls -l $(which cc)
lrwxr-xr-x  1 root  wheel  12 Nov  2 23:48 /usr/bin/cc -> llvm-gcc-4.2 

$ clang --version
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix

$ ls -l $(which clang)
-rwxrwxr-x  1 root  admin  41251344 Aug 27 09:53 /usr/bin/clang




More information about the gmp-discuss mailing list