From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53970 invoked by alias); 30 Oct 2018 21:29:19 -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 53961 invoked by uid 89); 30 Oct 2018 21:29:18 -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=H*i:sk:dfed87f X-HELO: mail-io1-f44.google.com Received: from mail-io1-f44.google.com (HELO mail-io1-f44.google.com) (209.85.166.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Oct 2018 21:29:15 +0000 Received: by mail-io1-f44.google.com with SMTP id n11-v6so8255761iob.6 for ; Tue, 30 Oct 2018 14:29:14 -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=pFORv7Ar6Zaha14WD5m5fiGZoKHt3mIPUk1KRE+e65g=; b=BOA7JoelbKLcw6y0Pwv/SLjJURAmcy95vLNfyUV4nPcMFDSQd8kr292jlsiWGHxw6L gNVAnjbb62N+eg5HaRVfhNnRO2dsVxv0mstkzXWlLR1Cifwq6lEGvw0OOTWGS6hvC1tc EClCibExQzRY+n4lC+x7woG9v2xOCpV23shmU0lnS8dXX4CzY5ze0SNrOYHUAn7n/PpM txgjdcm7Pe4282gHPjcpMb5C8nEIYGiZQeGOPFxJyoVWwP5E+4PEZ7hBIt5eZ9KDvBSt /sJjHXnvjXC+yCeRwbOWHpktcLZCo9WHZylwYjiWxXqFs3EKLkIjy8ai2DgJLvG/u/ZG xfjg== 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 w124-v6sm9555912ita.0.2018.10.30.14.29.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 14:29:12 -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: <2cf7b0d9-8730-dfa6-b5e0-c25f43ba9ba6@gmail.com> Date: Tue, 30 Oct 2018 21:29: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: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00269.txt.bz2 On 10/30/2018 5:24 PM, cyg Simple wrote: > > > 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 > Well no, -pendantic -fomit-frame-pointer -m64 is set in a CFLAGS environment variable. I can fix that. > 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