RESOLVED WONTFIX 153484
[GTK] FTL JIT fails to initialize LLVM on Ubuntu 15.10
https://bugs.webkit.org/show_bug.cgi?id=153484
Summary [GTK] FTL JIT fails to initialize LLVM on Ubuntu 15.10
Csaba Osztrogonác
Reported 2016-01-26 07:03:57 PST
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
Csaba Osztrogonác
Comment 1 2016-01-26 07:06:21 PST
Of course the lib can be found on its proper place: WebKitBuild/DependenciesGTK/Root/lib/libLLVM-3.7.so
Csaba Osztrogonác
Comment 2 2016-01-26 09:01:19 PST
$ 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
Comment 3 2016-01-26 09:03:47 PST
(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
Comment 4 2016-01-26 10:02:00 PST
Is run-javascript-core-tests actually entering the JHBuild environment properly?
Csaba Osztrogonác
Comment 5 2016-02-02 01:38:51 PST
LLVM based FTL JIT will gone away soon, so it won't be problem with B3 FTL.
Note You need to log in before you can comment on or make changes to this bug.