Re: [kbuild-all] Re: [mcgrof-next:20210916-firmware-builtin-v2 14/14] drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin.gen.S:5:13: error: Could not find incbin file 'drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin'

From: Chen, Rong A
Date: Thu Nov 11 2021 - 04:07:16 EST




On 11/9/2021 12:51 AM, Luis Chamberlain wrote:
On Mon, Nov 08, 2021 at 01:37:31AM +0800, kernel test robot wrote:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20210916-firmware-builtin-v2
head: f69194f4bcf5b301f2d169b2f036c0da4b642e53
commit: f69194f4bcf5b301f2d169b2f036c0da4b642e53 [14/14] test_firmware: add support for testing built-in firmware
config: arm-randconfig-r004-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=f69194f4bcf5b301f2d169b2f036c0da4b642e53
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20210916-firmware-builtin-v2
git checkout f69194f4bcf5b301f2d169b2f036c0da4b642e53
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm

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

All errors (new ones prefixed by >>):

drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin.gen.S:5:13: error: Could not find incbin file 'drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin'
.incbin "drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin"
^

I used the latest test branch:

https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20211020-firmware-builtin

And I can't reproduce there, that build fails for another reason though:

Hi Luis,

Sorry for the inconvenience, the reproduce step is not accurate,
we can be reproduced the error with "O=dir" option specified.

Best Regards,
Rong Chen


ld.lld: error: undefined symbol: _printk
referenced by io-acorn.o:(.text+0x38) in archive
arch/arm/mach-rpc/built-in.a
make: *** [Makefile:1183: vmlinux] Error 1
make: Target '__all' not remade because of errors.

Luis
_______________________________________________
kbuild-all mailing list -- kbuild-all@xxxxxxxxxxxx
To unsubscribe send an email to kbuild-all-leave@xxxxxxxxxxxx