This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/19649] glibc-2.22 fails to build with lto
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 17 Feb 2016 17:37:43 +0000
- Subject: [Bug build/19649] glibc-2.22 fails to build with lto
- Auto-submitted: auto-generated
- References: <bug-19649-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19649
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
We should make configure detect an attempt to build with LTO and give an
error at configure time, then close this as FIXED once such a configure
check is present. glibc makes extensive use of separate compilation as a
barrier to information flow to do low-level things that are not valid C
when the separate translation units are visible to the compiler at the
same time and building with LTO is not plausible without substantial
whole-toolchain work on designing ways to express such barriers in the
source code followed by substantial review of glibc code to identify where
such barriers are needed.
--
You are receiving this mail because:
You are on the CC list for the bug.