GNU bug report logs - #65640
30.0.50; segfault when building emacs with native-comp

Previous Next

Package: emacs;

Reported by: StrawberryTea <look <at> strawberrytea.xyz>

Date: Wed, 30 Aug 2023 22:34:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 65640 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: LemonBreezes <look <at> strawberrytea.xyz>
Cc: 65640 <at> debbugs.gnu.org, acorallo <at> gnu.org
Subject: Re: bug#65640: 30.0.50; segfault when building emacs with native-comp
Date: Fri, 01 Sep 2023 18:28:42 +0300
> Date: Fri, 01 Sep 2023 10:05:52 -0500
> From: LemonBreezes <look <at> strawberrytea.xyz>
> Cc: 65640 <at> debbugs.gnu.org
> 
> Okay. So I noticed that even though Emacs was running, the native
> compiler was segfaulting in the background. So I recompiled Emacs with
> GCC and no optimizations nor patches and I still see that native compilation is
> segfaulting on org-element.el. I have attached some verbose logs:
> https://0x0.st/HpjT.txt
> 
> I don't know how to get a backtrace. If I run Emacs with GDB, libgccjit
> gives me a segfault in the *Async-native-compile-log* but Emacs itself
> does not segfault.

What happens if you compile org-element.el by invoking
emacs-lisp-native-compile?  That is:

  emacs -Q
  C-x C-f lisp/org/org-element.el RET
  M-x emacs-lisp-native-compile RET

Does Emacs crash if you do the above?  If so, run the above under GDB,
and show the backtrace.

Thanks.




This bug report was last modified 1 year and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.