Subject: bug#64167: 29.0.92; Ahead-of-time native compilation failed Emacs 29.0.92

From: Eli Zaretskii <[email-masked]>
Date: Wed, 21 Jun 2023 14:06:33 +0300

> From: Eason Huang <[email-masked]>
> Cc: Corwin Brust <[email-masked]>,  [email-masked]
> Date: Wed, 21 Jun 2023 14:05:13 +0800
> 
> Yes, you are right. I tried to download source code from
> https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-2bad5829ff76538774676f7274f40ce7baf04c73.tar.gz
> 
> And it can be build --with-native-compilation=aot
> 
> But it will failed with some errors on Windows 10 and Windows 11:
> ```
>   ELC+ELN  erc/erc-menu.elc
>   ELC+ELN  erc/erc-netsplit.elc
>   ELC+ELN  erc/erc-networks.elc
> 
> Backtrace:
> 00007ff6a78ca72e
> 00007ff6a7798b21
> 00007ff6a77b9611
> 00007ff6a792ee8a
> 00007ffa37c47ff0
> 00007ffa38712477
> 00007ffa386c14ec
> ```

And the build without aot succeeds and can successfully natively
compile those same files (erc-networks.el) without problems?

If the build without aot also fails, then this is a separate problem
and should be discussed in a separate bug report.  It might be the
same problem reported and discussed in bug#63365 (are you also using
GCC 13.1?).