delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/26/07:54:43

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=F4+MXHvelFxj56Be1JtpcYtJUz4F
39og7eT5+keTik7TFS569WF11FD4PWLxxHHDNbxE4Oo7leVfUXM9vnG3Hn5YMhB4
+AP8dm61XriuKJmpe6Jqn0URWnDRIK0K214iDuxDUIRYssXogNfcX1AvtnrWxgIN
EIRmg3HqKen4U9c=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=VklytKIG7nCYBLao0birYY9skSM=; b=pK
l3ycMtO2My3sZBiwwKJLYQ5DDWnkn2QabVED/9jnZh2U54KxSO+oCEnBHr3I3SBi
xp9PmVMJtnfK4bkhqdm8Sl7zKkRpIixHvDyW0JsVvAFhLlVltNYRo/cMYcPR4nq5
6h6lqR433rYvepXtDQI7EQDlyRsVmkWDk2vXn/ha4=
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.2 required=5.0 tests=BAYES_40,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL,SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=H*r:212.27.42, HX-HELO:sk:smtp3-g, HX-Spam-Relays-External:212.27.42.3, HX-Spam-Relays-External:sk:smtp3-g
X-HELO: smtp3-g21.free.fr
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
Subject: Re: [ANNOUNCEMENT] Updated: gcc-9.2.0-2 (x86/x86_64)
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <91caa2b6-1ad8-1032-ebeb-634a7bbc1673@dronecode.org.uk>
Date: Wed, 26 Feb 2020 13:53:29 +0100
Message-Id: <75E7B82B-0952-4CD6-B2B8-E0B8B8EEBFAC@Denis-Excoffier.org>
References: <announce DOT 5fa74279-223d-2e41-b616-4a2ae22f0b4e AT gmail DOT com> <877e0bspme DOT fsf AT Rainer DOT invalid> <5fcfecab-7d9d-3032-f0c1-1af441f44cfd AT gmail DOT com> <91caa2b6-1ad8-1032-ebeb-634a7bbc1673 AT dronecode DOT org DOT uk>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 01QCsPn6013127

> On 2020-02-25 01:18, Jon Turney wrote :
> 
> On 24/02/2020 23:35, JonY wrote:
>> On 2/24/20 8:21 PM, Achim Gratz wrote:
>>> JonY writes:
>>>> gcc-9.2.0-2 has been uploaded for Cygwin. This version is the same as
>>>> -1, just repackaged and marked as stable.
>>> 
>>> This version of gcc requires a newer binutils than defined as current in
>>> the Cygwin repo, so until this gets corrected one needs to manually
>>> switch to the test version binutils-2.31.1-1.
> 
> binutils-2.31.1-1 has been promoted from test to current.
> 

In order to compile cleanly the last snapshot with gcc 9.2.0, i had to apply the following patch (see below).
Otherwise one get an uninitialized variable together with a missing __attribute__.

Regards,

Denis Excoffier.

diff -cNr cygwin-snapshot-20200221-1o/winsup/cygwin/exec.cc cygwin-snapshot-20200221-1p/winsup/cygwin/exec.cc
*** cygwin-snapshot-20200221-1o/winsup/cygwin/exec.cc	Mon Jun 27 13:27:22 2016
--- cygwin-snapshot-20200221-1p/winsup/cygwin/exec.cc	Wed Feb 26 08:42:33 2020
***************
*** 85,91 ****
  {
    return spawnve (_P_OVERLAY, path, argv, envp);
  }
! EXPORT_ALIAS (execve, _execve)	/* For newlib */
  
  extern "C" int
  execvp (const char *file, char * const *argv)
--- 85,92 ----
  {
    return spawnve (_P_OVERLAY, path, argv, envp);
  }
! //EXPORT_ALIAS (execve, _execve)	/* For newlib */
! extern "C" __typeof (execve) _execve __attribute__ ((alias("execve"), nothrow));
  
  extern "C" int
  execvp (const char *file, char * const *argv)
diff -cNr cygwin-snapshot-20200221-1o/winsup/cygwin/posix_timer.cc cygwin-snapshot-20200221-1p/winsup/cygwin/posix_timer.cc
*** cygwin-snapshot-20200221-1o/winsup/cygwin/posix_timer.cc	Fri Mar  8 12:58:25 2019
--- cygwin-snapshot-20200221-1p/winsup/cygwin/posix_timer.cc	Wed Feb 26 08:41:33 2020
***************
*** 81,87 ****
  LONG
  timer_tracker::disarm_overrun_event ()
  {
!   LONG ret;
  
    AcquireSRWLockExclusive (&srwlock);
    if (overrun_count != OVR_DISARMED)
--- 81,87 ----
  LONG
  timer_tracker::disarm_overrun_event ()
  {
!   LONG ret = 0;
  
    AcquireSRWLockExclusive (&srwlock);
    if (overrun_count != OVR_DISARMED)




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