[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
Fri Mar 18 08:57:47 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94602
--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
I'd guess -flto is throwing away the special section where we collect the test
headers. The section is used to avoid having to create a master list of all
tests in addition to writing the tests.
Is there a way to mark that section to not be deleted by LTO?
We rely on the compiler to automatically generate __start_test_section and
__stop_test_section when putting things into the section.
Gains size? You mean it's bigger with LTO?
--
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/20160318/1c9670e6/attachment.html>
More information about the wayland-bugs
mailing list