GNU bug report logs -
#63365
30.0.50; GCC 13.1 breaks building Emacs with native-compilation
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Mon, 8 May 2023 08:17:02 UTC
Severity: normal
Tags: moreinfo
Merged with 65727
Found in version 30.0.50
Done: Andrea Corallo <acorallo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> These addresses are not useful anywhere but on your system. So either
> run this command under GDB and post a human-readable source-level
> backtrace,
Thank. I tried that, i.e.,
$ ./autogen.sh
$ ./configure --with-native-compilation
$ gdb
$ (gdb) make
But backtrace in gdb returns nothing (nothing on stack IIRC). Do I have
to do something else?
> or at least convert the above list of addresses to a list of file
> names, function names, and line numbers as explained in the node
> "Crashing" of the Emacs user manual.
The recipe from the manual[1] doesn't work since:
$ sed -n 's/.*\[\(.*\)]$/\1/p' lisp/emacs_backtrace.txt
prints nothing on addresses like:
00007ff67feca12e
00007ff67fd98be1
00007ff67fdb9601
Am I missing something?
Another observation after reading etc/DEBUG: The build is successful if
I follow the advice there and do:
$ ./configure --with-native-compilation CFLAGS='-O0 -g3'
Does this make sense?
Best, Arash
Footnotes:
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html
This bug report was last modified 1 year and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.