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 ms0.migadu.com with LMTPS id mGNCIS1QJ2LTTAEAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 13:46:37 +0100 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 QFCmHi1QJ2JLIwAA9RJhRA (envelope-from ) for ; Tue, 08 Mar 2022 13:46:37 +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 EE9CD3AEDE for ; Tue, 8 Mar 2022 13:46:36 +0100 (CET) Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRZEZ-0007bH-29 for larch@yhetil.org; Tue, 08 Mar 2022 07:46:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRZDb-0007Ys-NF for help-guix@gnu.org; Tue, 08 Mar 2022 07:45:35 -0500 Received: from knopi.disroot.org ([178.21.23.139]:50422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRZDZ-0001hy-1D for help-guix@gnu.org; Tue, 08 Mar 2022 07:45:35 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 242C44005E for ; Tue, 8 Mar 2022 13:45:31 +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 paYtSCbsa01a for ; Tue, 8 Mar 2022 13:45:29 +0100 (CET) References: <87o82gock2.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1646743529; bh=6M00G1IABN6M5wyV2PR1TuXQMm4r4gVstme5SYv4NLQ=; h=References:From:To:Subject:Date:In-reply-to; b=HlzNje7LY32kxOBu4i8rE0CeE6aCwed2Jr/SCMbTVf15KMzVnIfAiboq1Cg1R0UxA AMMro5cLHIzVbWSHy4wS/mkjky/y0zmeNfp2xuWV2FpnTL/cwjhjMBaEf1zHto8JVy Cz6529LG3BTmyhz6Ei+SpVtRXvSFHgdWTaUq5jDJxIhODfgfX5JQtS+AF1nSchQZsx o0lg4+3V8TZwt4d2mLaCHH97tEzdWijOlD/mjEklMyxzznVsNZaeSYThFtKmu4qN7C r4bKPqsKdIe1MNIACowx2oCr3/AiZaCrZglOAMJ81YTZh+OGhSoVt68s5kYAvISh67 afrklJir36CNw== From: Abhiseck Paira To: help-guix@gnu.org Subject: Re: valgrind error Date: Tue, 08 Mar 2022 18:12:25 +0530 In-reply-to: <87o82gock2.fsf@disroot.org> Message-ID: <87wnh48vfo.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-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=1646743597; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uLqufUIwVzTvsKNlCYQK0xfoP5gytQIIqcWxcSED3gQ=; b=MK2Hr06vGqcjj4G1n8ybxUPUtc7hrblRWKUMZcuVbUB/vion2AxAjKAQq4XiW4SKThTRwp TB3z53ydGRqyjHjhUg3q7a1A08Se3CPz06NGHIf8b1H69preFAIOsrJsBzpw8H5r9WT+PH 1fTwZLwdfmaHTVSAEUCcOH6JC0nYI5TfyB5nbxUQANVmPO0Yy9ksB/Rvf1C9KA8slrP3Qn DoyLQZI46HWilWXOCljag+baDwLZWum0XeJZToONBLrWQQ+TCiH4HIkJC9zpv8JYTSFUIx IRWajkeiT8hZa+nwh+piLq1kLfnbwVvGYLLQFlfy9cr0CQWlXJGAW90+Z41czg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646743597; a=rsa-sha256; cv=none; b=RY3D5DxRalGff+a5zDrlPmYw++VgXzdyg2iTG6QmG1vn2UcqlDR4Bf9O3VIHQweIf0XYFZ yqh9fcNwooPn9hkloSztTyfDl7ZpuPWKOVlHsfLQGcWgaXKX2ce51atDhDDkQ3ISHoiass rRkkSjz8eeTr3liN+DNT97TaqBUZeCWsxT5DuJkVkBuklVPMcgDTSZlLrYbEpa4eIkr5wp 6ifB/g/P7GZfeAJJS6f+ecX+k4dPjUdZzySUSFDqgjD1BhrQ439yoU+VMj2v5R+UadkIs0 aIcAWYBea7nMqA8/MWZyaeNr8y+oPZoI6k/qSKWY1O0tMdO8GvYVVJX6+KvKVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=HlzNje7L; 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=HlzNje7L; 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: EE9CD3AEDE X-Spam-Score: -3.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: QPwB1zLlFM0x I am sorry :-(, it seems the issue is answered already[1], when I searched the mailing list with "valgrind" as the keyword it wasn't returned. https://lists.gnu.org/archive/html/help-guix/2022-03/msg00036.html Abhiseck Paira writes: > 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://abhiseck.neocities.org