Hi,
I hope this is the right list. I am maintaining the package openafs on the OBS which contains a KMP. (https://build.opensuse.org/package/show/filesystems/openafs)
I was (locally) trying to insert "-mindirect-branch=thunk-extern -mindirect-branch-register" at various places and compiling with gcc-8.
However, on loading the module the kernel always complains :
" libafs: loading module not compiled with retpoline compiler."
What is the correct way to compile an external KMP with the retpoline ?
Many thanks,
Christof