lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 20 May 2019 08:59:50 -0700
From:   Kees Cook <keescook@...omium.org>
To:     "H. Nikolaus Schaller" <hns@...delico.com>
Cc:     lkml <linux-kernel@...r.kernel.org>,
        Masahiro Yamada <yamada.masahiro@...ionext.com>,
        Discussions about the Letux Kernel 
        <letux-kernel@...nphoenux.org>
Subject: Re: [BUG v5.2-rc1] ARM build broken

On Mon, May 20, 2019 at 05:15:02PM +0200, H. Nikolaus Schaller wrote:
> Hi,
> it seems as if ARM build is broken since ARM now hard enables CONFIG_HAVE_GCC_PLUGINS
> which indirectly enables CONFIG_GCC_PLUGIN_ARM_SSP_PER_TASK. Compiling this breaks
> on my system (Darwin build host) due to conflicts in system headers and Linux headers.
> 
> So how can I turn off all these GCC_PLUGINS?
> 
> The offending patch seems to be
> 
> 	security: Create "kernel hardening" config area
> 
> especially the new "default y" for GCC_PLUGINS. After removing that line from
> scripts/gcc-plugins/Kconfig makes my compile succeed.

The intention is to enable it _if_ the plugins are available as part of
the build environment. The "default y" on GCC_PLUGINS is mediated by:
        depends on HAVE_GCC_PLUGINS
        depends on PLUGIN_HOSTCC != ""

So it seems that something isn't working in the plugin detection maybe?
Can you send your build error, compiler version, .config, etc? I've not
been able to reproduce this problem. (And I'm not aware of any of the
automated build systems failing in this area yet either...) Perhaps it's
something specific to building under Darwin?

Thanks!

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