public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marek Polacek <polacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Disable annobin for now. Adjust sanitizer_linux.cc patch.
Date: Mon, 29 Jun 2026 12:27:39 GMT [thread overview]
Message-ID: <178273605962.1.7210081402041003542.rpms-gcc-544398b50217@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 544398b502174383fd3bf8a44f8aecd9ed47806c
Author : Marek Polacek <polacek@redhat.com>
Date : 2017-11-30T19:49:49+01:00
Stats : +19/-15 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/544398b502174383fd3bf8a44f8aecd9ed47806c?branch=rhel-f41-base
Log:
Disable annobin for now. Adjust sanitizer_linux.cc patch.
---
diff --git a/gcc.spec b/gcc.spec
index 3ab0d06..e31732e 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -11,6 +11,10 @@
%global _performance_build 1
# Hardening slows the compiler way too much.
%undefine _hardened_build
+%if 0%{?fedora} > 27
+# Until annobin is fixed (#1519165).
+%undefine _annotated_build
+%endif
%global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64
%ifarch %{ix86} x86_64 ia64 ppc %{power64} alpha s390x %{arm} aarch64
%global build_ada 1
@@ -237,6 +241,7 @@ Patch13: gcc7-pr81325.patch
Patch14: gcc7-pr82112-1.patch
Patch15: gcc7-pr82112-2.patch
Patch16: gcc7-pr81929.patch
+Patch17: gcc7-aarch64-sanitizer-fix.patch
Patch1000: nvptx-tools-no-ptxas.patch
Patch1001: nvptx-tools-build.patch
@@ -259,7 +264,6 @@ Patch2014: gcc7-rh1512529-14.patch
Patch2015: gcc7-rh1512529-15.patch
Patch2016: gcc7-rh1512529-16.patch
Patch2017: gcc7-rh1512529-17.patch
-Patch2018: gcc7-rh1512529-18.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -850,6 +854,9 @@ package or when debugging this package.
%patch14 -p0 -b .pr82112-1~
%patch15 -p0 -b .pr82112-2~
%patch16 -p0 -b .pr81929~
+%if 0%{?fedora} > 27
+%patch17 -p0 -b .aarch64-sanitizer-fix~
+%endif
cd nvptx-tools-%{nvptx_tools_gitrev}
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
@@ -874,7 +881,6 @@ cd ..
%patch2015 -p1
%patch2016 -p1
%patch2017 -p1
-%patch2018 -p1
%if 0%{?_enable_debug_packages}
mkdir dwz-wrapper
diff --git a/gcc7-aarch64-sanitizer-fix.patch b/gcc7-aarch64-sanitizer-fix.patch
new file mode 100644
index 0000000..c1d8cba
--- /dev/null
+++ b/gcc7-aarch64-sanitizer-fix.patch
@@ -0,0 +1,11 @@
+--- libsanitizer/sanitizer_common/sanitizer_linux.cc
++++ libsanitizer/sanitizer_common/sanitizer_linux.cc
+@@ -1262,7 +1262,7 @@ struct __sanitizer_esr_context {
+
+ static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
+ static const u32 kEsrMagic = 0x45535201;
+- u8 *aux = ucontext->uc_mcontext.__reserved;
++ u8 *aux = ucontext->uc_mcontext.__glibc_reserved1;
+ while (true) {
+ _aarch64_ctx *ctx = (_aarch64_ctx *)aux;
+ if (ctx->size == 0) break;
diff --git a/gcc7-rh1512529-18.patch b/gcc7-rh1512529-18.patch
deleted file mode 100644
index 0aaf01f..0000000
--- a/gcc7-rh1512529-18.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.cc b/libsanitizer/sanitizer_common/sanitizer_linux.cc
-index 5b6f18602e7..b5e96a1a0e4 100644
---- a/libsanitizer/sanitizer_common/sanitizer_linux.cc
-+++ b/libsanitizer/sanitizer_common/sanitizer_linux.cc
-@@ -1262,7 +1262,7 @@ struct __sanitizer_esr_context {
-
- static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
- static const u32 kEsrMagic = 0x45535201;
-- u8 *aux = ucontext->uc_mcontext.__reserved;
-+ u8 *aux = ucontext->uc_mcontext.__glibc_reserved1;
- while (true) {
- _aarch64_ctx *ctx = (_aarch64_ctx *)aux;
- if (ctx->size == 0) break;
reply other threads:[~2026-06-29 12:27 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=178273605962.1.7210081402041003542.rpms-gcc-544398b50217@fedoraproject.org \
--to=polacek@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