t-constant fail i686-darwin10

David Fang fang at csl.cornell.edu
Sat Jan 9 22:22:50 CET 2010


First, congrats on the 5.0.0 release!
Here's my test report on i686-apple-darwin10:

make  check-TESTS
PASS: t-bswap
PP_INVERTED == 53e5645c, but pp_inverted_calc == 538ce830

After gmp.h,
   ULONG_MAX  not defined
   LONG_MAX   not defined
   UINT_MAX   not defined
   INT_MAX    not defined
   USHRT_MAX  not defined
   SHRT_MAX   not defined

ULONG_MAX      FFFFFFFF
ULONG_HIGHBIT  80000000
LONG_MAX       7FFFFFFF
LONG_MIN       80000000
UINT_MAX       FFFFFFFF
UINT_HIGHBIT   80000000
INT_MAX        7FFFFFFF
INT_MIN        80000000
USHRT_MAX      FFFF
USHRT_HIGHBIT  8000
SHRT_MAX       7FFF
SHRT_MIN       8000

Bits
   long           32
   int            32
   short          16
   unsigned long  32
   unsigned int   32
   unsigned short 16
   mp_size_t      32
/bin/sh: line 1: 22038 Abort trap              ${dir}$tst
FAIL: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
PASS: t-popc
PASS: t-parity
PASS: t-sub
====================================
1 of 9 tests failed
Please report to gmp-bugs at gmplib.org
====================================

% gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure 
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 
--target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)


from configure:
...
checking build system type... core2-apple-darwin10.2.0
checking host system type... core2-apple-darwin10.2.0
...
using ABI="32"
       CC="gcc -std=gnu99"
       CFLAGS="-m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 
-march=core2"
       CPPFLAGS="-fexceptions -I/sw/include"
       CXX="g++"
       CXXFLAGS="-m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 
-march=core2"
       MPN_PATH=" x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86 generic"


Let me know if there's more information I need to provide.

Fang

David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/



More information about the gmp-bugs mailing list