[Webkit-unassigned] [Bug 200987] New: [GTK][WPE] Gtk-Doc fails with build options which need cooperation between CFLAGS and LDFLAGS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 21 10:54:15 PDT 2019


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

            Bug ID: 200987
           Summary: [GTK][WPE] Gtk-Doc fails with build options which need
                    cooperation between CFLAGS and LDFLAGS
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

This can be reproduced with a recent enough version of Clang with
support for ThinLTO, which *requires* passing -fuse-ld=lld to the
linker, and -flto=thin to *both* the compiler and the linker.
Failing to pass the linker options results in lld not being used
and the GNU Binutils linkers don't understand LLVM bitcode, or
in lld being used (if it's the default) but -flto=thin will be
missing from the linker command line (not good either).

This has gone unnoticed even when some distributions use LTO becase
it just *happens* to work with the Binutils linkers: linking object
built with -flto wors even if the flag is not passed to the linker.

-- 
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/20190821/f9b456e1/attachment.html>


More information about the webkit-unassigned mailing list