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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ExdT/qm1YQkLIFhT cTQf0Z+Ccf1KSyPYNGRJcDzvaKT1QRJoOdec25Gdw4liDlEghvRFbtSDVu7xJulH yFNLf34oSNnSfi3OTdRi7qhK38YKbvMNBoG3ZqnqTAf8+Meyn1jqPWoMunQ3oEWd ojiAHxI56rh3bw8o+OACMFbLde8= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=z0/TRiNqAhfL6EGqb2L1A5 ADSp8=; b=xFhKeGSKlYu9WaXqK0O2f+zU4uG61u/n70nUh0KGctVe2jJd49N2Fu 7Bg7AHKpmR9iIRlUDj9RrZ82D/2ciOojh9aSa9FCe1oasKHXOCqjUw920fqsus/b EkY0YBpIj2yMh7ARdlOCiMtyObfgMioE45ELqM81zdzG5vAkPTZYA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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 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== Subject: Re: Cross build of newlib-cygwin release tag cygwin-2_11_1-release. To: cygwin AT cygwin DOT com References: <143b033e-1d26-16f2-988c-2634a2b1e06e AT gmail DOT com> <276362f8-7162-21f7-00a1-3f5896a7ac75 AT gmail DOT com> <530490cf-a77a-c22c-b327-d6001c9486f5 AT gmail DOT com> <20181030203204 DOT GB3310 AT calimero DOT vinschen DOT de> From: cyg Simple Openpgp: preference=signencrypt Message-ID: Date: Tue, 30 Oct 2018 17:24:48 -0400 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 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