Bug 191941 - [GTK] Disable the sampling profiler by default if the JIT is off
Summary: [GTK] Disable the sampling profiler by default if the JIT is off
Status: RESOLVED DUPLICATE of bug 186722
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-24 02:58 PST by Alberto Garcia
Modified: 2018-11-26 02:57 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Garcia 2018-11-24 02:58:27 PST
ENABLE_SAMPLING_PROFILER is on by default but it conflicts with ENABLE_C_LOOP, so the build fails on platform where the JIT is not supported, like x86:

This is what happens with WebKitGTK+ 2.23.1:

CMake Error at Source/cmake/WebKitFeatures.cmake:252 (message):
  ENABLE_SAMPLING_PROFILER conflicts with ENABLE_C_LOOP.  You must disable
  one or the other.
Call Stack (most recent call first):
  Source/cmake/WebKitFeatures.cmake:260 (_WEBKIT_OPTION_ENFORCE_CONFLICTS)
  Source/cmake/WebKitFeatures.cmake:285 (_WEBKIT_OPTION_ENFORCE_ALL_CONFLICTS)
  Source/cmake/OptionsGTK.cmake:162 (WEBKIT_OPTION_END)
  Source/cmake/WebKitCommon.cmake:59 (include)
  CMakeLists.txt:163 (include)
Comment 1 Michael Catanzaro 2018-11-24 06:52:02 PST
It's set properly in WebKitFeatures.cmake, so we just need to not override it in OptionsGTK.cmake. It's easiest to handle this in bug #186722.

*** This bug has been marked as a duplicate of bug 186722 ***