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
> From: Cyril Arnould <cyril.arnould <at> outlook.com>
> CC: "eliz <at> gnu.org" <eliz <at> gnu.org>, "63365 <at> debbugs.gnu.org"
> <63365 <at> debbugs.gnu.org>, " akrl <at> sdf.org" <akrl <at> sdf.org>,
> AndrĂ¡s Svraka <svraka.andras <at> gmail.com>
> Date: Fri, 16 Jun 2023 09:04:16 +0000
>
> I've been playing around with compiler options. From my findings, the
>
> -foptimize-sibling-calls flag breaks the build:
>
>
>
> ./autogen.sh
>
> CFLAGS='-g3 -O1 -gdwarf-2 -foptimize-sibling-calls' \
>
> ./configure --with-native-compilation
>
> make
>
>
>
> OTOH, using -O1 with every flag listed under -O2 *but*
>
> -foptimize-sibling-calls results in the build succeeding. The following
>
> works as well for me:
>
>
>
> ./autogen.sh
>
> CFLAGS='-g3 -O2 -gdwarf-2 -fno-optimize-sibling-calls' \
>
> ./configure --with-native-compilation
>
> make
Andrea, any reason that this GCC switch should break
native-compilation? Does the same problem happen on GNU/Linux?
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.