--- Begin Message ---
Subject: |
30.0.50; GCC 13.1 breaks building Emacs with native-compilation |
Date: |
Mon, 08 May 2023 10:16:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi all,
I'm on Win10 with Msys2/MinGW64 and GCC 13.1 landed on my HD. Now Emacs
doesn't build anymore when I pass '--with-native-compilation' to
configure. In summary (tried with master 3adc1e7f37):
$ git clone --depth=1 https://git.savannah.gnu.org/git/emacs.git
emacs-build-test
$ cd emacs-build-test
$ ./autogen.sh
$ ./configure --with-native-compilation
$ make
Works with
gcc.exe (Rev7, Built by MSYS2 project) 12.2.0
and breaks with
gcc.exe (Rev4, Built by MSYS2 project) 13.1.0
emitting
--8<---------------cut here---------------start------------->8---
ELC+ELN ../lisp/font-core.elc
ELC+ELN ../lisp/font-lock.elc
ELC+ELN ../lisp/format.elc
ELC+ELN ../lisp/frame.elc
Error: wrong-type-argument ("../lisp/frame.el" number-or-marker-p
Backtrace:
00007ff6e577a12e
00007ff6e5648be1
00007ff6e5669601
00007ff6e57de84a
00007ff9b7977ff0
00007ff9b81b23d7
00007ff9b816149c
00007ff9b81b0f06
00007ff6e56ffc23
00007ff6e5701300
00007ff6e56dc492
00007ff6e56dd3e5
00007ff6e56d80fa
00007ff6e56d8448
00007ff6e56d8af9
00007ff6e56d9725
00007ff6e56d9979
00007ff6e56d80fa
00007ff996e9af72
00007ff6e56d80fa
00007ff996e9c1a7
00007ff6e56d80fa
00007ff996e9c3ad
00007ff6e56d80fa
00007ff6e56dc0f6
00007ff6e56dce05
00007ff6e56dc2bf
00007ff6e56dce95
00007ff6e56dc2bf
00007ff6e56de205
00007ff6e56dc2bf
00007ff6e56dccb5
00007ff6e56dc2bf
00007ff6e56de205
00007ff6e56dc2bf
00007ff6e56dc5e5
00007ff6e56dc2bf
00007ff6e56dc2bf
00007ff6e56ddded
00007ff6e56dc2bf
00007ff6e56ddded
00007ff6e56dc2bf
00007ff6e56dd3e5
00007ff6e56dd9d6
00007ff6e56dbc5d
00007ff6e56ddded
00007ff6e56dc2bf
00007ff6e56dd3e5
00007ff6e56dd9d6
00007ff6e56dbc5d
00007ff6e56de3ae
00007ff6e56dc2bf
00007ff6e56ddded
00007ff6e56dc2bf
00007ff6e56dce05
00007ff6e56dc2bf
00007ff6e56dd3e5
00007ff6e56dd9d6
00007ff6e56dbc5d
00007ff6e56de9aa
00007ff6e56d6735
00007ff6e5649fb5
...
make[3]: *** [Makefile:283: ../lisp/frame.elc] Error 3
make[2]: *** [Makefile:842: ../lisp/frame.elc] Error 2
make[2]: Leaving directory '/z/emacs-build-test/src'
make[1]: *** [Makefile:544: src] Error 2
make[1]: Leaving directory '/z/emacs-build-test'
make[1]: Entering directory '/z/emacs-build-test'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[1]: *** [Makefile:414: advice-on-failure] Error 2
make[1]: Leaving directory '/z/emacs-build-test'
make: *** [Makefile:370: all] Error 2
--8<---------------cut here---------------end--------------->8---
I haven't tried "make V=1" yet.
Building Emacs with
$ git clone --depth=1 https://git.savannah.gnu.org/git/emacs.git
emacs-build-test
$ cd emacs-build-test
$ ./autogen.sh
$ ./configure --without-native-compilation
$ make
is successful with GCC 13.1, OTOH.
Best, Arash
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#65727: bug#63365: bug#65727: 30.0.50; Build failure in MSYS2 when --with-native-compilation |
Date: |
Sat, 18 May 2024 13:30:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Cyril Arnould <cyril.arnould@outlook.com> writes:
>> Cyril could you confirm works for you as well?
>
> It does. Thank you all for sticking this one out!
Thank you, it would be not soved without you.
Closing this then.
Thanks
Andrea
PS @Eli not sure if more releases are planned on 29 and so if we want to
backport it.
--- End Message ---