delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/06/18:00:17

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=wW+kaCupRpJhlKvOFayuyEc9acNPJK13CG36q1V+xLS
brWgDFnBnMB0L1/MoMjhxig7up/YKcnZGb5ruH80JERuj0C3txnT7pVkGqbbvmt5
WzN7/FiGXHSOSVqZfknOglARe3y4nO+/kg0bpXd6biuEY1dmglQPc5a3D6MHvTdM
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=KaFqwVAzobXb8YdRrS7/2GwyLHA=; b=gCmGljofsCNbD3mW8
4I0oZmntlrJa7ljvzm0ty4Ximjoqsg/jgKn/v3l6pPjipgm/uYEwCOtvbBZnUsmq
09P7j7Xmrzj6cv0k+HGXT55AgKhmzPStPUIdUV94nUN9Hu+iI7eWavtPNZrQAJGY
uH1x0XIiRDf8Ih3wpMOs7Jcy6E=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: smtp2-g21.free.fr
Message-ID: <545BFD6B.8060000@free.fr>
Date: Thu, 06 Nov 2014 23:59:55 +0100
From: =?windows-1252?Q?Falk_Tannh=E4user?= <falk DOT tannhauser AT free DOT fr>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fwd: gcc-4.9.2-1 (x86_64) generates segfault during linking
References: <545BE242 DOT 7020507 AT free DOT fr> <545BE2E3 DOT 8030109 AT free DOT fr> <545BF836 DOT 8020204 AT gmail DOT com>
In-Reply-To: <545BF836.8020204@gmail.com>
X-IsSubscribed: yes

Am 06.11.2014 um 23:37 schrieb JonY:
> On 11/7/2014 05:06, Falk Tannhäuser wrote:
>> Since I updated gcc from version 4.9.0-1 to 4.9.2-1, I obtain the error
>>        collect2: Fehler: ld mit Signal 11 [Segmentation fault] beendet
>> when compiling and linking a C or C++ program. However, an executable is
>> generated and appears to work as expected.
>> I installed the latest test release of cygwin so far (1.7.33-0.7).
>
> Does it somehow work if you link with gcc -fno-lto?

Yes, this fixes the problem.

Falk

--
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