[Webkit-unassigned] [Bug 24986] ARM JIT port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 15 23:38:19 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24986





------- Comment #30 from gyuyoung at gmail.com  2009-06-15 23:38 PDT -------
(In reply to comment #20)
> > I don't know how to compile only SFX on maemo scratchbox.
> 1.set up a scratchbox environment (I recommend scratchbox2)
> 2.build Qt (4.5.x) (if it is necessary) and set QTDIR
> 3.get ARM port from staikos
> 4.if you want to build only a command line 'jsc' tool, remove all SUBDIRS
> entries
>   except the 'JavaScriptCore/jsc.pro' from WebKit.pro
> 5.build WebKit with the standard 'build-webkit –qt' script 

Thank you for your advice. However, I couldn't only build SFX using your
instruction. I don't know the reason. Anyway, I was only able to build SFX
after modifying GNUmakefile.am.

Can I ask one more question? When I executed SFX shell which includes your ARM
port on my ARM target, the SFX came to crash with "Illegal instruction"
message.(But, the SFX shell was executed on N810 well.) I got a backtrace from
coredump.

(gdb) bt
#0  clear_cache (begin=0x40c41000 "", end=0x40c41014 "")
    at JavaScriptCore/jit/ARMCompiler.h:256
#1  0x0014e654 in JSC::ARMCompiler::compile (this=0xbeabf6b0, 
    executableAllocator=@0x246b58, codeBlock=0x0)
    at JavaScriptCore/jit/ARMCompiler.cpp:332
#2  0x0014570c in JSC::JIT::detectStorePCDelta ()
    at JavaScriptCore/jit/ARMJIT.cpp:326
#3  0x001458f4 in JIT (this=0xbeac0150, globalData=0x2473e8, codeBlock=0x0)
    at JavaScriptCore/jit/ARMJIT.cpp:65
#4  0x0013a278 in JSC::JIT::compileCTIMachineTrampolines (globalData=0x2473e8, 
    executablePool=0x247860, ctiArrayLengthTrampoline=0x247864, 
    ctiStringLengthTrampoline=0x247868, ctiVirtualCallPreLink=0x24786c, 
    ctiVirtualCallLink=0x247870, ctiVirtualCall=0x247874)
    at JavaScriptCore/jit/ARMJIT.h:161
#5  0x001320c8 in JITStubs (this=0x247860, globalData=0x2473e8)
    at JavaScriptCore/jit/JITStubs.cpp:83
#6  0x0001d074 in JSGlobalData (this=0x2473e8, isShared=false, 
    vptrSet=@0xbeac0c80) at JavaScriptCore/runtime/JSGlobalData.cpp:141
#7  0x0001d8d0 in JSC::JSGlobalData::create (isShared=false)
    at JavaScriptCore/runtime/JSGlobalData.cpp:191
#8  0x000137f8 in main (argc=1, argv=0xbeac0e14) at JavaScriptCore/jsc.cpp:314

My ARM target has 32-bit Marvell PXA310 624 MHz, which is ARM v5 architecture,
AFAIK.
Do you know why the SFX comes to crash? If I need to create new bug for this
issue, please let me know.


I hope that this arm port will be merged to webkit main trunk. :)

Thank you.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list