[webkit-dev] x86-64 JIT
David Kilzer
ddkilzer at webkit.org
Tue Mar 17 18:19:12 PDT 2009
Which version of gcc are you using? Older versions (think gcc-3.x) are known to have issues compiling JavaScriptCore, although I don't recall reading about this particular issue.
Dave
----- Original Message ----
> From: Mike Hommey <mh+webkit at glandium.org>
> To: webkit-dev at lists.webkit.org
> Sent: Tuesday, March 17, 2009 1:51:57 PM
> Subject: [webkit-dev] x86-64 JIT
>
> Hi,
>
> I was taking a quick look at the JIT code and also gave a shot at
> forcing a build of the x86-64 code under Linux.
>
> The main problem right now is the following:
> ../JavaScriptCore/jit/JITArithmetic.cpp:664: error: cast from 'JSC::Structure*'
> to 'unsigned int' loses precision
> ../JavaScriptCore/jit/JITArithmetic.cpp:674: error: cast from 'JSC::Structure*'
> to 'unsigned int' loses precision
> ../JavaScriptCore/jit/JITArithmetic.cpp:714: error: cast from 'JSC::Structure*'
> to 'unsigned int' loses precision
> ../JavaScriptCore/jit/JITArithmetic.cpp:724: error: cast from 'JSC::Structure*'
> to 'unsigned int' loses precision
>
> Looking at the code, it seems really too much x86-centric, and
> depending on how the x86-64 ABI is under OSX. I don't know how things
> are going to evolve with Snow-Leopard, as I hear the kernel will finally
> be 64-bits, but maybe the same issue will arise.
>
> Anyways, I'd need guidance from some people with JIT knowledge to help
> me get it work on Linux.
>
> Cheers,
>
> Mike
More information about the webkit-dev
mailing list