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.devel Subject: Re: GCC 13.1: Can't build Emacs with Msys2/MinGW64 Date: Sun, 07 May 2023 17:40:57 +0300 Message-ID: <83a5ygdx1i.fsf@gnu.org> References: <86r0rs8b6r.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37186"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 07 16:40:56 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pvfZI-0009Tm-7V for ged-emacs-devel@m.gmane-mx.org; Sun, 07 May 2023 16:40:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvfYP-00059U-80; Sun, 07 May 2023 10:40: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 1pvfYN-00058H-S7 for emacs-devel@gnu.org; Sun, 07 May 2023 10:39:59 -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 1pvfYN-00028U-KO for emacs-devel@gnu.org; Sun, 07 May 2023 10:39:59 -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=+t8WR8rGZWC+B1e846dfMVZ2ZBxfgvESuWpCTmmHzKY=; b=Nq1Vkrxd2sr7 gEwXZjlQv08AcgYu09e0XylR038MSqf9wGXr4DcwWIlmVodvOz7ZQOPCii4XTRELUo4WECYM/2EpN hS+SJW2jOOVf7OEYO9OG+9aFtJ2hj0be+lQpHMtKnFTeYFHWZR6tTbv03tw9drtkEuU5+O8DBhLvC 48S7nW9ua4OvBndngrR8A8VYls3y6BRD6OQ3r4Ny7JYsvxmy4TdI0HNFdogxX+iBTffndQbB+XOxU 8fuxXSGjtvwhgycHnXvAXWypQ3+Os8JiFvsOAuOFEbgNv+VZ1v4NFJ1CBJYk4mCU++D0Q2Kgysgyj uxvVGR4nLCBbU3q9NSGrNQ==; 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 1pvfYM-0004m6-Vm; Sun, 07 May 2023 10:39:59 -0400 In-Reply-To: <86r0rs8b6r.fsf@gnu.org> (message from Arash Esbati on Sun, 07 May 2023 16:31:56 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305956 Archived-At: > From: Arash Esbati > Date: Sun, 07 May 2023 16:31:56 +0200 > > GCC 13.1 landed on my HD and I can't build Emacs (both release branch > and master) anymore. This happens only when I pass > --with-native-compilation to configure. In summary: > > $ git clean -fdx --exclude=ChangeLog > $ ./autogen.sh > $ ./configure --without-native-compilation > $ make > > works and > > $ git clean -fdx --exclude=ChangeLog > $ ./autogen.sh > $ ./configure --with-native-compilation > $ make > > breaks during compilation with > > ELC dired.elc > ELC dired-aux.elc > ELC dired-loaddefs.elc > ELC dired-x.elc > > Backtrace: > 00007ff7de14a69e > 00007ff7de018b21 > 00007ff7de039541 > 00007ff7de1aedaa > 00007ff9b7977ff0 > 00007ff9b81b23d7 > 00007ff9b816149c > 00007ff9b81b0f06 > 00007ff7de09ea80 > ... > make[3]: *** [Makefile:327: dired-x.elc] Error 3 > > and others warnings like the above. > > Before digging more into it and possibly filing a bug report, do > others observe the same issue? This is on Win10 with Msys2/MinGW64, > gcc.exe (Rev4, Built by MSYS2 project) 13.1.0. Does the same tree build OK with older versions of GCC and libgccjit?