RE: [PATCH] perf tools: Fix arm64 build error with gcc-11

2021-02-09 Thread Jianlin Lv
linux.intel.com; > jo...@redhat.com; namhy...@kernel.org; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] perf tools: Fix arm64 build error with gcc-11 > > Hi Jianlin, > > On Tue, Feb 09, 2021 at 07:33:57PM +0800, Jianlin

Re: [PATCH] perf tools: Fix arm64 build error with gcc-11

2021-02-09 Thread Leo Yan
On Tue, Feb 09, 2021 at 02:18:26PM +, John Garry wrote: > On 09/02/2021 12:17, Leo Yan wrote: > > Hi Jianlin, > > > > On Tue, Feb 09, 2021 at 07:33:57PM +0800, Jianlin Lv wrote: > > > gcc version: 11.0.0 20210208 (experimental) (GCC) > > > > > > Following build error on arm64: > > > > > > ..

Re: [PATCH] perf tools: Fix arm64 build error with gcc-11

2021-02-09 Thread John Garry
On 09/02/2021 12:17, Leo Yan wrote: Hi Jianlin, On Tue, Feb 09, 2021 at 07:33:57PM +0800, Jianlin Lv wrote: gcc version: 11.0.0 20210208 (experimental) (GCC) Following build error on arm64: ... In function ‘printf’, inlined from ‘regs_dump__printf’ at util/session.c:1141:3, inli

Re: [PATCH] perf tools: Fix arm64 build error with gcc-11

2021-02-09 Thread Leo Yan
Hi Jianlin, On Tue, Feb 09, 2021 at 07:33:57PM +0800, Jianlin Lv wrote: > gcc version: 11.0.0 20210208 (experimental) (GCC) > > Following build error on arm64: > > ... > In function ‘printf’, > inlined from ‘regs_dump__printf’ at util/session.c:1141:3, > inlined from ‘regs__printf’ a

[PATCH] perf tools: Fix arm64 build error with gcc-11

2021-02-09 Thread Jianlin Lv
gcc version: 11.0.0 20210208 (experimental) (GCC) Following build error on arm64: ... In function ‘printf’, inlined from ‘regs_dump__printf’ at util/session.c:1141:3, inlined from ‘regs__printf’ at util/session.c:1169:2: /usr/include/aarch64-linux-gnu/bits/stdio2.h:107:10: \ error: