[kernel-xen] EL6 kernel builds - advice required.
netwiz at crc.id.au
Mon Apr 9 14:12:46 AEST 2018
For those running EL6 still, I've run into a problem that I'm not quite sure
how to fix.
The whole retpoline changes to EL6 have broken the ability to build the stock
4.14 kernel due to the following errors:
BUILDSTDERR: arch/x86/kernel/head64.c: In function 'copy_bootdata':
BUILDSTDERR: ./arch/x86/include/asm/mem_encrypt.h:59: sorry, unimplemented:
inlining failed in call to 'sme_map_bootdata': function not inlinable
BUILDSTDERR: arch/x86/kernel/head64.c:294: sorry, unimplemented: called from
BUILDSTDERR: ./arch/x86/include/asm/mem_encrypt.h:60: sorry, unimplemented:
inlining failed in call to 'sme_unmap_bootdata': function not inlinable
BUILDSTDERR: arch/x86/kernel/head64.c:310: sorry, unimplemented: called from
BUILDSTDERR: make: *** [arch/x86/kernel/head64.o] Error 1
BUILDSTDERR: make: *** [arch/x86/kernel] Error 2
BUILDSTDERR: make: *** [arch/x86] Error 2
The gcc version in EL6 doesn't understand this feature, and therefore fails to
Kernel.org bug report:
Building with a GCC version before the pre-retpoline changes succeeds, but
this means anything that is produced will still be vulnerable to the issues
this was supposed to fix.
So, right now, I've been unable to successfully build a 4.14 kernel beyond the
currently released 4.14.25.
I'm hoping to throw this out to the brains trust and see if there is a
maintainable way to resolve this. Happy for general discussion as well.
📧 netwiz at crc.id.au 💻 https://www.crc.id.au
📞 +61 (3) 9001 6090 📱 0412 935 897
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part.
More information about the kernel-xen