From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757815AbcLTSX4 (ORCPT ); Tue, 20 Dec 2016 13:23:56 -0500 Received: from mga04.intel.com ([192.55.52.120]:64428 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013AbcLTSXx (ORCPT ); Tue, 20 Dec 2016 13:23:53 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,379,1477983600"; d="scan'208";a="1102129918" Subject: Re: [tip:x86/urgent] x86/boot: Prevent KASLR and memmap collision To: Ingo Molnar , linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com References: <148044760044.153060.616417783293212181.stgit@djiang5-desk3.ch.intel.com> <20161220083118.GA810@gmail.com> Cc: linux-tip-commits@vger.kernel.org, Kees Cook From: Dave Jiang Message-ID: <1f20c79e-af1c-a15d-8076-e888fab81ff0@intel.com> Date: Tue, 20 Dec 2016 11:23:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161220083118.GA810@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/20/2016 01:31 AM, Ingo Molnar wrote: > > * tip-bot for Dave Jiang wrote: > >> Commit-ID: d1a5058c063d9e0aaaf4d360d0f8074ee55ed096 >> Gitweb: http://git.kernel.org/tip/d1a5058c063d9e0aaaf4d360d0f8074ee55ed096 >> Author: Dave Jiang >> AuthorDate: Tue, 29 Nov 2016 12:26:40 -0700 >> Committer: Thomas Gleixner >> CommitDate: Mon, 19 Dec 2016 12:27:52 +0100 >> >> x86/boot: Prevent KASLR and memmap collision > > This commit breaks the 32-bit build (allyesconfig32 and allmodconfig32): > > ld: -r and -shared may not be used together > scripts/Makefile.build:293: recipe for target 'arch/x86/boot/compressed/kaslr.o' failed > make[2]: *** [arch/x86/boot/compressed/kaslr.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > > Thanks, > > Ingo > Looks like including lib/cmdline.c causes the issue. I'll need to find a way around it.