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 6A71C158041 for ; Tue, 5 Mar 2024 04:48:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51EFDE2A2D; Tue, 5 Mar 2024 04:48:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DB05DE2A2D for ; Tue, 5 Mar 2024 04:48:51 +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 2216D343091 for ; Tue, 5 Mar 2024 04:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 483B514EF for ; Tue, 5 Mar 2024 04:48:48 +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: <1709614069.6a195fb3ef89176315f1bcbdb6ad0e296e94d055.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild media-libs/lsp-plugins/lsp-plugins-9999.ebuild X-VCS-Directories: media-libs/lsp-plugins/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6a195fb3ef89176315f1bcbdb6ad0e296e94d055 X-VCS-Branch: master Date: Tue, 5 Mar 2024 04:48:48 +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: 1ff43451-515f-4d07-8596-46c02a452dd4 X-Archives-Hash: cafa93d36560e696bbb54b97e36d7b99 commit: 6a195fb3ef89176315f1bcbdb6ad0e296e94d055 Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 5 01:10:53 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 5 04:47:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a195fb3 media-libs/lsp-plugins: mark as LTO-unsafe Closes: https://bugs.gentoo.org/875833 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild | 13 ++++++++++++- media-libs/lsp-plugins/lsp-plugins-9999.ebuild | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild index 020b5fd8f482..d8569e54fdd7 100644 --- a/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -55,6 +55,17 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/875833 + # + # Actually the whole thing is kind of a waste of time. It looks like + # programs use LDFLAGS, but libraries do not! So some things don't + # build with LTO, while other things don't build when LTO is enabled. + # Attempting to build with LTO is just a waste of time and cycles. + # + # This was reported upstream but the ticket closed. Abandon hope. + filter-lto + use doc && MODULES+="doc" use jack && MODULES+=" jack" use ladspa && MODULES+=" ladspa" diff --git a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild index 9d7901ffd074..0292665b83a8 100644 --- a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -56,6 +56,17 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/875833 + # + # Actually the whole thing is kind of a waste of time. It looks like + # programs use LDFLAGS, but libraries do not! So some things don't + # build with LTO, while other things don't build when LTO is enabled. + # Attempting to build with LTO is just a waste of time and cycles. + # + # This was reported upstream but the ticket closed. Abandon hope. + filter-lto + use doc && MODULES+="doc" use jack && MODULES+=" jack" use ladspa && MODULES+=" ladspa"