Title: [228633] releases/WebKitGTK/webkit-2.20/Source/_javascript_Core
Revision
228633
Author
carlo...@webkit.org
Date
2018-02-19 01:59:48 -0800 (Mon, 19 Feb 2018)

Log Message

Merge r228370 - [MIPS] JSC needs to be built with -latomic
https://bugs.webkit.org/show_bug.cgi?id=182610

Reviewed by Žan Doberšek.

Since r228149, on MIPS we need to link with -latomic, because
__atomic_fetch_add_8 is not available as a compiler intrinsic.

* CMakeLists.txt:

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/CMakeLists.txt (228632 => 228633)


--- releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/CMakeLists.txt	2018-02-19 09:59:43 UTC (rev 228632)
+++ releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/CMakeLists.txt	2018-02-19 09:59:48 UTC (rev 228633)
@@ -118,6 +118,16 @@
     ${LLVM_LIBRARIES}
 )
 
+# Since r228149, on MIPS we need to link with -latomic, because
+# __atomic_fetch_add_8 is not available as a compiler intrinsic. It is
+# available on other platforms (including 32-bit Arm), so the link with
+# libatomic is only neede on MIPS.
+if (WTF_CPU_MIPS)
+    list(APPEND _javascript_Core_LIBRARIES
+        -latomic
+    )
+endif ()
+
 set(_javascript_Core_SCRIPTS_SOURCES_DIR "${_javascript_CORE_DIR}/Scripts")
 
 # Globbing relies on the fact that generator-specific file names are prefixed with their directory.

Modified: releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/ChangeLog (228632 => 228633)


--- releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/ChangeLog	2018-02-19 09:59:43 UTC (rev 228632)
+++ releases/WebKitGTK/webkit-2.20/Source/_javascript_Core/ChangeLog	2018-02-19 09:59:48 UTC (rev 228633)
@@ -1,3 +1,15 @@
+2018-02-11  Guillaume Emont  <guijem...@igalia.com>
+
+        [MIPS] JSC needs to be built with -latomic
+        https://bugs.webkit.org/show_bug.cgi?id=182610
+
+        Reviewed by Žan Doberšek.
+
+        Since r228149, on MIPS we need to link with -latomic, because
+        __atomic_fetch_add_8 is not available as a compiler intrinsic.
+
+        * CMakeLists.txt:
+
 2018-01-28  Filip Pizlo  <fpi...@apple.com>
 
         Global objects should be able to use TLCs to allocate from different blocks from each other
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to