[ardb:x86-head64-cleanup 1/5] ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x0): multiple definition of `image_offset'; arch/x86/boot/compressed/head_32.o:(.data+0x20): first defined here

From: kernel test robot
Date: Mon Aug 01 2022 - 00:14:23 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-head64-cleanup
head: 98468eaa18daadca5bc6a0c96b7553855730b109
commit: 58db1fb9adb44432f85043d93b0f932ef7678fb0 [1/5] x86/head_64: clean up mixed mode 32-bit entry code
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220801/202208011257.EX6rUyXG-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=58db1fb9adb44432f85043d93b0f932ef7678fb0
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb x86-head64-cleanup
git checkout 58db1fb9adb44432f85043d93b0f932ef7678fb0
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x0): multiple definition of `image_offset'; arch/x86/boot/compressed/head_32.o:(.data+0x20): first defined here

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