[Webkit-unassigned] [Bug 179945] Consider hosting pre-built `jsc` binaries somewhere official

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 26 12:29:55 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179945

--- Comment #9 from Mathias Bynens <mathias at qiwi.be> ---
(In reply to Saam Barati from comment #8)
> (In reply to Mathias Bynens from comment #7)
> > (In reply to Alexey Proskuryakov from comment #3)
> > > Everything that CI builds ends up being officially available from
> > > nightly.webkit.org. I’m not sure offhand if running jsc from these archives
> > > would use the framework from the archive or the system one.
> > 
> > Running the `jsc` binary from the latest nightly (r225145) on macOS Sierra
> > 10.12.6 (16G1036) gives:
> > 
> >     $ ./jsc
> >     dyld: Symbol not found: __ZN3JSC19JSWebAssemblyMemory6s_infoE
> >       Referenced from: /Users/mathiasb/Downloads/225145/Release/./jsc (which
> > was built for Mac OS X 10.13)
> >       Expected in:
> > /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
> >      in /Users/mathiasb/Downloads/225145/Release/./jsc
> >     Abort trap: 6
> > 
> > So I guess it’s trying to use the system framework.
> > 
> > > It’s definitely
> > > possible to use dyld environment variables to control this, and we may
> > > already have helper scripts for that. 
> > 
> > Do you have any pointers here?
> 
> You will want to set
> DYLD_FRAMEWORK_PATH=path/to/frameworks/directory/in/nightly
> 
> I’m not in front of a computer to get the exact path. But if you dig inside
> the bundle you should find a directory that has JavaScriptCore.framework.

Thanks for the pointers! The `run-webkit-archive` script included in the ZIP file helped, too.

I now use a script of the following form to invoke the `jsc` binary:

    $ cat "$(which jsc)"
    #!/usr/bin/env bash
    DYLD_FRAMEWORK_PATH=/path/to/download/Release DYLD_LIBRARY_PATH=DYLD_FRAMEWORK_PATH=/path/to/download/Release /path/to/download/Release/jsc "$@"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171126/bae53bc1/attachment.html>


More information about the webkit-unassigned mailing list