Changeset 186263 in webkit
- Timestamp:
- Jul 3, 2015 1:39:08 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r186169 r186263 3575 3575 set_target_properties(WebCore PROPERTIES FOLDER "WebCore") 3576 3576 3577 # The -ftree-sra optimization (implicit with -O2) causes crashes when 3578 # allocating large chunks of memory using bmalloc on Intel 32bit. 3579 # See https://bugs.webkit.org/show_bug.cgi?id=146440 3580 string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR) 3581 if (CMAKE_COMPILER_IS_GNUCXX AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)$") 3582 ADD_TARGET_PROPERTIES(WebCore COMPILE_FLAGS "-fno-tree-sra") 3583 endif () 3584 3577 3585 if (WebCore_OUTPUT_NAME) 3578 3586 set_target_properties(WebCore PROPERTIES OUTPUT_NAME ${WebCore_OUTPUT_NAME}) -
trunk/Source/WebCore/ChangeLog
r186261 r186263 1 2015-07-03 Mario Sanchez Prada <mario@endlessm.com> 2 3 Crash on xLarge memory allocation using bmalloc on 32bit systems 4 https://bugs.webkit.org/show_bug.cgi?id=146440 5 6 Reviewed by Gustavo Noronha Silva. 7 8 Disable the gcc's -ftree-sra optimization (automatically enabled 9 with -O1 and higher levels) for WebCore and 32bit Intel architectures, 10 as that causes the crash in bmalloc when allocating large amounts of 11 memory from the texture mapper's tiled backing store implementation. 12 13 * CMakeLists.txt: Pass -fno-free-sra to gcc on 32bit Intel architectures. 14 1 15 2015-07-03 Csaba Osztrogonác <ossy@webkit.org> 2 16
Note: See TracChangeset
for help on using the changeset viewer.