Skip to contentSkip to conversation

perf fails to build in v4.18.y.queue

DISCUSSION Guenter Roeck 2 participants 2 messages Sep 12, 2018 Stable branch

lore
Share & tools
lore
#0 lore raw

Building x86_64:tools/perf ... failed
--------------
Error log:

tools/perf/util/python.c:
In function ‘get_md’:
tools/perf/util/python.c:987:9: error: ‘struct perf_mmap’ has no member named ‘cpu’

At top level:
cc1: error: unrecognized command line option ‘-Wno-cast-function-type’ [-Werror]
cc1: all warnings being treated as errors error: command 'gcc' failed with exit status 1

Guenter

#1 lore raw
Quoted 11 lines · Guenter Roeck

Building x86_64:tools/perf ... failed
--------------
Error log:

tools/perf/util/python.c:
In function ‘get_md’:
tools/perf/util/python.c:987:9: error: ‘struct perf_mmap’ has no member named ‘cpu’

At top level:
cc1: error: unrecognized command line option ‘-Wno-cast-function-type’ [-Werror]
cc1: all warnings being treated as errors error: command 'gcc' failed with exit status 1

Thanks for letting me know. I've found it and dropped the offending patch.

greg k-h