X-Loop: help-debbugs@HIDDEN Subject: bug#39503: Supporting elf-debuginfod (debug symbol server) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: mark@HIDDEN, bug-guix@HIDDEN Resent-Date: Fri, 07 Feb 2020 23:08:01 +0000 Resent-Message-ID: <handler.39503.B.158111684819763 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 39503 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bug-Guix@HIDDEN Cc: Mark Wielaard <mark@HIDDEN> X-Debbugs-Original-Xcc: Mark Wielaard <mark@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.158111684819763 (code B ref -1); Fri, 07 Feb 2020 23:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2020 23:07:28 +0000 Received: from localhost ([127.0.0.1]:50420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1j0Cie-00058h-19 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2020 18:07:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:45252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1j0Cib-00058Z-Uh for submit <at> debbugs.gnu.org; Fri, 07 Feb 2020 18:07:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1j0Cia-0007FF-S1 for bug-Guix@HIDDEN; Fri, 07 Feb 2020 18:07:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1j0Cia-0004eA-P4 for bug-Guix@HIDDEN; Fri, 07 Feb 2020 18:07:24 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39374 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1j0Cia-00066G-5Q for bug-Guix@HIDDEN; Fri, 07 Feb 2020 18:07:24 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?UTF-8?Q?Pluvi=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 08 Feb 2020 00:07:22 +0100 Message-ID: <87imkiyp1x.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hello Guix! I=E2=80=99ve just watched Mark=E2=80=99s very nice talk about debuginfod an= d and I=E2=80=99d like to work towards running an instance of it on ci.guix.gnu.org: https://fosdem.org/2020/schedule/event/debugging_debuginfod/ What=E2=80=99s missing today is configuring GCC with =E2=80=98--enable-link= er-build-id=E2=80=99 (which is not the default, unlike what Mark says in the talk :-)). If we do that, I wonder if we can stop using =E2=80=98.gnu_debuglink=E2=80= =99 (see the =E2=80=98strip=E2=80=99 phase in (guix build gnu-build-system)). Also, I suspect build IDs wouldn=E2=80=99t mesh well with grafting: unless = we rewrite them, the same build ID would match both the ungrafted and the grafted variant. Is that a problem? Not sure. (Currently (guix build debug-link) recomputes =E2=80=98.gnu_debuglink=E2=80=99 upon grafting so th= at the links remain valid.) Thoughts? Thanks, Ludo=E2=80=99. PS: I found Eelco Dolstra=E2=80=99s dwarffs to be very smart, too! https://github.com/edolstra/dwarffs
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: bug#39503: Acknowledgement (Supporting elf-debuginfod (debug symbol server)) Message-ID: <handler.39503.B.158111684819763.ack <at> debbugs.gnu.org> References: <87imkiyp1x.fsf@HIDDEN> X-Gnu-PR-Message: ack 39503 X-Gnu-PR-Package: guix Reply-To: 39503 <at> debbugs.gnu.org Date: Fri, 07 Feb 2020 23:08:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Mark Wielaard <mark@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 39503 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 39503: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39503 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#39503: Supporting elf-debuginfod (debug symbol server) Resent-From: Mark Wielaard <mark@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 09 Feb 2020 22:42:01 +0000 Resent-Message-ID: <handler.39503.B.15812880654289 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 39503 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: bug-Guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15812880654289 (code B ref -1); Sun, 09 Feb 2020 22:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Feb 2020 22:41:05 +0000 Received: from localhost ([127.0.0.1]:53359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1j0vGD-000177-E8 for submit <at> debbugs.gnu.org; Sun, 09 Feb 2020 17:41:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:43571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mark@HIDDEN>) id 1j0vGB-00016z-P5 for submit <at> debbugs.gnu.org; Sun, 09 Feb 2020 17:41:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49728) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <mark@HIDDEN>) id 1j0vGA-00062x-Gf for bug-Guix@HIDDEN; Sun, 09 Feb 2020 17:41:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_50,KHOP_HELO_FCRDNS, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mark@HIDDEN>) id 1j0vG9-0007KF-3R for bug-Guix@HIDDEN; Sun, 09 Feb 2020 17:41:02 -0500 Received: from wildebeest.demon.nl ([212.238.236.112]:49460 helo=gnu.wildebeest.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <mark@HIDDEN>) id 1j0vG8-0007Gw-TD; Sun, 09 Feb 2020 17:41:01 -0500 Received: from librem (deer0x15.wildebeest.org [172.31.17.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 5B432300074D; Sun, 9 Feb 2020 23:40:58 +0100 (CET) Received: by librem (Postfix, from userid 1000) id C2FD9C3EE9; Sun, 9 Feb 2020 23:40:42 +0100 (CET) Date: Sun, 9 Feb 2020 23:40:42 +0100 From: Mark Wielaard <mark@HIDDEN> Message-ID: <20200209224042.GB40455@HIDDEN> References: <87imkiyp1x.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87imkiyp1x.fsf@HIDDEN> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.238.236.112 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Ludo, On Sat, Feb 08, 2020 at 12:07:22AM +0100, Ludovic Court=C3=A8s wrote: > I=E2=80=99ve just watched Mark=E2=80=99s very nice talk about debuginfo= d and and I=E2=80=99d > like to work towards running an instance of it on ci.guix.gnu.org: >=20 > https://fosdem.org/2020/schedule/event/debugging_debuginfod/ Glad you liked it. > What=E2=80=99s missing today is configuring GCC with =E2=80=98--enable-= linker-build-id=E2=80=99 > (which is not the default, unlike what Mark says in the talk :-)). It indeed isn't, I just believed it was because almost all distros enable it by default, except for Guix :) > If we do that, I wonder if we can stop using =E2=80=98.gnu_debuglink=E2= =80=99 (see the > =E2=80=98strip=E2=80=99 phase in (guix build gnu-build-system)). debug consumers still need a way to resolve the build-ids. The debuginfod-client is one (new) way of doing it. But it will take some time to add support to everything. Traditionally a debug file for a build-id is resolved though the file system. That is a symlink under /usr/lib/debug/.build-id/xx/yyyyy.debug that points to the actual debug file. It is normally installed by the debuginfo package. For guix some alternative location should be found and the debug consumers should be patched to look there (if you want to get rid of .gnu_debuglink). > Also, I suspect build IDs wouldn=E2=80=99t mesh well with grafting: unl= ess we > rewrite them, the same build ID would match both the ungrafted and the > grafted variant. Is that a problem? Not sure. (Currently (guix build > debug-link) recomputes =E2=80=98.gnu_debuglink=E2=80=99 upon grafting s= o that the links > remain valid.) I don't understand grafting yet. But if it is a different build, then it needs a new/unique build-id. > PS: I found Eelco Dolstra=E2=80=99s dwarffs to be very smart, too! > https://github.com/edolstra/dwarffs After the talk I also learned about: https://docs.01.org/clearlinux/latest/guides/clear/debug.html
Received: (at control) by debbugs.gnu.org; 10 Feb 2020 22:13:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 17:13:16 2020 Received: from localhost ([127.0.0.1]:55661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1j1HIq-0005hN-1B for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 17:13:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1j1HIn-0005hB-Uf for control <at> debbugs.gnu.org; Mon, 10 Feb 2020 17:13:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1j1HIi-0002ai-Rp for control <at> debbugs.gnu.org; Mon, 10 Feb 2020 17:13:08 -0500 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=45672 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1j1HIi-0001vV-ED for control <at> debbugs.gnu.org; Mon, 10 Feb 2020 17:13:08 -0500 Date: Mon, 10 Feb 2020 23:13:07 +0100 Message-Id: <87lfpagkgc.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #39503 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) severity 39503 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.