Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964942AbcDLSlw (ORCPT ); Tue, 12 Apr 2016 14:41:52 -0400 Received: from mail-ig0-f175.google.com ([209.85.213.175]:37369 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932831AbcDLSlv (ORCPT ); Tue, 12 Apr 2016 14:41:51 -0400 Date: Tue, 12 Apr 2016 12:41:47 -0600 From: David Brown To: Kees Cook Cc: Emese Revfy , Masahiro Yamada , Michal Marek , linux-kbuild , PaX Team , Brad Spengler , "kernel-hardening@lists.openwall.com" , Rasmus Villemoes , Fengguang Wu , Dmitry Vyukov , LKML Subject: Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure Message-ID: <20160412184147.GA92432@davidb.org> References: <20160407231023.5f1307ffc79f0cdd880eedb7@gmail.com> <20160412174607.GA92143@davidb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 33 On Tue, Apr 12, 2016 at 11:27:52AM -0700, Kees Cook wrote: >Awesome! Thanks for testing this. I still need to finish getting my >arm64 environment built... I've been using: http://releases.linaro.org/components/toolchain/binaries/ for most stuff. >Do you happen to know if there's already a gcc bug open for the make >install problem? Linaro toolchain bug: https://bugs.linaro.org/show_bug.cgi?id=2123 Patch to fix it https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00522.html It is supposed to be included in the linaro 5.3-2016.03 snapshot. I've pinged Christophe to see if I can get any insight into when that will be available. It is kind of nice to see that when it fails, it prints a helpful message, though: scripts/Makefile.gcc-plugins:22: *** error, your gcc installation does not support plugins, perhaps the necessary headers are missing?. Stop. I think it is OK to include this, even with the patches still bubbling through gcc releases. It prints a helpful message when it doesn't work, and is only going to be selected if specifically requested. David