From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 2E9C05A026F for ; Thu, 16 Nov 2023 06:43:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1700113431; bh=UlF1sOQMm7upmk+0d7757NkpyVPbS32C5j+hOVq4hiU=; h=From:To:Cc:Subject:Date:From; b=ULvLxI1X5K+Ww2Y2B76wq7D+yFSaB8oeslr+QZQIHbL8xIirEuQL+4h8liWC5ezoJ ROBPTa/Yzz64tjyur/KCc3iptY1hbBFE5YA38YvKJNQEPs+cirTYveX3SA6SuzeAwf nC37lKHvEwWfVQSk15M8vVTITS6YlY6J4xDzF8C8= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4SW8936bX4z4wx7; Thu, 16 Nov 2023 16:43:51 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/2] Some fixes for valgrind suppressions Date: Thu, 16 Nov 2023 16:43:48 +1100 Message-ID: <20231116054350.3255485-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 5M2K25G77B5Y7CD43JI4CGYJTR6NIC73 X-Message-ID-Hash: 5M2K25G77B5Y7CD43JI4CGYJTR6NIC73 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: With the new versions of compiler and valgrind in Fedora 39, I hit some spurious test failures. Here are some workarounds. Changes since v1: * Took entirely different approach, fixing the existing suppression * Extra patch allowing optimised valgrind builds David Gibson (2): valgrind: Adjust suppression for MSG_TRUNC with NULL buffer valgrind: Don't disable optimizations for valgrind builds Makefile | 2 +- tcp.c | 9 +++++++++ test/valgrind.supp | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) -- 2.41.0