From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation Date: Fri, 16 Jun 2023 13:31:26 +0300 Message-ID: <831qibu29t.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63365@debbugs.gnu.org, arash@gnu.org, svraka.andras@gmail.com To: Cyril Arnould , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 16 12:32:22 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 1qA6kf-0005N4-Ua for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jun 2023 12:32:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qA6kO-0000KC-64; Fri, 16 Jun 2023 06:32:04 -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 1qA6kN-0000Jf-2V for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:32:03 -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 1qA6kM-00073H-Pc for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qA6kM-00024R-6g for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2023 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jun 2023 10:32: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.16869114757899 (code B ref 63365); Fri, 16 Jun 2023 10:32:02 +0000 Original-Received: (at 63365) by debbugs.gnu.org; 16 Jun 2023 10:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:48652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA6jZ-00023J-Hc for submit@debbugs.gnu.org; Fri, 16 Jun 2023 06:31:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA6jW-000234-Ag for 63365@debbugs.gnu.org; Fri, 16 Jun 2023 06:31:12 -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 1qA6jQ-0006oC-La; Fri, 16 Jun 2023 06:31:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CxLABw8imY8Q3SPJQvgcytFc5mM+p8KW7VMAoI3BhHw=; b=f3agv+phNhOAUbxOO3fW MwTl59xOVaoGyHphx5p8zMWUnpjsZ101OGt7lZjyoN7WEGlzR2js7MMtMOxZUcvFbtauZxIaWc3sh bTXH6+676a68xtvpd8qFMlGeoW2KR2Dp2xy1vXO6tjIkm3Rs2RhsKa8ytymyZ6Ae3KMURefZPbsJm 5I3QwA3TD0udRqUTDvmEERV6d+I1E6I7ha/e5IxgKr5ml+ccW7ZXo0VLLxPS9pm4Zln+85qkZPvka MpIhGVNP01LIQcJAhEXCvSJeJ+4+O+DH82DtWc6Pt976rEADooUP7OxskvBNfLWcsxz+N07L5FEdt 9AAua2NGPwhPIA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qA6jN-0003qQ-Os; Fri, 16 Jun 2023 06:31:03 -0400 In-Reply-To: (message from Cyril Arnould on Fri, 16 Jun 2023 09:04:16 +0000) 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:263466 Archived-At: > From: Cyril Arnould > CC: "eliz@gnu.org" , "63365@debbugs.gnu.org" > <63365@debbugs.gnu.org>, " akrl@sdf.org" , > András Svraka > Date: Fri, 16 Jun 2023 09:04:16 +0000 > > I've been playing around with compiler options. From my findings, the > > -foptimize-sibling-calls flag breaks the build: > > > > ./autogen.sh > > CFLAGS='-g3 -O1 -gdwarf-2 -foptimize-sibling-calls' \ > > ./configure --with-native-compilation > > make > > > > OTOH, using -O1 with every flag listed under -O2 *but* > > -foptimize-sibling-calls results in the build succeeding. The following > > works as well for me: > > > > ./autogen.sh > > CFLAGS='-g3 -O2 -gdwarf-2 -fno-optimize-sibling-calls' \ > > ./configure --with-native-compilation > > make Andrea, any reason that this GCC switch should break native-compilation? Does the same problem happen on GNU/Linux?