Changeset 183741 in webkit


Ignore:
Timestamp:
May 4, 2015 1:51:25 AM (9 years ago)
Author:
Csaba Osztrogonác
Message:

[cmake] Disable GNU Gold linker on Cortex A53
https://bugs.webkit.org/show_bug.cgi?id=144382

Reviewed by Carlos Garcia Campos.

  • Source/cmake/OptionsCommon.cmake:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r183697 r183741  
     12015-05-04  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [cmake] Disable GNU Gold linker on Cortex A53
     4        https://bugs.webkit.org/show_bug.cgi?id=144382
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Source/cmake/OptionsCommon.cmake:
     9
    1102015-05-01  Martin Robinson  <mrobinson@igalia.com>
    211
  • trunk/Source/cmake/OptionsCommon.cmake

    r183416 r183741  
    6262        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfix-cortex-a53-835769")
    6363        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfix-cortex-a53-835769")
    64         message(STATUS "Enabling Cortex-A53 workaround for compiler")
     64        message(STATUS "Enabling Cortex-A53 workaround for compiler and disabling GNU gold linker, because it doesn't support this workaround.")
    6565    endif ()
    6666endif ()
     
    6969
    7070# Use ld.gold if it is available and isn't disabled explicitly
    71 option(USE_LD_GOLD "Use GNU gold linker" ON)
     71include(CMakeDependentOption)
     72CMAKE_DEPENDENT_OPTION(USE_LD_GOLD "Use GNU gold linker" ON
     73                       "NOT CXX_ACCEPTS_MFIX_CORTEX_A53_835769" OFF)
    7274if (USE_LD_GOLD)
    7375    execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
Note: See TracChangeset for help on using the changeset viewer.