public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ld crashes with segmentation fault when linking with libmpir.a
@ 2014-09-17 21:21 Daniel R. Grayson
  2014-09-17 22:24 ` JonY
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-17 21:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

ld crashes with segmentation fault when linking with libmpir.a

To reproduce:

    wget http://mpir.org/mpir-2.6.0.tar.bz2
    tar xjf mpir-2.6.0.tar.bz2
    cd mpir-2.6.0
    ./configure --build=x86_64-pc-cygwin
    make
    ld -u __gmpn_gcdext .libs/libmpir.a

Since gdb doesn't show me any useful information (the stack is
destroyed), it's hard
to tell whether this is a cygwin problem or an ld problem.  It doesn't
happen under
Mac OS X or under several flavors of linux.  If you think it's an ld
problem, let me know, and I'll report it to the binutils people.

Output from cygcheck -s -v -r is attached.

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 104783 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-17 21:21 ld crashes with segmentation fault when linking with libmpir.a Daniel R. Grayson
@ 2014-09-17 22:24 ` JonY
  2014-09-18  1:37   ` Daniel R. Grayson
  0 siblings, 1 reply; 13+ messages in thread
From: JonY @ 2014-09-17 22:24 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

On 9/18/2014 03:20, Daniel R. Grayson wrote:
> ld crashes with segmentation fault when linking with libmpir.a
> 
> To reproduce:
> 
>     wget http://mpir.org/mpir-2.6.0.tar.bz2
>     tar xjf mpir-2.6.0.tar.bz2
>     cd mpir-2.6.0
>     ./configure --build=x86_64-pc-cygwin
>     make
>     ld -u __gmpn_gcdext .libs/libmpir.a
> 

What are you trying to accomplish? I suspect this will not work on Windows.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-17 22:24 ` JonY
@ 2014-09-18  1:37   ` Daniel R. Grayson
  2014-09-18  2:56     ` Yaakov Selkowitz
  2014-09-23 22:10     ` AW: " Christoph H. Hochstaetter
  0 siblings, 2 replies; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-18  1:37 UTC (permalink / raw)
  To: cygwin

On Wed, Sep 17, 2014 at 6:00 PM, JonY <10walls@gmail.com> wrote:
> On 9/18/2014 03:20, Daniel R. Grayson wrote:
>> ld crashes with segmentation fault when linking with libmpir.a
>>
>> To reproduce:
>>
>>     wget http://mpir.org/mpir-2.6.0.tar.bz2
>>     tar xjf mpir-2.6.0.tar.bz2
>>     cd mpir-2.6.0
>>     ./configure --build=x86_64-pc-cygwin
>>     make
>>     ld -u __gmpn_gcdext .libs/libmpir.a
>>
>
> What are you trying to accomplish? I suspect this will not work on Windows.
>
>
>
This bug prevents me from linking our program under cygwin.  The program
is Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
involving using libgmp instead of libmpir, and I expect that to be successful.

I'm not sure what you mean when you say it will not work under Windows, since my
bug report is about a program crashing, and the program should work,
i.e., "ld" should
link object files together or give an error message.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  1:37   ` Daniel R. Grayson
@ 2014-09-18  2:56     ` Yaakov Selkowitz
  2014-09-18  2:58       ` Daniel R. Grayson
  2014-09-23 22:10     ` AW: " Christoph H. Hochstaetter
  1 sibling, 1 reply; 13+ messages in thread
From: Yaakov Selkowitz @ 2014-09-18  2:56 UTC (permalink / raw)
  To: cygwin

On 2014-09-17 19:28, Daniel R. Grayson wrote:
> This bug prevents me from linking our program under cygwin.  The program
> is Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
> involving using libgmp instead of libmpir, and I expect that to be successful.

Never link directly with ld; you must link with gcc/g++/etc. and leave 
it to the compiler to call ld correctly.


Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  2:56     ` Yaakov Selkowitz
@ 2014-09-18  2:58       ` Daniel R. Grayson
  2014-09-18  6:35         ` Daniel R. Grayson
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-18  2:58 UTC (permalink / raw)
  To: cygwin

