Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753472Ab2JITqG (ORCPT ); Tue, 9 Oct 2012 15:46:06 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46179 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810Ab2JITqC (ORCPT ); Tue, 9 Oct 2012 15:46:02 -0400 X-Originating-IP: 217.70.178.144 X-Originating-IP: 173.246.103.110 Date: Tue, 9 Oct 2012 12:45:51 -0700 From: Josh Triplett To: Andrew Morton Cc: Daniel Santos , Daniel Santos , Borislav Petkov , LKML , Andi Kleen , Andrea Arcangeli , Christopher Li , David Daney , David Howells , David Rientjes , Joe Perches , Konstantin Khlebnikov , linux-sparse@vger.kernel.org, Michel Lespinasse , Paul Gortmaker , Pavel Pisa , Peter Zijlstra , Steven Rostedt Subject: Re: [PATCH v2 03/10] compiler-gcc{3,4}.h: Use GCC_VERSION macro Message-ID: <20121009194551.GA3616@jtriplet-mobl1> References: <1349465759-20524-1-git-send-email-daniel.santos@pobox.com> <1349466169-20637-3-git-send-email-daniel.santos@pobox.com> <20121006231041.GB3278@liondog.tnic> <5071C9AE.2010106@att.net> <20121009114158.9cdf1378.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121009114158.9cdf1378.akpm@linux-foundation.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1357 Lines: 36 On Tue, Oct 09, 2012 at 11:41:58AM -0700, Andrew Morton wrote: > On Sun, 07 Oct 2012 13:27:58 -0500 > Daniel Santos wrote: > > > We'll have to ask Andrew. Maybe so he can test on those versions of gcc? > > > > commit d3ffe64a1dbcfe18b57f90f7c01c40c93d0a8b92 > > Author: Andrew Morton > > Date: Fri Sep 28 00:02:42 2012 +0000 > > > > a > > > > Signed-off-by: Andrew Morton > > > > diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h > > index 934bc34..997fd8a 100644 > > --- a/include/linux/compiler-gcc4.h > > +++ b/include/linux/compiler-gcc4.h > > @@ -5,7 +5,7 @@ > > /* GCC 4.1.[01] miscompiles __weak */ > > #ifdef __KERNEL__ > > # if __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ <= 1 > > -# error Your version of gcc miscompiles the __weak directive > > +//# error Your version of gcc miscompiles the __weak directive > > hm, yeah, sorry, I use various old crufty cross-compilers. Ah, for build testing where you don't actually care if the resulting kernel runs? - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/