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#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function Date: Tue, 22 Aug 2023 16:29:25 +0300 Message-ID: <831qfvtdca.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65455@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 15:30:24 2023 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 1qYRSi-0002YO-5d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 15:30:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYRSM-0000dn-QY; Tue, 22 Aug 2023 09:30:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYRSL-0000d1-B4 for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:30:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYRSL-0004CU-2e for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:30:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYRSN-0007I4-9v for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 13:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65455 X-GNU-PR-Package: emacs Original-Received: via spool by 65455-submit@debbugs.gnu.org id=B65455.169271095727945 (code B ref 65455); Tue, 22 Aug 2023 13:30:03 +0000 Original-Received: (at 65455) by debbugs.gnu.org; 22 Aug 2023 13:29:17 +0000 Original-Received: from localhost ([127.0.0.1]:58761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYRRd-0007Ge-6Y for submit@debbugs.gnu.org; Tue, 22 Aug 2023 09:29:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYRRb-0007GO-52 for 65455@debbugs.gnu.org; Tue, 22 Aug 2023 09:29:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYRRS-00046b-Q3; Tue, 22 Aug 2023 09:29:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+VwjnA5K42OuGhLT+NKq/588G/vOeCd/E75V6M+Ycgs=; b=B80Ki2Xcb4MUvX1UXZ1U sKFf3Ls+DSxMk9QSjS2of0jqSQ9iH+jZ+FMk8yzuZMmth/7HQ5kGO4NJDGH8kOhegL7i5Gjlt5oGY cBrYbnL3c9mwbgF16OYoRLFG+h3xuqiAIr/PBJefIVhZGHxEdTyqHidZSnJ76MzIww1EN7Gv/em9y ysQ4Uk6i3SIWqIBhOjhc4B4a1M8KXmLelGE7miep3tRWi6mx2aSyKYmPAXXQltgyWFscBfFX4FtJc boUEU6lDxtS6ohKmXEUJ+yDoFF/E06JwYtYRmi/CeOzDlsEsgA+pGIO+Y2nQU8e/umU/V6K8iQUD7 BoTCKHXGUTa81w==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Tue, 22 Aug 2023 15:17:21 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268173 Archived-At: > From: Gerd Möllmann > Date: Tue, 22 Aug 2023 15:17:21 +0200 > > In *scratch*, evaluate > > (defun foo (a b) > (list a b)) > > (native-compile 'foo) > (disassemble 'foo) > > This gives an error in disass.el, around line 98 that a re-search fails, > but the real error might be that, in the lines above, objdump is called > on a file that does not exist. > > Workaround is to save the function to a file, native-compile that file, > and load the resulting .eln. Then the disassemble works as expected. What happens if you do (native-compile 'foo "foo.eln") instead? Adding Andrea.