delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/30/17:29:29

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=WlGRsLY11sLZ53gk
/37PuHQQ8GSHwOzpLzPpnSfKs21BWUhlrH72QE4qpEiIF96L3oADearX7AL6hvZO
mvsz2sL4WPEqpiurgncIrRhZp5w0zwUcbgHXN3vHBcEApYv0m/JKuVUmoEA2n6ss
0zN0ZkejSFBDFSWOD7b273neSkg=
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=RiqlTKZ5ZO1yo+ZkexSUCo
40nyE=; b=CjPfxe3a3rJJhAtf0IU0CDHBy54vFK0TitnKx+2Y5tlrBQdTYwppjo
aiJe3X37rsCQ2kmk9bXMaau4F/BVxa+Esq7hZKQ3kK0jLDjZLuq+EeFO8DFF7SRe
BzTlY1JpSneXUoK+cerE3vsd/XILLPA9iirxjiQUAz0puKYbsGztI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=H*i:sk:dfed87f
X-HELO: mail-io1-f44.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=pFORv7Ar6Zaha14WD5m5fiGZoKHt3mIPUk1KRE+e65g=; b=BOA7JoelbKLcw6y0Pwv/SLjJURAmcy95vLNfyUV4nPcMFDSQd8kr292jlsiWGHxw6L gNVAnjbb62N+eg5HaRVfhNnRO2dsVxv0mstkzXWlLR1Cifwq6lEGvw0OOTWGS6hvC1tc EClCibExQzRY+n4lC+x7woG9v2xOCpV23shmU0lnS8dXX4CzY5ze0SNrOYHUAn7n/PpM txgjdcm7Pe4282gHPjcpMb5C8nEIYGiZQeGOPFxJyoVWwP5E+4PEZ7hBIt5eZ9KDvBSt /sJjHXnvjXC+yCeRwbOWHpktcLZCo9WHZylwYjiWxXqFs3EKLkIjy8ai2DgJLvG/u/ZG xfjg==
Subject: Re: Cross build of newlib-cygwin release tag cygwin-2_11_1-release.
To: cygwin AT cygwin DOT com
References: <f020a254-263d-a901-7237-73eaf45fa21e AT gmail DOT com> <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> <dfed87f1-5acf-cc44-60d8-0cb7851a71fd AT gmail DOT com>
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <2cf7b0d9-8730-dfa6-b5e0-c25f43ba9ba6@gmail.com>
Date: Tue, 30 Oct 2018 17:29:09 -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: <dfed87f1-5acf-cc44-60d8-0cb7851a71fd@gmail.com>
X-IsSubscribed: yes


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019