Subject: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation

From: Eli Zaretskii <[email-masked]>
Date: Sat, 27 May 2023 09:00:33 +0300

> From: Arash Esbati <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Fri, 26 May 2023 21:21:58 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > So now converting the addresses from emacs_backtrace.txt manually is
> > the only way forward, it seems.
> 
> Thanks, so I did:
> 
>   • cd emacs-build-test/src
>   • gdb ./emacs.exe
>   • (gdb) list *0x00007ff6ae7fa12e (taken from emacs_backtrace.txt)
> 
> but GBD returns nothing.  Is there any other recipe to this?

Is this what you get for all the addresses in emacs_backtrace.txt?
Some of them, especially the ones close to the top, are expected to
yield nothing, but not all of them.

Also, try doing the same after letting the program run to the
beginning of the 'main' function, like this:

  cd emacs-build-test/src
  gdb ./emacs.exe
  (gdb) start run -batch --no-site-file --no-site-lisp ...

(with the rest of the arguments you saw in the crashed command).