From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iNTDKmVRJ2KGOwEAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 13:51:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CA8qKGVRJ2J84gAA9RJhRA (envelope-from ) for ; Tue, 08 Mar 2022 13:51:49 +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 60ED92F07C for ; Tue, 8 Mar 2022 13:51:49 +0100 (CET) Received: from localhost ([::1]:57480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRZJc-00041b-8O for larch@yhetil.org; Tue, 08 Mar 2022 07:51:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRYvP-0008J2-MH for help-guix@gnu.org; Tue, 08 Mar 2022 07:26:47 -0500 Received: from knopi.disroot.org ([178.21.23.139]:50930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRYvL-00070k-EZ for help-guix@gnu.org; Tue, 08 Mar 2022 07:26:46 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1232A4005E for ; Tue, 8 Mar 2022 13:26:37 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gci_5O92HKaq for ; Tue, 8 Mar 2022 13:26:35 +0100 (CET) From: Abhiseck Paira DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1646742395; bh=5aIrQB9+kDh96an5KcTcVst981dyoWl8kMgjxoCgnsA=; h=From:To:Subject:Date; b=UqI2PrqqS22iohWnzjAlleHZa9km853MjFaZZOfe+ytbp7arC2krZGLdUvH6zBxI/ PRs5I17hsuCxc8RpKF2Vm19ngcOcYt+xTL82C6xOuRVv/i3L0qf1BSVb9Xtr23pRMP J2Kfu0TLFIeuf0PjX9aYCF2NP2IQwkKKMpu+28+pUi5lsZPKX+DmUY5pb7I9e2mve3 ESpmJJ3RilJ5BlLcUJm5CIfXTVdRa8G7LFjmn4AeMDLmMlh2r6xZxC0SwaUHGIV1Oj N1m1BM6uKGO92hy9+5sjvuXpCa8FLJJyGZLl9ccERZVaiUkp8FF1cPBt7bvQKKm9jO 1AF40AHrG1hHA== To: help-guix@gnu.org Subject: valgrind error Date: Tue, 08 Mar 2022 17:39:16 +0530 Message-ID: <87o82gock2.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=abhiseckpaira@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 08 Mar 2022 07:35:02 -0500 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=1646743909; 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:dkim-signature; bh=vNmR2i5u1gEE5GHkEZ9mXf4wZcd0Ss9uSU23ICPSZdI=; b=iK301Ih6GTwjnIBDTs+ftvDUvRV2hf8U1O2rJg1NLK6RO7yuvUNGhfx8TJGt4kMq6P8fRH TghA1aqB6Wg4uVvkP2uGcrpf/70PRepMunT0pofanTCaG9EmLhiXpBPM9+KUSuEQxeXOVs kXYvyvLLR21fqCABzljhq7AfE2nN1DoD3S2huJ7PZCryQvqYIYNEI3J4rYy0XfMkft/WTS GbQ7r30O5T7wrfNcy3nPTIKvnSeOhnz0SRAjfJz+nO+Ac4ie1qCgzBIZ4W5c/QoANGluua bkzgofIf9crHhkba4QOuhaLrGJCryHkgX4Ku7FZ9j/InuPd4+yunnKRafmIkqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646743909; a=rsa-sha256; cv=none; b=D6ESJawQjB3dy3LMmC7a8kNjnxUobgSt98EdpyZxWGhiBJlL6Fv0NpLyn+183eU4MOunL3 Rc07qyfVXCHnWNRzk4vnButtN6Pqmt+/wsKaWZHpy9Zjqe4x6ZH21qIwR5DjEW2/h7Gr4O 8sBbIwRFsnv1TSuEMQrhZkcX7FuySExjEfPO904k1i6DHN7qOZA1Ba6XVYn6ImHcRlpGzg 644EGgkgzdJB6zYHQl0CLgHzOs6rzL6aD0b+goYYp3gmUf3KsVL8e3MXgKD70KAq05Sqzx lCM4MjSmqTxLmIRO1F1OFYMWKUbPM2VbXC057UtN1tkqhYNqvjgDbwz0anU/WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=UqI2Prqq; dmarc=pass (policy=quarantine) header.from=disroot.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: -3.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=UqI2Prqq; dmarc=pass (policy=quarantine) header.from=disroot.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: 60ED92F07C X-Spam-Score: -3.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: SjZY4tHsHsFc Hi, I am trying to learn C and according to the instruction I'm following when I run: $ valgrind ./hello-world.o I get the following error: -------------- $ valgrind ./hello-world.o ==4074== Memcheck, a memory error detector ==4074== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==4074== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==4074== Command: ./hello-world.o ==4074== 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. --------------- I tried logging out/logging in but it didn't work, I have installed "gcc-toolchain" and "gdb" packages, am I missing something else? -- Abhiseck Paira E34E 825B 979E EB9F 8505 F80E E93D 353B 7740 0709 https://paira.in