* perf: tools/include/linux/kernel.h:53:17: error: comparison of distinct pointer types lacks a cast [-Werror]
@ 2020-08-31 15:50 Naresh Kamboju
2020-08-31 15:50 ` Naresh Kamboju
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2020-08-31 15:50 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo, Greg Kroah-Hartman, Sasha Levin; +Cc: linux- stable
Building stable-rc 5.4 with gcc 7.3.0 perf build failed for x86_64
and arm64 architectures.
In file included from btf_dump.c:16:0:
btf_dump.c: In function 'btf_align_of':
perf/1.0-r9/perf-1.0/tools/include/linux/kernel.h:53:17: error:
comparison of distinct pointer types lacks a cast [-Werror]
(void) (&_min1 == &_min2); \
^
btf_dump.c:770:10: note: in expansion of macro 'min'
return min(sizeof(void *), t->size);
^~~
cc1: all warnings being treated as errors
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-5.4/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/263/consoleText
- Naresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-31 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31 15:50 perf: tools/include/linux/kernel.h:53:17: error: comparison of distinct pointer types lacks a cast [-Werror] Naresh Kamboju
2020-08-31 15:50 ` Naresh Kamboju
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).