ld.lld: warning: arch/arm/built-in.a(kernel/dma.o):(.ARM.extab.init.text) is being placed in '.ARM.extab.init.text'
A message that is not in the archive (sent off-list or not yet received): 20200928212941.GA1373771@ubuntu-m3-large-x86
Quoted 36 lines · Nathan Chancellor
Quoted 34 lines · Nick Desaulniers' via Clang Built Linux
Quoted 10 lines · Nick Desaulniers
+ Kees
Quoted 5 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d5b2251d63b5344ee827d3680fa79bdb9f9ddfa1 commit: f1187720d7c95127a3db17501c921cb7a3574e30 [7069/7089] Merge branch 'akpm-current/current' into master config: arm-randconfig-r023-20200911 (attached as .config)^ randconfig
Quoted 18 lines
Quoted 18 lines
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project
0448d11a06b451a63a8f60408fec613ad24801ba) 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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkoutf1187720d7c95127a3db17501c921cb7a3574e30
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=armIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All warnings (new ones prefixed by >>):
ld.lld: warning: init/built-in.a(main.o):(.ARM.extab) is being placed in '.ARM.extab' ld.lld: warning: init/built-in.a(main.o):(.ARM.extab.init.text) is being placed in '.ARM.extab.init.text' ld.lld: warning: init/built-in.a(main.o):(.ARM.extab.ref.text) is being placed in '.ARM.extab.ref.text'
Quoted 6 lines
Quoted 1 line
^ so these three probably need to be explicitly mentioned in a linker script?
Isn't this https://github.com/ClangBuiltLinux/linux/issues/1152?
I have been waiting for feedback on that diff before sending it but I guess I should draft up a proper commit message and send it along.
Ah, right. Please send that upstream and I'll help test+review.
Signature · 2 lines
Thanks, ~Nick Desaulniers