GNU bug report logs - #63365
30.0.50; GCC 13.1 breaks building Emacs with native-compilation

Previous Next

Package: emacs;

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: Arash Esbati <arash <at> gnu.org>
To: Cyril Arnould <cyril.arnould <at> outlook.com>
Cc: "63365 <at> debbugs.gnu.org" <63365 <at> debbugs.gnu.org>, "eliz <at> gnu.org" <eliz <at> gnu.org>, AndrĂ¡s Svraka <svraka.andras <at> gmail.com>, " akrl <at> sdf.org" <akrl <at> sdf.org>
Subject: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation
Date: Thu, 22 Jun 2023 22:34:48 +0200
Cyril Arnould <cyril.arnould <at> outlook.com> writes:

> I've been playing around with compiler options. From my findings, the
>
> -foptimize-sibling-calls flag breaks the build:

Many thanks for digging into this.  I can confirm that Emacs builds with
-fno-optimize-sibling-calls in CFLAGS.  I have a script which (now)
does:

  CFLAGS='-O3 -g0 -pipe -fno-optimize-sibling-calls' \
  ./configure ...

and it works again.

Now the question is: Is this considered a GCC bug and we should close
this report as notabug?

Best, Arash




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.