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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=chICEHVXSxXA1PQk
	0OpTrPudbxP/3BZZrbPpqlKRTKE/GtsI25gSRB8qXL6czXdO1zH6Vr5+xcl2187j
	g9Ifsslxb8ixhEx/Z2OARFpKA82PeaR4cKZctvL4ObHWTfHpmxAoLBs8WkhDiwmK
	Cy5CbNASVHaUr3xjQx4oWA21Dl8=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=XJ1SV0AKVXScOQDFoZzJSc
	8/aMM=; b=lHXTIY9eGK4W8+OhuqgwRwzl/afxEFbpoHsA+zqDS7Xj9WbfWZRImy
	7DjeeVt765DWo6kSR9bDbOVjVowk9+yqCbwZ8m9lFZyru8DF/O/EkLo0PjwW34Mi
	a2nKJh8vAwmKg0PMxljPKyq077XdATgOhfdifwq/kUgOU0F+v8eAM=
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=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=month, HContent-Transfer-Encoding:8bit
X-HELO: mail-wm0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-language         :content-transfer-encoding;        bh=+sxIq4OFdq2vTAK+0RZ6ok6ArTyWACKZk6cMWZtxIa4=;        b=do67g49A0vir+AyWIiKretLyEQkQ7Xhz39AvlDeA3FZ+Z27Qcy+aGZcPE8rM6y+jvE         +BpyDRo4cqBK+9vj3JBrL27/EF3NiDd6REsZmHSgCGeCWEGuRZ8yQk4XlwP4O9Ww7z9t         qoXgmrfnK8COm8OG5Olfo/oGx5lrU6z0hJKEsV1miMRFHYEZiP6uFIkZWKSzHCCPHGCY         5nHDJM5ChM4AQFzcCUJQEVEGi4C9XhLNkBiuFDpA6AAp24gfhuUJeXiThh2d0NNqI5kC         zlwkwMZ0U9vMeZSGg5joi8yj1cqsSHYwlsoZrjpsQaAMfTvObNptyxtzB9tVqkgA2JuI         YIdg==
X-Gm-Message-State: AHPjjUhEcQFn20BygHv8nyOaxXIOA0Bf56IoptforbGQlI4fEKrGcBcx	GjcsWTNcaZp4dpoI9MVhxbq0PQ==
X-Google-Smtp-Source: AOwi7QBdGhi2heIRtXdP8q06paLY956o6oX/OKUYklAc+pF9/9fIiQ0PebEdckOQGuf9XOWH6vAf+w==
X-Received: by 10.80.165.142 with SMTP id a14mr23639707edc.190.1507009743499;        Mon, 02 Oct 2017 22:49:03 -0700 (PDT)
Subject: Re: Segmentation fault with binutils 2.28.1
To: cygwin@cygwin.com
References: <59d2e708.c9539d0a.a5cbd.e4cc@mx.google.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <6d4a7eb5-0805-2e02-8ab9-aaf4442b80bd@gmail.com>
Date: Tue, 3 Oct 2017 07:48:51 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <59d2e708.c9539d0a.a5cbd.e4cc@mx.google.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 03/10/2017 03:25, Steven Penny wrote:
> Reposting because it is a new month. Here is a demonstration of the 
> problem:
> 
>     $ cat z.cpp
>     #include <iostream>
>     main() {
>      std::cout << "cout test\n";
>     }
> 
>     $ x86_64-w64-mingw32-g++ -static -o z z.cpp
> 
>     $ ./z
>     Segmentation fault
> 
> - http://cygwin.com/ml/cygwin/2017-09/msg00229.html
> - http://cygwin.com/ml/cygwin/2017-09/msg00289.html
> - http://github.com/Martchus/tageditor/issues/23
> 
> 

I assume it is one of the reason why the compiler and binutils
you are using are still in test and not current

@ mingw64-x86_64-binutils
version: 2.25.0.1.23f238d-1
[test]
version: 2.28.1.12c1f20d-1

@ mingw64-x86_64-gcc-g++
version: 5.4.0-3
[test]
version: 6.3.0-1

As you shifted the target from g++ to binutils,
do you have evidence that 2.29 will solve the issue ?

Jon always appreciates constructive help.

Regards
Marco


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

