From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree Date: Tue, 9 Mar 2021 08:35:18 +0000 Message-ID: References: <861rd1tbpa.fsf@gmail.com> <83pn0km6y3.fsf@gnu.org> <86ft1f8ara.fsf@gmail.com> <83sg5cjdn8.fsf@gnu.org> <83r1kwjcy2.fsf@gnu.org> <8335x6u9o4.fsf@gnu.org> <83zgzesrku.fsf@gnu.org> <83tupms4mp.fsf@gnu.org> <83eegpspjk.fsf@gnu.org> <83r1kpr03h.fsf@gnu.org> <83im61qsnj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28813"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, 46256@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 09 09:37:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJXrm-0007No-5M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 09:37:22 +0100 Original-Received: from localhost ([::1]:37500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJXrl-0004ji-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 03:37:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJXrT-0004iU-7M for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 03:37:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJXrS-0006yj-Cz for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 03:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJXrS-0001NR-Aw for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 03:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Mar 2021 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46256 X-GNU-PR-Package: emacs Original-Received: via spool by 46256-submit@debbugs.gnu.org id=B46256.16152789625205 (code B ref 46256); Tue, 09 Mar 2021 08:37:02 +0000 Original-Received: (at 46256) by debbugs.gnu.org; 9 Mar 2021 08:36:02 +0000 Original-Received: from localhost ([127.0.0.1]:45570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJXqT-0001Lr-Uh for submit@debbugs.gnu.org; Tue, 09 Mar 2021 03:36:02 -0500 Original-Received: from mail-oi1-f179.google.com ([209.85.167.179]:43541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJXqS-0001LS-C8 for 46256@debbugs.gnu.org; Tue, 09 Mar 2021 03:36:00 -0500 Original-Received: by mail-oi1-f179.google.com with SMTP id d20so14081328oiw.10 for <46256@debbugs.gnu.org>; Tue, 09 Mar 2021 00:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M2fMnfw62ACUrYwbftlHiGOP2JnDUXuDGuDj2bg+SaE=; b=aVLTfqvpwMf9J739ih1aM5X09BGepGIEKlBvMcRADu1p6Wn72i/uPYUpy0HIYKEca/ g2FDUVgI/RFmuzO0+eciOeEP2qTswujcZ9xwMmTk4G3K+SiX3Y0Pa6uTr47ciOtYjHF4 Ie4sD1nWaf3p+svLP2StkIFYRckGWqHwU63YFzh8IYG5hEIFz4fgF5qr2TKOz88azWb6 BCZTaMlbVCg+dMkNl2hL+OZSLfsbbi4wyrQjA1gajBmwRXHurJ/I2HJ8NfU8gHpIokSw pnV17wvweZFi2SgaMlCx0Guka8JNhJ9RPYIAhYzaHw+bAZ4qB6pT+/PRILjbAolAZTqF GOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M2fMnfw62ACUrYwbftlHiGOP2JnDUXuDGuDj2bg+SaE=; b=StiTLh2mhMDaG3ArZZs1gTxWjTYjWdSgocdQwAPesaa+ERF9rHO4ccpcBojWdStg09 1kQGZHQFEtsE+dYkn4/qQM5Q2PWvKnj2c7MU2CQAwDxdIeUBDhf+KIpzZEkKqsmIJ9h8 1+NLdQwE8N5UDy+GKL8VUpQG1e5DkoEV4cx4bENCgAiJTB/L3ceDQ3FgXpmSYjJPz1Dk 2IslLB0tvhQWHRjG2Xr6iq+lxwDgY94YX1SogYR0Kg6MRHG5dI0IdnCtM8DCw22sbRIP acIfiuq2cbuffa+7Qe2ArBK9HcZ7nKxSHcc8MSomUJUzyysvG1bRWlgzfqb3TuP5NZ+e 21Zw== X-Gm-Message-State: AOAM5313fbWlDYm/rtfDj3+DN50cxraeYB6Kbs/k7PLgoAMBLzmrh/Ie NS3MReNY8jXG/wtyLJXvPatM2QQhbC8aS+yTK/w= X-Google-Smtp-Source: ABdhPJxfai2iR26juVtnCzfXZUNwwNzbeqqUljg+fgtE/sBcXTEgI4uCYK33csFOXGYgKO3POQzRrj1gLDYK4LvaCWo= X-Received: by 2002:aca:aad6:: with SMTP id t205mr2217197oie.122.1615278954657; Tue, 09 Mar 2021 00:35:54 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201904 Archived-At: On Tue, Mar 9, 2021 at 8:28 AM Andrea Corallo wrote: > Pip Cet writes: > > On Mon, Mar 8, 2021 at 8:47 PM Eli Zaretskii wrote: > >> > From: Pip Cet > >> > Date: Mon, 8 Mar 2021 18:32:55 +0000 > >> > Cc: Eli Zaretskii , 46256@debbugs.gnu.org, andrewjmoreton@gmail.com > >> > > >> > What's saved_cu, actually? > >> > >> Not sure I understand the question. Is the below what you wanted to > >> see? > >> > >> (gdb) p saved_cu > >> $6 = (Lisp_Object *) 0x6a5b2e7c > > > > Yes! I believe we've found another bug. > > > > We were allocating comp_unit as a Lisp_Object **, but it's actually a > > Lisp_Object. > > Uops! Thanks I've installed this as 380ba045c4. Thank you! > BTW this is apparently fixing also my 32bit wide int GC issue. Excellent, we were in luck there, then :-) I think the only mystery left here, assuming the bug doesn't happen again, is why GDB reports a different shared library address from what LoadLibrary returned. I think it might be because GDB looks at the actual mmap state, and the DLL header might have been read in rather than mmapped. Pip