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: add workaround for chromium chrashes with SIGILL on BTI capable systems (Apple M2)
Date: Fri, 07 Aug 2026 16:05:32 GMT	[thread overview]
Message-ID: <178611873298.1.4906940464881409105.rpms-chromium-c85b98f7c682@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : c85b98f7c682efdee15ea86318e1722bbaa7228c
Author : Than Ngo <than@redhat.com>
Date   : 2023-09-28T17:28:13+02:00
Stats  : +8/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/c85b98f7c682efdee15ea86318e1722bbaa7228c?branch=epel9-next

Log:
add workaround for chromium chrashes with SIGILL on BTI capable systems (Apple M2)

---
diff --git a/chromium.spec b/chromium.spec
index 973b092..c81fdd9 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1071,6 +1071,14 @@ FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -W
 FLAGS+=' -Wno-unused-const-variable -Wno-unneeded-internal-declaration -Wno-unknown-attributes'
 %endif
 
+# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2239523
+# Disable BTI until this is fixed upstream.
+%ifarch aarch64
+%if 0%{?fedora}
+FLAGS="${FLAGS/-mbranch-protection=standard/-mbranch-protection=none}"
+%endif
+%endif
+
 %if %{system_build_flags}
 CFLAGS=${CFLAGS/-g }
 CFLAGS=${CFLAGS/-fexceptions}

                 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=178611873298.1.4906940464881409105.rpms-chromium-c85b98f7c682@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