From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#52376: 28.0.90; libdir is missing from native-comp-eln-load-path with GTK3 build Date: Thu, 09 Dec 2021 20:14:41 +0000 Message-ID: References: <83a6hbvw5d.fsf@gnu.org> <838rwvvtqs.fsf@gnu.org> <83zgpavoui.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15952"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 52376@debbugs.gnu.org To: Bhavin Gandhi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 09 21:15:49 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 1mvPpV-0003xs-5q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 21:15:49 +0100 Original-Received: from localhost ([::1]:48032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvPpT-0005C6-LC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 15:15:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvPon-0005Bd-PO for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 15:15:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvPok-0001WF-LV for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 15:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvPok-00010f-GF for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 15:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2021 20:15:02 +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.16390808863844 (code B ref 52376); Thu, 09 Dec 2021 20:15:02 +0000 Original-Received: (at 52376) by debbugs.gnu.org; 9 Dec 2021 20:14:46 +0000 Original-Received: from localhost ([127.0.0.1]:44850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvPoT-0000zv-Ob for submit@debbugs.gnu.org; Thu, 09 Dec 2021 15:14:45 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:56152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvPoQ-0000zk-Je for 52376@debbugs.gnu.org; Thu, 09 Dec 2021 15:14:44 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 1B9KEf5H026362 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 9 Dec 2021 20:14:41 GMT In-Reply-To: (Bhavin Gandhi's message of "Thu, 9 Dec 2021 23:59:40 +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:222016 Archived-At: Bhavin Gandhi writes: > On Thu, 9 Dec 2021 at 22:53, Andrea Corallo wrote: >> >> I suggest to set a breakpoint at pdumper.c:5321 and print 'fndata' to >> see where we do expect to find the installed eln we don't find. > > It did not reach that breakpoint, and Emacs just started as usual. Seems > like the RELOC_NATIVE_COMP_UNIT case is not getting matched. Actually this is very bizarre. A native compiled Emacs that has been dumped has to go through there to startup so either: 1- we are debugging temacs and non emacs 2- emacs was compiled with native compilation 3- the breakpoint is not working as expected, maybe because it's an optimized build. I guess most likely we are looking at case 3 here. Could you try in this case building pdumper.c (or all Emacs) with -O0 -g3? Thanks Andrea