From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id RBXeOuo1RmRKLQEASxT56A (envelope-from ) for ; Mon, 24 Apr 2023 09:55:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MK7TOeo1RmSyGgAA9RJhRA (envelope-from ) for ; Mon, 24 Apr 2023 09:55:22 +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 C3192FD8D for ; Mon, 24 Apr 2023 09:55:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqr2O-0000Oo-Jt; Mon, 24 Apr 2023 03:55:04 -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 1pqr2M-0000OZ-Ju for bug-guix@gnu.org; Mon, 24 Apr 2023 03:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqr2M-0007vr-BN for bug-guix@gnu.org; Mon, 24 Apr 2023 03:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqr2L-0003U4-MN for bug-guix@gnu.org; Mon, 24 Apr 2023 03:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63047: Can't load glib debug symbols in gdb Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 Apr 2023 07:55:01 +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: Andrew Tropin , 63047@debbugs.gnu.org Received: via spool by 63047-submit@debbugs.gnu.org id=B63047.168232287913277 (code B ref 63047); Mon, 24 Apr 2023 07:55:01 +0000 Received: (at 63047) by debbugs.gnu.org; 24 Apr 2023 07:54:39 +0000 Received: from localhost ([127.0.0.1]:47396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqr1y-0003S5-OU for submit@debbugs.gnu.org; Mon, 24 Apr 2023 03:54:39 -0400 Received: from jpoiret.xyz ([206.189.101.64]:38412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqr1w-0003Rt-32 for 63047@debbugs.gnu.org; Mon, 24 Apr 2023 03:54:36 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 05DF0184F2B; Mon, 24 Apr 2023 07:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1682322874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6B0hYG1uPpjCC6T+lUFInOkDbOd6r2Rk1DuuYajMxZg=; b=vZNi4V0lFj8n3THXzIWgz0syxrUllEDGtPFF5VOjp81B/UQaApJZvmJvO6lci8c7OFPcwb nGMRZMFexxUhRSbZBFRQWQFWxuMXzJtMGBpGt9ktBv/cMvCTsZYSqtnvQflW6B8qylYGg5 09y5mFl0EDWZIPhdnZOlCBRelf6bLkCHFwUiRC336blYMO+Xc7EQX0ErqQCANI/WT7DpwG F9VEbCCtmT6MGbacuiry+AkkKHVPwkp937D+iIjSlhuJvvoiTtukB/0WvFHqMOG0OYTXbN jvorycWBn2nKX7hjGyhDrIQxb37GrMJ1hsu9Elnzy0OxDRf18gpqCtf7Ml1qCw== In-Reply-To: <871qk9spoy.fsf@trop.in> References: <871qk9spoy.fsf@trop.in> Date: Mon, 24 Apr 2023 09:54:29 +0200 Message-ID: <87ttx5vhoq.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682322922; a=rsa-sha256; cv=none; b=P+yqAb7pKOGkKBj3N6Hyw5YnMyQ8PerajD9ZF/Boqejp+Uf5x3Cp6dQLKTeBYEyZwKKaVL obFwS1qWyK1f9nAooV1vQEcxJy8HlnTAcfbNbxEKI2zbaSNS+oinEnwvO7rzf61SZjNqnN tt358G4TCTNTQLnDH/OlRn9G7ZJPH4Iy2kN7vlbjAdFCHCvuH0d9ig5HHX2ODXInG2nLw0 PlVixAV8OLUQNk7Ld1N2pQTEzNT/m6O3icVTzwTph1Zg+vCn9TJce5vGERME6OwgMGqeGV 9H1Na3JXC0qcBDWyz6YzsMojp6G924eozKV8c71UME0pmO9eXeziYgA5e9DRWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=vZNi4V0l; dmarc=pass (policy=none) header.from=gnu.org; 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=1682322922; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=6B0hYG1uPpjCC6T+lUFInOkDbOd6r2Rk1DuuYajMxZg=; b=EIyHvD4FgNq+zxgoapSHEpNivomGa5xLv2AIrbsWXmaDkIRIYDhQ6/DkS5W0Jf6exI3ztF YfjQqAlgg/b8y+bkIrRR3s1dtL37mLtbW0In4b9dZ3wDm7vcy+TWTPzypR5+PIJk+chdqK xhui44Vo6Ze3fiMMj1xtbkjxoyAqBl5Fd1pG238eEJlnhesIT/SFFDXwDB0LrKyBtMZ7uM OS2IrU1dOMiIfdml8DY31oOhB7c3rMW7IAbhgHNzoTIJSaAOo24UTrTe1jzYZV8qfvwTiv rLBC+m9FxoH2Kj/qwiiTz87lPJd9dsWZ75XfpSGBkVkDBMkH78GJ+cgENdJkOw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=vZNi4V0l; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.31 X-Spam-Score: -5.31 X-Migadu-Queue-Id: C3192FD8D X-TUID: 7Q3lAO+B77gB --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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-info= =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 =2D-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. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRGNbUQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcailDLDACCv808ZnXddNomzJ4zdz1nBKR/tv5L8wz3 7ffY6Tt0fBixqSjH25vYH4wrYDDganSxFdRDHUGcaDXH5FV7h/vm/IsNL8glojLh 1HwrWgXWC3KicYBlU2Af8mgMwGkhmCXa1zfk5Otlv2q6djpa5Z6HwUnW5aHY6/z2 7hdPgycA0NMuCnhyfdRiPhdh+grPvxt7cHMD9nRc197OCJpyn5qt2Ac3y/dsA447 L0nZbyWo/Qxr2wBl0ciDNeDbSyYxLCWQjU3qDi51dRAoQmJpZZMWwiAZxi8Dy/GH xwYFaUaAkFIzMgY+JKlYmF4OT483690kG6HUQZCxo5wyIFfED145EVxowVczw4jH 3gtPu/zaaLCeozBQGYVDth1Khz3SjJd4sTAk270jSXZWqLA/EWbR9OXTqPcwjgxG HBIZxn4HuezPbbZmfSbb4XuVuTJ/yoNDuyU0ZPm1mVTEG9d0QlDQB+c71wrdlghq ARL+PKRyP3lz1HUYLYa4vDUkpheuz50= =59A5 -----END PGP SIGNATURE----- --=-=-=--