From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QPKAC3YiEmOyPQEAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 17:34:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MPqTCnYiEmMyJQAAG6o9tA (envelope-from ) for ; Fri, 02 Sep 2022 17:34:14 +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 BFA70FBB5 for ; Fri, 2 Sep 2022 17:34:13 +0200 (CEST) Received: from localhost ([::1]:45662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8gO-0006GE-VA for larch@yhetil.org; Fri, 02 Sep 2022 11:34:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8eY-0006Do-82 for help-guix@gnu.org; Fri, 02 Sep 2022 11:32:25 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:33716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8eV-00082K-SR; Fri, 02 Sep 2022 11:32:17 -0400 Received: by mail-wm1-x32a.google.com with SMTP id m3-20020a05600c3b0300b003a5e0557150so4645551wms.0; Fri, 02 Sep 2022 08:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=r1FARo2kcdIo6x43iYDlY/5dDK7tfeY0/8vTtbWx/dQ=; b=KaRVNzvHC2ytINnurFgdeE05t9zHxjr80oE8SOJIPp8D0T+n5WeJqXkhyUwVZBZsKB AjUIBcJymebYKK6Mh2GJ/U4qVTQFuULjpXfJGvKOhFQztSVyIFuzPR1NeCV1Oczrgt/B ubEnFlft+Om/TfImrg+1PwQ4BZeBPuhQ4OpUJ24Haq81mutoPpaXN0A3LlRGzmUaySSW koqj/zYZG690IkgmkYrdTwU9JosH8srE4mRMQvlivhXCp//gn/PhPLDCRhZLHimlRCJg CdbCKDHjOQopSkcd/Bg2z1cfGedMj4g5IyNlyHJ74XBHZWKnB98EpNSfsh6tDzBjZNi9 vBnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=r1FARo2kcdIo6x43iYDlY/5dDK7tfeY0/8vTtbWx/dQ=; b=viMz8/TCLW0bguTmOkqo0e1URCu4cPo5THW+KvoR2iRB41ViNQ+d8jKgaw9fPdehL0 6UDoZS3AELcGuesaSTEaoNfzwjpGwkc1u7fHRMehyzMzquLqnJvkboI6ubg/ORii/Yk9 uIUu1xByoxk6fSYbNvGRrzYXXKN3bDEPe+w17K7Bd4zQDQPhh/tYJJYpT5e3Od+t/R26 rUhroLb0bVpbei7/APU2M1GTW5DQwbcq8d264ETa72YJKRPXKOXnOqXNMh4BPeNn6Iip MlZxO8CmGO1DJLVDL2HTB/QuZBvjXb+IcejxpeWCHwx5uREmg4uEBZRG8E72+wHfWxcE KZXQ== X-Gm-Message-State: ACgBeo3AfYiVFxJH/Tl44JRHFoD67b6vrSdFC78HCazLBVCsT5ieZ7Az 4Cgtz1PrcNZFXVDxNp3+dZSUQG6kkaw= X-Google-Smtp-Source: AA6agR6ZPZbYZNiQVwESv9YhjTdnnkdEcP9W0vTSh1B8kGACmJ5zUCpbF7OdSJLkigFabztaZAZXNA== X-Received: by 2002:a05:600c:3508:b0:3a6:10a9:8115 with SMTP id h8-20020a05600c350800b003a610a98115mr3405611wmq.164.1662132732996; Fri, 02 Sep 2022 08:32:12 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id o5-20020a05600c510500b003a5f2cc2f1dsm10560670wms.42.2022.09.02.08.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 08:32:12 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Andreas Enge Cc: help-guix@gnu.org, Marius Bakke Subject: Re: Valgrind not working [core-update fixes?] In-Reply-To: <874k4892hw.fsf@gnu.org> References: <874k4892hw.fsf@gnu.org> Date: Fri, 02 Sep 2022 17:28:22 +0200 Message-ID: <86a67h94o9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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=1662132853; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=r1FARo2kcdIo6x43iYDlY/5dDK7tfeY0/8vTtbWx/dQ=; b=KqVHM6R0IKO4E+Hj31Ko+JJmY0IrzBiipcNCFLZz/+5KBQYLuR550Zsv+Dw5O/7sHmCaFi AmCIeoxUYod+pdDpBtNECauP6k7y5AF2mUJMJ/KycbB+IK1KzF76KoLFO+wBXfK2sWvKCb ra4g8lhRS2Vxjr69lurM6h9C+MdwrfvQ6LTcH7He1g22Ce+Who6D15D9syP5lWqiSGC8eO Uc+DjwbNBZbQoAcpO3ioROfpkLWSx82ccKDu8t/LddJNuBiO38J8TUhp1m+S7fiNngetcE Vg+LdZy8qjakFe8aCcHM+HSuN2J0irE+m3h7OWN0qMEclvLge8oEOcGh0ffZ9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662132853; a=rsa-sha256; cv=none; b=kVYJqK3bxUtvz1EcVkPeIOvoY7ADReK/NeSG2g3pijURpWp7jy/3fzsOEOuj+h6skcc8x0 qMr1WF4Iw8HVtsh/CCGCwSX3kK2gWPZ/k959t3YuWakGP6PHRiSsWeYvFnF8t8rJ01ISIG E+EJ1sye14ACnqBcbEb1IoqGNuss8+ywJXrehoTn4yNf8D4M0I+3zTVWQ2YE37gAOsuyg4 kAUPR3u6uLmgJNOHPxetxvFEV4gwnO9bX06F7CHZHXSAd96xhUEQnfzmwCQ9wAUgsORHr0 Dr0EiPjlRsYGDcO/R/DW+buso0YFVFOXZeGhfcFCmhKdL8N2Haqw+e/c4JkhSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KaRVNzvH; dmarc=pass (policy=none) header.from=gmail.com; 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.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KaRVNzvH; dmarc=pass (policy=none) header.from=gmail.com; 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: BFA70FBB5 X-Spam-Score: -2.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: UbjpZSpPR31T Hi, On Tue, 08 Mar 2022 at 11:12, Ludovic Court=C3=A8s wrote: >> valgrind: Fatal error at startup: a function redirection [...] >> valgrind: Cannot continue -- exiting now. Sorry. > > I=E2=80=99m late to the party, but here=E2=80=99s the trick you can use: Well, I am even later to the party. ;-) > --8<---------------cut here---------------start------------->8--- > $ guix build -e '(@@ (gnu packages commencement) glibc-final)'=20 > /gnu/store/xgarlnscgbm9l04karj15xpc4nn14ak1-glibc-2.33-debug > /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33 > /gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static > $ valgrind --extra-debuginfo-path=3D/gnu/store/xgarlnscgbm9l04karj15xpc4n= n14ak1-glibc-2.33-debug/lib/debug uname -o > =3D=3D16741=3D=3D Memcheck, a memory error detector > =3D=3D16741=3D=3D Copyright (C) 2002-2017, and GNU GPL'd, by Julian Sewar= d et al. > =3D=3D16741=3D=3D Using Valgrind-3.18.1 and LibVEX; rerun with -h for cop= yright info > =3D=3D16741=3D=3D Command: uname -o > =3D=3D16741=3D=3D=20 > GNU/Linux > =3D=3D16741=3D=3D=20 > =3D=3D16741=3D=3D HEAP SUMMARY: > =3D=3D16741=3D=3D in use at exit: 0 bytes in 0 blocks > =3D=3D16741=3D=3D total heap usage: 2,813 allocs, 2,813 frees, 184,302 = bytes allocated > =3D=3D16741=3D=3D=20 > =3D=3D16741=3D=3D All heap blocks were freed -- no leaks are possible > =3D=3D16741=3D=3D=20 > =3D=3D16741=3D=3D For lists of detected and suppressed errors, rerun with= : -s > =3D=3D16741=3D=3D ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 = from 0) > --8<---------------cut here---------------end--------------->8--- This trick is really nice=E2=80=A6 > I think the reason it no longer works out of the box is because we > now[*] use =E2=80=98--strip-unneeded=E2=80=99 instead of =E2=80=98--strip= -debug=E2=80=99, since commit > e0f31baacc6ad30096a332b69433c85f5830bb2c. > > We=E2=80=99d need to double-check the hypothesis and fix it on =E2=80=98c= ore-updates=E2=80=99. =E2=80=A6but since core-updates is moving, maybe it is time for this double-check. Well, gentle reminder. :-) How could I double-check without rebuilding locally the world? Cheers, simon