On Sun, 2017-10-15 at 19:34 +0200, Tomas Janousek wrote:
> Package: nvidia-kernel-dkms
> Version: 375.82-4
> Severity: normal
> Tags: patch
> 
> I have a vanilla kernel with CONFIG_GCC_PLUGINS,
> CONFIG_GCC_PLUGIN_STRUCTLEAK
> and CONFIG_GCC_PLUGIN_RANDSTRUCT and conftest fails because
> KBUILD_CFLAGS
> contains the following:
> 
>     -fplugin=./scripts/gcc-plugins/structleak_plugin.so
> -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so
> 
> but conftest runs with a different pwd than the module build itself.
> 
> I'm attaching a patch inspired by
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.g
> it/tree/scripts/Kbuild.include?h=v4.13.7#n118
> that fixes the build.

It seems a simple enough patch so I've committed it to SVN, it will be
included in the next upload. Thanks.

Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to