This is the mail archive of the
cygwin
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: Tue, 23 Sep 2014 17:32:05 -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>
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