delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/25/14:33:37

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:subject:to:references
:content-type; q=dns; s=default; b=S8HjiGXIE+WOil1WpXxXQP5P1tsTF
1OPtzFG0Qdc5PsIUax9GDULcK9Zm5fFKM4GPavAJSeku72iL/7rp7tqbwBEWB3+1
qthx7UnzwpvOJiX5VkCuDx+fySrpqTUZLr/aDF7CXPv+LlC4QQ4YT2ge4eF9rUS3
ZqkRkvSUjYyaDU=
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:subject:to:references
:content-type; s=default; bh=kfIENCo2gYcf4XyDOO0B3dv5mHE=; b=IfD
+tXpdSvzLF2/F3Ed9ZaSktoyEHhB6ArnPBQrWaguRVyipR+gc3Wse0PIqi6zktzu
NGKSTkmHUzU4MoYYQMlAJOJP80l9E6yF3eZWeT0yfeLRvGh+c8IJHQFIBmqcutZ4
URBJttvKIsDUkm5cy0zLsHvjw8r142ikvEE/XXQA=
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.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1686, H*UA:github.com, H*M:google
X-HELO: mail-oi0-f65.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=eYsCf5Ekr4cPevfdGK0n2A8AT/ZmN7v3g1gQzkGMSJo=; b=NeDIxBx2NISAnluMYv0AGFT71KuxXQSon0QlShMk78oqqxHkUAjFa8hacpJHFRUnN2 9x5Azi17jWK+tu3rXdPegqSFUcfuOZ2ohPHoQyfIJhWqnkbouSAyP6qcB2pv7HJfpTXg +mx84C7V6LOabe8t268zVsfnzv2rUWWtwqiVL4zFhPVGeXv6r6kP8wp88/exuyFNP6Gx ZUfdXg5+R+kU4GITklWCfUByxNiC6IM+V89XkiUdZ/Obw4zUvQ9ae1ZulNqnNKZ/Ux5X 34sOqLivHLCQIrvRxj1EKYbspXTRYSIBeJ6uzp9HP6OFZ0VTKs8EQSqnQaGMYJgBsnS3 l5bg==
X-Gm-Message-State: AHPjjUgeCabzgYoIshivoTu1PTWExsNUZRcFyq9PoHTGgD/wx4S78mrA hxNO24hnhSZvjyog8KPnrOOZ4w==
X-Google-Smtp-Source: AOwi7QDl+u+Jy8sbemQXcTWipXc98amog13R/bF+4ZrSZBSoqmoR2CnC3R1DEMqYsiDrFefjWXk74w==
X-Received: by 10.202.180.84 with SMTP id d81mr8974209oif.96.1506364401121; Mon, 25 Sep 2017 11:33:21 -0700 (PDT)
Message-ID: <59c94bf0.b5329d0a.b3138.234e@mx.google.com>
Date: Mon, 25 Sep 2017 11:33:20 -0700 (PDT)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
Subject: Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test)
To: cygwin AT cygwin DOT com
References: <a339cc02-7fb0-1c5f-8e7c-d31056b974c5 AT gmail DOT com>
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Mon, 25 Sep 2017 14:17:28, JonY wrote:
> You can actually use Cygwin gdb to debug and see what went wrong,
> assuming the debug symbols are around.
> 
> Sorry if I'm not much help, kind of busy these days.

New command:

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

Output:

(gdb) run
Starting program: /tmp/z 
[New Thread 5956.0xfe4]
Program received signal SIGSEGV, Segmentation fault.
std::ostream::sentry::sentry (this=this AT entry=0x22fd90, __os=...)
  at /cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/
  mingw64-x86_64-gcc-6.3.0-1.x86_64/src/gcc-6.3.0/libstdc++-v3/include/bits/
  ostream.tcc:51
51 /cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/
  mingw64-x86_64-gcc-6.3.0-1.x86_64/src/gcc-6.3.0/libstdc++-v3/include/bits/
  ostream.tcc: No such file or directory.
(gdb) backtrace
#0  std::ostream::sentry::sentry (this=this AT entry=0x22fd90, __os=...)
    at /cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/
    mingw64-x86_64-gcc-6.3.0-1.x86_64/src/gcc-6.3.0/libstdc++-v3/include/bits/
    ostream.tcc:51
#1  0x000000000049ece9 in std::__ostream_insert<char, std::char_traits<char> >
  (__out=..., 
  __s=__s AT entry=0x4ab031 <std::piecewise_construct+1> "cout test\n", __n=10)
  at /cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/
  mingw64-x86_64-gcc-6.3.0-1.x86_64/src/gcc-6.3.0/libstdc++-v3/include/bits/
  ostream_insert.h:82
#2  0x00000000004a3547 in std::operator<< <std::char_traits<char> > (
  __out=..., __s=0x4ab031 <std::piecewise_construct+1> "cout test\n")
  at /cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/
  mingw64-x86_64-gcc-6.3.0-1.x86_64/src/gcc-6.3.0/libstdc++-v3/include/std/
  ostream:561
#3  0x00000000004015e0 in main () at z.cpp:3


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