Re: [PATCH 1/2] kbuild: Check version of objdump
From: kernel test robot
Date: Mon Dec 23 2024 - 11:40:02 EST
Hi Charlie,
kernel test robot noticed the following build errors:
[auto build test ERROR on fac04efc5c793dccbd07e2d59af9f90b7fc0dca4]
url: https://github.com/intel-lab-lkp/linux/commits/Charlie-Jenkins/kbuild-Check-version-of-objdump/20241217-071632
base: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
patch link: https://lore.kernel.org/r/20241216-perf_fix_riscv_obj_reading-v1-1-b75962660a9b%40rivosinc.com
patch subject: [PATCH 1/2] kbuild: Check version of objdump
config: x86_64-randconfig-003-20241223 (attached as .config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241224/202412240044.wVXW8Eg1-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412240044.wVXW8Eg1-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
***
*** objdump is too old.
*** Your llvm-objdump version:
*** Minimum llvm-objdump version: 13.0.1
***
>> scripts/Kconfig.include:63: Sorry, this objdump is not supported.
make[3]: *** [scripts/kconfig/Makefile:85: oldconfig] Error 1 shuffle=1831414175
make[2]: *** [Makefile:733: oldconfig] Error 2 shuffle=1831414175
make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=1831414175
make[1]: Target 'oldconfig' not remade because of errors.
make: *** [Makefile:251: __sub-make] Error 2 shuffle=1831414175
make: Target 'oldconfig' not remade because of errors.
--
***
*** objdump is too old.
*** Your llvm-objdump version:
*** Minimum llvm-objdump version: 13.0.1
***
>> scripts/Kconfig.include:63: Sorry, this objdump is not supported.
make[3]: *** [scripts/kconfig/Makefile:85: olddefconfig] Error 1 shuffle=1831414175
make[2]: *** [Makefile:733: olddefconfig] Error 2 shuffle=1831414175
make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=1831414175
make[1]: Target 'olddefconfig' not remade because of errors.
make: *** [Makefile:251: __sub-make] Error 2 shuffle=1831414175
make: Target 'olddefconfig' not remade because of errors.
vim +63 scripts/Kconfig.include
60
61 # Get the objdump name, version, and error out if it is not supported.
62 objdump-info := $(shell,$(srctree)/scripts/objdump-version.sh $(OBJDUMP))
> 63 $(error-if,$(success,test -z "$(objdump-info)"),Sorry$(comma) this objdump is not supported.)
64 objdump-name := $(shell,set -- $(objdump-info) && echo $1)
65 objdump-version := $(shell,set -- $(objdump-info) && echo $2)
66
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki