delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/05/13:22:51

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Pr4hsWUAg5uKmIwk
sSflfa+KnUQABXw/zC+kFoqKXQvD6x0GmDShwGapcxsiEOjK0O2JAD3lCdSNoOwq
tvUFcl3GZ0Tdt3bVm3zAeXF9hraqz2i7xm633OPjEN9lR6+eiA2+FxDlTYkWUhBS
jis03IUcbeB3SHU41VNTqj++/r0=
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=ZhkQre4TmY9Qr/icquS/l2
uUPbA=; b=hKUbg4sfKhbIjdVQy7RXIaO5bbrP0+uiOiQvXdzGeJ9fOVRAVvh0Nu
8uHjUa0/d9Ef8c73vpc1Pjh3tJBkbnn1cgy4mpRQ6ctek1zXEVfj/asyTOA4ksLK
WjAeyIkL9VvK+c/j5sVpK5jkmbAcpqFm7XpcPq/D/ZU28nqqzIuxg=
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=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:z.cpp, z.cpp, Martchus, martchus
X-HELO: mail-wm0-f48.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=ZNGuIdpKsSV7sMqp46BgFgmCRAdnVcjOwaaVfHWVRGM=; b=PcnyGbXqjMi0aBP5UQ9TPDkPjTmoU/JG3srhn7pW89JA5a0f5j5/5GK2ZcKJy3JYXb YnGZ2IeCtw5xhSmNG8eaA6e8fIRwYn6il7J5GHX6uTFZzQtmTDZs4x+ubie04Po9bJH6 RCja28Qz9w2X7cVQppt+O+qtWB4M3Mwqd+i+1hnbMhrk6eGxEuwAY3QukxRETDjeWk1O 1W0XoL2yc8/mgCE791nLWvEzH/4WyV8NW3d9ojlVN9OPhu4wpnZIWrjTtAAxBSx/0f62 gR2n7SCrWBAY49ZPmFrd5yyn1wAT2TANVK0rZCyJx5giKyscCFhMbRusqRKxYrAWrWDT 4r9g==
X-Gm-Message-State: AHPjjUixyS+qOBpW3cod4OydZk4ZMfpYqXfcVubcoiMG2zD1KPLk3io5 lsZoVV3kxcgJ9oWPzQSDcxI=
X-Google-Smtp-Source: AOwi7QDAXJjjOmAYee8Lc7rLDFe+B9lU2Q2E9VXy2UM6jO/d1812hcrlljhVBKpRCh22R02HoxOJPg==
X-Received: by 10.80.182.195 with SMTP id f3mr33447242ede.127.1507224147427; Thu, 05 Oct 2017 10:22:27 -0700 (PDT)
Subject: Re: Segmentation fault with binutils 2.28.1
To: cygwin AT cygwin DOT com, 10walls AT gmail DOT com
References: <81506abd-3ad6-94e7-9915-906756b3651e AT gmail DOT com> <59d4393e DOT 566cca0a DOT 9340 DOT af3b AT mx DOT google DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <650062cc-0e4b-87cc-dec4-3481203b9fae@gmail.com>
Date: Thu, 5 Oct 2017 19:22:22 +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: <59d4393e.566cca0a.9340.af3b@mx.google.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

n 04/10/2017 03:28, Steven Penny wrote:
> On Tue, 3 Oct 2017 14:37:04, Marco Atzeri wrote:
>> you wrote nothing at all. So it is difficult to understand what is 
>> your exact
>> issue
> 
> I wrote it 4 times:
> 
> - http://cygwin.com/ml/cygwin/2017-09/msg00229.html
> - http://cygwin.com/ml/cygwin/2017-09/msg00289.html
> - http://cygwin.com/ml/cygwin/2017-10/msg00021.html
> - http://github.com/Martchus/tageditor/issues/23#issuecomment-331757730
> 
> Here though, let me write it 5 now:
> 
>     $ cat z.cpp
>     #include <iostream>
>     main() {
>       std::cout << "cout test\n";
>     }
> 
>     $ x86_64-w64-mingw32-g++ -static -o z z.cpp
> 
>     $ ./z
>     Segmentation fault
> 
>> as in the past you blamed the compiler.
> 
> Yes, I discovered new information, so I modified the email subject to 
> reflect
> that. Would you rather me continue to blame the complier, or try to help
> diagnose the problem?
> 
>> Error report should be clear and complete;
> 
> Example above is MCVE http://stackoverflow.com/help/mcve

Steve,
This is what I mean:

$ cat z.cpp
    #include <iostream>
    main() {
      std::cout << "cout test\n";
    }

    $ x86_64-w64-mingw32-g++ -static -o z z.cpp

    $ ./z
    Segmentation fault



mingw64-x86_64-binutils                 2.25.0.1.23f238d-1
mingw64-x86_64-gcc-core                 5.4.0-3
mingw64-x86_64-gcc-g++                  5.4.0-3
- Works

mingw64-x86_64-binutils                 2.25.0.1.23f238d-1
mingw64-x86_64-gcc-core                 6.3.0-1
mingw64-x86_64-gcc-g++                  6.3.0-1
- Works

mingw64-x86_64-binutils                 2.28.1.12c1f20d-1
mingw64-x86_64-gcc-core                 6.3.0-1
mingw64-x86_64-gcc-g++                  6.3.0-1
- Segmentation fault

mingw64-x86_64-binutils                 2.29.1-1
mingw64-x86_64-gcc-core                 6.3.0-1
mingw64-x86_64-gcc-g++                  6.3.0-1
- Works

> 
>> Have you built it ?
> 
> No

That is the problem.
It costed me one hour of my time, you could have done by yourself.


Jon,
let me know if you need help on updating binutils.

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

- Raw text -


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