https://sourceware.org/bugzilla/show_bug.cgi?id=21479
--- Comment #13 from Sam James <sam at gentoo dot org> --- For the non-fat case, we get: a.c ``` extern void foo1(void); void foo2(void) { foo1(); } void foo3(void) {} ``` b.c: ``` extern void foo2(void); extern void foo3(void); void foo1(void) { foo3(); } int main(void) { foo2(); } ``` $ gcc -c -flto a.c $ ar cr a.a a.o $ gcc b.c a.a $ strip -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_v1 a.a strip: stt1ROFT/a.o: plugin needed to handle lto object Maybe the message could be nicer or omitted even (don't think it serves much of a purpose, other than maybe informing people they're doing something stupid, as the archive which is non-fat is now useless). But this isn't a problem for me at all either. Current behaviour is fine. -- You are receiving this mail because: You are on the CC list for the bug.