Hi Arnd,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
randconfig-v5.12
head: fd21c2581b744639b5207c11651ab40abf13701a
commit: 8c9828cf709354ab06136e924a5e2e6b5cdb12d2 [372/597] [HACK] always use integrated
assembler with clang
config: x86_64-randconfig-a006-20210318 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
fcc1ce00931751ac02498986feb37744e9ace8de)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commi...
git remote add arnd-playground
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground randconfig-v5.12
git checkout 8c9828cf709354ab06136e924a5e2e6b5cdb12d2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/x86/entry/entry_64.S:47:1: warning: DWARF2 only supports one
section per compilation unit
.section .entry.text, "ax"
^
> <instantiation>:11:2: warning: DWARF2 only supports one
section per compilation unit
.pushsection .altinstr_replacement,"ax"
^
<instantiation>:1:1: note: while in macro instantiation
ALTERNATIVE "jmp .Lend_2", "", ( 7*32+11)
^
arch/x86/entry/entry_64.S:93:2: note: while in macro instantiation
SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
^
arch/x86/entry/entry_64.S:741:2: warning: DWARF2 only supports one section per
compilation unit
.section .fixup, "ax"
^
--
> arch/x86/kernel/head_64.S:42:2: warning: DWARF2 only supports one
section per compilation unit
.section ".head.text","ax"
^
arch/x86/kernel/head_64.S:352:2: warning: DWARF2 only supports one section per
compilation unit
.section ".init.text","ax"
^
vim +47 arch/x86/entry/entry_64.S
6fd166aae78c0a arch/x86/entry/entry_64.S Peter Zijlstra 2017-12-04 45
^1da177e4c3f41 arch/x86_64/kernel/entry.S Linus Torvalds 2005-04-16 46 .code64
ea7145477a461e arch/x86/kernel/entry_64.S Jiri Olsa 2011-03-07 @47 .section
.entry.text, "ax"
ea7145477a461e arch/x86/kernel/entry_64.S Jiri Olsa 2011-03-07 48
:::::: The code at line 47 was first introduced by commit
:::::: ea7145477a461e09d8d194cac4b996dc4f449107 x86: Separate out entry text section
:::::: TO: Jiri Olsa <jolsa(a)redhat.com>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org