Changeset 228370 in webkit


Ignore:
Timestamp:
Feb 11, 2018 11:32:16 PM (6 years ago)
Author:
guijemont@igalia.com
Message:

[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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/CMakeLists.txt

    r228302 r228370  
    116116    ${LLVM_LIBRARIES}
    117117)
     118
     119# Since r228149, on MIPS we need to link with -latomic, because
     120# __atomic_fetch_add_8 is not available as a compiler intrinsic. It is
     121# available on other platforms (including 32-bit Arm), so the link with
     122# libatomic is only neede on MIPS.
     123if (WTF_CPU_MIPS)
     124    list(APPEND JavaScriptCore_LIBRARIES
     125        -latomic
     126    )
     127endif ()
    118128
    119129set(JavaScriptCore_SCRIPTS_SOURCES_DIR "${JAVASCRIPTCORE_DIR}/Scripts")
  • trunk/Source/JavaScriptCore/ChangeLog

    r228366 r228370  
     12018-02-11  Guillaume Emont  <guijemont@igalia.com>
     2
     3        [MIPS] JSC needs to be built with -latomic
     4        https://bugs.webkit.org/show_bug.cgi?id=182610
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Since r228149, on MIPS we need to link with -latomic, because
     9        __atomic_fetch_add_8 is not available as a compiler intrinsic.
     10
     11        * CMakeLists.txt:
     12
    1132018-02-09  Filip Pizlo  <fpizlo@apple.com>
    214
Note: See TracChangeset for help on using the changeset viewer.