The package rpms/chromium.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/chromium.git/commit/?id=c4b52ce1020e....
Change: +%ifarch x86_64
Thanks.
Full change: ============
commit a11ab82a27864a7d5225feae334f17985761fc95 Merge: f2628e6 c4b52ce Author: Than Ngo than@redhat.com Date: Wed Apr 30 18:13:28 2025 +0200
Merge branch 'rawhide' into f40
commit c4b52ce1020e66badca8b730623a6aafe85481a1 Author: Than Ngo than@redhat.com Date: Wed Apr 30 18:01:40 2025 +0200
Workaround for clang crash due to old clang-18.x on x86_64 el9/fedora40
diff --git a/chromium-136-cnnpack-clang18-crash-x86_64.patch b/chromium-136-cnnpack-clang18-crash-x86_64.patch new file mode 100644 index 0000000..f725834 --- /dev/null +++ b/chromium-136-cnnpack-clang18-crash-x86_64.patch @@ -0,0 +1,11 @@ +diff -up chromium-136.0.7103.59/third_party/xnnpack/BUILD.gn.than chromium-136.0.7103.59/third_party/xnnpack/BUILD.gn +--- chromium-136.0.7103.59/third_party/xnnpack/BUILD.gn.than 2025-04-30 17:40:49.303107833 +0200 ++++ chromium-136.0.7103.59/third_party/xnnpack/BUILD.gn 2025-04-30 17:51:06.934912263 +0200 +@@ -28,6 +28,7 @@ config("xnnpack_config") { + cflags = [ + "-Wno-unused-function", + "-Wno-deprecated-comma-subscript", ++ "-O0", + ] + + defines = [ diff --git a/chromium-latest.py b/chromium-latest.py index dc94fd7..f8dddb4 100755 --- a/chromium-latest.py +++ b/chromium-latest.py @@ -358,6 +358,6 @@ if __name__ == '__main__': if (not args.prep): print("Compressing cleaned tree, please wait...") os.chdir(chromium_root_dir) - os.system("tar --exclude=\.svn -cf - chromium-%s | xz -9 -T 0 -f > %s" % (chromium_version, chromium_clean_xz_file)) + os.system("tar --exclude=\.svn -cf - chromium-%s | xz -6 -T0 -f > %s" % (chromium_version, chromium_clean_xz_file))
print("Finished!") diff --git a/chromium.spec b/chromium.spec index d7b35ff..08ec774 100644 --- a/chromium.spec +++ b/chromium.spec @@ -341,6 +341,9 @@ Patch315: chromium-134-rust-libadler2.patch # add -ftrivial-auto-var-init=zero and -fwrapv Patch316: chromium-122-clang-build-flags.patch
+# Workaround for clang crash due to old clang-18.x on x86_64 el9/fedora40 +Patch317: chromium-136-cnnpack-clang18-crash-x86_64.patch + # Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2239523 # https://bugs.chromium.org/p/chromium/issues/detail?id=1145581#c60 # Disable BTI until this is fixed upstream. @@ -1033,6 +1036,9 @@ Qt6 UI for chromium. %patch -P309 -p1 -b .el8-unsupport-rustc-flags %patch -P310 -p1 -b .el8-clang18-build-error %patch -P311 -p1 -b .clang18-template +%ifarch x86_64 +%patch -P317 -p1 -b .xnnpack-clang18-crash-x86_64 +%endif %endif
%patch -P312 -p1 -b .fstack-protector-strong
arch-excludes@lists.fedoraproject.org