[Webkit-unassigned] [Bug 153103] New: llint: won't compile with gcc's LTO - patch needed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 12:28:41 PST 2016


            Bug ID: 153103
           Summary: llint: won't compile with gcc's LTO - patch needed
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kabel at blackhole.sk

Created attachment 268989
  --> https://bugs.webkit.org/attachment.cgi?id=268989&action=review

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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160114/b1a4b27e/attachment.html>

More information about the webkit-unassigned mailing list