GNU bug report logs - #46256
[feature/native-comp] AOT eln files ignored if run from build tree

Previous Next

Package: emacs;

Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>

Date: Tue, 2 Feb 2021 11:12:02 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 46256 <at> debbugs.gnu.org, andrewjmoreton <at> gmail.com
Subject: Re: bug#46256: [feature/native-comp] AOT eln files ignored if run
 from build tree
Date: Fri, 05 Mar 2021 17:00:12 +0200
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: 46256 <at> debbugs.gnu.org, andrewjmoreton <at> gmail.com
> Date: Fri, 05 Mar 2021 14:04:58 +0000
> 
> > Maybe if I "stepi" inside that last libgccjit function, I will be able
> > to advance more.  But something is definitely fishy here, and I'm not
> > sure what that is.  Ideas for further debugging are welcome.
> 
> Not many here, just two Mr. obvious observations:
> 
> Recompiling comp.c at -O0 -g3 might help the broken stepping?

comp.c (and all of Emacs) is already compiled with those options, as
this is an unoptimized build.  And anyway, I'm stepping through the
code of libgccjit, not comp.c, when the crash happens.

> Is SSDATA (tmp_file) containing something not meaningful or maybe
> suspicious?

The file name is fine.

Thanks, I guess I will keep debugging this, then

(The garbled callstack hints on some memory-related issue.  Hmmm...)




This bug report was last modified 4 years and 129 days ago.

Previous Next


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