Re: [RFC v5 45/57] objtool: arm64: Enable stack validation for arm64

12 views
Skip to first unread message

kbuild test robot

unread,
Jan 11, 2020, 1:22:07 AM1/11/20
to kbu...@lists.01.org, Nick Desaulniers, clang-bu...@googlegroups.com
CC: kbuil...@lists.01.org
In-Reply-To: <20200109160300.2...@redhat.com>
References: <20200109160300.2...@redhat.com>
TO: Julien Thierry <jthi...@redhat.com>

Hi Julien,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.5-rc5 next-20200110]
[cannot apply to arm64/for-next/core cryptodev/master crypto/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Julien-Thierry/objtool-Add-support-for-arm64/20200110-170817
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4a3033ef6e6bb4c566bd1d556de69b494d76976c
config: arm64-allyesconfig (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 016bf03ef6fcd9dce43b0c17971f76323f07a684)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

arch/arm64/decode.c:1521:18: error: implicit conversion from enumeration type 'enum op_dest_type' to different enumeration type 'enum op_src_type' [-Werror,-Wenum-conversion]
op->src.type = OP_DEST_REG;
~ ^~~~~~~~~~~
arch/arm64/decode.c:1608:18: error: implicit conversion from enumeration type 'enum op_dest_type' to different enumeration type 'enum op_src_type' [-Werror,-Wenum-conversion]
op->src.type = OP_DEST_REG;
~ ^~~~~~~~~~~
arch/arm64/decode.c:1775:18: error: implicit conversion from enumeration type 'enum op_dest_type' to different enumeration type 'enum op_src_type' [-Werror,-Wenum-conversion]
op->src.type = OP_DEST_REG;
~ ^~~~~~~~~~~
arch/arm64/decode.c:1855:17: error: implicit conversion from enumeration type 'enum op_dest_type' to different enumeration type 'enum op_src_type' [-Werror,-Wenum-conversion]
op->src.type = OP_DEST_REG_INDIRECT;
~ ^~~~~~~~~~~~~~~~~~~~
arch/arm64/decode.c:2190:19: error: implicit conversion from enumeration type 'enum op_src_type' to different enumeration type 'enum op_dest_type' [-Werror,-Wenum-conversion]
op->dest.type = OP_SRC_REG_INDIRECT;
~ ^~~~~~~~~~~~~~~~~~~
5 errors generated.
mv: cannot stat 'tools/objtool/arch/arm64/.decode.o.tmp': No such file or directory
make[5]: *** [tools/objtool/arch/arm64/decode.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [arch/arm64] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [tools/objtool/objtool-in.o] Error 2
make[3]: Target 'all' not remade because of errors.
make[2]: *** [objtool] Error 2
make[1]: *** [tools/objtool] Error 2
>> error: unable to load plugin './scripts/gcc-plugins/arm64_switch_table_detection_plugin.so': './scripts/gcc-plugins/arm64_switch_table_detection_plugin.so: cannot open shared object file: No such file or directory'
>> error: unable to load plugin './scripts/gcc-plugins/arm64_switch_table_detection_plugin.so': './scripts/gcc-plugins/arm64_switch_table_detection_plugin.so: cannot open shared object file: No such file or directory'
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** [scripts/mod/empty.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
139 real 21 user 11 sys 23.20% cpu make prepare

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuil...@lists.01.org Intel Corporation
.config.gz
Reply all
Reply to author
Forward
0 new messages