From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39844 invoked by alias); 7 Jul 2017 14:28:06 -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 39819 invoked by uid 89); 7 Jul 2017 14:28:05 -0000 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= X-HELO: mail-qt0-f170.google.com Received: from mail-qt0-f170.google.com (HELO mail-qt0-f170.google.com) (209.85.216.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Jul 2017 14:28:04 +0000 Received: by mail-qt0-f170.google.com with SMTP id b40so28338688qtb.2 for ; Fri, 07 Jul 2017 07:28:04 -0700 (PDT) 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-transfer-encoding; bh=NeSiwmCeBdek8ydtrRvzwREDioHmwRNaPQBD/1k+k1Y=; b=c0bcuxKehoNSTDDCq4awKUECAcSGCS8UNXXxjDB98BF4H65vcdRYIQECkytKJbb5YD UIidixTiturrKJFeGIbnHkU1oAeGQZa/TUcrRgyeQqchKvpyKt4naIAVhRkyqR5YO2Fj sJvJVdMc+U+XOIrpN6+OkGXP+PA2nvt++Mkng+JMvgX2jK1bj9YxIZvZ+RPTbnmAqeWD hAAvr8NrQ1b48HIZSeDqMGLSrx592UlMaCmfwZfu9Y6tKzOGvQg0SvgK66gQDRo9yizA JwieXyrf5umbqgh0WzW5MXcvcsOi2vKV+b0BukYQNf0EAElmF17dKOf8mDDbP21axk6P MO0w== X-Gm-Message-State: AKS2vOyVzyaJq8+SBFQ/aFkPOUmxl90/XxWXmO+7B5/oPm4kBJ/fciqn WUKZfyVS5q9Q0x6mNkk= X-Received: by 10.200.51.125 with SMTP id u58mr69268167qta.12.1499437682487; Fri, 07 Jul 2017 07:28:02 -0700 (PDT) Received: from [172.21.192.193] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id b81sm2440674qkj.62.2017.07.07.07.28.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jul 2017 07:28:01 -0700 (PDT) Subject: Re: g++ std::map initializing raises segmentation fault. To: cygwin@cygwin.com References: <5aeb55b6-1c71-bf68-3f2c-31f55bba438e@gmail.com> <20170707.230903.2208998970191971739.trueroad@trueroad.jp> From: Marco Atzeri Message-ID: <98ee2e33-2c7c-a4b3-d06d-f58a040c1619@gmail.com> Date: Fri, 07 Jul 2017 14:28:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00113.txt.bz2 On 07/07/2017 16:21, Ivan Gagis wrote: > I installed g++ 6.3.0-2 and still can reproduce the segfault :(. > > Br, > Ivan > It seems due to the -std=c++11 restriction $ g++ foo.cc $ ./a.exe Hello World! $ g++ -std=c++11 foo.cc $ ./a.exe Segmentation fault (core dumped) -- 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