Re: ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
From: Nick Desaulniers
Date: Wed Apr 01 2020 - 13:56:50 EST
On Tue, Mar 31, 2020 at 2:20 PM kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 42595ce90b9d4a6b9d8c5a1ea78da4eeaf7e086a
> commit: e33a814e772cdc36436c8c188d8c42d019fda639 scripts/dtc: Remove redundant YYLOC global declaration
> date: 4 days ago
> config: arm-randconfig-a001-20200401 (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 5227fa0c72ce55927cf4849160acb00442489937)
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout e33a814e772cdc36436c8c188d8c42d019fda639
> # save the attached .config to linux build tree
> COMPILER=clang make.cross ARCH=arm
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
> All warnings (new ones prefixed by >>):
>
> >> ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
Apologies that the bot is repeatedly converging on this patch; it's an
artifact of us turning on LLD for the first time. This error looks
new to me, seems it's a randconfig. I've filed
https://github.com/ClangBuiltLinux/linux/issues/964 to follow up on
it.
--
Thanks,
~Nick Desaulniers