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#71292: 30.0.50; macOS: .elns have no debug info Date: Sun, 02 Jun 2024 09:40:52 +0300 Message-ID: <86y17nn8y3.fsf@gnu.org> References: <86le3qour9.fsf@gnu.org> <86frtxq2ih.fsf@gnu.org> <86a5k5q1c8.fsf@gnu.org> <868qzppzt6.fsf@gnu.org> <861q5hp3ti.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, 71292@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 02 08:42:12 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 1sDeux-000904-QF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jun 2024 08:42:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDeud-0006fz-W8; Sun, 02 Jun 2024 02:41: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 1sDeuc-0006fI-FJ for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 02:41:50 -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 1sDeub-0003EX-M7 for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 02:41:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDeun-0007fg-N3 for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 02:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jun 2024 06:42:01 +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.171731047629386 (code B ref 71292); Sun, 02 Jun 2024 06:42:01 +0000 Original-Received: (at 71292) by debbugs.gnu.org; 2 Jun 2024 06:41:16 +0000 Original-Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDeu4-0007du-9I for submit@debbugs.gnu.org; Sun, 02 Jun 2024 02:41:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDeu2-0007db-Am for 71292@debbugs.gnu.org; Sun, 02 Jun 2024 02:41:14 -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 1sDetk-0003C5-Tg; Sun, 02 Jun 2024 02:40:56 -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=3rCqIifCwVxXdI0XFQcwTYybRIBmVrK7gDgOqdEVM2U=; b=YoJHaC5Ecc/D3Q9yiTGn HSNEunk7RHfm57mHL3UItAmKWbHymFBWPsUej52jMc53geqEq2Tbyobpmhy5bCxYLm77JE2cui8QX n0xQJq716mE1+ni9F+qiiNZutFRRFBMIs2ynEUFOYCIGCNiZt+gsYe4AzRkwXt5PxCXFrBZqbUnik KzAiIyVsc1M7KuZLL6mUwDA8PCU/xFiORsj2x+/J2zs0Hw17fc9s7SHOCirupo4hrtgXL2J1Y5ViZ rybb+7Ba/IhsJpuFnb6uZJPFjUrlceEDTucZeDxEJiE7U/gr/mF89RMyJAWo4yxBbC8tc4rvJSzib pyZUIS86wudQvQ==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sun, 02 Jun 2024 07:41:13 +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:286365 Archived-At: > From: Gerd Möllmann > Cc: 71292@debbugs.gnu.org, Andrea Corallo > Date: Sun, 02 Jun 2024 07:41:13 +0200 > > > 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. > > 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. > > 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. > 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.