[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Branch scratch/correct-warning-pos now bootstraps with or without na
From: |
Alan Mackenzie |
Subject: |
Re: Branch scratch/correct-warning-pos now bootstraps with or without native compilation. |
Date: |
Fri, 31 Dec 2021 23:28:27 +0000 |
Hello Brahimi.
On Thu, Dec 30, 2021 at 18:09:07 -0300, Brahimi Saifullah wrote:
> I can't seem to build this on Windows.
> CCLD temacs.exe
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> comp.o: in function `emit_SYMBOL_WITH_POS_SYM':
> C:\emacs\2912\src/comp.c:1487: undefined reference to
> `gcc_jit_context_new_location'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> comp.o: in function `emit_EQ':
> C:\emacs\2912\src/comp.c:1499: undefined reference to
> `gcc_jit_context_new_location'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> C:\emacs\2912\src/comp.c:1499: undefined reference to
> `gcc_jit_context_new_location'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [Makefile:691: temacs.exe] Error 1
> make[1]: Leaving directory '/c/emacs/2912/src'
> make: *** [Makefile:452: src] Error 2
Yes, these calls to gcc_jit_context_new_location were just there to
produce diagnostic information. I'd forgotten I'd put them in, and I
wasn't aware they hadn't been made available in Windows. (I don't have
a Windows box I can test on.)
Anyway, I've taken them out. So, if you haven't implemented Eli's
solution, please feel free to download this year's version, and try
again.
Thank you indeed for trying this out and spotting a mistake. :-)
Happy New Year!
--
Alan Mackenzie (Nuremberg, Germany).