Re: Requirements for retpoline in Linux 4.15 (was: Re: Linux 4.15)

From: Martin Steigerwald
Date: Mon Jan 29 2018 - 05:42:59 EST


David Woodhouse - 29.01.18, 10:53:
> On Mon, 2018-01-29 at 10:41 +0100, Martin Steigerwald wrote:
> > From what I read gcc 7.3 was supposed to include back ported retpoline
> > patches. What am I missing here?
>
> Which did you update first? Kernel source or GCC?

Kernel source is existing git repo I just "git pull" from and I did not do any
"make clean" or "make-kpkg clean" on it before. And as it builds inside that
repoâ

> Try removing .cache.mk which has 'remembered' that your GCC doesn't
> support retpoline.

I bet there have been "*.cache.mk" files around from previous pre gcc-7.3
compiles.

Trying again after

% find -name ".cache.mk" -delete

on kernel source tree.

Will report back.

Thanks,
--
Martin