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 3AE6F158041 for ; Wed, 13 Mar 2024 21:04:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9B49E29D7; Wed, 13 Mar 2024 21:04:44 +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 93FC3E29D7 for ; Wed, 13 Mar 2024 21:04:44 +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 AF878343016 for ; Wed, 13 Mar 2024 21:04:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19098151D for ; Wed, 13 Mar 2024 21:04:41 +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: <1710363848.1ebd8326257a79006c4517d93f3a07eadd000834.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libfpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libfpx/libfpx-1.3.1_p10.ebuild X-VCS-Directories: media-libs/libfpx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ebd8326257a79006c4517d93f3a07eadd000834 X-VCS-Branch: master Date: Wed, 13 Mar 2024 21:04:41 +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: e268199d-2068-432f-b1ad-2cb34e1e1f79 X-Archives-Hash: 2c4c54b6af49abda727cf04eed08f754 commit: 1ebd8326257a79006c4517d93f3a07eadd000834 Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 13 19:26:45 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 13 21:04:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ebd8326 media-libs/libfpx: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/859913 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/libfpx/libfpx-1.3.1_p10.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild index d1090723cb3e..782c66231228 100644 --- a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild +++ b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/859913 + # https://github.com/ImageMagick/libfpx/issues/6 + # + # Do not trust for LTO either + append-flags -fno-strict-aliasing + filter-lto + append-ldflags -Wl,--no-undefined econf \ $(use_enable static-libs static) \