WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101712
[Qt] Fix the LLINT build from ARMv7 platform
https://bugs.webkit.org/show_bug.cgi?id=101712
Summary
[Qt] Fix the LLINT build from ARMv7 platform
Csaba Osztrogonác
Reported
2012-11-08 22:33:38 PST
The Qt build is broken on ARMv7 (Thumb2) platform: /home/oszi/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:541:27: fatal error: LLIntAssembly.h: No such file or directory The reason is simple. LLINT is enabled by Platform.h: /* On some of the platforms where we have a JIT, we want to also have the low-level interpreter. */ #if !defined(ENABLE_LLINT) \ && ENABLE(JIT) \ && (OS(DARWIN) || OS(LINUX)) \ && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(GTK) || (PLATFORM(QT) && OS(LINUX))) \ && (CPU(X86) || CPU(X86_64) || CPU(ARM_THUMB2)) #define ENABLE_LLINT 1 #endif But generating of LLIntAssembly.h is disabled all ARM platforms, not only ARM_TRADITIONAL. Fix is coming soon.
Attachments
Patch
(2.20 KB, patch)
2012-11-08 22:49 PST
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Csaba Osztrogonác
Comment 1
2012-11-08 22:46:51 PST
LLINT is disabled on MIPS, but generating isn't disabled. But it doesn't cause any problem, because the genarator script automatically skip it: ruby /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/offlineasm/asm.rb /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/llint/LowLevelInterpreter.asm LLIntOffsetsExtractor generated/LLIntAssembly.h offlineasm: Parsing /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/llint/LowLevelInterpreter.asm and LLIntOffsetsExtractor and creating assembly file generated/LLIntAssembly.h. offlineasm: No magic values found. Skipping assembly file generation. Here is the output on ARM_TRADITIONAL after enabling generation: ruby /home/oszi/WebKit/Source/JavaScriptCore/offlineasm/asm.rb /home/oszi/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm LLIntOffsetsExtractor generated/LLIntAssembly.h offlineasm: Parsing /home/oszi/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm and LLIntOffsetsExtractor and creating assembly file generated/LLIntAssembly.h.
Csaba Osztrogonác
Comment 2
2012-11-08 22:49:41 PST
Created
attachment 173208
[details]
Patch
Csaba Osztrogonác
Comment 3
2012-11-08 22:53:12 PST
Of course we could implement a complex condition for generating similar to Platform.h . But it needs configure tests, etc. Additionally generating is needed LLINT_C_LOOP (interpreter) platforms too, not only JIT&&LLINT platforms. I think enabling generation on more platform than necessary is safe, it won't cause any problem.
Csaba Osztrogonác
Comment 4
2012-11-09 00:40:39 PST
Comment on
attachment 173208
[details]
Patch Clearing flags on attachment: 173208 Committed
r134025
: <
http://trac.webkit.org/changeset/134025
>
Csaba Osztrogonác
Comment 5
2012-11-09 00:40:44 PST
All reviewed patches have been landed. Closing bug.
Simon Hausmann
Comment 6
2012-11-09 01:58:15 PST
Latest build error on ARM now: 11:32:23 /work/build/qt/qtwebkit/Source/JavaScriptCore/release/libJavaScriptCore.a(JITPropertyAccess.o): In function `JSC::JIT::privateCompilePutByVal(JSC::ByValInfo*, JSC::ReturnAddressPtr, JSC::JITArrayMode)': 11:32:23 JITPropertyAccess.cpp:(.text+0x20fa): undefined reference to `JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList JSC::JIT::emitGenericContiguousPutByVal<(unsigned char)20>(JSC::Instruction*, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::PatchableJump&)' 11:32:23 JITPropertyAccess.cpp:(.text+0x2134): undefined reference to `JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList JSC::JIT::emitGenericContiguousPutByVal<(unsigned char)22>(JSC::Instruction*, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::PatchableJump&)'
Csaba Osztrogonác
Comment 7
2012-11-09 03:03:08 PST
Maybe
http://trac.webkit.org/changeset/133953
is the culprit, let me check it.
Csaba Osztrogonác
Comment 8
2012-11-09 05:39:16 PST
(In reply to
comment #7
)
> Maybe
http://trac.webkit.org/changeset/133953
is the culprit, let me check it.
It is innocent, but
r133985
is the culprit -
https://bugs.webkit.org/show_bug.cgi?id=101740
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug