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:28:32 +0300 Message-ID: <835y94dmi7.fsf@gnu.org> References: <86r0rs8b6r.fsf@gnu.org> <83a5ygdx1i.fsf@gnu.org> <86ttwoawtr.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11214"; 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 20:28:17 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 1pvj7H-0002ia-Tb for ged-emacs-devel@m.gmane-mx.org; Sun, 07 May 2023 20:28:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvj6h-0003B1-FQ; Sun, 07 May 2023 14:27:39 -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 1pvj6e-0003Ac-LK for emacs-devel@gnu.org; Sun, 07 May 2023 14:27: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 1pvj6d-00034g-T1 for emacs-devel@gnu.org; Sun, 07 May 2023 14:27:36 -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=7ua6FRf9zqO+S738EyLH/Ma20X12/bkRtLGjzOWXqQI=; b=mIKGf7V2XEER lXQ05wftVuTYNwmd9+ycXZ3+lYovypdoJBp47iTSHjpuddziSkvnEu9snf2B4lby9YbZJpz18yiBw gZTNPWonew3Q2AZgQlEEyCCFnXcbQOg1G08uztcvkvMTZbVJMCs6qtzI/ztm2hqJN+yqPFkokxOMo AyLqKZQbhkdpmls2PulL0Akfg+KzXwsm7FXMZ2xDm/IqX/zTrnXgAukNPp0ZCWVRcFm3deWCdZZEt PklCmep0dvje+lQG/xBbKkwASLZaSy//EZmktZsSJvloIuI5RUsWnrOjNv2Mv5g1lqXqN5M5Tpdn5 iE6o30AOSgbo8uaxOklTUA==; 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 1pvj6c-0005Kz-CN; Sun, 07 May 2023 14:27:34 -0400 In-Reply-To: <86ttwoawtr.fsf@gnu.org> (message from Arash Esbati on Sun, 07 May 2023 19:13:52 +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:305963 Archived-At: > From: Arash Esbati > Cc: emacs-devel@gnu.org > Date: Sun, 07 May 2023 19:13:52 +0200 > > Eli Zaretskii writes: > > > Does the same tree build OK with older versions of GCC and libgccjit? > > This is the tree I always used to build Emacs which worked with older > versions of GCC and libgccjit; last successful build was 605414d018; > currently my tree is up-to-date with commit d5ab8b6f24. I haven't > reverted GCC or Emacs yet, I will start playing with it now. > > In your other mail, you wrote: > > > Also, did you try building a completely fresh clone of the repository? > > I tried it (d5ab8b6f24). It says: > > 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? > And while we're at it: Shouldn't 'git clean -fdx' give me the same state > as a fresh clone? I don't trust that 110%, so a fresh clone is more reliable.