<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>153484</bug_id>
          
          <creation_ts>2016-01-26 07:03:57 -0800</creation_ts>
          <short_desc>[GTK] FTL JIT fails to initialize LLVM on Ubuntu 15.10</short_desc>
          <delta_ts>2016-02-02 01:38:51 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=150933</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>151559</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1158802</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-01-26 07:03:57 -0800</bug_when>
    <thetext>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&apos;t be initialized.

Have you got any idea what can be the problem and how to fix it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1158803</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-01-26 07:06:21 -0800</bug_when>
    <thetext>Of course the lib can be found on its proper place:
WebKitBuild/DependenciesGTK/Root/lib/libLLVM-3.7.so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1158824</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-01-26 09:01:19 -0800</bug_when>
    <thetext>$ 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1158826</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-01-26 09:03:47 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; $ export
&gt; LD_LIBRARY_PATH=/home/ossy/WebKit/WebKitBuild/DependenciesGTK/Root/lib
&gt; fixes this issue ... but I think it should work out-of-the box.
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1158846</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2016-01-26 10:02:00 -0800</bug_when>
    <thetext>Is run-javascript-core-tests actually entering the JHBuild environment properly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161226</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-02 01:38:51 -0800</bug_when>
    <thetext>LLVM based FTL JIT will gone away soon, so it won&apos;t be problem with B3 FTL.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>