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#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation Date: Thu, 08 Jun 2023 10:39:00 -0400 Message-ID: References: <86wn1jtezk.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> <837cse2g1v.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="30181"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63365@debbugs.gnu.org, arash@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 08 16:40:30 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 1q7GoP-0007k4-Cd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jun 2023 16:40:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7Go0-0001DH-Uz; Thu, 08 Jun 2023 10:40:05 -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 1q7Gnz-0001CE-CD for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:40: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 1q7Gnz-0007IQ-2N for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7Gny-0001jn-HF for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 10:40: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: Thu, 08 Jun 2023 14:40: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.16862351486611 (code B ref 63365); Thu, 08 Jun 2023 14:40:02 +0000 Original-Received: (at 63365) by debbugs.gnu.org; 8 Jun 2023 14:39:08 +0000 Original-Received: from localhost ([127.0.0.1]:57186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7Gn6-0001iY-IB for submit@debbugs.gnu.org; Thu, 08 Jun 2023 10:39:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7Gn4-0001i5-64 for 63365@debbugs.gnu.org; Thu, 08 Jun 2023 10:39:07 -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 1q7Gmy-000782-QS for 63365@debbugs.gnu.org; Thu, 08 Jun 2023 10:39:00 -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=sA4C07h6fVoB1rR3uIgsINDar2ZlNdmfeYI1k/kWWfs=; b=jQg+k+qc+QcpyjlttDE5 y/0aeoszrHbsNTg3lEoUUTomfigvBX3ggcCc3B4lE0CEXsrTShBaOegERV+hOwtgI85h10LKMxTit AT+uchr9h7o1TrkPAdSCfwG6dG7QXwCz17lhfAjhgVK7bxQ/f5fV0EPTlsw7drOb5Gnsgb2dNrA4W ruNDcYOhezgNsqqWHJWi6Al4f6a1SD4FhO1IEpjYx/QN1z1rubtudbes4089Nmr4D3tz+nDqzG/lP 9j23xErhVWvcyh4DW/HgpW4ZkRbBg84/3XXGfAjsXdGyfUIJuTEErc+/YGrQVsR0Qm8jm6jXoLn43 4LrNFu/P4hUZ7w==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q7Gmy-00006G-ET; Thu, 08 Jun 2023 10:39:00 -0400 In-Reply-To: <837cse2g1v.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Jun 2023 17:18:36 +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:263127 Archived-At: Eli Zaretskii writes: >> 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. I confirm Emacs 29 bootstraps fine native compiled with GCC+libgccjit 13.1 x86_64-pc-linux-gnu here. >> > 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. Agree. Thanks Andrea