<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Do not use LLVM static libraries for FTL JIT"
   href="https://bugs.webkit.org/show_bug.cgi?id=151559">bug 151559</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>[CMake] Confusing error message if LLVM static libraries are not installed
           </td>
           <td>[CMake] Do not use LLVM static libraries for FTL JIT
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Severity</td>
           <td>Normal
           </td>
           <td>Blocker
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>WebKit Gtk
           </td>
           <td>JavaScriptCore
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Do not use LLVM static libraries for FTL JIT"
   href="https://bugs.webkit.org/show_bug.cgi?id=151559#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Do not use LLVM static libraries for FTL JIT"
   href="https://bugs.webkit.org/show_bug.cgi?id=151559">bug 151559</a>
              from <span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
        <pre>OK, my vote is to either fix this or disable FTL again before 2.12. Using static libs is not considered acceptable on Linux, and it's causing build problems for openSUSE and Gentoo, which don't have LLVM static libs at all; no doubt it will be problematic for other distros too.

openSUSE came up with a rather innovative solution [1] to use -DLLVM_CONFIG_EXE at cmake time to pointing cmake to a script that wraps llvm-config like so:

#!/bin/bash

/usr/bin/llvm-config $1 |sed &quot;s,\\.a,\\.so,g&quot;

Yuck, but their package is reportedly working without issues, so I doubt the static libs were ever really needed. It would be better to use a similar wrapper around llvm-config to handle this automagically than to continue using static libs.

[1] <a href="https://build.opensuse.org/package/rdiff/GNOME:Next/webkit2gtk3?opackage=webkit2gtk3&amp;oproject=GNOME:Factory&amp;rev=87">https://build.opensuse.org/package/rdiff/GNOME:Next/webkit2gtk3?opackage=webkit2gtk3&amp;oproject=GNOME:Factory&amp;rev=87</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>