From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13589 invoked by alias); 25 Sep 2017 16:43:40 -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 13100 invoked by uid 89); 25 Sep 2017 16:43:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*M:online, H*F:D*t-online.de, among, HContent-Transfer-Encoding:8bit X-HELO: mailout12.t-online.de Received: from mailout12.t-online.de (HELO mailout12.t-online.de) (194.25.134.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Sep 2017 16:43:38 +0000 Received: from fwd26.aul.t-online.de (fwd26.aul.t-online.de [172.20.26.131]) by mailout12.t-online.de (Postfix) with SMTP id BCAF641CAE77 for ; Mon, 25 Sep 2017 18:43:35 +0200 (CEST) Received: from [192.168.2.28] (SUQGVGZJrhjiLxsVokyQM4JLHUK3Unn-EH2c8nT+ts35AAdrwwd-icC6HOawf0RZbd@[91.59.0.48]) by fwd26.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1dwWTl-2C2oBU0; Mon, 25 Sep 2017 18:43:33 +0200 Subject: Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test) To: cygwin@cygwin.com References: <33b5026b-7499-4a71-39c1-00629ed9cac8@gmail.com> <59c86185.48e6ca0a.964a0.a849@mx.google.com> From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: Date: Mon, 25 Sep 2017 16:43:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59c86185.48e6ca0a.964a0.a849@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00244.txt.bz2 Am 25.09.2017 um 03:53 schrieb Steven Penny: > On Sun, 24 Sep 2017 00:48:20, JonY wrote: >> I don't really work with cmake, but what it looks like, but it probably >> makes gcc look in the mingw include dir first and then gcc's, breaking >> gcc's headers. Correct thus far. -isystem is really not a compiler option that CMake should be injecting on its own recognizance. It's for specs files, compiler/libc implementation control and such. It will almost certainly break, among other things, any non-trivial use of #include_next. > Here is another problem: > > $ cat z.cpp > #include > main() { >  std::cout << "cout test\n"; > } > > $ x86_64-w64-mingw32-g++ -static -o z z.cpp > > $ ./z > Segmentation fault Does not reproduce here. -- 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