<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - llint: won't compile with gcc's LTO - patch needed"
   href="https://bugs.webkit.org/show_bug.cgi?id=153103">153103</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llint: won't compile with gcc's LTO - patch needed
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kabel&#64;blackhole.sk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=268989&amp;action=diff" name="attach_268989" title="webkit-llint-gcc-lto.patch">attachment 268989</a> <a href="attachment.cgi?id=268989&amp;action=edit" title="webkit-llint-gcc-lto.patch">[details]</a></span>
webkit-llint-gcc-lto.patch

When compiling WebKit with GCC's Link Time Optimizations, the functions included from DerivedSources/JavaScriptCore/LLIntAssembly.h, included from Source/JavaScriptCore/llint/LowLevelInterpreter.cpp, aren't expodes and linking of libJavaScriptCore fails.

This patch checks if GCC is used and if it is of versions which supports LTO, and if it is, disables the -flto flag for one compilation unit, LowLevelInterpreter.cpp, with GCC's #pragma directive.</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>