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
Message #191 received at 63365 <at> debbugs.gnu.org (full text, mbox):
> From: Cyril Arnould <cyril.arnould <at> outlook.com>
> CC: "63365 <at> debbugs.gnu.org" <63365 <at> debbugs.gnu.org>
> Date: Wed, 28 Jun 2023 23:16:58 +0000
>
> Ok, I think I got it; it's src/thread.c. The following build succeeds:
>
> git clean -xdf
> git checkout emacs-29.0.92
> ./autogen.sh
> ./configure --with-native-compilation
> cd src
> make temacs.exe
> make thread.o -W thread.c CFLAGS='-g3 -O2 -gdwarf-2 -fno-optimize-sibling-calls'
> cd ..
> make
OK, so I guess the next step is to compare the code produced from
thread.c between these two compilations. Like this:
cd src
objdump -d -S thread-with.o > with.txt
objdump -d -S thread-without.o > without.txt
diff -ubBw with.txt without.txt
where the two *.o files are thread.o you get when compiling,
respectively, with and without -fno-optimize-sibling-calls option.
Then post here the two *.txt files and the diffs, and let's see where
this leads us. (I hope the two *.txt files will not be identical...)
Thanks.
This bug report was last modified 1 year and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.