RESOLVED FIXED 119879
[sh4] Fix sh4 build after r154156
https://bugs.webkit.org/show_bug.cgi?id=119879
Summary [sh4] Fix sh4 build after r154156
Julien Brianceau
Reported 2013-08-16 00:15:38 PDT
sh4 build is broken since r154156: /local/wkit/slavebuildbot_LOCAL/workspace_LOCAL/qt-linux-sh4-release/build/WebKitBuild/Release/Source/JavaScriptCore/release/libJavaScriptCore.a(JITArithmetic32_64.o): In function `JSC::JITSlowPathCall::call()': JITArithmetic32_64.cpp:(.text._ZN3JSC15JITSlowPathCall4callEv[JSC::JITSlowPathCall::call()]+0x240): undefined reference to `ctiVMHandleException' /local/wkit/slavebuildbot_LOCAL/workspace_LOCAL/qt-linux-sh4-release/build/WebKitBuild/Release/Source/JavaScriptCore/release/libJavaScriptCore.a(JIT.o): In function `JSC::JITSlowPathCall::call() [clone .constprop.138]': JIT.cpp:(.text+0x30ac): undefined reference to `ctiVMHandleException' /local/wkit/slavebuildbot_LOCAL/workspace_LOCAL/qt-linux-sh4-release/build/WebKitBuild/Release/Source/JavaScriptCore/release/libJavaScriptCore.a(JITOpcodes32_64.o): In function `JSC::JIT::privateCompileCTINativeCall(JSC::VM*, long long (*)(JSC::ExecState*))': JITOpcodes32_64.cpp:(.text+0x2194): undefined reference to `ctiVMHandleException' /local/wkit/slavebuildbot_LOCAL/workspace_LOCAL/qt-linux-sh4-release/build/WebKitBuild/Release/Source/JavaScriptCore/release/libJavaScriptCore.a(JITOpcodes32_64.o): In function `JSC::JITSlowPathCall::call() [clone .constprop.99]': JITOpcodes32_64.cpp:(.text+0x6aac): undefined reference to `ctiVMHandleException' /local/wkit/slavebuildbot_LOCAL/workspace_LOCAL/qt-linux-sh4-release/build/WebKitBuild/Release/Source/JavaScriptCore/release/libJavaScriptCore.a(ThunkGenerators.o): In function `JSC::nativeForGenerator(JSC::VM*, JSC::CodeSpecializationKind)': ThunkGenerators.cpp:(.text+0x139c): undefined reference to `ctiVMHandleException' collect2: ld returned 1 exit status
Attachments
sh4 build fix (1.65 KB, patch)
2013-08-16 00:20 PDT, Julien Brianceau
no flags
sh4 build fix (1.27 KB, patch)
2013-08-16 01:13 PDT, Julien Brianceau
no flags
sh4 build fix (with description in ChangeLog) (1.31 KB, patch)
2013-08-16 01:28 PDT, Julien Brianceau
no flags
Julien Brianceau
Comment 1 2013-08-16 00:20:33 PDT
Created attachment 208886 [details] sh4 build fix
Mark Lam
Comment 2 2013-08-16 00:29:37 PDT
Comment on attachment 208886 [details] sh4 build fix View in context: https://bugs.webkit.org/attachment.cgi?id=208886&action=review > Source/JavaScriptCore/jit/JITStubsSH4.h:120 > - "lds r1, pr" "\n" > - "rts" "\n" > + "jmp @r1" "\n" This part isn't due to r154156. Why is this necessary?
Julien Brianceau
Comment 3 2013-08-16 00:31:46 PDT
(In reply to comment #2) > (From update of attachment 208886 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=208886&action=review > > > Source/JavaScriptCore/jit/JITStubsSH4.h:120 > > - "lds r1, pr" "\n" > > - "rts" "\n" > > + "jmp @r1" "\n" > > This part isn't due to r154156. Why is this necessary? It saves one useless opcode, but you're right, this is not linked to r154156. Do you want me to provide 2 separate patches ?
Julien Brianceau
Comment 4 2013-08-16 01:13:46 PDT
Created attachment 208891 [details] sh4 build fix Build fix only
Julien Brianceau
Comment 5 2013-08-16 01:28:07 PDT
Created attachment 208893 [details] sh4 build fix (with description in ChangeLog)
WebKit Commit Bot
Comment 6 2013-08-16 02:24:46 PDT
Comment on attachment 208893 [details] sh4 build fix (with description in ChangeLog) Clearing flags on attachment: 208893 Committed r154170: <http://trac.webkit.org/changeset/154170>
WebKit Commit Bot
Comment 7 2013-08-16 02:24:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.