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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EAFD15813A for ; Thu, 16 Jan 2025 08:00:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A977E07E2; Thu, 16 Jan 2025 08:00:50 +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 3913DE07E1 for ; Thu, 16 Jan 2025 08:00:50 +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 39BB73430E9 for ; Thu, 16 Jan 2025 08:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FAAD1F9A for ; Thu, 16 Jan 2025 08:00:47 +0000 (UTC) From: "Matt Jolly" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" Message-ID: <1737014417.1b40c2dc50ed4e09d413563e0bbcd519f90f3c3d.kangie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-130.0.6723.116-r1.ebuild www-client/chromium/chromium-131.0.6778.139.ebuild www-client/chromium/chromium-131.0.6778.204.ebuild www-client/chromium/chromium-131.0.6778.264.ebuild www-client/chromium/chromium-132.0.6834.83.ebuild www-client/chromium/chromium-133.0.6943.6.ebuild X-VCS-Directories: www-client/chromium/ X-VCS-Committer: kangie X-VCS-Committer-Name: Matt Jolly X-VCS-Revision: 1b40c2dc50ed4e09d413563e0bbcd519f90f3c3d X-VCS-Branch: master Date: Thu, 16 Jan 2025 08:00:47 +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: 33c60fdf-ca95-4689-ab4b-acdab4bbcf05 X-Archives-Hash: f2e260063c2c7d8e4f1812cb4b769a8a commit: 1b40c2dc50ed4e09d413563e0bbcd519f90f3c3d Author: Matt Jolly gentoo org> AuthorDate: Wed Jan 15 12:05:05 2025 +0000 Commit: Matt Jolly gentoo org> CommitDate: Thu Jan 16 08:00:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b40c2dc www-client/chromium: depend on compiler-rt-sanitizers[cfi] We enable CFI with USE=official when LTO is enabled. While most profiles enable USE=cfi anyway, we can be more specific and ensure that the USE is enabled when CFI is likely to be enabled - we can't do that based on LTO so USE=official will serve as a reasonable proxy. Since llvm/runtimes/compiler-rt-sanitizers[cfi] is not available on ppc64, special-case that arch and do not enable CFI. Closes: https://bugs.gentoo.org/946853 Signed-off-by: Matt Jolly gentoo.org> www-client/chromium/chromium-130.0.6723.116-r1.ebuild | 18 +++++++++++------- www-client/chromium/chromium-131.0.6778.139.ebuild | 11 +++++++++-- www-client/chromium/chromium-131.0.6778.204.ebuild | 11 +++++++++-- www-client/chromium/chromium-131.0.6778.264.ebuild | 9 ++++++++- www-client/chromium/chromium-132.0.6834.83.ebuild | 9 ++++++++- www-client/chromium/chromium-133.0.6943.6.ebuild | 9 ++++++++- 6 files changed, 53 insertions(+), 14 deletions(-) diff --git a/www-client/chromium/chromium-130.0.6723.116-r1.ebuild b/www-client/chromium/chromium-130.0.6723.116-r1.ebuild index ae7bc679a437..dd7163ac2a8a 100644 --- a/www-client/chromium/chromium-130.0.6723.116-r1.ebuild +++ b/www-client/chromium/chromium-130.0.6723.116-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2009-2024 Gentoo Authors +# Copyright 2009-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -175,11 +175,11 @@ BDEPEND=" qt5? ( dev-qt/qtcore:5 ) qt6? ( dev-qt/qtbase:6 ) ) - $(llvm_gen_dep " - llvm-core/clang:\${LLVM_SLOT} - llvm-core/llvm:\${LLVM_SLOT} - llvm-core/lld:\${LLVM_SLOT} - ") + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + llvm-core/lld:${LLVM_SLOT} + ') pgo? ( >=dev-python/selenium-3.141.0 >=dev-util/web_page_replay_go-20220314 @@ -1073,7 +1073,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi diff --git a/www-client/chromium/chromium-131.0.6778.139.ebuild b/www-client/chromium/chromium-131.0.6778.139.ebuild index 2fbee807309f..c543447a0c0a 100644 --- a/www-client/chromium/chromium-131.0.6778.139.ebuild +++ b/www-client/chromium/chromium-131.0.6778.139.ebuild @@ -1,4 +1,4 @@ -# Copyright 2009-2024 Gentoo Authors +# Copyright 2009-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -179,6 +179,9 @@ BDEPEND=" llvm-core/clang:${LLVM_SLOT} llvm-core/llvm:${LLVM_SLOT} llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') pgo? ( >=dev-python/selenium-3.141.0 @@ -1085,7 +1088,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi diff --git a/www-client/chromium/chromium-131.0.6778.204.ebuild b/www-client/chromium/chromium-131.0.6778.204.ebuild index 9704b68b736c..4c4e2fa9cc7c 100644 --- a/www-client/chromium/chromium-131.0.6778.204.ebuild +++ b/www-client/chromium/chromium-131.0.6778.204.ebuild @@ -1,4 +1,4 @@ -# Copyright 2009-2024 Gentoo Authors +# Copyright 2009-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -179,6 +179,9 @@ BDEPEND=" llvm-core/clang:${LLVM_SLOT} llvm-core/llvm:${LLVM_SLOT} llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') pgo? ( >=dev-python/selenium-3.141.0 @@ -1085,7 +1088,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi diff --git a/www-client/chromium/chromium-131.0.6778.264.ebuild b/www-client/chromium/chromium-131.0.6778.264.ebuild index adda2b0c6e60..5259fc3e5133 100644 --- a/www-client/chromium/chromium-131.0.6778.264.ebuild +++ b/www-client/chromium/chromium-131.0.6778.264.ebuild @@ -179,6 +179,9 @@ BDEPEND=" llvm-core/clang:${LLVM_SLOT} llvm-core/llvm:${LLVM_SLOT} llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') pgo? ( >=dev-python/selenium-3.141.0 @@ -1085,7 +1088,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi diff --git a/www-client/chromium/chromium-132.0.6834.83.ebuild b/www-client/chromium/chromium-132.0.6834.83.ebuild index f663dc7a02a8..80e260d2af88 100644 --- a/www-client/chromium/chromium-132.0.6834.83.ebuild +++ b/www-client/chromium/chromium-132.0.6834.83.ebuild @@ -178,6 +178,9 @@ BDEPEND=" llvm-core/clang:${LLVM_SLOT} llvm-core/llvm:${LLVM_SLOT} llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') pgo? ( >=dev-python/selenium-3.141.0 @@ -1095,7 +1098,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi diff --git a/www-client/chromium/chromium-133.0.6943.6.ebuild b/www-client/chromium/chromium-133.0.6943.6.ebuild index bc418143d04c..d52caeb0683f 100644 --- a/www-client/chromium/chromium-133.0.6943.6.ebuild +++ b/www-client/chromium/chromium-133.0.6943.6.ebuild @@ -187,6 +187,9 @@ BDEPEND=" llvm-core/clang:${LLVM_SLOT} llvm-core/llvm:${LLVM_SLOT} llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') pgo? ( >=dev-python/selenium-3.141.0 @@ -1118,7 +1121,11 @@ chromium_configure() { # Allow building against system libraries in official builds sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ tools/generate_shim_headers/generate_shim_headers.py || die - myconf_gn+=" is_cfi=${use_lto}" + if use ppc64; then + myconf_gn+=" is_cfi=no" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi # Don't add symbols to build myconf_gn+=" symbol_level=0" fi