From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cN6fG+bQEGMpPgAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 17:33:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oAPdGubQEGPcZAEAG6o9tA (envelope-from ) for ; Thu, 01 Sep 2022 17:33:58 +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 165909C47 for ; Thu, 1 Sep 2022 17:29:55 +0200 (CEST) Received: from localhost ([::1]:56364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTm8d-0003ME-Ei for larch@yhetil.org; Thu, 01 Sep 2022 11:29:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTm8S-0003Ki-RV for help-guix@gnu.org; Thu, 01 Sep 2022 11:29:40 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:40872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTm8Q-0008UL-8A for help-guix@gnu.org; Thu, 01 Sep 2022 11:29:39 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 281FTQ3Y009011 for ; Thu, 1 Sep 2022 11:29:30 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 281FTQ3Y009011 To: help-guix@gnu.org Subject: Re: Unable to find libthread_db In-Reply-To: <87tu5roq3f.fsf@laura> References: <87tu5roq3f.fsf@laura> Date: Thu, 01 Sep 2022 11:29:26 -0400 Message-ID: <87fshb3yg9.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 1 Sep 2022 15:29:26 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662046195; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=8ITnVw0Dsmj6LUWBo1QUTUrqa7mVDEr/LVAd6a4q9Sw=; b=Po1lkEeEju4a4l/Cx/7KnTCAgDLIg/RXYdiMypCDNKUS8fs1ZuV4/AmwtiMZP86RakKY2+ jHCqC1Mv7ax6r1Awy0nrWqCYNr0HL/jP/cYf5joTgRT2BmHSnuv1xF9GeV767wPrLtdZVM 5T7RYWyQGBBort1+H9Afcjigjv+bqCKCX/chRLFVSZELpyjyAKucjyev/B5EJAfWzb5BH9 TbkcsTSafsRfTcehYRvh10k8jUt6QsVNPBFW8AZWdRKHXj1SYUoTNTwzMg+8kBS9jhNSNJ oCmqHbuCo3IzHyM8hSWBBhXBJWHpGdwIe6m/aXEHKNb8Tl97Xsf8xEI6EKyb8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662046195; a=rsa-sha256; cv=none; b=QsqiesVeoAhbqNqXl//tzObw6GspuDzLLYB21n8Xt2paJSl0Rf57KsKEUgqwGIjNkZjlpL n910hr/rlPfyWJvpLkLHDddRnKJ/Pmv4bL+pzeZ9FeHk+Fpibze9ZGyq8Q2Dg6xq32DWKY 29wj9H58Sod4RpW4y04iyyFZyPEhfpdMx+C1MG62WQg0bw/fEPiQtkwN3wTAf9ZuG4l28J g7g2uJkWMzdkhq7oYvvLh0WmofXgFRkBHvnf/oclO4RRWMLAMKOAQeyOHJcdoVBTZ5GQw9 iGmIQUQsZi3BBLATt3EIbgDWPQCsWiTsFIYSV6W8vRTaEKMmQfnjfBfeIHhRhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.78 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 165909C47 X-Spam-Score: -2.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: Fbj750ZsJjs9 On Wed, 31 Aug 2022, Olivier Dion via wrote: > Hi, > > While debugging with GDB, I always have the following warning: > > > warning: Unable to find libthread_db matching inferior's thread > > library,thread debugging will not be available. I've tried to add the following to .gdbinit: --8<---------------cut here---------------start------------->8--- guile (use-modules (gdb) (srfi srfi-26)) (let ((libthread-db (and=> (getenv "GUIX_ENVIRONMENT") (cut string-append <> "/lib")))) (when (and=> libthread-db file-exists?) (execute (string-append "set libthread-db-search-path " libthread-db)))) end --8<---------------cut here---------------end--------------->8--- without much success. -- Olivier Dion oldiob.dev