summaryrefslogtreecommitdiff
path: root/firefox-gcc-build.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-09-13 19:58:04 +0200
committerMartin Stransky <stransky@redhat.com>2020-09-13 19:58:04 +0200
commite6e3098b9d11e682adb28d899f43258ce13663d0 (patch)
treea238e318c3d7b6b135a9bba2477f49a3eb7a2dac /firefox-gcc-build.patch
parentBuild fixes (diff)
downloadlibrewolf-fedora-ff-e6e3098b9d11e682adb28d899f43258ce13663d0.tar.gz
librewolf-fedora-ff-e6e3098b9d11e682adb28d899f43258ce13663d0.tar.bz2
librewolf-fedora-ff-e6e3098b9d11e682adb28d899f43258ce13663d0.zip
Added fix for gcc build crash
Diffstat (limited to 'firefox-gcc-build.patch')
-rw-r--r--firefox-gcc-build.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/firefox-gcc-build.patch b/firefox-gcc-build.patch
new file mode 100644
index 0000000..55017ad
--- /dev/null
+++ b/firefox-gcc-build.patch
@@ -0,0 +1,38 @@
+--- firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-08-31 10:04:19.000000000 -0400
++++ firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-09-12 07:24:35.298931628 -0400
+@@ -1962,7 +1962,7 @@ struct kernel_statfs {
+ LSS_ENTRYPOINT \
+ "pop %%ebx" \
+ args \
+- : "esp", "memory"); \
++ : "memory"); \
+ LSS_RETURN(type,__res)
+ #undef _syscall0
+ #define _syscall0(type,name) \
+@@ -2019,7 +2019,7 @@ struct kernel_statfs {
+ : "i" (__NR_##name), "ri" ((long)(arg1)), \
+ "c" ((long)(arg2)), "d" ((long)(arg3)), \
+ "S" ((long)(arg4)), "D" ((long)(arg5)) \
+- : "esp", "memory"); \
++ : "memory"); \
+ LSS_RETURN(type,__res); \
+ }
+ #undef _syscall6
+@@ -2041,7 +2041,7 @@ struct kernel_statfs {
+ : "i" (__NR_##name), "0" ((long)(&__s)), \
+ "c" ((long)(arg2)), "d" ((long)(arg3)), \
+ "S" ((long)(arg4)), "D" ((long)(arg5)) \
+- : "esp", "memory"); \
++ : "memory"); \
+ LSS_RETURN(type,__res); \
+ }
+ LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack,
+@@ -2127,7 +2127,7 @@ struct kernel_statfs {
+ : "0"(-EINVAL), "i"(__NR_clone),
+ "m"(fn), "m"(child_stack), "m"(flags), "m"(arg),
+ "m"(parent_tidptr), "m"(newtls), "m"(child_tidptr)
+- : "esp", "memory", "ecx", "edx", "esi", "edi");
++ : "memory", "ecx", "edx", "esi", "edi");
+ LSS_RETURN(int, __res);
+ }
+
bgstack15