Changeset 226268 in webkit
- Timestamp:
- Dec 22, 2017 10:12:53 AM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r226266 r226268 1 2017-12-22 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds 4 https://bugs.webkit.org/show_bug.cgi?id=179914 5 <rdar://problem/36196039> 6 7 Unreviewed. 8 9 * PlatformGTK.cmake: 10 1 11 2017-12-22 Michael Catanzaro <mcatanzaro@igalia.com> 2 12 -
trunk/Source/JavaScriptCore/PlatformGTK.cmake
r226266 r226268 66 66 set_target_properties(JavaScriptCoreGTK PROPERTIES VERSION ${JAVASCRIPTCORE_VERSION} SOVERSION ${JAVASCRIPTCORE_VERSION_MAJOR}) 67 67 68 if ( DEVELOPER_MODE)68 if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") 69 69 WEBKIT_ADD_TARGET_PROPERTIES(JavaScriptCoreGTK LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/javascriptcoregtk-symbols.map") 70 70 endif () -
trunk/Source/WebKit/ChangeLog
r226266 r226268 1 2017-12-22 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds 4 https://bugs.webkit.org/show_bug.cgi?id=179914 5 <rdar://problem/36196039> 6 7 Unreviewed. 8 9 I messed up a last-minute change, and inverted the conditional that determines whether to 10 use the version script. I did test this change to ensure that it worked properly by checking 11 that the library size was correct, but only in non-developer mode. My test was thwarted by 12 -fvisibility=hidden. It looks like so few internal symbols are exported that missing the 13 version script had little impact on the size of the resulting libraries. That's good, I 14 suppose. 15 16 * PlatformGTK.cmake: 17 * PlatformWPE.cmake: 18 1 19 2017-12-22 Michael Catanzaro <mcatanzaro@igalia.com> 2 20 -
trunk/Source/WebKit/PlatformGTK.cmake
r226266 r226268 25 25 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}") 26 26 27 if ( DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")27 if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") 28 28 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") 29 29 endif () -
trunk/Source/WebKit/PlatformWPE.cmake
r226266 r226268 17 17 add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}") 18 18 19 if ( DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")19 if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") 20 20 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") 21 21 endif ()
Note: See TracChangeset
for help on using the changeset viewer.