From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50777 invoked by alias); 26 Feb 2020 12:53:47 -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 50656 invoked by uid 89); 26 Feb 2020 12:53:46 -0000 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 Received: from smtp3-g21.free.fr (HELO smtp3-g21.free.fr) (212.27.42.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 26 Feb 2020 12:53:36 +0000 Received: from [IPv6:2a01:e34:ee03:44f0:316b:487e:1a22:94a6] (unknown [IPv6:2a01:e34:ee03:44f0:316b:487e:1a22:94a6]) by smtp3-g21.free.fr (Postfix) with ESMTPS id 53ADB13F89D; Wed, 26 Feb 2020 13:53:30 +0100 (CET) Content-Type: text/plain; charset=us-ascii 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 In-Reply-To: <91caa2b6-1ad8-1032-ebeb-634a7bbc1673@dronecode.org.uk> Date: Wed, 26 Feb 2020 12:53:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <75E7B82B-0952-4CD6-B2B8-E0B8B8EEBFAC@Denis-Excoffier.org> References: <877e0bspme.fsf@Rainer.invalid> <5fcfecab-7d9d-3032-f0c1-1af441f44cfd@gmail.com> <91caa2b6-1ad8-1032-ebeb-634a7bbc1673@dronecode.org.uk> To: The Cygwin Mailing List X-SW-Source: 2020-02/txt/msg00237.txt.bz2 > On 2020-02-25 01:18, Jon Turney wrote : >=20 > 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. >>>=20 >>> 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. >=20 > binutils-2.31.1-1 has been promoted from test to current. >=20 In order to compile cleanly the last snapshot with gcc 9.2.0, i had to appl= y the following patch (see below). Otherwise one get an uninitialized variable together with a missing __attri= bute__. 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 2= 016 --- cygwin-snapshot-20200221-1p/winsup/cygwin/exec.cc Wed Feb 26 08:42:33 2= 020 *************** *** 85,91 **** { return spawnve (_P_OVERLAY, path, argv, envp); } ! EXPORT_ALIAS (execve, _execve) /* For newlib */ =20=20 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"), not= hrow)); =20=20 extern "C" int execvp (const char *file, char * const *argv) diff -cNr cygwin-snapshot-20200221-1o/winsup/cygwin/posix_timer.cc cygwin-s= napshot-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; =20=20 AcquireSRWLockExclusive (&srwlock); if (overrun_count !=3D OVR_DISARMED) --- 81,87 ---- LONG timer_tracker::disarm_overrun_event () { ! LONG ret =3D 0; =20=20 AcquireSRWLockExclusive (&srwlock); if (overrun_count !=3D 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