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#71292: 30.0.50; macOS: .elns have no debug info Date: Mon, 03 Jun 2024 11:30:39 -0400 Message-ID: References: <86le3qour9.fsf@gnu.org> <86frtxq2ih.fsf@gnu.org> <86a5k5q1c8.fsf@gnu.org> <868qzppzt6.fsf@gnu.org> <861q5hp3ti.fsf@gnu.org> <86y17nn8y3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7409"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 71292@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 03 17:32:06 2024 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 1sE9fK-0001hy-BM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jun 2024 17:32:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE9f6-0005I4-0t; Mon, 03 Jun 2024 11:31: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 1sE9f3-0005HZ-T9 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 11:31:49 -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 1sE9f3-0000Mc-Kh for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 11:31:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sE9fG-0007yg-GD for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 11:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2024 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71292 X-GNU-PR-Package: emacs Original-Received: via spool by 71292-submit@debbugs.gnu.org id=B71292.171742866330512 (code B ref 71292); Mon, 03 Jun 2024 15:32:02 +0000 Original-Received: (at 71292) by debbugs.gnu.org; 3 Jun 2024 15:31:03 +0000 Original-Received: from localhost ([127.0.0.1]:43563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE9eI-0007vu-E2 for submit@debbugs.gnu.org; Mon, 03 Jun 2024 11:31:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE9eG-0007vP-Ga for 71292@debbugs.gnu.org; Mon, 03 Jun 2024 11:31:00 -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 1sE9dy-00006J-9d; Mon, 03 Jun 2024 11:30:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=uIw7FqWGKjQCkqGoeI5Dw+tZEO65w1aHH7DXS9Pu+n8=; b=QqNw+lXGc19GfVnL/pJ1 Ih+dGxWj/8zI96eZzIxg0F9CNGXWQ6V9VlYJL8LcaY1UJZEc3eybUclR0SOTrqpeUYk1yqKL7QkXB rMFQFxmt05izQ0GUMJnbUffjm7V8J4/3Kq/f2Z9rv+qreVOgZNXgs6LNg7S3b4oxbMWFIZe8uf5Ix aHWbxptsg0wkgHHDZPIyUt55TAaev7xwe3/A67J5OLeTS4fcfBdPiS7gjXREQly/V9kidnY52YKHa Y3j8ogcH2mp71Vx4G3MuJA3RTP5Igyx04CJXqA3xaSpFq9D/cIirsR3iDcg4ju3IbTBlGm9yrR0d6 H6F6cQL99/s+Hg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sE9dw-0007e1-2d; Mon, 03 Jun 2024 11:30:42 -0400 In-Reply-To: <86y17nn8y3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Jun 2024 09:40:52 +0300") 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:286451 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: 71292@debbugs.gnu.org, Andrea Corallo >> Date: Sun, 02 Jun 2024 07:41:13 +0200 >>=20 >> > This should be reported to the GCC and libgccjit folks. The most >> > probable cause is incorrect DWARF debug info emitted by the compiler. >> > Alternatively, it could be that LLDB interprets the debug info >> > incorrectly. I sometimes see similar problems when debugging Emacs, >> > especially in optimized versions: arguments in function calls are >> > shown in reverse order, which of course is bogus, since the code >> > works as expected. >>=20 >> After reading the GCC "how to report a bug" advice, I don't think I can >> produce something useful for them in any reasonable time frame. >>=20 >> The jit people will also not be of great help I'm afraid. There seems to >> be no one in the know using macOS :-). > > I think you should still report that, as best as you can and could > afford to. It is way better than keeping the information here or to > yourself. Maybe someone will pick up the gauntlet. Or not. +1 >> BTW, I'm now using the attached change in my Emacs, which allows me to >> set native-comp-debug, -speed, and -driver-options via environment >> variables. Maybe that's something for Andrea (CC'd). > > In general, I don't like using environment variables for this, because > they are passed to sub-processes as well, something you don't > necessarily want. +1 as well Andrea