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: Thu, 08 Jun 2023 17:18:36 +0300 Message-ID: <837cse2g1v.fsf@gnu.org> References: <86wn1jtezk.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> <86sfb29rvs.fsf@gnu.org> <83a5xa2irq.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32651"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63365@debbugs.gnu.org, arash@gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 08 16:19:24 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 1q7GTz-0008N8-KK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jun 2023 16:19:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7GTi-0007DZ-PX; Thu, 08 Jun 2023 10:19:06 -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 1q7GTe-0007Cb-Mo for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:19:02 -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 1q7GTe-0002K5-EH for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7GTd-0001Bt-Pe for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jun 2023 14:19:01 +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.16862339214547 (code B ref 63365); Thu, 08 Jun 2023 14:19:01 +0000 Original-Received: (at 63365) by debbugs.gnu.org; 8 Jun 2023 14:18:41 +0000 Original-Received: from localhost ([127.0.0.1]:57164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7GTG-0001B8-6o for submit@debbugs.gnu.org; Thu, 08 Jun 2023 10:18:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7GTE-0001Au-3e for 63365@debbugs.gnu.org; Thu, 08 Jun 2023 10:18:36 -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 1q7GT8-0002Ba-I5 for 63365@debbugs.gnu.org; Thu, 08 Jun 2023 10:18:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2RkuBu9SJJlu6ehRYncPZZRERNW1ubdefuGTdcIXmTw=; b=jLyCOjtPXxFw r+wULWjS/hJ6B5+F8np9TVJAxJYmiKrCPbQ8lGMSw4cGMRa1wBs9jX3HrvwUw09MRXPINlE/zjU7S Y3ZciCLkB+T6I/xdwccculreylJ/EqVtma4Edo7GMDOXOEpATfHpbw1hDR/q3WW/r2lCPYNQ9LAZB qXGD1HipUG3IiLjKGCNrVQWR6JAZnzt/hPBYH1+rIMCf+dWx/OmoXdcLZAGZ10807O0TYeRGOjdPC wGgJ0N1Al/hXJqV72T90bOjMnF2qYru/y/EaOGhcQOPh/cXu4x1R9S4d13yT/iN726RGFYpcM7tb2 OWXUkThdP2dttKGhUpvFIw==; 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 1q7GT7-0000fC-V3; Thu, 08 Jun 2023 10:18:30 -0400 In-Reply-To: (message from Andrea Corallo on Thu, 08 Jun 2023 10:02:22 -0400) 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:263126 Archived-At: > From: Andrea Corallo > Cc: Arash Esbati , 63365@debbugs.gnu.org > Date: Thu, 08 Jun 2023 10:02:22 -0400 > > > Andrea, can you suggest some ideas for what to try/test, or > > alternatively how to prepare a concise test/reproducer for the GCC > > folks? AFAIU, GCC 13.1 does work on GNU/Linux > > I'm giving it a try mow to be sure. Thanks, that'd be good. > > to produce a working > > Emacs with native-compilation, so this is probably Windows-specific. > > I'd personally start producing an Emacs made only of bytecode but with > native compiler capabilies. To achieve this one can hack the Makefile > removing the native code specific parts, something like the very much > untested attached. OK, but I thin Arash should try building without -D_FORTIFY_SOURCE=1 cpp option first. Because if that works, it then becomes a general MinGW GCC problem with using that option, and not something specific to Emacs or libgccjit.