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=e7OTsNuWUJomcsAA vKrdRgoJCFP2S7regxc/yY9cV+vfZzQt7tLCwjUjRS8wEGMmRI8H+bySSbnt9V99 pGRWl3T3h28pU0dR5dWddKOvYzFQvuPHrATNNeasLChfLZSc03tZJUtamd55mnUq LRDrVKFUVAX8aFExxK63gtIYiZI= 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=Dro5TcTlvAciY310DviyWe 7MOmc=; b=mWB2k8S4mZtMr4J8t3NWOl/FQK7BW4WSau6UFYxUlFkDJy1EVn6EK5 YZcdPWuUYeJlzlbPPfuNKdqPXjfUGSrv1xcmqopBCgTmnhhyuPdJgUsnZevwUhqA TJ336QrORiRcB+lBYqts+RQY8nlQD05iZonNsHD1XC2uCH+lRBGrI= 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-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 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) 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> From: Marco Atzeri Message-ID: Date: Tue, 27 Jun 2017 13:32:52 +0200 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 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