public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: drop unsupported ldflag which caused build failure
Date: Fri, 07 Aug 2026 16:05:49 GMT [thread overview]
Message-ID: <178611874927.1.15678304924037822775.rpms-chromium-f24d2ab0da6e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : f24d2ab0da6e004d975ba598b46c35000db38896
Author : Than Ngo <than@redhat.com>
Date : 2023-12-06T19:56:19+01:00
Stats : +21/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/f24d2ab0da6e004d975ba598b46c35000db38896?branch=epel9-next
Log:
drop unsupported ldflag which caused build failure
---
diff --git a/chromium-120-clang16-disable-auto-upgrade-debug-info.patch b/chromium-120-clang16-disable-auto-upgrade-debug-info.patch
new file mode 100644
index 0000000..ea2f483
--- /dev/null
+++ b/chromium-120-clang16-disable-auto-upgrade-debug-info.patch
@@ -0,0 +1,12 @@
+diff -up chromium-120.0.6099.62/build/config/compiler/BUILD.gn.than chromium-120.0.6099.62/build/config/compiler/BUILD.gn
+--- chromium-120.0.6099.62/build/config/compiler/BUILD.gn.than 2023-12-06 19:28:25.998327318 +0100
++++ chromium-120.0.6099.62/build/config/compiler/BUILD.gn 2023-12-06 19:28:34.190528906 +0100
+@@ -787,7 +787,7 @@ config("compiler") {
+ # toolchain has this flag.
+ # We only use one version of LLVM within a build so there's no need to
+ # upgrade debug info, which can be expensive since it runs the verifier.
+- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
++ ldflags += [ "" ]
+ }
+ }
+
diff --git a/chromium.spec b/chromium.spec
index 38a8637..8895bab 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -132,7 +132,7 @@
%global debug_package %{nil}
%global debug_level 0
%else
-%global debug_level 1
+%global debug_level 0
# workaround for the error empty file debugsource
%undefine _debugsource_packages
%endif
@@ -291,7 +291,7 @@
Name: chromium%{chromium_channel}
Version: 120.0.6099.62
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@@ -448,6 +448,8 @@ Patch354: chromium-120-split-threshold-for-reg-with-hint.patch
Patch355: chromium-120-nullptr_t-without-namespace-std.patch
# disable FFmpegAllowLists by default to allow external ffmpeg
patch356: chromium-120-disable-FFmpegAllowLists.patch
+# remove ldflags -Wl,-mllvm,-disable-auto-upgrade-debug-info which is not supported
+Patch357: chromium-120-clang16-disable-auto-upgrade-debug-info.patch
# upstream patches
@@ -1063,6 +1065,7 @@ udev.
%patch -P355 -p1 -b .nullptr_t-without-namespace-std
%endif
%patch -P356 -p1 -b .disable-FFmpegAllowLists
+%patch -P357 -p1 -b .clang16-disable-auto-upgrade-debug-info
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
@@ -1222,7 +1225,7 @@ CHROMIUM_CORE_GN_DEFINES+=' use_lld=false'
# disable rust, it's only using for testing
CHROMIUM_CORE_GN_DEFINES+=' enable_rust=false'
-CHROMIUM_CORE_GN_DEFINES+=' use_sysroot=false disable_fieldtrial_testing_config=true rtc_enable_symbol_export=true'
+CHROMIUM_CORE_GN_DEFINES+=' use_sysroot=false disable_fieldtrial_testing_config=true'
%if %{use_gold}
CHROMIUM_CORE_GN_DEFINES+=' use_gold=true'
@@ -1766,6 +1769,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%{chromium_path}/chromedriver
%changelog
+* Wed Dec 06 2023 Than Ngo <than@redhat.com> - 120.0.6099.62-2
+- drop unsupported ldflag which caused build failure
+
* Tue Dec 05 2023 Than Ngo <than@redhat.com> - 120.0.6099.62-1
- update to 120.0.6099.62
- fixed bz#2252874, built with control flow integrity (CFI) support
reply other threads:[~2026-08-07 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178611874927.1.15678304924037822775.rpms-chromium-f24d2ab0da6e@fedoraproject.org \
--to=than@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox