gmp 4.3.0 tests fail on Mac OS X 10.5

Marcus Calhoun-Lopez marcuscalhounlopez at mac.com
Tue May 5 21:04:11 CEST 2009


Even with the new version,  t-asmtype (and others) fails in the same  
way:
     make  check-TESTS
     /bin/sh: line 1: 41402 Bus error               ${dir}$tst
     FAIL: t-asmtype

As requested in a previous message, make try && ./try mpn_add_n gives:
     /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ 
tests  -I/opt/local/include  -m32 -O2 -pedantic -fomit-frame-pointer - 
mtune=k8 -march=k8 -c try.c
     /bin/sh ../../libtool --mode=link /usr/bin/gcc-4.0  -m32 -O2 - 
pedantic -fomit-frame-pointer -mtune=k8 -march=k8  -L/opt/local/lib -o  
try  try.o ../../tests/libtests.la ../../libgmp.la
     mkdir .libs
     /usr/bin/gcc-4.0 -m32 -O2 -pedantic -fomit-frame-pointer - 
mtune=k8 -march=k8 -o .libs/try try.o  -L/opt/local/lib ../../ 
tests/.libs/libtests.a /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_devel_gmp/work/gmp-4.3.0-20090505/.libs/ 
libgmp.dylib ../../.libs/libgmp.dylib
     creating try
     Segmentation fault

After applying the first workaround (changing mpn/x86/p6/aors_n.asm to  
include_mpn(`x86/k7/aors_n.asm'))
all tests pass.
There is no longer a need to apply the second workaround (rm mpn/x86/ 
p6/sse2/popcount.asm).

-Marcus

On May 5, 2009, at 12:45 AM, Torbjorn Granlund wrote:

> I actually suspect I'e already worked around this bug.
>
> Please grab ftp://ftp.gmplib.org/pub/snapshot/gmp-4.3.0-20090505.tar.bz2
> and let the list know if it works on your system.
>
> -- 
> Torbjörn



More information about the gmp-bugs mailing list