From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756916AbcKDQZx (ORCPT ); Fri, 4 Nov 2016 12:25:53 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:40372 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756698AbcKDQZv (ORCPT ); Fri, 4 Nov 2016 12:25:51 -0400 Date: Fri, 4 Nov 2016 17:25:04 +0100 From: Adam Borowski To: Sebastian Andrzej Siewior Cc: Al Viro , Christoph Hellwig , "Austin S. Hemmelgarn" , Ben Hutchings , linux-kernel@vger.kernel.org, Sven Joachim , Tomas Janousek , Joe Perches , Michal Marek , linux-kbuild@vger.kernel.org, doko@debian.org Subject: Re: [PATCH 2/2] kbuild: add -fno-PIE Message-ID: <20161104162504.GA7375@angband.pl> References: <20161102172058.13641-1-bigeasy@linutronix.de> <20161102172058.13641-2-bigeasy@linutronix.de> <1478213455.29107.13.camel@decadent.org.uk> <20161104010811.GD19539@ZenIV.linux.org.uk> <20161104142424.jy6ble3pge3beowh@linutronix.de> <20161104151811.GE19539@ZenIV.linux.org.uk> <20161104152223.GA1052@infradead.org> <20161104155427.GF19539@ZenIV.linux.org.uk> <20161104155855.diyclit55eay6gxk@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161104155855.diyclit55eay6gxk@linutronix.de> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 04, 2016 at 04:58:55PM +0100, Sebastian Andrzej Siewior wrote: > On 2016-11-04 15:54:27 [+0000], Al Viro wrote: > > Christoph, would you mind rereading what I posted upthread? I *am* aware of > > that clusterfuck, including the Balint's charming games with the reassignments, > > etc. Directly affected by the whole mess, actually. > > Al, I am re-doing the patch with a runtime check for -fno-PIE and > tagging it stable and looking after Ben's fstack protector thingy. > This should allow you to compile maintained stable kernels but it won't > allow you to bisect to prior versions. > I don't see any other way around it. As you guys don't want Gentooish attempts to check if gcc is compiling the kernel, what about making/requesting a wrapper that calls gcc with the appropriate options (-fno-PIE and whatever is needed for fstack protector)? This would require manually appending CC=the-wrapper to make but would allow bisects. And come on, any solution with no bisects is rather ridiculous. Meow! -- A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol, 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month. Filter out and throw away the fruits (can dump them into a cake, etc), let the drink age at least 3-6 months.