Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752985AbcLJQqh (ORCPT ); Sat, 10 Dec 2016 11:46:37 -0500 Received: from mail-wj0-f193.google.com ([209.85.210.193]:36373 "EHLO mail-wj0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328AbcLJQqg (ORCPT ); Sat, 10 Dec 2016 11:46:36 -0500 Date: Sat, 10 Dec 2016 17:45:31 +0100 From: Emese Revfy To: Kees Cook Cc: Arnd Bergmann , Stephen Rothwell , Randy Dunlap , Olof Johansson , Mark Brown , info@kernelci.org, Linus Torvalds , Andrew Morton , Will Deacon , Russell King - ARM Linux , LKML , Linux-Next , Fengguang Wu , Andrew Donnellan , Michael Ellerman , Laura Abbott , "x86@kernel.org" , PaX Team Subject: Re: enabling COMPILE_TEST support for GCC plugins in v4.11 Message-Id: <20161210174531.3c6b66ec00cbbbe7290ed69e@gmail.com> In-Reply-To: References: <2680957.ot0HfIkH6p@wuerfel> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2006 Lines: 46 On Fri, 9 Dec 2016 11:12:18 -0800 Kees Cook wrote: > On Fri, Dec 9, 2016 at 2:40 AM, Arnd Bergmann wrote: > > On Thursday, December 8, 2016 11:00:42 AM CET Kees Cook wrote: > > > >> If you have a moment, applying 215e2aa6c024[1] and reverting > >> a519167e753e for an allyesconfig/allmodconfig build should let you > >> know if things are working correctly with headers installed. If anyone > >> sees any problems, please let me know and I can queue up fixes. > > > > Using gcc-4.9.3 or gcc-5.3.1 for an ARM allmodconfig build, I get tons of > > errors such as this one: > > > > /git/arm-soc/init/initramfs.c: In function 'error': > > /git/arm-soc/init/initramfs.c:50:1: error: unrecognizable insn: > > } > > ^ > > (insn 26 25 27 5 (set (reg:SI 111 [ local_entropy.243 ]) > > (rotatert:SI (reg:SI 116 [ local_entropy.243 ]) > > (const_int -30 [0xffffffffffffffe2]))) -1 > > (nil)) > > *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. > > Event | Plugins > > PLUGIN_ATTRIBUTES | latent_entropy_plugin > > PLUGIN_START_UNIT | latent_entropy_plugin > > /git/arm-soc/init/initramfs.c:50:1: internal compiler error: in extract_insn, at recog.c:2202 > > /git/arm-soc/arch/arm/vfp/vfpmodule.c: In function 'vfp_init': > > /git/arm-soc/arch/arm/vfp/vfpmodule.c:824:1: error: unrecognizable insn: > > } > > ^ > > (insn 138 137 139 17 (set (reg:SI 165 [ local_entropy.93 ]) > > (rotatert:SI (reg:SI 150 [ local_entropy.93 ]) > > (const_int -9 [0xfffffffffffffff7]))) -1 > > (nil)) > > *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. > > Well that's exciting! :P Hi, You can find the fix here: https://github.com/ephox-gcc-plugins/latent_entropy/commit/c91275a1bfcebbcfc0ca1af03396e06039f04db8 -- Emese