commit f842d8543d6896a083af70031fc20231b8183d10
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Jan 8 13:31:12 2019 -0500
drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
Signed-off-by: Akarshan Biswas <akarshan.biswas(a)gmail.com>
chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch | 12 ++++++++++++
chromium-freeworld.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
b/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
new file mode 100644
index 0000000..d071e81
--- /dev/null
+++ b/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
@@ -0,0 +1,12 @@
+diff -up
chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h.gcc9
chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h
+---
chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h.gcc9 2019-01-08
13:27:25.193614727 -0500
++++
chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h 2019-01-08
13:27:35.161392234 -0500
+@@ -1231,7 +1231,7 @@ typedef unsigned long int ulong;
+ "d"(LSS_SYSCALL_ARG(parent_tidptr)),
+ "r"(LSS_SYSCALL_ARG(newtls)),
+ "r"(LSS_SYSCALL_ARG(child_tidptr))
+- : "rsp", "memory", "r8",
"r10", "r11", "rcx");
++ : "memory", "r8", "r10",
"r11", "rcx");
+ }
+ LSS_RETURN(int, __res);
+ }
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 3378c6d..5f35274 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -150,7 +150,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3578.98
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A WebKit (Blink) powered web browser
Url:
http://www.chromium.org/Home
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and
(MPLv1.1 or GPLv2 or LGPLv2)
@@ -307,6 +307,8 @@ Patch123: relax-libva-version.patch
Patch124: chromium-71.0.3578.98-vaapi-libva1-compatibility.patch
# From gentoo
Patch125:
https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files...
+# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
+Patch126: chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found
here:
@@ -862,6 +864,7 @@ udev.
%patch123 -p1 -b .relaxva
%patch124 -p1 -b .va1compat
%patch125 -p1 -b .gcc-overloaded
+%patch126 -p1 -b .gcc9
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
@@ -1831,6 +1834,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r
chrome-remote-deskt
%changelog
+* Tue Jan 8 2019 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-2
+- drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
+
* Fri Dec 14 2018 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-1
- update to 71.0.3578.98