[webkit-help] Assembler Error: bad instruction, while compiling with ARM-JIT enabled

Srinivas Rao M Hamse msrinirao at gmail.com
Thu Dec 10 04:01:40 PST 2009


Hello all,

I am trying to compile WebKit-r51580 for ARM with JIT option enabled. My
cross compiler version is 3.4.6; While i compile the sources i get following
error. Has anyone tried compiling ARM jit on lower versions of compiler. Is
there any wiki post which has a sequence of steps to take care for building
webkit on older compiler? However this issue is not seen when i compile it
for PC(x86 platform).

I read in the earlier posts that, JIT support is not yet present of GTK
builds. Has anyone made a complete ARM-JIT build for GTK ?

-----------------------------8<--- compilation error-------------------
arm-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DBUILDING_CAIRO__=1
-DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DXP_UNIX -DNO_X11
-DNDEBUG -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/parser
-I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/gtk -I./DerivedSources
-I../JavaScriptCore -I../JavaScriptCore/API
-I../JavaScriptCore/ForwardingHeaders
-I../JavaScriptCore/interpreter -I../JavaScriptCore/bytecode
-I../JavaScriptCore/bytecompiler -I../JavaScriptCore/debugger
-I../JavaScriptCore/jit -I../JavaScriptCore/pcre
-I../JavaScriptCore/profiler -I../JavaScriptCore/runtime
-I../JavaScriptCore/wrec -I../JavaScriptCore/jit
-I../JavaScriptCore/assembler -I../JavaScriptCore/wtf/unicode
-I../JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser
-I./JavaScriptCore/runtime -I/usr/local/webkit/include
-I/home/srinirao/work/projects/target/../../../../cots/mc/webkit/libjpeg
-I/usr/local/webkit/include/freetype2 -I/usr/local/webkit/include/directfb
-Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat
-Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute
-Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses
-fno-exceptions -fno-rtti -fstrict-aliasing -O3 -Wall -W -Wcast-align
-Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k
-Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -Wno-parentheses -fno-exceptions -pthread
-I/usr/local/webkit/include/glib-2.0 -I/usr/local/webkit/lib/glib-2.0/include
-I/usr/local/webkit/include -I/home/srinirao/work/
projects/target/../../../../cots/mc/webkit/libjpeg
-I/usr/local/webkit/include/freetype2 -D_REENTRANT
-I/usr/local/webkit/include -Wall -DALLOCATE_DYNAMICALLY  -DNO_ENCHANT -O2
-MT JavaScriptCore/jit/libJavaScriptCore_la-JIT.lo -MD -MP -MF
JavaScriptCore/jit/.deps/libJavaScriptCore_la-JIT.Tpo -c
../JavaScriptCore/jit/JIT.cpp  -fPIC -DPIC -o JavaScriptCore/jit/.libs/
libJavaScriptCore_la-JIT.o
/tmp/ccPzpQjX.s: Assembler messages:
/tmp/ccPzpQjX.s:201: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:207: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:208: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:234: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:240: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:241: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:267: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:273: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:274: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:402: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:408: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:409: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:1790: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:1796: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:1797: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:1828: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:1834: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:1835: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:1846: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:1852: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:1853: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:5727: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:5733: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:5734: Error: bad instruction `pop {r7}'
/tmp/ccPzpQjX.s:5851: Error: bad instruction `push {r7}'
/tmp/ccPzpQjX.s:5857: Error: bad instruction `svc 0x0'
/tmp/ccPzpQjX.s:5858: Error: bad instruction `pop {r7}'
-----------------------------8<--- compilation error-------------------



Please help,

regards,
Srinivas Rao M.

-- 
Srinivas Rao M  Hamse <http://msrinirao.blogspot.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20091210/015a0b3f/attachment-0001.html>


More information about the webkit-help mailing list