From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46611 invoked by alias); 30 Oct 2018 21:25:25 -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 46041 invoked by uid 89); 30 Oct 2018 21:24:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-io1-f46.google.com Received: from mail-io1-f46.google.com (HELO mail-io1-f46.google.com) (209.85.166.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Oct 2018 21:24:53 +0000 Received: by mail-io1-f46.google.com with SMTP id a23-v6so8246948iod.7 for ; Tue, 30 Oct 2018 14:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YggnY6LLH252q3SO0smwGnl5cpvyHVJr1/9y4YI9yG0=; b=B92uDCfw/jQfVA57kZdsipnEfVr1IlFnRf+ukWt9NO35FRhjQ5nG3PlNKsm15omimr 4hvWgRELJ8MWObTCdtYTyH6trxLEWu1TzfkVE+GdB6qm4iF0rx3C80SnHwMIMvEnsoZf /j4h77P5aKBtjLd4zVVHfHa+5o4W927cSOwBHHh1ljLJSHt+zyot5EWZHRrL1Z7aKQYa sI9FTESYW06+7sYdB7vHhmW64gPxGdx9lv/jHV/ogjPPfppH1K+US8iJIH3OtmwfgDeg InoExoepIaNFxWk5Lqczw40QJg0T2Ms6h3sZrcOMtHw7m2UYPa9DwIHXI/okbIwIARbP YWWA== Return-Path: Received: from [192.168.0.3] (d47-69-109-131.nap.wideopenwest.com. [69.47.131.109]) by smtp.gmail.com with ESMTPSA id t64-v6sm6756843iof.19.2018.10.30.14.24.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 14:24:51 -0700 (PDT) Subject: Re: Cross build of newlib-cygwin release tag cygwin-2_11_1-release. To: cygwin@cygwin.com References: <143b033e-1d26-16f2-988c-2634a2b1e06e@gmail.com> <276362f8-7162-21f7-00a1-3f5896a7ac75@gmail.com> <530490cf-a77a-c22c-b327-d6001c9486f5@gmail.com> <20181030203204.GB3310@calimero.vinschen.de> From: cyg Simple Openpgp: preference=signencrypt Message-ID: Date: Tue, 30 Oct 2018 21:25:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181030203204.GB3310@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00268.txt.bz2 On 10/30/2018 4:32 PM, Corinna Vinschen wrote: > On Oct 30 16:01, Earnest Boyd wrote: >> On 10/30/2018 3:31 PM, cyg Simple wrote: >>> On 10/30/2018 11:03 AM, cyg Simple wrote: >>>> PING... Does no one have an idea? >>>> >>>> On 10/29/2018 12:09 PM, cyg Simple wrote: >>>>> I'm trying to cross build the Cygwin source on a VirtualBox Arch Linux >>>>> with GCC-7.3.0 and Binutils 2.31. The process I am using clones the >>>>> master repository and then does a checkout of the release tag. Here is >>>>> the configure command from the head of the config.log. >>>>> >>>>> ``` >>>>> $ head /home/cygsimple/src/sf/build/newlib-cygwin/build/config.log | >>>>> grep newlib-cygwin-2.11.1/configure >>>>> $ >>>>> /home/cygsimple/src/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.1/configure >>>>> --prefix=/usr --host=x86_64-pc-cygwin --build=x86_64-pc-linux-gnu >>>>> --target=x86_64-pc-cygwin --sysconfdir=/etc --sharedstatedir=/var >>>>> --localstatedir=/var >>>>> ``` >>>>> >>> >>> I tried this on the master Cygwin and get the same error. >>> >>> ``` >>> $ head config.log | grep newlib-cygwin >>> $ >>> /usr/local/src/cygsimple/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.1/configure >>> --prefix=/usr --host=x86_64-pc-cygwin --build=x86_64-pc-cygwin >>> --target=x86_64-pc-cygwin --sysconfdir=/etc --sharedstatedir=/var >>> --localstatedir=/var >>> ``` >>> >>> What configuration item should I add to avoid this? >>> >> >> Patching winsup/cygwin/Makefile.in to remove -Werror allows this to >> build though the warnings continue. But how does Corinna do this? > > No special settings. But this: > >>>>> c++wrap -pedantic -fomit-frame-pointer -m64 -O2 -g -fno-rtti > ^^^^^^^^^ ^^^^ > Looks weird. We don't use neither pedantic nor m64 and from the above > it seems you didn't specify them explicitely either. So where are they > coming from? "pedantic" may explain the error. What linux-cygwin cross > gcc are you using? Looks like you're not using the right one. It's specified in winsup/cygwin/Makefile.in The cross is my private build but that doesn't matter, the issue happens in a native build as well. -- cyg 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