[jpoimboe:reserve-brk-2 1/1] ld.lld: warning: section type mismatch for .brk_reservation

From: kernel test robot
Date: Wed Jun 08 2022 - 18:55:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git reserve-brk-2
head: a802eefebee4d2c01f479a7d3f2008fdd32ce270
commit: a802eefebee4d2c01f479a7d3f2008fdd32ce270 [1/1] x86/mm: Fix RESERVE_BRK() for older binutils
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220609/202206090620.HpoizvXw-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=a802eefebee4d2c01f479a7d3f2008fdd32ce270
git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git
git fetch --no-tags jpoimboe reserve-brk-2
git checkout a802eefebee4d2c01f479a7d3f2008fdd32ce270
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> ld.lld: warning: section type mismatch for .brk_reservation
>>> arch/x86/built-in.a(kernel/setup.o):(.brk_reservation): SHT_PROGBITS
>>> output section .brk: SHT_NOBITS
--
>> ld.lld: warning: section type mismatch for .brk_reservation
>>> arch/x86/built-in.a(mm/init.o):(.brk_reservation): SHT_PROGBITS
>>> output section .brk: SHT_NOBITS
>> ld.lld: warning: section type mismatch for .brk_reservation
>>> arch/x86/built-in.a(kernel/setup.o):(.brk_reservation): SHT_PROGBITS
>>> output section .brk: SHT_NOBITS
--
>> ld.lld: warning: section type mismatch for .brk_reservation
>>> arch/x86/built-in.a(mm/init.o):(.brk_reservation): SHT_PROGBITS
>>> output section .brk: SHT_NOBITS

--
0-DAY CI Kernel Test Service
https://01.org/lkp