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: fix build error on el7 and el8 - fatal error: sys/ifunc.h file not found
Date: Fri, 07 Aug 2026 16:06:34 GMT [thread overview]
Message-ID: <178611879439.1.9627687635066218200.rpms-chromium-8479637a3e1e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 8479637a3e1ee7f84ef2fce7f0acb1cea16aca0e
Author : Than Ngo <than@redhat.com>
Date : 2024-06-12T19:20:44+02:00
Stats : +17/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/8479637a3e1ee7f84ef2fce7f0acb1cea16aca0e?branch=epel9-next
Log:
fix build error on el7 and el8 - fatal error: sys/ifunc.h file not found
---
diff --git a/chromium-126-ifunc-header.patch b/chromium-126-ifunc-header.patch
new file mode 100644
index 0000000..72368df
--- /dev/null
+++ b/chromium-126-ifunc-header.patch
@@ -0,0 +1,15 @@
+diff -up chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
+--- chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-06-12 13:09:47.539620293 -0400
++++ chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-06-12 13:12:10.570739701 -0400
+@@ -10,9 +10,11 @@
+ #include "partition_alloc/build_config.h"
+ #include "partition_alloc/partition_alloc_buildflags.h"
+
++#if 0
+ #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+ #define HAS_HW_CAPS
+ #endif
++#endif
+
+ #if defined(ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
+ #include <asm/hwcap.h>
diff --git a/chromium.spec b/chromium.spec
index 4c55847..e05ec87 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -454,6 +454,7 @@ Patch150: chromium-124-qt6.patch
# disable memory tagging in epel7 and epel8 on aarch64 due to new feature IFUNC-Resolver
# not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
Patch305: chromium-124-arm64-memory_tagging.patch
+Patch306: chromium-126-ifunc-header.patch
# compiler errors on el7/el8 and f38 (clang <17)
Patch307: chromium-125-el-NativeValueTraits-p1.patch
@@ -1222,6 +1223,7 @@ cp /opt/rh/%{toolset}-%{dts_version}/root/usr/include/c++/%{dts_version}/optiona
%if 0%{?rhel} && 0%{?rhel} <= 8
%ifarch aarch64
%patch -P305 -p1 -b .memory_tagging
+%patch -P306 -p1 -b .ifunc-header
%patch -P317 -p1 -b .libdav1d-aarch64
%endif
%endif
reply other threads:[~2026-08-07 16:06 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=178611879439.1.9627687635066218200.rpms-chromium-8479637a3e1e@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