Build failure for 5.1.0-RC2 on Mac OS 10.8

Marcin Gozdalik gozdal at gmail.com
Mon Dec 10 23:42:41 CET 2012


Some more info:

$ DYLD_LIBRARY_PATH=./.libs gdb ./tests/mpz/.libs/t-perfsqr
GNU gdb 6.3.50-20050815 (Apple version gdb-1822) (Sun Aug  5 03:00:42 UTC
2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ... done

(gdb) r
Starting program:
/Users/mgozdalik/src/gmp-5.1.0-RC2/tests/mpz/.libs/t-perfsqr
Reading symbols for shared libraries ++............................. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000010002d514 in __gmpn_perfect_square_p ()

Don't know how to provide meaningful stack trace.


2012/12/10 Marcin Gozdalik <gozdal at gmail.com>

> Works fine, but make check fails:
>
> /bin/sh: line 1: 74094 Segmentation fault: 11  ${dir}$tst
> FAIL: t-perfsqr
>
>
> 2012/12/10 Torbjorn Granlund <tg at gmplib.org>
>
>> The jumptab code in other files seems to be more lucky wrt darwin bugs.
>>
>> Please try this replacement for mpn/x86_64/mod_34lsub1.asm:
>>
>>
>>
>> --
>> Torbjörn
>>
>>
>
>
> --
> Marcin Gozdalik
>



-- 
Marcin Gozdalik


More information about the gmp-bugs mailing list