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 AE49B158041 for ; Sun, 31 Mar 2024 23:37:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B83ECE29E2; Sun, 31 Mar 2024 23:37:38 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BBCCE29E2 for ; Sun, 31 Mar 2024 23:37:38 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D3193431D4 for ; Sun, 31 Mar 2024 23:37:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 837E51581 for ; Sun, 31 Mar 2024 23:37:35 +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: <1711928026.0cb85923dadaa502397f9df19c57d83421675934.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/vboot-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild X-VCS-Directories: sys-boot/vboot-utils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0cb85923dadaa502397f9df19c57d83421675934 X-VCS-Branch: master Date: Sun, 31 Mar 2024 23:37:35 +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: 70feb910-e48c-4853-b249-d456308e3ce1 X-Archives-Hash: 8be6b2c85a4389a2c064024bcadd433e commit: 0cb85923dadaa502397f9df19c57d83421675934 Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 31 18:00:33 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 31 23:33:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb85923 sys-boot/vboot-utils: mark as LTO-unsafe Cannot be tested, because tests fail LTO. Not reporting since this is ancient chromiumOS code from years and years ago, and frankly it seems like shouting into a void. Closes: https://bugs.gentoo.org/880175 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild b/sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild index 67f272d57fa0..e409d0298875 100644 --- a/sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild +++ b/sys-boot/vboot-utils/vboot-utils-80_p20200108.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs # Can't use gitiles directly until b/19710536 is fixed. # This is the name of the latest release branch. @@ -69,6 +69,7 @@ src_prepare() { } _emake() { + local arch=$(tc-arch) emake \ V=1 \ @@ -85,6 +86,10 @@ _emake() { } src_compile() { + # -Werror=lto-type-mismatch in tests + # https://bugs.gentoo.org/880175 + filter-lto + tc-export CC AR CXX PKG_CONFIG _emake FUZZ_TEST_BINS= TEST_BINS= all }