NEW 153103
llint: won't compile with gcc's LTO - patch needed
https://bugs.webkit.org/show_bug.cgi?id=153103
Summary llint: won't compile with gcc's LTO - patch needed
Marek Behun
Reported 2016-01-14 12:28:41 PST
Created attachment 268989 [details] 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.
Attachments
webkit-llint-gcc-lto.patch (967 bytes, patch)
2016-01-14 12:28 PST, Marek Behun
no flags
Note You need to log in before you can comment on or make changes to this bug.