[linux-next:master 634/4212] ld.lld: error: drivers/built-in.a(android/rust_binder.o) is incompatible with aarch64elfb
From: kernel test robot <hidden>
Date: 2022-02-07 17:20:08
Also in:
oe-kbuild-all
CC: Linux Memory Management List <redacted> TO: Wedson Almeida Filho <redacted> CC: Miguel Ojeda <ojeda@kernel.org> CC: Alex Gaynor <redacted> CC: Finn Behrens <redacted> CC: Sven Van Asbroeck <redacted> CC: Gary Guo <gary@garyguo.net> CC: Wayne Campbell <redacted> Hi Wedson, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b3c0a155ef77550d48f6eb7c6fdd6075764a5622 commit: fe7751c4f8fce1bd860b5f3f85513f3d2db956ce [634/4212] [RFC] drivers: android: Binder IPC in Rust config: arm64-randconfig-r031-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080112.7LbYVWJm-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6daaf5a44925592c764c59219b0024ee06317028) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fe7751c4f8fce1bd860b5f3f85513f3d2db956ce git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout fe7751c4f8fce1bd860b5f3f85513f3d2db956ce # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): ld.lld: error: rust/built-in.a(core.o) is incompatible with aarch64elfb ld.lld: error: rust/built-in.a(compiler_builtins.o) is incompatible with aarch64elfb ld.lld: error: rust/built-in.a(alloc.o) is incompatible with aarch64elfb ld.lld: error: rust/built-in.a(kernel.o) is incompatible with aarch64elfb ld.lld: error: rust/built-in.a(build_error.o) is incompatible with aarch64elfb
quoted
ld.lld: error: drivers/built-in.a(android/rust_binder.o) is incompatible with aarch64elfb
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org