From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 2FCC63858CDA; Mon, 9 Jan 2023 13:04:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2FCC63858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673269447; bh=hPkie17Eei0IV2ls8hNiEBcTCC/CL9rMvdJdzgvBmYs=; h=From:To:Subject:Date:From; b=ChRMv6delJ9YxcOvl9MQRuXrBOpagHt6NJiKrtXmKTcstsw8JctwQhYIYDkWRKUeP mH29KOPJbTvVSSHoM87oBM6x5JCK5in+mOiTFj5SxUQwJdhwS4izTcRFtSn+/grxIs myxIj0zcOuxg0aoQa0DW2Bd02UZtjIonf0bSTAjk= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: reinstantiate exporting _alloca X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: ad3f9820b16a3dc5ea6237106436f565fcb2ed3e X-Git-Newrev: 7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd Message-Id: <20230109130407.2FCC63858CDA@sourceware.org> Date: Mon, 9 Jan 2023 13:04:07 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D7886327fbf9= 2e6ad8bd3f27ea9fa8bd54cc44bdd commit 7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd Author: Corinna Vinschen AuthorDate: Mon Jan 9 13:35:32 2023 +0100 Commit: Corinna Vinschen CommitDate: Mon Jan 9 13:42:53 2023 +0100 Cygwin: reinstantiate exporting _alloca =20 This basically reverts commit 1556b96b1b3b03112f271dfe30e043ed538354fd. =20 Turns out that _alloca is actually used, for instance, by clang. Diff: --- winsup/cygwin/cygwin.din | 1 + winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/release/3.4.4 | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index f1371af1b622..c6768e4fcec8 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -133,6 +133,7 @@ __xdrrec_getrec SIGFE __xdrrec_setnonblock SIGFE __xpg_sigpause SIGFE __xpg_strerror_r SIGFE +_alloca =3D __alloca NOSIGFE _dll_crt0 NOSIGFE _Exit SIGFE _exit SIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include= /cygwin/version.h index fb24fc61f77e..0644311a0b02 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -478,12 +478,13 @@ details. */ 342: Remove cleanup_glue. 343: Change FD_SETSIZE and NOFILE. 344: Remove _alloca. + 345: Reinstantiate _alloca. =20 Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ =20 #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 344 +#define CYGWIN_VERSION_API_MINOR 345 =20 /* There is also a compatibity version number associated with the shared m= emory regions. It is incremented when incompatible changes are made to the s= hared diff --git a/winsup/cygwin/release/3.4.4 b/winsup/cygwin/release/3.4.4 index 3331b31666da..a653b08a1a40 100644 --- a/winsup/cygwin/release/3.4.4 +++ b/winsup/cygwin/release/3.4.4 @@ -7,3 +7,6 @@ Bug Fixes - Fix hang-up of less on quit which occurs when it is started from non-cyg= win shell and window is resized. Addresses: https://cygwin.com/pipermail/cygwin/2022-December/252737.html + +- Reinstantiate exporting _alloca. + Addresses: https://cygwin.com/pipermail/cygwin/2023-January/252797.html