GNU bug report logs - #50316
Latest git version doesn't build on Win with MSYS2

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Wed, 1 Sep 2021 10:35:01 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50316 in the body.
You can then email your comments to 50316 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50316; Package emacs. (Wed, 01 Sep 2021 10:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arash Esbati <arash <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 01 Sep 2021 10:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: emacs-bugs <bug-gnu-emacs <at> gnu.org>
Subject: Latest git version doesn't build on Win with MSYS2
Date: Wed, 01 Sep 2021 12:33:37 +0200
Hi all,

I updated my local repo to 2c662e6d66 and after the successful configure
(which enables native compiler), the make process stops with:

  [...]
  CC       image.o
  CC       json.o
  CC       tparam.o
  CC       lastfile.o
  CCLD     temacs.exe
z:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o:comp.c:(.text+0x199a): undefined reference to `gcc_jit_context_new_cast'
z:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o:comp.c:(.text+0x19ec): undefined reference to `gcc_jit_context_new_cast'
z:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o:comp.c:(.text+0x1ae2): undefined reference to `gcc_jit_context_new_cast'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:633: temacs.exe] Error 1

I suspect it is due to commit 6767e55659.  My current working Emacs repo
version is 670b423ebc which built without problems.  This is with gcc
10.3.

Best, Arash




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50316; Package emacs. (Thu, 02 Sep 2021 06:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 50316 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: 50316 <at> debbugs.gnu.org
Subject: Re: bug#50316: Latest git version doesn't build on Win with MSYS2
Date: Thu, 02 Sep 2021 08:38:22 +0200
Arash Esbati <arash <at> gnu.org> writes:

> z:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> comp.o:comp.c:(.text+0x199a): undefined reference to
> `gcc_jit_context_new_cast'

Yup.  This was fixed yesterday in bug#50315.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 50316 <at> debbugs.gnu.org and Arash Esbati <arash <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 02 Sep 2021 06:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Sep 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 202 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.