Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751900AbdCIVMk (ORCPT ); Thu, 9 Mar 2017 16:12:40 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54054 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbdCIVMj (ORCPT ); Thu, 9 Mar 2017 16:12:39 -0500 Date: Thu, 9 Mar 2017 22:12:34 +0100 From: Pavel Machek To: Peter Zijlstra Cc: Linus Torvalds , Josh Poimboeuf , Andy Lutomirski , kernel list , Ingo Molnar , Andrew Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , Peter Anvin , Thomas Gleixner Subject: Re: v4.10: kernel stack frame pointer .. has bad value (null) Message-ID: <20170309211234.GA11875@amd> References: <20170306163807.GA20689@amd> <20170307173821.yknj5htr7plgdwxv@treble> <20170307182855.262ezbon2pm67qfd@treble> <20170308173703.2h57rsltma3smbcm@treble> <20170308212253.GA29562@amd> <20170309152910.GD3343@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20170309152910.GD3343@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1663 Lines: 52 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2017-03-09 16:29:10, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 10:22:53PM +0100, Pavel Machek wrote: > >=20 > > Well, I have fast CPUs, but most of the time they just compile > > stuff. Especially bisect is compile-heavy. I suspect going back to > > gcc-3.2 would bring me bigger advantages than CPU upgrade... > >=20 >=20 > But note that 3.2 compiles a distinctly different kernel from something > new and shiny. The kernel uses a lot of GCC features optimistically to > generate different code. >=20 > So if by some chance your error depends on one of the new features, > bisecting with some ancient compiler will not work. Well, yes, obviously different compilers generate different code. OTOH for drivers (where most errors are) the difference should not be significant. And actually.. if you realize it bug is gcc version dependend, you'll know where to look for the bug. (Anyway, it looks like gcc-3.3 is not usable for kernel on x86, and it is actually slower, too. So -- bad idea. gcc -O1 looks promising.) Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAljBxUIACgkQMOfwapXb+vJVgQCdH+yoT/t/JfJpDLxFeDOJmQKr CoMAn2Cpfplzo4JDFi7ut5OHrZg3UgMc =VyI7 -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--