From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117811 invoked by alias); 27 Jun 2017 11:33:00 -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 117791 invoked by uid 89); 27 Jun 2017 11:32:59 -0000 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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1285 X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 11:32:57 +0000 Received: by mail-wm0-f44.google.com with SMTP id b184so23534563wme.1 for ; Tue, 27 Jun 2017 04:32:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=APbcQe1T8+M7RWkNrvrqhBSuzjiawFkNg9gbB1UNhrk=; b=IgkY1kgkQMFMKhBTAf03jaqthE8ZYeLIe1MqQFKPXE35VKforkiUFXPGtFZrxS/Y7W O4NiFcgqBFshmJGNH628ANegLNsgi0zcz+mL8EiOop2zOXI0VyjJEbL74FylcZm39VR5 Fk+EF+JUCdVf/Zsd8A+xfLHOSEWONVCL6KolwfoeOYZeNga4FwcDyygQldK5bWQhSjLM jiKp7XSTCa6fNog6wcjZOjd+q31/+Ke0Xj15egWbSU4DjtTOHVWeRHvvgm5WVyVBect4 WEnwp95JRdAOLMYzSHBzE5hETCU6EAKtKITesnat7ZBGDhYNNX48cU0pXJw49SlMAR4O x95g== X-Gm-Message-State: AKS2vOwJ+7B9jam3nXSPVlH0W9r7WBk1dX/gaP3eZAYRM5dxqAjc/jtU A3GHPGMyhdSQ9/R+5gQ= X-Received: by 10.28.15.16 with SMTP id 16mr2919173wmp.4.1498563175373; Tue, 27 Jun 2017 04:32:55 -0700 (PDT) Received: from [172.21.192.193] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id l70sm1840755wmd.3.2017.06.27.04.32.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 04:32:54 -0700 (PDT) Subject: Re: Request update GCC To: cygwin@cygwin.com References: <594f1e45.14119d0a.73dda.b6f9@mx.google.com> <3a4f8ce8-e76c-678c-c11c-e91366e57ec7@gmail.com> <028199b4-9ff5-a384-34f0-73a323fbcfa0@gmail.com> <75758c6e-a76e-02b2-5b72-ac43fa666a20@gmail.com> From: Marco Atzeri Message-ID: Date: Tue, 27 Jun 2017 11:33:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <75758c6e-a76e-02b2-5b72-ac43fa666a20@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00359.txt.bz2 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. -- 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