From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation Date: Thu, 08 Jun 2023 12:21:11 +0200 Message-ID: <86sfb29rvs.fsf@gnu.org> References: <86wn1jtezk.fsf@gnu.org> <83jzxjcac9.fsf@gnu.org> <86h6smopo6.fsf@gnu.org> <835y92dfgd.fsf@gnu.org> <86v8h2k475.fsf@gnu.org> <83r0rqaycc.fsf@gnu.org> <86wn1h3dpz.fsf@gnu.org> <835y91brfv.fsf@gnu.org> <86fs849xb0.fsf@gnu.org> <83ild08i8j.fsf@gnu.org> <86y1lwmfcw.fsf@gnu.org> <83ild06sb5.fsf@gnu.org> <83a5yc6m2e.fsf@gnu.org> <86lehbi6pu.fsf@gnu.org> <83r0r3jjka.fsf@gnu.org> <86wn0unbjd.fsf@gnu.org> <83fs7ijou6.fsf@gnu.org> <867csujb31.fsf@gnu.org> <835y8ej9f3.fsf@gnu.org> <86zg5psmnj.fsf@gnu.org> <83h6rxhrmd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33121"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63365@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 08 12:44:29 2023 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 1q7D80-0008Pm-6g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jun 2023 12:44:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7D7h-0002ly-60; Thu, 08 Jun 2023 06:44:09 -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 1q7D7b-0002jI-A4 for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 06:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7D7b-0006xQ-0u for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 06:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7D7a-00011y-2m for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 06:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jun 2023 10:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63365 X-GNU-PR-Package: emacs Original-Received: via spool by 63365-submit@debbugs.gnu.org id=B63365.16862210403947 (code B ref 63365); Thu, 08 Jun 2023 10:44:02 +0000 Original-Received: (at 63365) by debbugs.gnu.org; 8 Jun 2023 10:44:00 +0000 Original-Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7D7X-00011b-Qs for submit@debbugs.gnu.org; Thu, 08 Jun 2023 06:44:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7D7T-00011J-4n for 63365@debbugs.gnu.org; Thu, 08 Jun 2023 06:43:58 -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 1q7D7N-0006wQ-J2; Thu, 08 Jun 2023 06:43:49 -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=CUlGF6Q16R1vAGY10yF6uM/6jy9/Kaca/BwZdzqoJ7o=; b=qQSIM+2Jv5pyTVclFe/k l/k+nntFwqjf0GoNQybCAnzEJqE0AeYgwCvzXVDKdU8OQtFmvZel0aIkcyqKLbJLSA6V2SZnBKp22 prUATKmq0ZD+8CgJD6PERnkUbS4P8qHiLuh4xOb8fvg5D0h9EWzUK236PBusubKJxUbY6PYIPCZtw jY+7j3VkbYfLxTFYDa6zDiZyjlfAMdXPNKALi/6A2DqqSTWKsnYS0w85ivsAE6Ly/6cnsYtY92nNn W2WBjGUOKxS6cRmh5ljLSM8a6VZMfjKMQ5eAVWvdejdeHC1MlLxHW1Japhyx+K8uAvuvVXPi3tn1U sGZWC0xqL8NgNA==; Original-Received: from pd9fb723d.dip0.t-ipconnect.de ([217.251.114.61] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7D7N-00051c-55; Thu, 08 Jun 2023 06:43:49 -0400 In-Reply-To: <83h6rxhrmd.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 May 2023 09:55:38 +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:263119 Archived-At: Eli Zaretskii writes: > Did you say that the problem goes away if you configure without > native-compilation? Yes, no problems when --without-native-compilation is passed to configure. > If so, let's wait for Andrea to fix the problems with that on master, > and try again. I tried the latest master (a902156068), and the issue remains. > Or did you also see similar problems on the emacs-29 branch? Yes, issue remains with 0eba9cf651. > If this is not related to native-compilation, my first suspect is GCC > optimizations. Try building with -Og or -O1, and see if that avoids > the problem. I will try the ideas above and report back. > Or just downgrade to GCC 12 and wait for the GCC folks to get their > act together. (IME, using GCC version N.1 is not recommended if you > want to make sure your development environment remains stable. This > is especially true for platforms like MS-Windows, which are not the > main target for GCC development.) It seams that downgrading to GCC 12 is the way. Upgrading from GCC 11 to 12 went really smooth, so I didn't expect this kind of issues. I hope that someone more knowledgeable than me could report this to the GCC folks so they can have a look at it. Best, Arash