This is the mail archive of the
mailing list for the Cygwin project.
Re: AW: ld crashes with segmentation fault when linking with libmpir.a
- From: "Daniel R. Grayson" <danielrichardgrayson at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 25 Sep 2014 17:13:17 -0500
- Subject: Re: AW: ld crashes with segmentation fault when linking with libmpir.a
- Authentication-results: sourceware.org; auth=none
- References: <CABWu70FH+jRZaAW5kkrJkr1NpekK8eEsje0X2fsUvp32wPVOeQ at mail dot gmail dot com> <541A046B dot 6020908 at gmail dot com> <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ at mail dot gmail dot com> <5bdd863252926ba12e07ffb37798e29c at mail dot gmail dot com> <5421EFAF dot 8090201 at gmail dot com> <CABWu70HKdqsiAiC9p6LaPwctvD1Tn-YuRxtqE9y39iV3Bc85_g at mail dot gmail dot com>
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
> 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
> On Tue, Sep 23, 2014 at 5:09 PM, JonY <email@example.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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple