CC: linux-kernel(a)vger.kernel.org
TO: Wedson Almeida Filho <wedsonaf(a)google.com>
CC: Miguel Ojeda <ojeda(a)kernel.org>
Hi Wedson,
First bad commit (maybe != root cause):
tree:
https://github.com/ojeda/linux.git rust-next
head: ced9f62ec4355bbb92226ac3f019da468a5c996b
commit: 5c1fec092f967b9b4722f6d91c9bcbe8222098fd [18/20] [RFC] drivers: gpio: PrimeCell
PL061 in Rust
config: arm64-randconfig-r033-20220212
(
https://download.01.org/0day-ci/archive/20220212/202202121743.YbGELjcY-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
f6685f774697c85d6a352dcea013f46a99f9fe31)
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://github.com/ojeda/linux/commit/5c1fec092f967b9b4722f6d91c9bcbe8222...
git remote add ojeda-linux
https://github.com/ojeda/linux.git
git fetch --no-tags ojeda-linux rust-next
git checkout 5c1fec092f967b9b4722f6d91c9bcbe8222098fd
# 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 <lkp(a)intel.com>
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: drivers/built-in.a(gpio/gpio_pl061_rust.o) is
incompatible with aarch64elfb
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org