Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754184AbdCHTEN (ORCPT ); Wed, 8 Mar 2017 14:04:13 -0500 Received: from mail-ua0-f180.google.com ([209.85.217.180]:36821 "EHLO mail-ua0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699AbdCHTEA (ORCPT ); Wed, 8 Mar 2017 14:04:00 -0500 MIME-Version: 1.0 In-Reply-To: References: <20170222231808.hmr6ulbvfnrg2at7@treble> <20170223201039.GB5177@amd> <20170225050439.7dplheb6nyne4nkm@treble> <20170302234514.3qcqdozibcltkdai@treble> <20170306163807.GA20689@amd> <20170307173821.yknj5htr7plgdwxv@treble> <20170307182855.262ezbon2pm67qfd@treble> <20170308173703.2h57rsltma3smbcm@treble> From: Andy Lutomirski Date: Wed, 8 Mar 2017 10:54:07 -0800 Message-ID: Subject: Re: v4.10: kernel stack frame pointer .. has bad value (null) To: Linus Torvalds Cc: Josh Poimboeuf , Pavel Machek , kernel list , Ingo Molnar , Andrew Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , Peter Anvin , Peter Zijlstra , Thomas Gleixner 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: 994 Lines: 23 On Wed, Mar 8, 2017 at 10:25 AM, Linus Torvalds wrote: > On Wed, Mar 8, 2017 at 9:37 AM, Josh Poimboeuf wrote: > Yeah. At some point we might even upgrade the compiler requirements to > no longer accept the mcount model. > > I think the fentry model is gcc-4.6.0 and up. Currently I guess we > support gcc-3.2+, which is fairly ridiculous considering that 4.6.0 is > from March, 2011. So it's over five years ago already. > > gcc-3.2.0 is from 2002, I think. At some point you just have to say > "caring about a 15 year old compiler is ridiculous" > > The main reason we have fairly aggressively supported old compilers > tends to be some odder architectures that don't have good support, so > people use various random "this works for me" versions. I thought it was because akpm still used Fedora Core 6. :) At some point, it would be nice to skip way forward and require a compiler without the 16-byte-stack-alignment bug, too. --Andy