RESOLVED FIXED Bug 81999
Tools/Scripts/build-jsc doesn't work after WTF move
https://bugs.webkit.org/show_bug.cgi?id=81999
Summary Tools/Scripts/build-jsc doesn't work after WTF move
Michael Saboff
Reported 2012-03-22 17:30:38 PDT
build-jsc doesn't appear to build WTF after the WTF move and fails with linker errors. If WTF is built with build-webkit, then build-jsc appears to work.
Attachments
the patch (3.88 KB, patch)
2012-03-22 17:43 PDT, Filip Pizlo
eric: review+
Eric Seidel (no email)
Comment 1 2012-03-22 17:37:58 PDT
It's slightly confusing becasue some of the ports build each directory independently, and some don't. It looks liek Qt is already setup to build WTF before buidling JSC in this script. I recommend we just hack AppleMac/AppleWin to do similar to Qt for now.
Filip Pizlo
Comment 2 2012-03-22 17:39:55 PDT
I believe I have a fix for this.
Filip Pizlo
Comment 3 2012-03-22 17:43:18 PDT
Created attachment 133400 [details] the patch
Eric Seidel (no email)
Comment 4 2012-03-22 17:45:21 PDT
Comment on attachment 133400 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=133400&action=review This looks reasonable. > Tools/Scripts/build-jsc:92 > + chdir "../.."; chdrWebKit?
Filip Pizlo
Comment 5 2012-03-22 17:46:42 PDT
(In reply to comment #4) > (From update of attachment 133400 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133400&action=review > > This looks reasonable. > > > Tools/Scripts/build-jsc:92 > > + chdir "../.."; > > chdrWebKit? Aha! Didn't know about that, and it indeed works. Will land with this change.
Andy Estes
Comment 6 2012-03-22 17:46:51 PDT
Comment on attachment 133400 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=133400&action=review > Source/JavaScriptCore/bytecode/SamplingTool.h:127 > - static void dump(); > + JS_EXPORT_PRIVATE static void dump(); Did you mean to include this? It doesn't look relevant.
Filip Pizlo
Comment 7 2012-03-22 17:47:41 PDT
(In reply to comment #6) > (From update of attachment 133400 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133400&action=review > > > Source/JavaScriptCore/bytecode/SamplingTool.h:127 > > - static void dump(); > > + JS_EXPORT_PRIVATE static void dump(); > > Did you mean to include this? It doesn't look relevant. Good catch, and no, it is not relevant. Will revert.
Filip Pizlo
Comment 8 2012-03-22 17:51:38 PDT
Note You need to log in before you can comment on or make changes to this bug.