[PATCH 1/2] perf: fix build error on MUSL libc

2020-12-10 Thread Chanho Park
__always_inline can cause build error on musl libc. The fix patch has submitted but not merged yet[1]. To build perf tool with musl libc, inclusion is necessary and it should be included before asm/byteorder.h. from /usr/include/linux/byteorder/little_endian.h:13, from /usr/include/asm/byteorder.

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Namhyung Kim
Hi, Kirill On Tue, 24 Jul 2012 00:04:07 +0300, Kirill A. Shutemov wrote: > From 14f476dddcb36bca93a50ef1a3341e2c60836e0a Mon Sep 17 00:00:00 2001 > From: "Kirill A. Shutemov" > Date: Mon, 23 Jul 2012 17:39:11 +0300 > Subject: [PATCH 1/2] perf: fix build error > MIME-Ve

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Kirill A. Shutemov
at bison version do you have? > > > > [acme@sandy linux]$ rpm -q bison > > bison-2.4.1-5.el6.x86_64 > > > > Could you test this one? Err... Sorry, it breaks build with O=... Fixed version: >From 14f476dddcb36bca93a50ef1a3341e2c60836e0a Mon Sep 17 00:00:00 2001 F

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Kirill A. Shutemov
On Mon, Jul 23, 2012 at 08:18:49PM +0200, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 23, 2012 at 09:16:08PM +0300, Kirill A. Shutemov escreveu: > > On Mon, Jul 23, 2012 at 08:02:44PM +0200, Arnaldo Carvalho de Melo wrote: > > > Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreve

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 23, 2012 at 09:16:08PM +0300, Kirill A. Shutemov escreveu: > On Mon, Jul 23, 2012 at 08:02:44PM +0200, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreveu: > > > util/parse-events.c:29:5: error: redundant redeclaration of > > > ‘par

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Kirill A. Shutemov
On Mon, Jul 23, 2012 at 08:02:44PM +0200, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreveu: > > From: "Kirill A. Shutemov" > > > > util/parse-events.c:29:5: error: redundant redeclaration of > > ‘parse_events_parse’ [-Werror=redundant-decls]

Re: [PATCH 1/2] perf: fix build error

2012-07-23 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreveu: > From: "Kirill A. Shutemov" > > util/parse-events.c:29:5: error: redundant redeclaration of > ‘parse_events_parse’ [-Werror=redundant-decls] > In file included from util/parse-events.c:14:0: > util/parse-events-bison.h:99:5:

[PATCH 1/2] perf: fix build error

2012-07-23 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" util/parse-events.c:29:5: error: redundant redeclaration of ‘parse_events_parse’ [-Werror=redundant-decls] In file included from util/parse-events.c:14:0: util/parse-events-bison.h:99:5: note: previous declaration of ‘parse_events_parse’ was here cc1: all warnings bei