Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755813AbZAEWOd (ORCPT ); Mon, 5 Jan 2009 17:14:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752992AbZAEWOY (ORCPT ); Mon, 5 Jan 2009 17:14:24 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:48106 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbZAEWOY (ORCPT ); Mon, 5 Jan 2009 17:14:24 -0500 Date: Mon, 5 Jan 2009 17:14:22 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Sam Ravnborg cc: LKML , Steven Rostedt , Ingo Molnar , "David S. Miller" , sparclinux Subject: Re: ftrace breaks sparc64 build In-Reply-To: <20090105220156.GC8592@uranus.ravnborg.org> Message-ID: References: <20090105181922.GA25622@uranus.ravnborg.org> <20090105195415.GA6204@uranus.ravnborg.org> <20090105213107.GA27293@uranus.ravnborg.org> <20090105220156.GC8592@uranus.ravnborg.org> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 26 On Mon, 5 Jan 2009, Sam Ravnborg wrote: > > Is this all sparc cross compiler? I'm trying to reproduce it on x86 with > > no avail :-( > > > > I would like to test other ways to change the macro, but to do so, I need > > to get a compiler that will produce the warnings that you see. What > > version of gcc are you using? > > I used crosstool to build a 3.4.5 gcc: Hmm, that's a pretty old compiler. I wonder if it wouldn't just help if we just make the branch tracer dependent on the compiler used. That is. #if defined(CONFIG_PROFILE_ALL_BRANCHES) && (__GNUC__ >= 4) #define if(cond) ... Or something :-/ -- Steve -- 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/