[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootstrap failure on master with native compilation for Windows
From: |
Eli Zaretskii |
Subject: |
Re: Bootstrap failure on master with native compilation for Windows |
Date: |
Sat, 26 Oct 2024 22:17:08 +0300 |
> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Sat, 26 Oct 2024 20:00:45 +0100
>
> Hi,
>
> Building from latest master branch on Windows using the mingw64
> toolchain works if native compilation is disabled.
>
> With native compilation enabled, there is an error in a bootstrap build
> from a clean tree when dumping:
>
> GEN autoloads
>
> C:/emacs/git/emacs/master/src/lread.c:5485: Emacs fatal error: assertion
> failed: NILP (Vcomp_abi_hash)
>
> Backtrace:
> 0000000400281213
> 000000040010ab11
> 000000040018477c
> 00000004001fda5d
> 00000004002b112b
> 00000004002af8e1
> 0000000400308e86
> 00000004000012e1
> 00000004000013ee
> 000000067261736c
> 000000067441cc89
> make[2]: *** [Makefile:203: autoloads] Error 3
> make[2]: Leaving directory
> '/c/emacs/git/emacs/master/build/mingw64-x86_64-O2-native/lisp'
>
>
> Running a git bisect points to commit edf37e811caf ("Implement drawing
> text with DirectWrite on MS-Windows.").
>
> Possibly something to do with defsubr calls in syms_of_w32dwrite, and the
> latter being called in the wrong initialisation order ?
Does it help to move the following part out of syms_of_w32dwrite to
the top level of that file?
DEFVAR_BOOL ("w32-inhibit-dwrite", w32_inhibit_dwrite,
doc: /* If t, don't use DirectWrite. */);