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 9CB2F15838C for ; Sun, 28 Jan 2024 19:57:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B85F42BC013; Sun, 28 Jan 2024 19:57:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B3DA2BC013 for ; Sun, 28 Jan 2024 19:57:07 +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 8FB2D34345C for ; Sun, 28 Jan 2024 19:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB774BE7 for ; Sun, 28 Jan 2024 19:57:04 +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: <1706471807.09792f688fc71e165c9512efff4d23afdfb8e3e7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-120.0.6099.129.ebuild www-client/chromium/chromium-120.0.6099.224.ebuild www-client/chromium/chromium-121.0.6167.85.ebuild www-client/chromium/chromium-122.0.6261.6.ebuild X-VCS-Directories: www-client/chromium/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 09792f688fc71e165c9512efff4d23afdfb8e3e7 X-VCS-Branch: master Date: Sun, 28 Jan 2024 19:57:04 +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: 2896470e-5271-45a6-89e7-91bcb5e3d41c X-Archives-Hash: c6c82414ac58e3478259282c83d17b6f commit: 09792f688fc71e165c9512efff4d23afdfb8e3e7 Author: Sam James gentoo org> AuthorDate: Sun Jan 28 19:56:24 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 28 19:56:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09792f68 www-client/chromium: always pass -Wl,--undefined-version if supported Needed for e.g. mold and also if the ebuild didn't force lld but it's being used. Bug: https://bugs.gentoo.org/918897 Signed-off-by: Sam James gentoo.org> www-client/chromium/chromium-120.0.6099.129.ebuild | 5 +++-- www-client/chromium/chromium-120.0.6099.224.ebuild | 5 +++-- www-client/chromium/chromium-121.0.6167.85.ebuild | 7 ++++--- www-client/chromium/chromium-122.0.6261.6.ebuild | 7 ++++--- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/www-client/chromium/chromium-120.0.6099.129.ebuild b/www-client/chromium/chromium-120.0.6099.129.ebuild index 671a9a910671..91a4aac3089a 100644 --- a/www-client/chromium/chromium-120.0.6099.129.ebuild +++ b/www-client/chromium/chromium-120.0.6099.129.ebuild @@ -719,10 +719,11 @@ chromium_configure() { myconf_gn+=" is_clang=false" fi + # https://bugs.gentoo.org/918897#c32 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + # Force lld for lto and pgo builds, otherwise disable, bug 641556 if needs_lld || use lto || use pgo; then - # https://bugs.gentoo.org/918897#c32 - append-ldflags -Wl,--undefined-version myconf_gn+=" use_lld=true" else myconf_gn+=" use_lld=false" diff --git a/www-client/chromium/chromium-120.0.6099.224.ebuild b/www-client/chromium/chromium-120.0.6099.224.ebuild index ec304dfd9b96..fc235299b7a4 100644 --- a/www-client/chromium/chromium-120.0.6099.224.ebuild +++ b/www-client/chromium/chromium-120.0.6099.224.ebuild @@ -719,10 +719,11 @@ chromium_configure() { myconf_gn+=" is_clang=false" fi + # https://bugs.gentoo.org/918897#c32 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + # Force lld for lto and pgo builds, otherwise disable, bug 641556 if needs_lld || use lto || use pgo; then - # https://bugs.gentoo.org/918897#c32 - append-ldflags -Wl,--undefined-version myconf_gn+=" use_lld=true" else myconf_gn+=" use_lld=false" diff --git a/www-client/chromium/chromium-121.0.6167.85.ebuild b/www-client/chromium/chromium-121.0.6167.85.ebuild index ce967e9c792f..b763322aa50c 100644 --- a/www-client/chromium/chromium-121.0.6167.85.ebuild +++ b/www-client/chromium/chromium-121.0.6167.85.ebuild @@ -1,4 +1,4 @@ -# Copyright 2009-2023 Gentoo Authors +# Copyright 2009-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -760,10 +760,11 @@ chromium_configure() { myconf_gn+=" is_clang=false" fi + # https://bugs.gentoo.org/918897#c32 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + # 641556: Force lld for lto and pgo builds, otherwise disable if needs_lld || use lto || use pgo; then - # https://bugs.gentoo.org/918897#c32 - append-ldflags -Wl,--undefined-version myconf_gn+=" use_lld=true" else # This doesn't prevent lld from being used, but rather prevents gn from forcing it diff --git a/www-client/chromium/chromium-122.0.6261.6.ebuild b/www-client/chromium/chromium-122.0.6261.6.ebuild index 191e521abd6b..6fd300f560f1 100644 --- a/www-client/chromium/chromium-122.0.6261.6.ebuild +++ b/www-client/chromium/chromium-122.0.6261.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2009-2023 Gentoo Authors +# Copyright 2009-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -765,9 +765,10 @@ chromium_configure() { fi fi + # https://bugs.gentoo.org/918897#c32 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + if needs_lld ; then - # https://bugs.gentoo.org/918897#c32 - append-ldflags -Wl,--undefined-version myconf_gn+=" use_lld=true" else # This doesn't prevent lld from being used, but rather prevents gn from forcing it