CC ui/hist.o
CC ui/stdio/hist.o
GEN python/perf.so
CC arch/arm64/util/sym-handling.o
CC builtin-annotate.o
cc1: error: unrecognized command line option '-m64'
cc1: error: unrecognized command line option '-m64'
cc1: error: unrecognized command line option '-Wno-cast-function-type' [-Werror]
cc1: all warnings being treated as errors
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
cp: cannot stat 'python_ext_build/lib/perf*.so': No such file or directory
make[2]: *** [Makefile.perf:480: python/perf.so] Error 1
Hey gnu-linux, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
什么环境,什么编译器,什么命令编译的?
我使用下面命令编译 kernel-4.19, openEuler-1.0-LTS, openEuler-20.09 均没有上述问题。
该 issue 暂时挂起,如果仍有问题,可以再继续跟帖。
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- tools/perf
这个一看就是交叉编译使用的 gcc 版本过低
登录 后才可以发表评论