On Tue, Jul 03, 2018 at 05:21:50PM +0300, Kirill A. Shutemov wrote: > I don't know how to solve it. As far as I know we don't support compiling > kernel with LTO in mainline. > > Any suggestions? > > Benjamin, do you change LDFLAGS or CFLAGS when compiling the kernel?
We're using the standard build flags as far as I can tell. In particular, we don't enable LTO, and I've verified that -flto isn't in the build logs. Here's a sample image: https://users.developer.core-os.net/bgilbert/4.17/vmlinuz-4.17.3-coreos https://users.developer.core-os.net/bgilbert/4.17/vmlinux-4.17.3-coreos https://users.developer.core-os.net/bgilbert/4.17/System.map --Benjamin Gilbert