Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762180AbcLPWUJ (ORCPT ); Fri, 16 Dec 2016 17:20:09 -0500 Received: from mail-it0-f49.google.com ([209.85.214.49]:38779 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762253AbcLPWTx (ORCPT ); Fri, 16 Dec 2016 17:19:53 -0500 MIME-Version: 1.0 In-Reply-To: <585467E0.27237.2C09B8C1@pageexec.freemail.hu> References: <20161216210659.GA85702@beast> <585467E0.27237.2C09B8C1@pageexec.freemail.hu> From: Kees Cook Date: Fri, 16 Dec 2016 14:19:51 -0800 X-Google-Sender-Auth: FDQbpCEGh4Ee2sD00Yik4TEB9rw Message-ID: Subject: Re: [PATCH] latent_entropy: fix ARM build error on earlier gcc To: PaX Team Cc: LKML , Emese Revfy , "kernel-hardening@lists.openwall.com" , Arnd Bergmann , Brad Spengler Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 29 On Fri, Dec 16, 2016 at 2:17 PM, PaX Team wrote: > On 16 Dec 2016 at 13:06, Kees Cook wrote: > >> This fixes build errors seen on gcc-4.9.3 or gcc-5.3.1 for an ARM: >> >> arm-soc/init/initramfs.c: In function 'error': >> 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)) >> >> Patch from PaX Team >> >> Reported-by: Arnd Bergmann >> Reported-by: Brad Spengler >> Signed-off-by: Kees Cook > > Cc: stable@vger.kernel.org perhaps? Ah yes, good catch. -Kees -- Kees Cook Nexus Security