⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179110 in webkit


Ignore:
Timestamp:
Jan 26, 2015, 1:42:02 AM (12 years ago)
Author:
zandobersek@gmail.com
Message:

[EFL][GTK] Stop compiling with fno-omit-frame-pointer, -fno-tree-dce
https://bugs.webkit.org/show_bug.cgi?id=140609

Reviewed by Csaba Osztrogonác.

The latest releases of GCC versions 4.7, 4.8 and 4.9 all compile and
run JSC tests fine without the -fno-tree-dce and -fno-omit-frame-pointer
compilation flags. Those were added after the jsCStack branch merge, but
can now be removed since the -ftree-dce issues were fixed in GCC, and
changes in r173282 and r173298 again enable compiling with -fomit-frame-pointer.

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/OptionsGTK.cmake:
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r179109 r179110  
     12015-01-26  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [EFL][GTK] Stop compiling with fno-omit-frame-pointer, -fno-tree-dce
     4        https://bugs.webkit.org/show_bug.cgi?id=140609
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        The latest releases of GCC versions 4.7, 4.8 and 4.9 all compile and
     9        run JSC tests fine without the -fno-tree-dce and -fno-omit-frame-pointer
     10        compilation flags. Those were added after the jsCStack branch merge, but
     11        can now be removed since the -ftree-dce issues were fixed in GCC, and
     12        changes in r173282 and r173298 again enable compiling with -fomit-frame-pointer.
     13
     14        * Source/cmake/OptionsEfl.cmake:
     15        * Source/cmake/OptionsGTK.cmake:
     16
    1172015-01-26  Commit Queue  <commit-queue@webkit.org>
    218
  • trunk/Source/cmake/OptionsEfl.cmake

    r178820 r179110  
    261261# Push of rbp is needed after JSC JIT uses CStack.
    262262if (CMAKE_COMPILER_IS_GNUCC AND UNIX AND NOT APPLE)
    263     set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-tree-dce")
    264     set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -ffunction-sections -fdata-sections -fno-rtti -fno-omit-frame-pointer -fno-tree-dce")
     263    set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffunction-sections -fdata-sections")
     264    set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -ffunction-sections -fdata-sections -fno-rtti")
    265265    set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} -Wl,--gc-sections")
    266266endif ()
  • trunk/Source/cmake/OptionsGTK.cmake

    r179109 r179110  
    364364set(SHOULD_INSTALL_JS_SHELL ON)
    365365
    366 # Push of rbp is needed after JSC JIT uses CStack. See http://wkbug.com/127777.
    367 if (UNIX AND NOT APPLE)
    368     if (CMAKE_COMPILER_IS_GNUCXX)
    369         set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-omit-frame-pointer -fno-tree-dce")
    370         set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-omit-frame-pointer -fno-tree-dce")
    371     endif ()
    372     if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
    373         set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-omit-frame-pointer")
    374         set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-omit-frame-pointer")
    375     endif ()
    376 endif ()
    377 
    378366# Add a typelib file to the list of all typelib dependencies. This makes it easy to
    379367# expose a 'gir' target with all gobject-introspection files.
Note: See TracChangeset for help on using the changeset viewer.