From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53273158041 for ; Wed, 6 Mar 2024 03:37:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2E3EE2A00; Wed, 6 Mar 2024 03:37:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A546AE2A00 for ; Wed, 6 Mar 2024 03:37:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46CCE343069 for ; Wed, 6 Mar 2024 03:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B46B14F6 for ; Wed, 6 Mar 2024 03:37:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709696182.95bd4d2e42ab5a2cc58e1b683aa24273ad3078e5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ply/ply-2.3.0.ebuild X-VCS-Directories: dev-util/ply/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 95bd4d2e42ab5a2cc58e1b683aa24273ad3078e5 X-VCS-Branch: master Date: Wed, 6 Mar 2024 03:37:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90e751df-9ed1-42c3-b232-4c8b99087a4b X-Archives-Hash: f8e4a57c063170c7f90eb6bb4f7fb25a commit: 95bd4d2e42ab5a2cc58e1b683aa24273ad3078e5 Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 6 02:57:20 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 6 03:36:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95bd4d2e dev-util/ply: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/858458 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-util/ply/ply-2.3.0.ebuild | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-util/ply/ply-2.3.0.ebuild b/dev-util/ply/ply-2.3.0.ebuild index d6512d640f1a..ba9de28027fe 100644 --- a/dev-util/ply/ply-2.3.0.ebuild +++ b/dev-util/ply/ply-2.3.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools linux-info +inherit autotools flag-o-matic linux-info DESCRIPTION="Dynamic instrumentation of the Linux kernel with BPF and kprobes" HOMEPAGE="https://github.com/iovisor/ply" @@ -34,6 +34,18 @@ src_prepare() { eautoreconf } +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/858458 + # https://github.com/iovisor/ply/issues/92 + # + # Do not trust it with LTO either. + append-flags -fno-strict-aliasing + filter-lto + + default +} + src_install() { default rm -f "${ED}/usr/share/doc/${P}/COPYING"