[webkit-dev] [WebKit][Windows] compilation errors on Windows (using Cygwin)

dipak kumar mail.dipak at gmail.com
Fri Jul 1 00:39:13 PDT 2011


Dear All,

I am trying to compile WebKit on Windows using WebKit. I got below compiler
errors :

JavaScriptCore/jit/JITStubs.cpp:133: error: size of array
'dummyJITStackFrame_maintains_16byte_stack_alignment' is negative
JavaScriptCore/jit/JITStubs.cpp:134: error: size of array
'dummyJITStackFrame_stub_argument_space_matches_ctiTrampoline' is negative
JavaScriptCore/jit/JITStubs.cpp:135: error: size of array
'dummyJITStackFrame_callFrame_offset_matches_ctiTrampoline' is negative
JavaScriptCore/jit/JITStubs.cpp:136: error: size of array
'dummyJITStackFrame_code_offset_matches_ctiTrampoline' is negative
make[3]: *** [JavaScriptCore/jit/libJavaScriptCore_la-JITStubs.lo] Error 1

I commented out those four line which were compiler assertion and then I got
below linking errors :

./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o):Interpreter.cpp:(.text+0x96f):
undefined reference to `_ctiTrampoline'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o):Interpreter.cpp:(.text+0xb74):
undefined reference to `_ctiTrampoline'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o):Interpreter.cpp:(.text+0xf1a):
undefined reference to `_ctiTrampoline'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o):Interpreter.cpp:(.text+0x1d58):
undefined reference to `_ctiTrampoline'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o):JITStubs.cpp:(.text+0x1f):
undefined reference to `cti_vm_throw'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o):JITStubs.cpp:(.text+0x4c):
undefined reference to `_ctiVMThrowTrampoline'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o):JITStubs.cpp:(.text+0x3862):
undefined reference to `_ctiOpThrowNotCaught'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITOpcodes.o):JITOpcodes.cpp:(.text+0x3a42):
undefined reference to `_ctiVMThrowTrampoline'

I have tried using  __attribute__(used). But I again got the same error.

I am not able to proceed. Please anybody let me know how to remove these
errors.

Awaiting reply.

Many Thanks,
Dipak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110701/6585a772/attachment.html>


More information about the webkit-dev mailing list