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#71292: 30.0.50; macOS: .elns have no debug info Date: Fri, 31 May 2024 20:52:16 +0200 Message-ID: References: <86le3qour9.fsf@gnu.org> <86frtxq2ih.fsf@gnu.org> <86a5k5q1c8.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="33286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71292@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 31 20:54:19 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 1sD7OM-0008QR-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 May 2024 20:54:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD7Nz-0003aW-58; Fri, 31 May 2024 14:53:55 -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 1sD7Nx-0003aO-6H for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 14:53:53 -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 1sD7Nv-0001w6-JO for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 14:53:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sD7O6-0005RD-Ek for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 14:54: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: Fri, 31 May 2024 18:54: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.171718161920850 (code B ref 71292); Fri, 31 May 2024 18:54:02 +0000 Original-Received: (at 71292) by debbugs.gnu.org; 31 May 2024 18:53:39 +0000 Original-Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD7Nj-0005QB-6c for submit@debbugs.gnu.org; Fri, 31 May 2024 14:53:39 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:50589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD7Nf-0005Pk-02 for 71292@debbugs.gnu.org; Fri, 31 May 2024 14:53:38 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-57a2406f951so2400213a12.1 for <71292@debbugs.gnu.org>; Fri, 31 May 2024 11:53:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717181538; x=1717786338; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5vWuOyPo8kIEYMLvyGcAELa/mP2LMVhwbBOPqwfdYeo=; b=C0AaN9zUo9ZE/rTrVDepzCVNkfH7SheTVikCnOYDbzl0HJ6K8zldvygmGE1qIX7uu5 KEIcR7prKHEIJqdnuemxCiZztnltDrIYEiE39CQoXkrPZsMqtfagwJW8cgz2wnszLSmO DeC8eEH06c7SW8dslZIUGs4oMFwFWwufqV2crNelIIJL+Y26wiswiY27GndAbFGsaWKJ /V+8WcIR3Zs0vSGpy+wKbu8scAUebYPm6Udb9GmzJ1NGLJEQGXNNai2wjEEVdWNx9ypn p/Z48F+WYR1e6BkKJ/CM7reGeba25yP02uAM1RD6Scrofsv9cTqwUK7fdp2McKa8DwxI yE3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717181538; x=1717786338; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5vWuOyPo8kIEYMLvyGcAELa/mP2LMVhwbBOPqwfdYeo=; b=nstsqt3yFNdOVgT88oyzLSgwZHs/sv4KZ3Wz/eJOAhhhNL2/1YyMNq1S7KavI1bJnh U8iodpM36mA52Q4nOJ1ns5l5vIqNbJU0eHllQMxsDqST9LDiZScxP7IRa3AeaN5cH4LE 1dpkt4/RSmm6Vaxu8kdJN2VwOdcS+7FhumMwNKNyFRqDkyh9y83kbRANWzKT/QDuJ9If UCbLDytl318nMD6uBCUaTPHehi+2Mk9ViIzOJS4FgNLdv2JcEpxBw5Mk7qXdO9tmTXjb lZSvT7VFoG6Lx7GXj9yF0ouqmF5w/UCrIz5v0uqdATm/tsUi42eMfM64A5WS4XgS57qm c82g== X-Gm-Message-State: AOJu0Yy3w4l2hydqBzWb5RIB0Z1N/zCYDsiYIOXu/b9abb+QLw4RbWwX uQB1jTXvGe1puLPTZSHiFoi9zQNZ8hvLN4pwv9iEvgUNlnNINqSiCf18Pg== X-Google-Smtp-Source: AGHT+IG/JLlmbNqa9Lur/XKXI4ivQMUfIFtzdrghFqqfBo3jIrHcc4z9Lok1K/S4w0vpmf5XLGvCIQ== X-Received: by 2002:a50:9ece:0:b0:578:4ca5:a348 with SMTP id 4fb4d7f45d1cf-57a36447835mr1803635a12.27.1717181537541; Fri, 31 May 2024 11:52:17 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a1a3.dip0.t-ipconnect.de. [79.227.161.163]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31be4055sm1279844a12.44.2024.05.31.11.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 11:52:17 -0700 (PDT) In-Reply-To: <86a5k5q1c8.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 31 May 2024 21:32:23 +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:286298 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: 71292@debbugs.gnu.org >> Date: Fri, 31 May 2024 20:12:45 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > Then how about using -keep-temps as part of native-comp-debug =3D 3? >>=20 >> I think you mean debug >=3D 2? > > Mo, I meant > 2. No .o files =3D no debug info on macOS. So you are proposing that one can get debug info on macOS only with debug =3D=3D 3, which produces a host of files that are not useful at all. That makes no sense to me. >> Anyway, debug info is also valuable when you don't have the C file, in >> the disassembly. That is for debug > 0. Otherwise you see only bare hex >> addresses and such. > > Debug info and keeping the *.o files is not the same. Keeping the *.o > files is really gross, which is why I suggested debug > 2 (as it keeps > other intermediate files). Keeping the .o files is normal on macOS. Gcc-14 -g does that, for example. Clang produces produce bundles directly, if one wants. GCC doesn't have an option for doing that. > Doesn't macOS support separate debug info, which can be created with > objcopy? If it does, you could copy the debug info from the *.o > files, and then deleting them would not hamper debugging. MacOS has .dSYM bundles, but how would you convince libgccjit/gcc to invoke dsymutil to produce them before it deletes the .o files? I don't see how that can be done.