X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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.tannhauser@free.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@cygwin.com
Subject: Re: Fwd: gcc-4.9.2-1 (x86_64) generates segfault during linking
References: <545BE242.7020507@free.fr> <545BE2E3.8030109@free.fr> <545BF836.8020204@gmail.com>
In-Reply-To: <545BF836.8020204@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
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

