[webkit-help] how to generate LLIntAssembly.h for armv7?

yuqing cai yuqingcaiw at gmail.com
Mon Oct 29 22:43:49 PDT 2012


hi, all, I am trying to cross compile JavaScriptCore for my armv7
target. error occur when compiling the
file "WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp", the
error message is:

In file included from JavaScriptCore/llint/LowLevelInterpreter.cpp:465:0:
/DerivedSources/JavaScriptCore/LLIntAssembly.h:3:2: error: #error
"Invalid configuration."
make: *** [../llint/LowLevelInterpreter.o] error 1

It seems something wrong in "LLIntAssembly.h", so I check the"
LLIntAssembly.h", and the context in this file is:

// offlineasm input hash: e5d9294892bdc216e30c9d58ef3e396c164f97a5
ffe7924aaf72166a3cda4091a6ab0c9274f7d773
03cefebce0e4a1564b3ab3d01d6c9e61a6828233
#if !OFFLINE_ASM_X86_64 && !OFFLINE_ASM_C_LOOP &&
!OFFLINE_ASM_EXECUTION_TRACING && !OFFLINE_ASM_ARMv7 &&
OFFLINE_ASM_VALUE_PROFILER && OFFLINE_ASM_JIT_ENABLED &&
!OFFLINE_ASM_BIG_ENDIAN && OFFLINE_ASM_ASSERT_ENABLED &&
!OFFLINE_ASM_ALWAYS_ALLOCATE_SLOW && !OFFLINE_ASM_ARMv7s &&
!OFFLINE_ASM_JSVALUE64 && !OFFLINE_ASM_X86
#error "Invalid configuration."
#endif

in my makefile, the rule to generate "LLIntAssembly.h" is:

/DerivedSources/JavaScriptCore/LLIntAssembly.h: LLIntOffsetsExtractor
ruby JavaScriptCore/offlineasm/asm.rb
JavaScriptCore/llint/LowLevelInterpreter.asm LLIntOffsetsExtractor $@


my question is why error occured when cross compile jsc for arm
target?(no error happen when I was compile for x86 platform) how to
generate the correct "LLIntAssembly.h"?

qing
2012-10-30








More information about the webkit-help mailing list