summaryrefslogtreecommitdiff
path: root/build-jit-atomic-always-lucky.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-08-29 13:01:25 +0200
committerJan Horak <jhorak@redhat.com>2017-08-29 13:01:25 +0200
commit49bb7a96a20d6817b64e87424d5a10e5945e47ea (patch)
treedfba253541c8d283e6af5be591ab322827f8b2f1 /build-jit-atomic-always-lucky.patch
parentFixing patch number (diff)
downloadlibrewolf-fedora-ff-49bb7a96a20d6817b64e87424d5a10e5945e47ea.tar.gz
librewolf-fedora-ff-49bb7a96a20d6817b64e87424d5a10e5945e47ea.tar.bz2
librewolf-fedora-ff-49bb7a96a20d6817b64e87424d5a10e5945e47ea.zip
Trying to fix jit build on s390x - by using atomic lucky
Diffstat (limited to 'build-jit-atomic-always-lucky.patch')
-rw-r--r--build-jit-atomic-always-lucky.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/build-jit-atomic-always-lucky.patch b/build-jit-atomic-always-lucky.patch
new file mode 100644
index 0000000..ad8af85
--- /dev/null
+++ b/build-jit-atomic-always-lucky.patch
@@ -0,0 +1,12 @@
+diff -up firefox-55.0.2/js/src/jit/AtomicOperations.h.jit-atomic-lucky firefox-55.0.2/js/src/jit/AtomicOperations.h
+--- firefox-55.0.2/js/src/jit/AtomicOperations.h.jit-atomic-lucky 2017-07-31 18:20:47.000000000 +0200
++++ firefox-55.0.2/js/src/jit/AtomicOperations.h 2017-08-29 11:53:27.790497321 +0200
+@@ -348,7 +348,7 @@ AtomicOperations::isLockfree(int32_t siz
+ # elif defined(__sh__)
+ # include "jit/none/AtomicOperations-feeling-lucky.h"
+ # else
+-# include "jit/none/AtomicOperations-none.h" // These MOZ_CRASH() always
++# include "jit/none/AtomicOperations-feeling-lucky.h"
+ # endif
+ #elif defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64)
+ # include "jit/x86-shared/AtomicOperations-x86-shared.h"
bgstack15