From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#65727: bug#63365: bug#65727: 30.0.50; Build failure in MSYS2 when --with-native-compilation Date: Fri, 17 May 2024 13:28:44 -0400 Message-ID: References: <86wn1jtezk.fsf@gnu.org> <861q60h9px.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34660"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63365@debbugs.gnu.org, arash@gnu.org, 65727@debbugs.gnu.org, svraka.andras@gmail.com, cyril.arnould@outlook.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 17 19:32:19 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s81RJ-0008nm-7K for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 May 2024 19:32:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s81R3-0006vl-4G; Fri, 17 May 2024 13:32:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s81R2-0006vQ-3I for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 13:32:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s81R1-0007vu-QF for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 13:31:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s81R4-0007FS-MX for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 13:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 May 2024 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 65727-submit@debbugs.gnu.org id=B65727.171596706827835 (code B ref 65727); Fri, 17 May 2024 17:32:02 +0000 Original-Received: (at 65727) by debbugs.gnu.org; 17 May 2024 17:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:56338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s81QC-0007Eo-8N for submit@debbugs.gnu.org; Fri, 17 May 2024 13:31:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s81Q9-0007E8-Jy; Fri, 17 May 2024 13:31:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s81Nu-0007SW-7f; Fri, 17 May 2024 13:28:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RUL5gEnPKh2HsY9WCiFZmtpSdf7n2BhWxPgGGMGtwzM=; b=KGVorvhFeU0WHKJQ5nOY HlPhvx2lIuXO6CT3eMNvopmgN/YzWcV6YAhd/oe7y6DcUxnpbW9syFL3H4J45bYEFNcC6KebeLu4L deGFQ6R1raMaV6U4gCFUnarQgCDqKjTMyFwFn/mDJdgviOkSv2ss7GCcBOH+OtO8WOvCo5aYzAWev /lm9owgz/7LZth7TkavQZT6xfbZMrtKy82pgUOy8x5NR+dSrbYUVTdlynid6NF3sfj2vF5PCI4clk C2OROXLcIIdJ2c3GPSsXdsJFBT53oVD1+t+HxXHI7LUVqGs4DwO9A5T1HLaUH63c6jaby5CaRrwU+ 3lyJCgXPD/xUIw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1s81Ns-00031g-B5; Fri, 17 May 2024 13:28:44 -0400 In-Reply-To: <861q60h9px.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 May 2024 16:03:06 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285258 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: "63365@debbugs.gnu.org" <63365@debbugs.gnu.org>, "eliz@gnu.org" >> , 65727@debbugs.gnu.org, Arash Esbati , >> Andr=C3=A1s Svraka >> Date: Fri, 17 May 2024 08:06:56 -0400 >>=20 >> I believe this is a GCC bug as the sibling call optimizer should not run >> in functions making use of 'builtin_unwind_init', even if this one is >> undocumented (otherwise I can't see its reason of being =F0=9F=99=82). >>=20 >> So I filed a GCC bug [1]. >>=20 >> Despite the fact that this will or not be recognized as a bug (and in >> case fixed), I think we'll have to fix this on our codebase disabling >> the sibling call optimizations on the sentive function(s). > > Agreed. Can you install a patch along these lines? Work in progress =F0=9F=91=8D > Do we have other functions that could be sensitive to this issue? All functions calling 'flush_stack_call_func' are impacted, but I think I've a fix that touches only 'flush_stack_call_func'. Andrea