From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2KcJJrf45mH8CgEAgWs5BA (envelope-from ) for ; Tue, 18 Jan 2022 18:28:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SMjbIrf45mErpAAAauVa8A (envelope-from ) for ; Tue, 18 Jan 2022 18:28:23 +0100 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 300A33E257 for ; Tue, 18 Jan 2022 18:28:23 +0100 (CET) Received: from localhost ([::1]:36012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9sHO-0001nk-9u for larch@yhetil.org; Tue, 18 Jan 2022 12:28:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9rlh-0003uV-0q for help-guix@gnu.org; Tue, 18 Jan 2022 11:55:37 -0500 Received: from [2a0c:e300::1] (port=49618 helo=hera.aquilenet.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9rlV-0000nb-G9 for help-guix@gnu.org; Tue, 18 Jan 2022 11:55:27 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6374E796; Tue, 18 Jan 2022 17:55:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KQMgA4sancCl; Tue, 18 Jan 2022 17:55:20 +0100 (CET) Received: from jurong (p200300dd5722a4009979447cfc3b6c73.dip0.t-ipconnect.de [IPv6:2003:dd:5722:a400:9979:447c:fc3b:6c73]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DE20A4F8; Tue, 18 Jan 2022 17:55:19 +0100 (CET) Date: Tue, 18 Jan 2022 17:55:16 +0100 From: Andreas Enge To: help-guix@gnu.org Subject: Valgrind not working Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6374E796 X-Spamd-Result: default: False [0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; TO_DN_NONE(0.00)[] X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a0c:e300::1 (failed) Received-SPF: neutral client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642526903; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=4uvSzPez3/IeEIa2GyzHbYg5gT7iPKW35R+v27MME+A=; b=O/eDVx2r+A+YotRs9Fo0krhUjvTfwR+8IhluVttoxbeT1FdTOKr2T9mYj13KiRCaFCAYZF 1yfThTXotBJ1PWfQt3jOKb2vse8Q40Ei5jEgzbRCOg4Xs25Ow/K8okQhztp4s++X450Ehg K0NgW12mwknQAcTT5NibD0u7BtnvlA52/wBbWKGinqoJOF2tzfkt3yL6IBpe4w5yewsvkq 9k6Td0KGJz7M64eU0hbIYJu3Rwyxt2YY3uIG0HbsZI6ha4c3dZy/eW4n6b4Fty+S57gY08 xGCMWa2FVrL4p++LRgw8iH8Vg3e7fTqZoBAbAFGoRhOfnAtu/9NYOmTcSl+hxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642526903; a=rsa-sha256; cv=none; b=iyPZEZIIQTxe6qxZfEYEcgMFo+Eq+SAPrCv/tYKdGQ0nT4GHaFBQgD9gAkTC37wtxihwJm ZI2gA2Glunt4IFpjdlwk6GZRHlGXnqw5nWArMyOzTIvbwhfCCtsRimLSPlaMoQmSWkBEKe ji7hJ0c7oLqBsnYu2mBHetz5Bf3+uUcVB7Oh2dbTVrxF6ItQuZKQCHNvHnqSInGjh6GL0n U5P40DMzDhhJqaRZCHmUn/yYuKbwhFxpLmUy5TPBzW41hE0gALF23u2RdI3+Mz15vy3Yy+ m2GnjFAQPDeL5K6+DN4Wsrmcb/CfQa7q3+0/UFdQcltZAt+ryCwY6auMiTi+Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 300A33E257 X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: QnmkkjKTX9He Hello, when trying to debug a program of mine with valgrind, I see the error message below. Following the suggestion to install libc6-dbg, I installed glibc:debug, but without success. The executable itself has these properties according to "file": ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, with debug_info, not stripped Is there a problem with our valgrind or with my setup? Thanks for your help, Andreas valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: strlen valgrind: in an object with soname matching: ld-linux-x86-64.so.2 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld-linux-x86-64.so.2 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. The package you need valgrind: to install for fix (1) is called valgrind: valgrind: On Debian, Ubuntu: libc6-dbg valgrind: On SuSE, openSuSE, Fedora, RHEL: glibc-debuginfo valgrind: valgrind: Note that if you are debugging a 32 bit process on a valgrind: 64 bit system, you will need a corresponding 32 bit debuginfo valgrind: package (e.g. libc6-dbg:i386). valgrind: valgrind: Cannot continue -- exiting now. Sorry.