On Mon, 12 Mar 2018, Toby Darling wrote: > Hi > > We've picked up kernel-3.10.0-693.21.1.el7 errata released last week, > however there is a problem building kernel modules, eg beegfs fails to > build: > > make[1]: Entering directory `/usr/src/kernels/3.10.0-693.21.1.el7.x86_64' > arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the > compiler. Toolchain update recommended.. Stop. > > [root@term12 build]# yum list gcc > Installed Packages > gcc.x86_64 4.8.5-16.el7_4.1 > @sl-fastbugs > > My reading of https://access.redhat.com/errata/RHBA-2018:0408 suggests > that gcc-4.8.5-16.el7_4.2 is required for support for retpolines in > kernel-3.10.0-693.21.1.el7. > > Is this on the roadmap? Last week this appeared in the SCIENTIFIC-LINUX-USERS list: > Date: Thu, 8 Mar 2018 11:59:35 -0600 > From: Pat Riehecky <[log in to unmask]> > Subject: Re: [SCIENTIFIC-LINUX-USERS] Security ERRATA Important: kernel > on SL7.x x86_64 > > An updated gcc that supports this option is scheduled for publication on > Tuesday. Has anyone tried with the newer compilers in the softwarecollections repo ? Not sure how safe it would be to use a different compiler for a kernel module but softwarecollections does give access to gcc/g++ v4.9.2 v5.3.1, v6.3.1 and v7.2.1 ... -- Andrew C. Aitchison Cambridge, UK [log in to unmask]