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 21:39:14 +0300 Message-ID: <831qjsdm0d.fsf@gnu.org> References: <86r0rs8b6r.fsf@gnu.org> <83a5ygdx1i.fsf@gnu.org> <86ttwoawtr.fsf@gnu.org> <835y94dmi7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: arash@gnu.org, Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 07 20:38:44 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 1pvjHP-0005fn-Vg for ged-emacs-devel@m.gmane-mx.org; Sun, 07 May 2023 20:38:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvjH4-00068v-9Q; Sun, 07 May 2023 14:38:23 -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 1pvjH3-00068n-8K for emacs-devel@gnu.org; Sun, 07 May 2023 14:38:21 -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 1pvjH2-0005us-W6; Sun, 07 May 2023 14:38:21 -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=9k9dDKRMIAhpjfz/PPL+UkO+tM41emArScJBKuWMAnE=; b=HCDJHgBAQS4/ JloR1+RRIyLasKdUPY2JhDIym8HLSvY58Ga891dIwQzNC7vQTztXPwuH+WFCGgnwhdQIhpJwHNk7i 4vblEh3cDkNGIHQ++QTDQkogQnHDbnLcCh7ntF3AkFGbU9tNqQLzzpkuR53wO6Usfc0B0mmk9dSTm PuIMhv4A8bU2ja7UbqNG4TsRz9a1mEJMEKx25g7Da4afT+Ink7ooYwgzQAKPsrsEuudTKOFIKjDCJ XLZ2bh0/jpz9z+7fCmYLFu6RM1YpU1sYl4eP1L5FtSq1TLF6a1HhJAyLi/bbCflp/YEQnyKzF7Q4Z eljSLt8yXQkfyc8mbQ13BQ==; 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 1pvjGx-0000Kk-Fc; Sun, 07 May 2023 14:38:19 -0400 In-Reply-To: <835y94dmi7.fsf@gnu.org> (message from Eli Zaretskii on Sun, 07 May 2023 21:28:32 +0300) 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:305965 Archived-At: > Date: Sun, 07 May 2023 21:28:32 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > ELC+ELN ../lisp/format.elc > > ELC+ELN ../lisp/frame.elc > > > > Error: wrong-type-argument ("../lisp/frame.el" number-or-marker-p > > Backtrace: > > 00007ff69417a12e > > 00007ff694048be1 > > 00007ff694069601 > > ... > > make[3]: *** [Makefile:283: ../lisp/frame.elc] Error 3 > > make[2]: *** [Makefile:842: ../lisp/frame.elc] Error 2 > > OK, so this is some real problem with this version of GCC and/or > libgccjit. What version of Binutils do you have installed, and was it > also updated when you installed GCC 13? I think the next step is to run one of the offending commands under GDB and show the backtrace from the crash. The file etc/DEBUG has some advice on debugging problems with native-compilation. I add Andrea to this discussion in the hope that he might have ideas and advice. And I think you should submit a bug report, so we could discuss this on the bug tracker, not here.