1 test failed for GMP 4.2.4

View: New views
3 Messages — Rating Filter:   Alert me  

1 test failed for GMP 4.2.4

by Tim Cook - PAE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My build environment is:
        Solaris 10 10/08, Intel platform
        GCC 3.4.3

./configure ABI=32

Here are excerpts from "make check":

    gmake[4]: Entering directory `/export/build/gmp/build.i386/tests/mpz'
    [...]
    /bin/bash: line 1:  8785 Segmentation Fault (core dumped) ${dir}$tst
    FAIL: t-set_d
    ==================================
    1 of 56 tests failed
    Please report to gmp-bugs@...
    ==================================

Here is a basic look at the core file:

potts-cl ) dbx .libs/t-set_d core
Reading t-set_d
core file header read successfully
Reading ld.so.1
Reading libgmp.so.3.4.1
Reading libc.so.1
Reading libgcc_s.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xbff78a10: __gmpz_set_d+0x00a0:        movl     $0x00000000,(%edx)
(dbx) where
=>[1] __gmpz_set_d(0x80478a0, 0xffffffff, 0x3defffff, 0x806bc74, 0x1,
0x0), at 0xbff78a10
   [2] check_data(0x0, 0x805a616, 0x806bc74, 0x80478c8, 0x80478ec,
0x805a65a), at 0x805395a
   [3] main(0x1, 0x804790c, 0x8047914), at 0x8053cd6
(dbx) regs
current frame:  [1]
gs       0x000001c3 0x00000000
fs       0x00000043 0x00000000
es       0x00000000 0x00000000
ds       0x00000043 0x00000000
ss       0x00000043 0x00000000
cs       0x0000003b 0x00000000
edi      0x080478a0
esi      0xffffffff
ebp      0x08047888
esp      0x08047830
ebx      0xbffa0d20
edx      0x0806e000
ecx      0x0806c034
eax      0xfffff809
eip      0xbff78a10:__gmpz_set_d+0xa0   movl     $0x00000000,(%edx)
trapno   0x0000000e 0x00000000
err      0x00000006 0x00000000
eflags   0x00010286 0x00000000
(dbx)


Regards,
Tim


--
Tim Cook
Performance and Applications Engineering
Menlo Park, CA USA
<> Sun Microsystems
_______________________________________________
gmp-bugs mailing list
gmp-bugs@...
http://gmplib.org/mailman/listinfo/gmp-bugs

Re: 1 test failed for GMP 4.2.4

by Marc Glisse-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 6 Mar 2009, Tim Cook - PAE wrote:

> My build environment is:
> Solaris 10 10/08, Intel platform
> GCC 3.4.3
>
> ./configure ABI=32
>
> Here are excerpts from "make check":
>
>   gmake[4]: Entering directory `/export/build/gmp/build.i386/tests/mpz'
>   [...]
>   /bin/bash: line 1:  8785 Segmentation Fault (core dumped) ${dir}$tst
>   FAIL: t-set_d
>   ==================================
>   1 of 56 tests failed
>   Please report to gmp-bugs@...
>   ==================================
>
> Here is a basic look at the core file:
>
> potts-cl ) dbx .libs/t-set_d core
> Reading t-set_d
> core file header read successfully
> Reading ld.so.1
> Reading libgmp.so.3.4.1

This looks suspicious. Do you have an old version of gmp lying around?
Does defining LD_LIBRARY_PATH as /path/to/gmp/.libs (just for make
check) or running make install first help?

--
Marc Glisse
_______________________________________________
gmp-bugs mailing list
gmp-bugs@...
http://gmplib.org/mailman/listinfo/gmp-bugs

Re: 1 test failed for GMP 4.2.4

by Tim Cook - PAE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marc,

You are correct, I had an old version of gmp getting linked.

Please ignore this submission.

Regards,
Tim


Marc Glisse wrote:

> On Fri, 6 Mar 2009, Tim Cook - PAE wrote:
>
>> My build environment is:
>>     Solaris 10 10/08, Intel platform
>>     GCC 3.4.3
>>
>> ./configure ABI=32
>>
>> Here are excerpts from "make check":
>>
>>   gmake[4]: Entering directory `/export/build/gmp/build.i386/tests/mpz'
>>   [...]
>>   /bin/bash: line 1:  8785 Segmentation Fault (core dumped) ${dir}$tst
>>   FAIL: t-set_d
>>   ==================================
>>   1 of 56 tests failed
>>   Please report to gmp-bugs@...
>>   ==================================
>>
>> Here is a basic look at the core file:
>>
>> potts-cl ) dbx .libs/t-set_d core
>> Reading t-set_d
>> core file header read successfully
>> Reading ld.so.1
>> Reading libgmp.so.3.4.1
>
> This looks suspicious. Do you have an old version of gmp lying around?
> Does defining LD_LIBRARY_PATH as /path/to/gmp/.libs (just for make
> check) or running make install first help?
>

--
Tim Cook
Performance and Applications Engineering
Menlo Park, CA USA
<> Sun Microsystems
Ph:     +1 650 257 4709
Ext: 69841
_______________________________________________
gmp-bugs mailing list
gmp-bugs@...
http://gmplib.org/mailman/listinfo/gmp-bugs