[Bug 77580] GCC memory starvation caused by flatten attribute with LTO
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 20 03:51:30 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=77580
--- Comment #9 from Patrick McMunn <doctorwhoguy at gmail.com> ---
Also, make sure that you're passing the same flags to the linker that you're
passing to the compiler. If your compiler flags are something like
CXXFLAGS="-O2 -march=native -flto -ffat-lto-objects -fuse-linker-plugin"
then your linker flags should look something like
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -march=native -flto -ffat-lto-objects
-fuse-linker-plugin"
Otherwise it won't be properly optimized during the linking phase.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160720/a7eb9199/attachment.html>
More information about the intel-gfx-bugs
mailing list