gmp-4.2 on G5 OSX 10.3.9
Dominique Dhumieres
dominiq at lps.ens.fr
Wed May 3 19:42:30 CEST 2006
I finally succeeded to pass the 'make check' of gmp-4.2 on
my G5 under OSX 10.3.9 using
gcc (GCC) 4.2.0 20060429 (experimental)
g++ (GCC) 4.2.0 20060429 (experimental)
with the following configure flags
configure ABI=32 --enable-cxx CC='/sw/lib/gcc4/bin/gcc -fPIC' CXX='/sw/lib/gcc4/bin/g++ -fPIC'
without ABI=32, t-hamdist failed with a segmentation fault:
**********
Host Name: karma.lps.ens.fr
Date/Time: 2006-04-26 15:12:49 +0200
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: t-hamdist
Path: ./t-hamdist
Version: ??? (???)
PID: 2444
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x00405000
Thread 0 Crashed:
0 t-hamdist 0x000167b8 __gmpn_popcount + 0x98
1 t-hamdist 0x000102c8 __gmpz_hamdist + 0x308
2 t-hamdist 0x0000285c main + 0x29c
3 t-hamdist 0x00001d28 _start + 0x188 (crt.c:267)
4 dyld 0x8fe1a278 _dyld_start + 0x64
PPC Thread State:
srr0: 0x000167b8 srr1: 0x0200d030 vrsave: 0xfffc0000
cr: 0x42000228 xer: 0x20000000 lr: 0x000102c8 ctr: 0xbfff7d91
r0: 0x10010000 r1: 0xbfffef60 r2: 0x05080e0b r3: 0x00404ff8
r4: 0x00000001 r5: 0x88635664 r6: 0x00000020 r7: 0x00000080
r8: 0x00000000 r9: 0xaa946968 r10: 0x00000000 r11: 0x0002ccf0
r12: 0x00000010 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0x00000060 r27: 0x003001f8
r28: 0x00000000 r29: 0x003001f8 r30: 0x00000004 r31: 0x00000004
Binary Images Description:
0x1000 - 0x2cfff t-hamdist ./t-hamdist
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
The last remaining problem is the following warning:
PASS: t-printf
Warning, sscanf("","%d",&x) doesn't return EOF.
This affects gmp_sscanf, tests involving it will be suppressed.
You should try to get a fix for your libc.
PASS: t-scanf
PASS: t-locale
==================
All 3 tests passed
==================
Any idea about it?
TIA
Dominique d'Humieres
Laboratoire de Physique Statistique de l'ENS,
24, rue Lhomond, 75231 Paris cedex 05, FRANCE
tel. 33 1 44 32 38 01
fax. 33 1 44 32 34 33
e-mail: dominiq at lps.ens.fr
More information about the gmp-bugs
mailing list