From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20406 invoked by alias); 7 Jul 2017 14:21:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20364 invoked by uid 89); 7 Jul 2017 14:21:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 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=tannhauser, TANNHAUSER, Falk, cygwindevel X-HELO: mail-vk0-f45.google.com Received: from mail-vk0-f45.google.com (HELO mail-vk0-f45.google.com) (209.85.213.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Jul 2017 14:21:29 +0000 Received: by mail-vk0-f45.google.com with SMTP id r125so18340552vkf.1 for ; Fri, 07 Jul 2017 07:21:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Z+zMG0EHtYFdasmWg7gZl9NElwYEHnlElsV2xvqrq6k=; b=YbzUsa1hktUQH2Wn1EgeSleLv61Fe6/ptPE2YJfJl3xa95Vyu9G9V06TbxZHQD0/7K OeFRMB/ri/u9IsBQ6RJ85z7yFDopJ1P1My5R5+tN6Ao8O4luPZViLjpjlLWfVOFfGrKl c3yLYorog4gCM9tYX2PmF8rS9EjHvrkEQ8we4nakfMig6P+iJITZWBU80mjBKkluw4Tb cYSxB/oc2yrIghBVDgY9JSohtVwxXc/R5JKDCI8y3N7Mi9ViII1mhuBeE1ReACFQV8cl Pzc13LiPYxvUTDXPkGczOTpTeyodAslrSgBBkz2crr8oUFKg5JBMmc2+Xl9x0vPvmC1Y 83lA== X-Gm-Message-State: AIVw113aH9esqmviccGeKnTnLbk4TxzKapCrRWFiEGGBFjp5Fs1Fe7MN akAn2CFt9XIFOm5mQXtOTfJYN3q1Cw== X-Received: by 10.31.95.140 with SMTP id t134mr813789vkb.33.1499437287833; Fri, 07 Jul 2017 07:21:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.168.147 with HTTP; Fri, 7 Jul 2017 07:21:27 -0700 (PDT) In-Reply-To: <20170707.230903.2208998970191971739.trueroad@trueroad.jp> References: <5aeb55b6-1c71-bf68-3f2c-31f55bba438e@gmail.com> <20170707.230903.2208998970191971739.trueroad@trueroad.jp> From: Ivan Gagis Date: Fri, 07 Jul 2017 14:21:00 -0000 Message-ID: Subject: Re: g++ std::map initializing raises segmentation fault. To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00112.txt.bz2 I installed g++ 6.3.0-2 and still can reproduce the segfault :(. Br, Ivan 2017-07-07 17:09 GMT+03:00 Masamichi Hosoda : >> On 07/07/2017 14:51, Marco Atzeri wrote: >>> On 06/07/2017 14:26, Masamichi Hosoda wrote: >>>> Hello, >>>> >>>> On Cygwin 2.8.1 x86_64, I've found that g++ std:map initializing >>>> may raise segmentation fault. >>>> The binary compiled with cygwin-devel-2.8.0-1 >>>> does not raise segmentation fault >>>> even if on Cygwin 2.8.1 x86_64 environments. >>>> >>> >>> I can not replicate. >>> >> >> Wrong. I can replicate. >> >> One solution is to use the gcc-6.3.0-2 compiler in test >> >> https://www.cygwin.com/ml/cygwin-announce/2017-06/msg00079.html > > Thank you for your information. > > If I understand correctly, there is three workaround solutions. > > . Use g++ option `-std=gnu++11` instead of `-std=c++11` > TANNHAUSER Falk reported in > https://cygwin.com/ml/cygwin/2017-07/msg00089.html > > I've tried this. It works fine. > > . Downgrade `cygwin-devel` to 2.8.0-1 instead of 2.8.1-1. > I reported in > https://cygwin.com/ml/cygwin/2017-07/msg00088.html > > Of course, it works fine in my environment. > > . Use gcc-6.3.0-2 instead of gcc-5.4.0-1 > You reported in > https://cygwin.com/ml/cygwin/2017-07/msg00109.html > > I'd like to try this. > > Thanks > > -- > 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 > -- 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