In ARM 2 of 58 tests failed in gmp 4.3.1

Lluís Batlle viriketo at gmail.com
Sat Aug 15 22:35:15 CEST 2009


Hello,

these are the problematic tests:
PASS: t-div_2exp
rootrem.c:338: GNU MP assertion failed: bn >= qn
/bin/sh: line 4: 24404 Aborted                 ${dir}$tst
FAIL: reuse
rootrem.c:338: GNU MP assertion failed: bn >= qn
/bin/sh: line 4: 24431 Aborted                 ${dir}$tst
FAIL: t-root
PASS: t-perfsqr

The compilation details are:
creating reuse
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2
-pedantic -fomit-frame-poin
ter -c t-root.c
/bin/sh ../../libtool --mode=link gcc  -O2 -pedantic
-fomit-frame-pointer   -o t-root  t-roo
t.o ../../tests/libtests.la ../../libgmp.la
gcc -O2 -pedantic -fomit-frame-pointer -o .libs/t-root t-root.o
../../tests/.libs/libtests.
a /tmp/nix-build-ijwaxpj8l3l6pkmmwcq7pyqmsjwk7fzy-gmp-4.3.1.drv-0/gmp-4.3.1/.libs/libgmp.so
../../.libs/libgmp.so  -Wl,--rpath
-Wl,/home/viric/nix/store/rdn0y9wjq9ja29zczbhc7801353dibf
2-gmp-4.3.1/lib
creating t-root
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2
-pedantic -fomit-frame-poin
ter -c t-perfsqr.c
/bin/sh ../../libtool --mode=link gcc  -O2 -pedantic
-fomit-frame-pointer   -o t-perfsqr  t-
perfsqr.o ../../tests/libtests.la ../../libgmp.la
gcc -O2 -pedantic -fomit-frame-pointer -o .libs/t-perfsqr t-perfsqr.o
../../tests/.libs/lib
tests.a /tmp/nix-build-ijwaxpj8l3l6pkmmwcq7pyqmsjwk7fzy-gmp-4.3.1.drv-0/gmp-4.3.1/.libs/libg
mp.so ../../.libs/libgmp.so  -Wl,--rpath
-Wl,/home/viric/nix/store/rdn0y9wjq9ja29zczbhc78013
53dibf2-gmp-4.3.1/lib

The GMP lib sources are compiled by commands like this:
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-D__GMP_WITHIN_GMP    -O2 -pedantic -fomit-frame-pointer -c -o
tal-reent.lo tal-reent.c

The configure script, at some point, says:
using ABI="standard"
      CC="gcc"
      CFLAGS="-O2 -pedantic -fomit-frame-pointer"
      CPPFLAGS=""
      MPN_PATH=" arm generic"

I don't know if you want more details. The compiler is:
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards,
Lluís.


More information about the gmp-bugs mailing list