From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function Date: Tue, 22 Aug 2023 15:17:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26276"; mail-complaints-to="usenet@ciao.gmane.io" To: 65455@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 15:18:25 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 1qYRH7-0006f1-Au for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 15:18:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYRGk-0001bP-3B; Tue, 22 Aug 2023 09:18: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 1qYRGi-0001aj-PZ for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:18:00 -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 1qYRGi-0000t4-Ge for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:18:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYRGk-00070Y-NA for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65455 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169271027426920 (code B ref -1); Tue, 22 Aug 2023 13:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Aug 2023 13:17:54 +0000 Original-Received: from localhost ([127.0.0.1]:58751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYRGb-000708-UM for submit@debbugs.gnu.org; Tue, 22 Aug 2023 09:17:54 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:35070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYRGa-0006zp-5D for submit@debbugs.gnu.org; Tue, 22 Aug 2023 09:17:52 -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 1qYRGD-00011C-Ot for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:17:31 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYRGA-0000ja-3b for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 09:17:29 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5230a22cfd1so5608153a12.1 for ; Tue, 22 Aug 2023 06:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692710244; x=1693315044; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=JH0xffCnacqVslkmrSQSobRCtx/vy+vccC6ZYlVdV38=; b=Svy9rVfXvK2IWIU96IheKo/BXVmteoh9dtIXmbF19DZvwGk0RsKwOKDJfA0hWLBBuZ geVk/fZqzsRCKKLTaetgRjfsAHIAOVzSwwzpIeAUTKWtJ8ioSRWlLY1kY+yAE0kAE+zv UGmEaBRojiZidxooaVXNFaG59p4yLY7bJ5s/hnIFWTZNEegwGAcgjfTzOfnCnWL3AxbO 9fndpXYeTieRcE3bUec7HldvZ5aV+358mYQriNbJuDTKDcLswUBjLlrX0MwCfiVSnQDe GnH0rR1vyxHvftbr4JjUM5fdWEbM4l3pOxc8rciDV6Hn06i17gRQJiuaDC8DU8wRSwdP oLXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692710244; x=1693315044; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JH0xffCnacqVslkmrSQSobRCtx/vy+vccC6ZYlVdV38=; b=dziQVR2uqwS3pq1GjJ3R2rUSeyw8dDQT1i+JfMZrTP0ocrBtSZSMBIOmJi62gTGNf7 RY8NaZN2c8cy4ixvw11nBQ9engeBVXsohrpWyoljt3GXIxwJH0kl+3q68BPO5aDLKGTU TF6vc+Mk6HSqIErBLuX5bVbzut41YEUn9rRjrV5klDz/+1313IgGK/hbdUphCLqTegym HwvgN4X3d16YJXIgWzqoUNQAad0bPZefKrIsD4UorZRUYFVzOlVEd/dqgBbTZevyxxtK eu5YFC5cmuqX9loSuPtE8jhbG+UF0f/8AN5aK6qnh2eFKQNvFjB/6oxmnKP6EHO1fVK+ Zlyg== X-Gm-Message-State: AOJu0Ywz6R7K1ap4ViEI4DJkaSK0s8gS1PIUsSIM27aNuvtWli/+v9FH 9mpPAG5kf4pvIG91qMZJqdRXgLgVGK546pAA X-Google-Smtp-Source: AGHT+IECgxYE3m2GNsopfxbLQDhCDC9P8saKPriVr5rBs8T4+bqKBU+DpTxevVFqzM5D8PJ6ashZhg== X-Received: by 2002:aa7:df0e:0:b0:522:b112:6254 with SMTP id c14-20020aa7df0e000000b00522b1126254mr7501791edy.4.1692710243919; Tue, 22 Aug 2023 06:17:23 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e363f4.dip0.t-ipconnect.de. [217.227.99.244]) by smtp.gmail.com with ESMTPSA id d19-20020a056402517300b005272523b162sm7496834ede.69.2023.08.22.06.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Aug 2023 06:17:23 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:268172 Archived-At: 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. In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.6.0, NS appkit-2299.70 Version 13.5 (Build 22G74)) of 2023-08-22 built on Mini.fritz.box Repository revision: fe6009795211844ae2deda602c197cb57265eb64 Repository branch: scratch/pkg Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.5 Configured using: 'configure --cache-file /Users/gerd/tmp/config.cache.pkg --with-native-compilation --disable-silent-rules 'CFLAGS=-g -O0''