lkml.org 
[lkml]   [2009]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ftrace breaks sparc64 build

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


\
 
 \ /
  Last update: 2009-01-05 23:17    [from the cache]
©2003-2011 Jasper Spaans