Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 28fd1674c709646423e2f944413c07f7 > files > 15

java-1.8.0-openjfx-1.8.0.201-1.b08.3.mga6.src.rpm

From: Iain Lane <iain.lane@canonical.com>
Description: Fix arm64 build
 Add AArch64 support in Platform.h
 Don't use COMPARE_AND_SWAP on arm64; it produces invalid asm.
 Fix some other areas where disabling JIT doesn't work.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752735
Forwarded: no
--- a/modules/web/src/main/native/Source/WTF/wtf/Platform.h
+++ b/modules/web/src/main/native/Source/WTF/wtf/Platform.h
@@ -149,7 +149,9 @@
 #if (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__)
 #define WTF_CPU_ARM64 1
 #define WTF_CPU_KNOWN 1
-
+#if defined(__AARCH64BE__)
+#define WTF_CPU_BIG_ENDIAN 1
+#endif
 #if defined(__arm64e__)
 #define WTF_CPU_ARM64E 1
 #endif
@@ -899,6 +901,11 @@
 #define ENABLE_B3_JIT 1
 #endif
 
+#if CPU(ARM64)
+#define ENABLE_FTL_JIT 1
+#define ENABLE_B3_JIT 1
+#endif
+
 #if !defined(ENABLE_WEBASSEMBLY)
 #if ENABLE(B3_JIT) && PLATFORM(COCOA)
 #define ENABLE_WEBASSEMBLY 1