From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52376: 28.0.90; libdir is missing from native-comp-eln-load-path with GTK3 build Date: Fri, 10 Dec 2021 16:50:06 +0200 Message-ID: <83k0gcsee9.fsf@gnu.org> References: <83a6hbvw5d.fsf@gnu.org> <838rwvvtqs.fsf@gnu.org> <83zgpavoui.fsf@gnu.org> <83sfv0sncm.fsf@gnu.org> <83pmq4slb6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52376@debbugs.gnu.org, akrl@sdf.org To: Bhavin Gandhi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 10 15:52:39 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 1mvhGJ-00036F-28 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Dec 2021 15:52:39 +0100 Original-Received: from localhost ([::1]:53848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvhGH-0005Fd-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Dec 2021 09:52:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvhEk-0004V7-Bm for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 09:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvhEk-0000sj-2B for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 09:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvhEj-0001h4-Rp for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 09:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Dec 2021 14:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52376 X-GNU-PR-Package: emacs Original-Received: via spool by 52376-submit@debbugs.gnu.org id=B52376.16391478276461 (code B ref 52376); Fri, 10 Dec 2021 14:51:01 +0000 Original-Received: (at 52376) by debbugs.gnu.org; 10 Dec 2021 14:50:27 +0000 Original-Received: from localhost ([127.0.0.1]:46038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvhEB-0001g9-BM for submit@debbugs.gnu.org; Fri, 10 Dec 2021 09:50:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvhE8-0001ft-RS for 52376@debbugs.gnu.org; Fri, 10 Dec 2021 09:50:26 -0500 Original-Received: from [2001:470:142:3::e] (port=54750 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvhE3-0000Rr-Gz; Fri, 10 Dec 2021 09:50:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5H57Cx357nrwy6vO9F1UUninsptU8ZQISabxFLFb+gE=; b=F8IONmOGS2ri m6eaGUM63RlQL9G/eXVI1ghhzo0gsat/kiXYAh7KVgLofhLtmolsdQqFCO1b4KVi3n9yKSmz27k6L Uh/v22wW0ChR8aLdgrnqCgN0t3eDvzrkEvqLs8qlG/o7B4olQs78AwJcSU326RE1GzlVL0V3vPCQc 2bSxunBsqVSN9ab6SxWCB1jf+axlB2F88eSn+2/D6rjqFOUvdB1vTz0gUbihqjH4ML8JySBVFR4YR Y56TmKNUuPmV/o1FfkG+WhzLjw1JMMKUvq4tWBdc+LSJJ6HDrRG5rM9dYcjyWXj5ov2nGvpc0OY12 dmhgZfQyn1dEJhYBmhs+/A==; Original-Received: from [87.69.77.57] (port=1926 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvhE3-0004qN-B9; Fri, 10 Dec 2021 09:50:19 -0500 In-Reply-To: (message from Bhavin Gandhi on Fri, 10 Dec 2021 20:08:07 +0530) 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:222068 Archived-At: > From: Bhavin Gandhi > Date: Fri, 10 Dec 2021 20:08:07 +0530 > Cc: akrl@sdf.org, 52376@debbugs.gnu.org > > On Fri, 10 Dec 2021 at 17:51, Eli Zaretskii wrote: > > > > Does _any_ line of code under RELOC_NATIVE_COMP_UNIT case get > > executed? What if you set the breakpoint here: > > > > #ifdef HAVE_NATIVE_COMP > > case RELOC_NATIVE_COMP_UNIT: > > { > > static enum { UNKNOWN, LOCAL_BUILD, INSTALLED } installation_state; > > struct Lisp_Native_Comp_Unit *comp_u = <<<<<<<<<<<<<<<<<<<<<<< > > dump_ptr (dump_base, reloc_offset); > > comp_u->lambda_gc_guard_h = CALLN (Fmake_hash_table, QCtest, Qeq); > > > > (that's line number 5291), or on the next line, does that breakpoint > > break? If it does, please step through the code and tell what gets > > executed and why. > > Nope. It does not break on 5291 (RELOC_NATIVE_COMP_UNIT case) and on > 5362 (RELOC_NATIVE_SUBR) as well. > > When I set breakpoint on pdumper.c:5264, and print emacs_execdir it > gives "$1 = 0x0". So, HAVE_NATIVE_COMP is indeed defined. Which probably means the .pdmp file is somehow devoid of natively-compiled code, i.e. it was produced by dumping the *.elc files, not the *.eln files?