lkml.org 
[lkml]   [2013]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [build failure] perf
From
CCing linux-kernel

One interesting observation is that perf fails to build on x86 using
gcc 4.1.2 with:
cc1: warnings being treated as errors
util/session.c: In function 'regs_dump__printf':
util/session.c:715: warning: dereferencing type-punned pointer will
break strict-aliasing rules
util/session.c:715: warning: dereferencing type-punned pointer will
break strict-aliasing rules

I was thinking about that something is wrong with u64 datatype but on
the other hand I can build it on my ppc32 system with gcc 4.5.4...

On 7/29/13, Denis Kirjanov <kda@linux-powerpc.org> wrote:
> Hi,
>
> I'm having a problem compiling perf(mainline 3.11.0-rc3) on the old
> x86 box, probably something wrong with the lex on my system:
>
> CC util/parse-events.o
> cc1: warnings being treated as errors
> util/parse-events.c: In function 'parse_events__scanner':
> util/parse-events.c:829: warning: implicit declaration of function
> 'parse_events_lex_init_extra'
> util/parse-events.c:829: warning: nested extern declaration of
> 'parse_events_lex_init_extra'
> make: *** [util/parse-events.o] Error 1
>
> Thanks!
>


\
 
 \ /
  Last update: 2013-07-30 17:21    [W:0.037 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site