https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63344
--- Comment #6 from Martin Liška <mliska at suse dot cz> --- (In reply to Andi Kleen from comment #5) > I posted a patch here > http://permalink.gmane.org/gmane.linux.kernel/1793662 > > BTW actually I don't agree that the bug is valid. We should probably relax > the LTO checking to match what the linker does (which does not error out for > this case). I've just tested Andi's patch and works for me. To be more precise, the kernel has been compiled without LTO.