From nobody Wed Sep 20 04:48:41 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rr5dj3w7vz4tY2q for ; Wed, 20 Sep 2023 04:48:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rr5dj0q35z3MHW for ; Wed, 20 Sep 2023 04:48:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695185321; a=rsa-sha256; cv=none; b=lsul1hMHmTg3zRDT+SlRK+pWzZRV2jSfxY+V5lxupWJrVdPiQEvyGP7Df+tv/4Sy3dlJdD 4/Fhv8v8qrMvE/3ckAEJgDFQch+LcUMZ0mrTMtm4MAhGw405fe+tHGFQKsKcBuysXEmxxl b4xDAT5euvY3JEpGauuw12ZfmwXIqk+GaaYHxWyqUOi6/YYROClk5+t0nxal2mwOsA9JFk u3fOgNDkU1hjI26p1/ibY68/+tOviqO6onbcclUytMJCwhRhgygbfguBNAcEhRqb8aTN+c wBIVPdVJOEY+lvXMGncH5eoFjYWYEA5eMYgou6x4IiszC9COvKTSHbp6e+NJaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695185321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c3rszp88F72NMdIwlammErq63C/EeKKq8O4H5B/kDvM=; b=IIzdxUKxGpend9bYpkKiW/vnSB7XgSnB4vLMiROgLiaQUYkLb8CKhD+b9mawDBxqqlZ3WJ eMxEAMJuKt1SST/iggwutcmnFxLKbwPYIApSjsf3AyOQ1JZPfxb31B5/IeH9viMknnH553 zTfQ9ldawy1YZurcmqbwc6WUT1yTMMfI64v1YySDpaLp5gc/kwfI2Os8ZeydqPtsypxAck lcdo5LXtLUyPYmwdNqQOpdnAtZhVvS5uJrfjuaGudGE6H/tc0r7Cd6uPqPTiKOmVdjlQm9 YgyH3KGKwsV0AE5eXERUSq3FQZYFDUf9O5XgxNd3LkuBCnEB1lWRGW7+g+tiVw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rr5dh6zhxzj5w for ; Wed, 20 Sep 2023 04:48:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38K4mesJ016612 for ; Wed, 20 Sep 2023 04:48:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K4meZT016611 for ports-bugs@FreeBSD.org; Wed, 20 Sep 2023 04:48:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273955] devel/valgrind patch for ifuncs Date: Wed, 20 Sep 2023 04:48:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pjfloyd@wanadoo.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273955 Bug ID: 273955 Summary: devel/valgrind patch for ifuncs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: pjfloyd@wanadoo.fr Created attachment 245034 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245034&action= =3Dedit Add a patch for ifunc_handler The work for simd support uses @gnu_indirect_function. When Valgrind sees binaries using such function it expects to have its own ifunc_handler. Until now there wasn't one for FreeBSD so Valgrind terminates with an abort. This patch merges the fix I made upstream: commit c934430d56c2add25002ea8e321bd8bdab80fc99 Author: Paul Floyd Date: Thu Aug 31 15:32:21 2023 +0200 Bug 473870 - FreeBSD 14 applications fail early at startup FreeBSD recently started adding some functions using @gnu_indirect_function, specifically strpcmp which was causing this crash. When running and encountering this ifunc Valgrind looked for the ifunc_handler. But there wasn't one for FreeBSD so Valgrind asserted. --=20 You are receiving this mail because: You are the assignee for the bug.=