delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/27/22:22:45

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:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=itApsBKQCzJRALNi
zrNMW0+19fP8XQJ4tQ3OgK9aw7qEpcavuT2v351hGxZhfKtAMRb843JWyMwiqgmf
UHimSJfNJta1w2mgv/A4ARntihSEaNdnmE32x2TM7hclwjbE1kAIWLcSvtYIuXWM
CSaP+7mD9v8LcceUpwQ4tNJPQBg=
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:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=XFbPiuVjw+Nv+9PiG7MEqj
HqOIE=; b=S7c67v446HO+pl5/lMwfKNHC24XqsPwa4WpyFZaJG4VfzG55Rl5ZQD
//JR5mqkGDl12/FXUn/SQ41EhWj5Idn0Adk8Y55c4OvCrenZwX3vCSE6zFcRCYge
FeMJ7QpTt6nvhvdgxk1hJcVhRuM+FFvHOEezm+jzfOl7uexuXRacQ=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*cornell.edu, H*r:ip*192.168.0.4, HContent-Transfer-Encoding:8bit
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
From: Ken Brown <kbrown AT cornell DOT edu>
Subject: Re: Request update GCC
To: cygwin AT cygwin DOT com
References: <594f1e45 DOT 14119d0a DOT 73dda DOT b6f9 AT mx DOT google DOT com> <3a4f8ce8-e76c-678c-c11c-e91366e57ec7 AT gmail DOT com> <028199b4-9ff5-a384-34f0-73a323fbcfa0 AT gmail DOT com> <75758c6e-a76e-02b2-5b72-ac43fa666a20 AT gmail DOT com> <edeb74a7-60b2-08ce-9c2d-7e5998e1e6f2 AT gmail DOT com>
Message-ID: <0968f64d-fdb2-ad43-cdb5-f5fc27acabc0@cornell.edu>
Date: Tue, 27 Jun 2017 22:22:37 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <edeb74a7-60b2-08ce-9c2d-7e5998e1e6f2@gmail.com>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 6/27/2017 7:32 AM, Marco Atzeri wrote:
> On 27/06/2017 03:08, JonY wrote:
>> On 06/26/2017 10:16 AM, Marco Atzeri wrote:
>>>
>>> Jon,
>>>
>>> are you building the compilers on cygwin or cross compiling ?
>>>
>>> I was trying to test the patch for
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47030
>>> as it is blocking PETSC porting,
>>> but I was unable to build 6.3.0-1 from your
>>> source package.
>>>
>>>
>>> In file included from
>>> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-1.src/gcc-6.3.0-1.
>>> x86_64/src/gcc-6.3.0/gcc/rtl.h:31:0,
>>>                  from
>>> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-1.src/gcc-6.3.0-1.
>>> x86_64/src/gcc-6.3.0/gcc/genopinit.c:25:
>>> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-1.src/gcc-6.3.0-1.x86_64/src/gcc-6.3.0/g 
>>>
>>>
>>> cc/real.h:36:35: warning: division by zero [-Wdiv-by-zero]
>>>  #define SIGSZ   (SIGNIFICAND_BITS / HOST_BITS_PER_LONG)
>>>
>>> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-1.src/gcc-6.3.0-1.x86_64/src/gcc-6.3.0/g 
>>>
>>>
>>> cc/real.h:49:21: note: in expansion of macro ‘SIGSZ’
>>>    unsigned long sig[SIGSZ];
>>
>> On Cygwin itself, shouldn't that be 32bit and 64bit respectively for 
>> Cygwin?
> 
> In theory
> 
> gcc/real.h:#define SIGNIFICAND_BITS   (128 + HOST_BITS_PER_LONG)
> 
> gcc/hwint.h:#define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
> 
> 
> but I do not understand why SIGSZ is wrong defined.

FWIW, I just rebuilt gcc-6.3.0-1 from source on 64-bit Cygwin without 
getting that warning.

Ken



--
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