[Webkit-unassigned] [Bug 202346] [GTK] 2.26.1: webkitgtk is not LTO optimisation ready

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 28 12:21:04 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202346

--- Comment #4 from Tomasz Kłoczko <kloczko.tomasz at gmail.com> ---
Despite fact that you've been able to build WebKitGTK (I have no problems with libwpe, wpebackend-fdo and LTO) looks like 2.26.1 *is* broken.

WebKitGTK compiles and links correctly when using LTO is disabled.

I'm not fiddling in linker options to add -Wl,--no-undefined.
I'm using now as linker options:

$ rpm -E %build_ldflags
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin

If -Wl,--no-undefined is causing the issue it must be added by cmake.

Any suggestions?

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


More information about the webkit-unassigned mailing list