[webkit-dev] Disabling the JIT

Balazs Kelemen kb at inf.u-szeged.hu
Tue Apr 27 09:04:00 PDT 2010


If you want to set the flags manually, you should write "CXXFLAGS+="...
instead of "CXXFLAGS=".
However, the first method what you tried is right, so if it is crashing
then smg wrong with the JIT.
What platform (Architecture, OS, qt-version) do you use?


On 04/27/2010 05:41 PM, Nyx wrote:
> I am trying to disable the JIT when building the QT version of webkit so that
> I can instrument the interpreter for profiling purposes. I have been
> googling around and found a few suggestions, which so far have all not
> worked:
>
> If I run the following build command:
> WebKit/WebKitTools/Scripts/build-webkit --qt JAVASCRIPTCORE_JIT=no
>
> WebKit builds, but when I try to run it:
> WebKit/WebKitTools/Scripts/run-launcher --qt
>
> It crashes as soon as I try to load a page that uses JavaScript (eg:
> google).
>
> Someone also suggested building WebKit as follows:
> WebKit/WebKitTools/Scripts/build-webkit --qt
> --makeargs='CXXFLAGS="-DENABLE_JIT=0"'
>
> This works *once*, but if I try to run build-webkit a second time, I get
> lots of nonsensical compilation errors, which I can't seem to get rid of,
> even if I try to build without -DENABLE_JIT=0...
>
> Any help would be appreciated,
>
> - Max
>   



More information about the webkit-dev mailing list