From 42ed3387ba51a57ed74bf5b7ce4e1a4c7591cd14 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 12 Dec 2017 09:59:11 -0500 Subject: [PATCH] fix aarch64 patch --- chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch | 12 ++++++++++++ chromium.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch diff --git a/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch b/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch new file mode 100644 index 00000000..469d6800 --- /dev/null +++ b/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch @@ -0,0 +1,12 @@ +diff -up chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.aarch64glibc chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc +--- chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.aarch64glibc 2017-12-12 09:56:24.469343868 -0500 ++++ chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc 2017-12-12 09:56:38.468071095 -0500 +@@ -461,7 +461,7 @@ bool ExceptionHandler::HandleSignal(int + #if defined(__aarch64__) + ucontext_t* uc_ptr = (ucontext_t*)uc; + struct fpsimd_context* fp_ptr = +- (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; ++ (struct fpsimd_context*)&uc_ptr->uc_mcontext.__glibc_reserved1; + if (fp_ptr->head.magic == FPSIMD_MAGIC) { + memcpy(&g_crash_context_.float_state, fp_ptr, + sizeof(g_crash_context_.float_state)); diff --git a/chromium.spec b/chromium.spec index f9ee0098..d422b33d 100644 --- a/chromium.spec +++ b/chromium.spec @@ -196,7 +196,7 @@ Patch50: chromium-60.0.3112.113-libavutil-timer-include-path-fix.patch # from gentoo Patch53: chromium-61.0.3163.79-gcc-no-opt-safe-math.patch # Only needed when glibc 2.26.90 or later is used -Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch +Patch57: chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch # More gcc fixes for epel Patch58: chromium-62.0.3202.62-dde535-gcc-fix.patch Patch59: chromium-62.0.3202.62-gcc-nc.patch