Re: [PATCH 4.14 114/165] x86/vdso: Fix vDSO build if a retpoline is emitted

From: Greg Kroah-Hartman
Date: Tue Oct 02 2018 - 07:46:21 EST


On Tue, Oct 02, 2018 at 10:06:55AM +0200, Nikola Ciprich wrote:
> Hi Greg and others,
>
> sorry for reporting this so late, but still...
>
> this breaks build on older compilers, since it requires
> -mindirect-branch=thunk-inline -mindirect-branch-register even though
> retpoline support is disabled in kernel config.. is this expected?

What exact "older compilers" break here?

And does the same breakage happen in 4.18.6 or 4.19-rc?

thanks,

greg k-h