From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4DiHBfFqAWVAEgAA9RJhRA:P1 (envelope-from ) for ; Wed, 13 Sep 2023 09:55:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4DiHBfFqAWVAEgAA9RJhRA (envelope-from ) for ; Wed, 13 Sep 2023 09:55:29 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 22B1333FBB for ; Wed, 13 Sep 2023 09:55:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=NjX8d34n; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694591728; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=n/HXLuy3kbKYKEXqrLJm7VtM+oGHiTdGGyx5keyzmE4=; b=o34LKS0C78alnS6Py/AF8SXunhWD4vEkCTnyT9gefYDLVE8CoUreA6HEpGQhOJLP1SQsh9 gA7855HUTpIYpllMCMx3o/S73ra9SUwwsNOTBDJd/oH6CuF8w7B0SAsWpFPrNfnrBRSLcM FtXDLJsRtc5tOo+mBnDaddr1kr521DO7QKzXM0Wntu6gtK6HpVv/mWoYX9KzZqw3ByBpyQ oksXhc3MFQT/33c1+TPJfKRoBZPkedN7efBJV9FHu4du4sql3IioEZR2YxnTJGBnwFnCZF +f5QtEAZT6aLJwhNNR5RhVPgSP27kxd2qVPBVVqecj9zKThTpENwZh15Z2s51g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694591728; a=rsa-sha256; cv=none; b=VK6R+CIr46vGEunYBpAPAKUfojVLBmvqMjv8qH2Sn5E0tN274jh1jtgzH0LV8iS8kL3MLL xY7of7n8OzbP5KdLbKqa53+3Jvuqj7rLx91fBvb4S02wRnlH66/CzvrQUCefxnLc12vSwu unwBqFu+Lw4l8DfCmPzcWwrDFSFt7t0vAPhh9OQLpe6L1Xz3xrVweKbm9s1DqLebhYGHLk 7juc708Yc0bu78hkolWC+p7E2JnRPuI1pdOdDyjaz6TWItj80uSYOux+z6zBTJXTxsqyq2 sdqHip0YeLtCAiRA7Cbseh2QSF1Bfiqhs07FI++BJ1FO3kQMRTPDhlR53bEcjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=NjX8d34n; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgKiC-0004f6-96; Wed, 13 Sep 2023 03:55:00 -0400 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 1qgKiB-0004ew-9F for bug-guix@gnu.org; Wed, 13 Sep 2023 03:54:59 -0400 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 1qgKi9-0000WQ-NI for bug-guix@gnu.org; Wed, 13 Sep 2023 03:54:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgKiE-0002UL-Hl for bug-guix@gnu.org; Wed, 13 Sep 2023 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63047: Can't load glib debug symbols in gdb Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Sep 2023 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63047 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: maxim.cournoyer@gmail.com, 63047@debbugs.gnu.org Cc: 63047-done@debbugs.gnu.org, Josselin Poiret X-Debbugs-Original-To: Maxim Cournoyer , Josselin Poiret via Bug reports for GNU Guix Received: via spool by submit@debbugs.gnu.org id=B.16945916749526 (code B ref -1); Wed, 13 Sep 2023 07:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2023 07:54:34 +0000 Received: from localhost ([127.0.0.1]:60643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgKhl-0002Ta-W7 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 03:54:34 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgKhl-0002TG-0x for submit@debbugs.gnu.org; Wed, 13 Sep 2023 03:54:33 -0400 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 1qgKha-0004c9-AP for bug-guix@gnu.org; Wed, 13 Sep 2023 03:54:22 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgKhW-0000Qq-Qf for bug-guix@gnu.org; Wed, 13 Sep 2023 03:54:22 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 3E3961C0005; Wed, 13 Sep 2023 07:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1694591654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n/HXLuy3kbKYKEXqrLJm7VtM+oGHiTdGGyx5keyzmE4=; b=NjX8d34nttQ2hfDGW8cBirF+RNsa09lm3CLI+YvxvWJMmrdjWPeueuVDRCMIRx2nDSXir5 0XKV9Uw4vc3fwCgYm03TwSvwjaD8cHxC4+IMSV70tEWJkSJB0hMx30j8TD/PTaGA5J9rpt c+KhfUJrjwk0bPK4mXkPLaUJPPAWQyBSrbX8In7uuROh8wwxr+ZVyjnOvKjBN+OKKmKnF0 bJnj1azTJIGnOmDrDs95BS6wU5iy5UQvYqFae1qVfLXwQfQEhZ++nH0vB761ihzbFF+Eno YcnEsqwJEFlB96vHaIOWPcAjAhS1gzvvrGpvMTB9tYtLs5D9Zi3E5uu0JHUxtg== From: Andrew Tropin In-Reply-To: <87edo8qgq3.fsf@gmail.com> References: <871qk9spoy.fsf@trop.in> <87ttx5vhoq.fsf@jpoiret.xyz> <87edo8qgq3.fsf@gmail.com> Date: Wed, 13 Sep 2023 11:54:08 +0400 Message-ID: <87zg1qy0db.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-GND-Sasl: andrew@trop.in Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=andrew@trop.in; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.71 X-Spam-Score: -1.71 X-Migadu-Queue-Id: 22B1333FBB X-Migadu-Scanner: mx0.migadu.com X-TUID: oQ36ALKHVuto --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-04-25 08:38, Maxim Cournoyer wrote: > Hi Andrew, > > Josselin Poiret via Bug reports for GNU Guix writes: > >> Hi Andrew, >> >> Andrew Tropin writes: >> >>> I try to run emacs in gdb with debug symbols for some libs available, I >>> succeed with gtk+, but it doesn't work for glib and glibc. It looks >>> strange to me, but maybe I am doing something wrong. >>> >>> Reproducer: >>> >>> guix shell gdb emacs-next-pgtk glibc:debug gtk+:debug glib:debug \ >>> --with-debug-info=3Dglibc --with-debug-info=3Dglib --with-debug-in= fo=3Dgtk+ \ >>> --no-grafts -- gdb .emacs-30.0.50-real >> >> At least for glibc, the glibc that is linked against is the one in (gnu >> packages commencement), which is hidden from the user. The one in (gnu >> packages base), which you can refer to with "glibc" is different. You >> can try to find the proper debug output by looking at `guix size` of >> your store path, then finding out the deriver for glibc with `guix gc >> --derivers` and finally looking at the .drv to find out what the debug >> output should be. >> >> For glib, it might be similar, make sure that you're using exactly the >> right store path for it. > > Perhaps try on the core-updates branch, where glibc no longer has its > symbols stripped. Another thing that can cause the debug symbols to not > be found is grafts, as described in #48907, so when debugging I'd > recommend using --no-grafts for now. Thank you for the tips. For future readers: the core-updates merged, it should be fixed, however, I didn't check if it works now. Closing the issue, but feel free to reopen. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmUBaqAACgkQIgjSCVjB 3rBjzw//ezAAeqU8TbMm2CQZS62OHDbePSGqCCaYy3N7aga71ssnjxnaCQrYrRzC tNDWmXy3UioY4qN/87A1FqoNSJhZRAkm5jUUQOzRYlaXJnvbHNy+TTsYUbyQnY1o 12Jfq9f5aQ3JmyWIwOz7Ra+KmJdAL2S5g1pdj76D/epq6wkaZpDmaIvdLt9EAzyz 4JdgyAXoj36shM+yLI3VVAduV2/g6xBwgJ4/IKD9KWfgVNpfmprBW5ivqRXD7if8 ZECcH4vpDC1UAAKmWSxJAC8EFxXvJvhY85PDCMQTkuD6GZsh+d+hvQxRpUcwAKpr 4H4bH6PJ8D5eDcYhZsLfO40ZWVoJzMQlv2Nbx5fbCwmtenQactqfO0jZJNdBoGap hq1jI8ab275Pb/x0RsCm+q4L0enaD6A0kwEMhIOehCu1tBLvmENK6WSLNtVzbgNa r3F2xgSw9ce0PRlL6Z6LHiaYFZjhL9TI5iPct4q3V7ebI+kwUXJFy5puBCVzNbko EzVpvNKAOVq1gPYuLYH0hRm7+DJU81wqg3q4jz4CW/Ii6eN7IQuyzJTVGB6iBCET umgSgZR7PoJgBe2okl5O1N1tSRD2U1aP8b02hnM1DxpT+S03fdK3rUf58E1qim2/ gZUGX5RIGFvQQPT8pou6WPbb/bUQ4mZ/MyeEIeHZTibyeg9B/U4= =JfX3 -----END PGP SIGNATURE----- --=-=-=--