rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb
       [not found] <202202121743.YbGELjcY-lkp@intel.com>
@ 2022-02-12 19:54 ` Nathan Chancellor
  2022-02-12 22:37   ` Miguel Ojeda
  0 siblings, 1 reply; 2+ 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] 2+ 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 ` [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb Nathan Chancellor
@ 2022-02-12 22:37   ` Miguel Ojeda
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2022-02-12 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202202121743.YbGELjcY-lkp@intel.com>
2022-02-12 19:54 ` [ojeda-linux:rust-next 18/20] ld.lld: error: drivers/built-in.a(gpio/gpio_pl061_rust.o) is incompatible with aarch64elfb Nathan Chancellor
2022-02-12 22:37   ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).