* [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
@ 2022-02-12 10:39 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-02-12 10:39 UTC (permalink / raw)
Cc: kbuild-all, llvm
CC: linux-kernel@vger.kernel.org
TO: Wedson Almeida Filho <wedsonaf@google.com>
CC: Miguel Ojeda <ojeda@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-lkp@intel.com/config)
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/5c1fec092f967b9b4722f6d91c9bcbe8222098fd
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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
@ 2022-02-12 10:39 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2022-02-12 10:39 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]
CC: linux-kernel(a)vger.kernel.org
TO: Wedson Almeida Filho <wedsonaf@google.com>
CC: Miguel Ojeda <ojeda@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-lkp(a)intel.com/config)
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/5c1fec092f967b9b4722f6d91c9bcbe8222098fd
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@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(a)lists.01.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
2022-02-12 10:39 ` kernel test robot
@ 2022-02-12 19:54 ` Nathan Chancellor
-1 siblings, 0 replies; 6+ messages in thread
From: Nathan Chancellor @ 2022-02-12 19:54 UTC (permalink / raw)
To: Wedson Almeida Filho, Miguel Ojeda
Cc: kbuild-all, llvm, kernel test robot, rust-for-linux
+ Miguel, Wedson, rust-for-linux, since it looks like this did not get
sent to you all.
Possibly some incompatibility with Rust + aarch64be?
Cheers,
Nathan
On Sat, Feb 12, 2022 at 06:39:33PM +0800, kernel test robot wrote:
> CC: linux-kernel@vger.kernel.org
> TO: Wedson Almeida Filho <wedsonaf@google.com>
> CC: Miguel Ojeda <ojeda@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-lkp@intel.com/config)
> 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/5c1fec092f967b9b4722f6d91c9bcbe8222098fd
> 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@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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
@ 2022-02-12 19:54 ` Nathan Chancellor
0 siblings, 0 replies; 6+ messages in thread
From: Nathan Chancellor @ 2022-02-12 19:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2398 bytes --]
+ Miguel, Wedson, rust-for-linux, since it looks like this did not get
sent to you all.
Possibly some incompatibility with Rust + aarch64be?
Cheers,
Nathan
On Sat, Feb 12, 2022 at 06:39:33PM +0800, kernel test robot wrote:
> CC: linux-kernel(a)vger.kernel.org
> TO: Wedson Almeida Filho <wedsonaf@google.com>
> CC: Miguel Ojeda <ojeda@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-lkp(a)intel.com/config)
> 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/5c1fec092f967b9b4722f6d91c9bcbe8222098fd
> 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@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(a)lists.01.org
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
2022-02-12 19:54 ` Nathan Chancellor
@ 2022-02-12 22:37 ` Miguel Ojeda
-1 siblings, 0 replies; 6+ messages in thread
From: Miguel Ojeda @ 2022-02-12 22:37 UTC (permalink / raw)
To: Nathan Chancellor
Cc: Wedson Almeida Filho, Miguel Ojeda, kbuild-all, llvm,
kernel test robot, rust-for-linux
On Sat, Feb 12, 2022 at 8:54 PM Nathan Chancellor <nathan@kernel.org> wrote:
>
> + Miguel, Wedson, rust-for-linux, since it looks like this did not get
> sent to you all.
Thanks -- strange, there is a `TO` and `CC` there in the top.
> Possibly some incompatibility with Rust + aarch64be?
It is getting built for the wrong endianness due to the single target
spec file + the lax "depends on", will fix.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
@ 2022-02-12 22:37 ` Miguel Ojeda
0 siblings, 0 replies; 6+ messages in thread
From: Miguel Ojeda @ 2022-02-12 22:37 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
On Sat, Feb 12, 2022 at 8:54 PM Nathan Chancellor <nathan@kernel.org> wrote:
>
> + Miguel, Wedson, rust-for-linux, since it looks like this did not get
> sent to you all.
Thanks -- strange, there is a `TO` and `CC` there in the top.
> Possibly some incompatibility with Rust + aarch64be?
It is getting built for the wrong endianness due to the single target
spec file + the lax "depends on", will fix.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-02-12 22:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 10:39 [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb kernel test robot
2022-02-12 10:39 ` kernel test robot
2022-02-12 19:54 ` Nathan Chancellor
2022-02-12 19:54 ` Nathan Chancellor
2022-02-12 22:37 ` Miguel Ojeda
2022-02-12 22:37 ` Miguel Ojeda
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.