WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
202748
JSC does not compile on 32bits in Debug mode
https://bugs.webkit.org/show_bug.cgi?id=202748
Summary
JSC does not compile on 32bits in Debug mode
Paulo Matos
Reported
2019-10-09 06:30:00 PDT
Since
bug 202509
got fixed, we cannot build JSC 32bits in Debug mode. It fails with: FAILED: DerivedSources/JavaScriptCore/LLIntAssembly.h cd /home/pmatos/Projects/igalia/WebKit/WebKitBuild/Debug/DerivedSources/JavaScriptCore && /usr/bin/ruby /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb -I/home/pmatos/Projects/igalia/WebKit/WebKitBuild/Debug/DerivedSources/JavaScriptCore/ /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /home/pmatos/Projects/igalia/WebKit/WebKitBuild/Debug/bin/LLIntOffsetsExtractor /home/pmatos/Projects/igalia/WebKit/WebKitBuild/Debug/DerivedSources/JavaScriptCore/LLIntAssembly.h && /usr/bin/cmake -E touch_nocreate /home/pmatos/Projects/igalia/WebKit/WebKitBuild/Debug/DerivedSources/JavaScriptCore/LLIntAssembly.h /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:621:in `validate': Unresolved temp at /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm:782 (RuntimeError) from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:627:in `block in validateChildren' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:625:in `each' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:625:in `validateChildren' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:689:in `validate' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:627:in `block in validateChildren' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:625:in `each' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:625:in `validateChildren' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/transform.rb:634:in `validate' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:403:in `block (3 levels) in <main>' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/settings.rb:107:in `forSettings' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:390:in `block (2 levels) in <main>' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:386:in `each' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:386:in `block in <main>' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:376:in `open' from /home/pmatos/Projects/igalia/WebKit/Source/JavaScriptCore/offlineasm/asm.rb:376:in `<main>' In Release mode, JSC builds successfully but a ton of tests fail with a segmentation fault. I am left wondering why the `validate` seems to be happy in Release and raises an error in Debug mode. I am investigating this issue at the moment, but I am happy to discuss possible issues, if anyone has an idea of what is going wrong.
Attachments
Add attachment
proposed patch, testcase, etc.
Paulo Matos
Comment 1
2019-10-09 06:31:12 PDT
Apologies - I meant since but 202569 : [JSC] Change signature of HostFunction to (JSGlobalObject*, CallFrame*)
Yusuke Suzuki
Comment 2
2019-10-11 16:33:34 PDT
This is non-CLoop 32bit issue (32bit JIT enabled JSC) and fixed in
r250982
.
Paulo Matos
Comment 3
2019-10-14 08:38:22 PDT
(In reply to Yusuke Suzuki from
comment #2
)
> This is non-CLoop 32bit issue (32bit JIT enabled JSC) and fixed in
r250982
.
Thanks - I confirm. Closing.
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