On Wed, Sep 17, 2014 at 9:37 PM, Yaakov Selkowitz <yselkowitz@cygwin.com> wrote:
> On 2014-09-17 19:28, Daniel R. Grayson wrote:
>>
>> This bug prevents me from linking our program under cygwin.  The program
>> is Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
>> involving using libgmp instead of libmpir, and I expect that to be
>> successful.
>
>
> Never link directly with ld; you must link with gcc/g++/etc. and leave it to
> the compiler to call ld correctly.

Normally we use "gcc" and let it call "ld" for us.  But "ld" crashed, so for
the purpose of the bug report, I've isolated the problem to its
simplest manifestation.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  2:58       ` Daniel R. Grayson
@ 2014-09-18  6:35         ` Daniel R. Grayson
  2014-09-18  9:37           ` JonY
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-18  6:35 UTC (permalink / raw)
  To: cygwin

On Wed, Sep 17, 2014 at 10:56 PM, Daniel R. Grayson
<danielrichardgrayson@gmail.com> wrote:
> On Wed, Sep 17, 2014 at 9:37 PM, Yaakov Selkowitz <yselkowitz@cygwin.com> wrote:
>> On 2014-09-17 19:28, Daniel R. Grayson wrote:
>>>
>>> This bug prevents me from linking our program under cygwin.  The program
>>> is Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
>>> involving using libgmp instead of libmpir, and I expect that to be
>>> successful.
>>
>>
>> Never link directly with ld; you must link with gcc/g++/etc. and leave it to
>> the compiler to call ld correctly.
>
> Normally we use "gcc" and let it call "ld" for us.  But "ld" crashed, so for
> the purpose of the bug report, I've isolated the problem to its
> simplest manifestation.

PS: If you want to use "gdb", you need to know how to run the program that's
crashing.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  6:35         ` Daniel R. Grayson
@ 2014-09-18  9:37           ` JonY
  2014-09-18 10:09             ` Marco Atzeri
  0 siblings, 1 reply; 13+ messages in thread
From: JonY @ 2014-09-18  9:37 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: PGP/MIME version identification --]
[-- Type: application/pgp-encrypted, Size: 11 bytes --]

[-- Attachment #2: OpenPGP encrypted message --]
[-- Type: application/octet-stream, Size: 3031 bytes --]

-----BEGIN PGP MESSAGE-----

hQIMA/cs3wc1mtB+AQ//a5u9o48g/rFxw+9NoQgJSVgOAFtMcyx+deezVRiI1EuC
rhDtZSkcaErcueb5N1MDGVEdKbvz4Cz3Pn3QwfIKDCsEqdj+fnJR0iqKDlYFmk0U
Z6aS5JaYuE6cedCEr5qgGNa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MFXwS+2OZsUCO3tQqThCAAv1VcdbNvp/8L8fPQg
ouh6v0tzNj4Y6BGMBOHK1y8ETfe3HaUj2asbv5EELeam3OpBwJchmaCSA0hq5eed
ymEopgeef0NDg8n6q/GVVxCDj6u4z/fktZH/UwIjwBsOw0Lufnb2klcxQe86mBPe
cgMt7onwt4ozhExnajvdh0fkAoqYCj4e1r9HHPgA19kEsXiM2i5w+jHH30zaV0Wk
eKsxqlVRYOOW0pjBaOV5siHDpzsEXnsWDAMPAlfJw+Uni2bWlY940q8dQ4fd5R20
ql4rvFOzdwLYmh4aZzgpJgymOP/wP1kNm04vEZb9VfRf1VbQ+jhCZaab5RWylPmA
BOSuxtL7v0DdI8L+NA++iZThySRuCP5j6+PT70L8rdUHlKqL4As2LB0EFLzuh2iT
igph/1rekKvWwjOwpvH1ZXvucsnOw/FrNWHr/epKGNMLixDMuWA7yJn/zYSdtIhY
nbBNxNvuToUucfUvxDHdxkX5bTWELSk6rwPuLX5cpGxRtVurhh0PdrqTJEdsu3hy
xMI9zZffDGUkCh1bHXLS+hcXIxy5gmcpRslN8v3ELh9wrY2R3LVIB8mYQJsXRGP8
cLWNHzzVdt5yUduo98C+a/5F30ZHviIRzJLMG80zKzg=
=yCxi
-----END PGP MESSAGE-----

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  9:37           ` JonY
@ 2014-09-18 10:09             ` Marco Atzeri
  2014-09-18 12:39               ` JonY
  0 siblings, 1 reply; 13+ messages in thread
From: Marco Atzeri @ 2014-09-18 10:09 UTC (permalink / raw)
  To: JonY, cygwin

On 18/09/2014 11:23, JonY wrote:
>
> This is an encrypted OpenPGP message.
> In order to decrypt this mail, you need to install an OpenPGP add-on
> <https://addons.mozilla.org/thunderbird/addon/enigmail/>.

any specific reason to encrypt mails on a public mailing list ?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18 10:09             ` Marco Atzeri
@ 2014-09-18 12:39               ` JonY
  0 siblings, 0 replies; 13+ messages in thread
From: JonY @ 2014-09-18 12:39 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

On 9/18/2014 17:37, Marco Atzeri wrote:
> On 18/09/2014 11:23, JonY wrote:
> 
> any specific reason to encrypt mails on a public mailing list ?
> 


Sorry about that, for some reason it is trying to encrypt all mails to
cygwin.com automatically for the last few days, I don't know which
pubkey it uses either.

I have now add an exclude filter for Cygwin.





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* AW: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-18  1:37   ` Daniel R. Grayson
  2014-09-18  2:56     ` Yaakov Selkowitz
@ 2014-09-23 22:10     ` Christoph H. Hochstaetter
  2014-09-23 22:32       ` JonY
  1 sibling, 1 reply; 13+ messages in thread
From: Christoph H. Hochstaetter @ 2014-09-23 22:10 UTC (permalink / raw)
  To: cygwin

I am experiencing 100% reproducible SIGSEGVs in ld if I use link time
optimization (-flto). See https://cygwin.com/ml/cygwin/2014-08/msg00439.html

What actually helped is to go back to gcc 4.8.3-2 or use experimental 4.9.0.
Maybe this works for you too although the problem is actually not ld itself
but the gcc linker plugin cyglto_plugin.dll.

Corinna suspects that not all of DJ's and Yaakov's changes were actually
merged into 4.8.3-3

-Christoph

-----Ursprüngliche Nachricht-----
Von: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Im Auftrag von
Daniel R. Grayson
Gesendet: Donnerstag, 18. September 2014 02:29
An: cygwin@cygwin.com
Betreff: Re: ld crashes with segmentation fault when linking with libmpir.a

On Wed, Sep 17, 2014 at 6:00 PM, JonY <10walls@gmail.com> wrote:
> On 9/18/2014 03:20, Daniel R. Grayson wrote:
>> ld crashes with segmentation fault when linking with libmpir.a
>>
>> To reproduce:
>>
>>     wget http://mpir.org/mpir-2.6.0.tar.bz2
>>     tar xjf mpir-2.6.0.tar.bz2
>>     cd mpir-2.6.0
>>     ./configure --build=x86_64-pc-cygwin
>>     make
>>     ld -u __gmpn_gcdext .libs/libmpir.a
>>
>
> What are you trying to accomplish? I suspect this will not work on
> Windows.
>
>
>
This bug prevents me from linking our program under cygwin.  The program is
Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
involving using libgmp instead of libmpir, and I expect that to be
successful.

I'm not sure what you mean when you say it will not work under Windows,
since my bug report is about a program crashing, and the program should
work, i.e., "ld" should link object files together or give an error message.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: AW: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-23 22:10     ` AW: " Christoph H. Hochstaetter
@ 2014-09-23 22:32       ` JonY
  2014-09-24  2:13         ` Daniel R. Grayson
  0 siblings, 1 reply; 13+ messages in thread
From: JonY @ 2014-09-23 22:32 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

On 9/24/2014 05:27, Christoph H. Hochstaetter wrote:
> I am experiencing 100% reproducible SIGSEGVs in ld if I use link time
> optimization (-flto). See https://cygwin.com/ml/cygwin/2014-08/msg00439.html
> 
> What actually helped is to go back to gcc 4.8.3-2 or use experimental 4.9.0.
> Maybe this works for you too although the problem is actually not ld itself
> but the gcc linker plugin cyglto_plugin.dll.
> 
> Corinna suspects that not all of DJ's and Yaakov's changes were actually
> merged into 4.8.3-3
> 

No, its the opposite, 4.8.3-2 and 4.9.0 does not contain DJ's changes.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: AW: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-23 22:32       ` JonY
@ 2014-09-24  2:13         ` Daniel R. Grayson
  2014-09-26  2:19           ` Daniel R. Grayson
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-24  2:13 UTC (permalink / raw)
  To: cygwin

Thanks!  I have just checked, but mpir is compiled without -flto.  Indeed, their
configure script appends -fno-lto to the command line if the user try to use
it.

On Tue, Sep 23, 2014 at 5:09 PM, JonY <10walls@gmail.com> wrote:
> On 9/24/2014 05:27, Christoph H. Hochstaetter wrote:
>> I am experiencing 100% reproducible SIGSEGVs in ld if I use link time
>> optimization (-flto). See https://cygwin.com/ml/cygwin/2014-08/msg00439.html
>>
>> What actually helped is to go back to gcc 4.8.3-2 or use experimental 4.9.0.
>> Maybe this works for you too although the problem is actually not ld itself
>> but the gcc linker plugin cyglto_plugin.dll.
>>
>> Corinna suspects that not all of DJ's and Yaakov's changes were actually
>> merged into 4.8.3-3
>>
>
> No, its the opposite, 4.8.3-2 and 4.9.0 does not contain DJ's changes.
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: AW: ld crashes with segmentation fault when linking with libmpir.a
  2014-09-24  2:13         ` Daniel R. Grayson
@ 2014-09-26  2:19           ` Daniel R. Grayson
  0 siblings, 0 replies; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-26  2:19 UTC (permalink / raw)
  To: cygwin

I've reported the bug to binutils.  Thank you for your advice, all.

On Tue, Sep 23, 2014 at 5:32 PM, Daniel R. Grayson
<danielrichardgrayson@gmail.com> wrote:
> Thanks!  I have just checked, but mpir is compiled without -flto.  Indeed, their
> configure script appends -fno-lto to the command line if the user try to use
> it.
>
> On Tue, Sep 23, 2014 at 5:09 PM, JonY <10walls@gmail.com> wrote:
>> On 9/24/2014 05:27, Christoph H. Hochstaetter wrote:
>>> I am experiencing 100% reproducible SIGSEGVs in ld if I use link time
>>> optimization (-flto). See https://cygwin.com/ml/cygwin/2014-08/msg00439.html
>>>
>>> What actually helped is to go back to gcc 4.8.3-2 or use experimental 4.9.0.
>>> Maybe this works for you too although the problem is actually not ld itself
>>> but the gcc linker plugin cyglto_plugin.dll.
>>>
>>> Corinna suspects that not all of DJ's and Yaakov's changes were actually
>>> merged into 4.8.3-3
>>>
>>
>> No, its the opposite, 4.8.3-2 and 4.9.0 does not contain DJ's changes.
>>
>>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-25 22:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 21:21 ld crashes with segmentation fault when linking with libmpir.a Daniel R. Grayson
2014-09-17 22:24 ` JonY
2014-09-18  1:37   ` Daniel R. Grayson
2014-09-18  2:56     ` Yaakov Selkowitz
2014-09-18  2:58       ` Daniel R. Grayson
2014-09-18  6:35         ` Daniel R. Grayson
2014-09-18  9:37           ` JonY
2014-09-18 10:09             ` Marco Atzeri
2014-09-18 12:39               ` JonY
2014-09-23 22:10     ` AW: " Christoph H. Hochstaetter
2014-09-23 22:32       ` JonY
2014-09-24  2:13         ` Daniel R. Grayson
2014-09-26  2:19           ` Daniel R. Grayson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).