[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOJe8K16GOHo6k_44g6AZfZ_Gv9Lt=6orA7XjHobdTaoLYpGcA@mail.gmail.com>
Date: Tue, 30 Jul 2013 18:55:23 +0400
From: Denis Kirjanov <kda@...ux-powerpc.org>
To: acme@...stprotocols.net
Cc: mingo@...hat.com
Subject: Re: [build failure] perf
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@...ux-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!
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists