delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/23/17:27:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:references:in-reply-to:mime-version:date
:message-id:subject:to:content-type:content-transfer-encoding;
q=dns; s=default; b=j/uCxJoh4Yk8Bqu54hEVbXJnJgTyi2Kp2TOZp+0zLxD
YQ/DinXQ/D56uTdzd0OWXUPVKBDnL3HT9UmPAKi1Qhgy4PHy7imvEQAHr+82Wzl+
wHRcfsXjanSp8WxYkNLUKugprPQTymxZkmoPj+4Vnf9615yqo1p1ecpcL307GFc4
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:references:in-reply-to:mime-version:date
:message-id:subject:to:content-type:content-transfer-encoding;
s=default; bh=7PvvoH8MsVIGhRDfnA0nazUY7Js=; b=QqCZBNCYUVVOK9kRN
l4Yl/2NwsN4hZFj3isJp5Rl0PXc4tGisFDu2LSempTOq8FDWXwWpL7kFBKi+M+g/
xRv4tB13glHXqVGKoER68i3u0isMGBbNUZMObwNT5rGZAjqT+D4l6DEU6Lkgt9UI
kAzxlUriMDN2sFixyiUvIC+dHA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type :content-transfer-encoding; bh=bV4WrZyibYg6czWPXu10GhZXlPZV71Vy0Y1/67IAOgM=; b=XERpldBvb94WjeHvvuUPRB7RFEgyygsnSVLkq+mwlFO0zwfRtl1Mn2we7zkzDAX4CG 2h1/yzJkl1ypnHu6kf7/SYDZh1bqsYCluX1TLvtq4MtKlHijtF+5mRTGQ8Hkr1pcqq5M jBmhIUpo8dUOLMihz0gOmFI9bkiOktTB5yfHYgcygIB9EhRGweP3sZw/fNWMS8mwRNn5 8N+1WP7992lTDNoLzQm5pBeJhKu7SrrPqSmBQuF87QRUYDDZAd5leCKUxmeZE8CZAz6L 0I8XAw5lPS+7t1NaMsPSA7XF8F61DxciuqYgh2KwnID8hU9O0qXYWNdXInqNcnxyHqC7 aMNQ==
X-Gm-Message-State: ALoCoQnfLyyfaALlkTSVIg/NrjYY6hAFB9E3AT7I14TZN4Ot5LEeoNKpsiBjnjbc2sF0ZKFR54Kb
X-Received: by 10.42.206.210 with SMTP id fv18mr6107157icb.47.1411507643799; Tue, 23 Sep 2014 14:27:23 -0700 (PDT)
From: "Christoph H. Hochstaetter" <christoph AT hochstaetter DOT de>
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>
In-Reply-To: <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ@mail.gmail.com>
MIME-Version: 1.0
Date: Tue, 23 Sep 2014 23:27:24 +0200
Message-ID: <5bdd863252926ba12e07ffb37798e29c@mail.gmail.com>
Subject: AW: ld crashes with segmentation fault when linking with libmpir.a
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s8NLRe67000556

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] Im Auftrag von
Daniel R. Grayson
Gesendet: Donnerstag, 18. September 2014 02:29
An: cygwin AT cygwin DOT com
Betreff: Re: ld crashes with segmentation fault when linking with libmpir.a

On Wed, Sep 17, 2014 at 6:00 PM, JonY <10walls AT gmail DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019