Bug 153484
Summary: | [GTK] FTL JIT fails to initialize LLVM on Ubuntu 15.10 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | cgarcia, mcatanzaro, mrobinson, ossy |
Priority: | P2 | Keywords: | Gtk |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=150933 | ||
Bug Depends on: | |||
Bug Blocks: | 151559 |
Csaba Osztrogonác
Since https://trac.webkit.org/changeset/195009 FTL JIT JSC tests fails for me on Ubuntu 15.10.
$ export JSC_verboseFTLFailure=true
$ Tools/Scripts/run-javascriptcore-tests --gtk
ERROR: Unexpected exit code: 139
Failed to load LLVM library at libllvmForJSC.so: libLLVM-3.7.so: cannot open shared object file: No such file or directory
Failed to load LLVM library at /usr/local/lib/javascriptcoregtk-4.0/libllvmForJSC.so: /usr/local/lib/javascriptcoregtk-4.0/libllvmForJSC.so: cannot open shared object file: No such file or directory
LLVM can't be initialized.
Have you got any idea what can be the problem and how to fix it?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Csaba Osztrogonác
Of course the lib can be found on its proper place:
WebKitBuild/DependenciesGTK/Root/lib/libLLVM-3.7.so
Csaba Osztrogonác
$ export LD_LIBRARY_PATH=/home/ossy/WebKit/WebKitBuild/DependenciesGTK/Root/lib
fixes this issue ... but I think it should work out-of-the box.
I think the root of the bug is the same as in bug150933.
Csaba Osztrogonác
(In reply to comment #2)
> $ export
> LD_LIBRARY_PATH=/home/ossy/WebKit/WebKitBuild/DependenciesGTK/Root/lib
> fixes this issue ... but I think it should work out-of-the box.
>
> I think the root of the bug is the same as in bug150933.
WebKitBuild/Release/bin/jsc works without setting LD_LIBRARY_PATH
environment variable, but it links to system libs instead of
the proper libs built by jhbuild.
Martin Robinson
Is run-javascript-core-tests actually entering the JHBuild environment properly?
Csaba Osztrogonác
LLVM based FTL JIT will gone away soon, so it won't be problem with B3 FTL.