[Wayland-bugs] [Bug 94602] Tests fail to build when build with LTO on gcc 5.3.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 17 19:43:27 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94602

            Bug ID: 94602
           Summary: Tests fail to build when build with LTO on gcc 5.3.0
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: bugs at linkmauve.fr

weston-test-runner complains about undefined reference to __start_test_section
and __stop_test_section when Weston is built with -flto.

Disabling all tests allows it to build fine, and the LTO build gains 0.7 MiB of
installed size compared to the non-LTO build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160317/49af5af8/attachment.html>


More information about the wayland-bugs mailing list