This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19649] glibc-2.22 fails to build with lto


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]