Re: [PATCH v8 3/3] kbuild: distributed build support for Clang ThinLTO

From: kernel test robot

Date: Tue Mar 31 2026 - 05:58:55 EST


Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on dcc99abebfa1e9ca70f8af8695b6682ad7597bf2]

url: https://github.com/intel-lab-lkp/linux/commits/xur-google-com/kbuild-move-vmlinux-a-build-rule-to-scripts-Makefile-vmlinux_a/20260331-012908
base: dcc99abebfa1e9ca70f8af8695b6682ad7597bf2
patch link: https://lore.kernel.org/r/20260330171920.2026779-4-xur%40google.com
patch subject: [PATCH v8 3/3] kbuild: distributed build support for Clang ThinLTO
config: x86_64-kexec (attached as .config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603311757.MMr1YMxY-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/202603311757.MMr1YMxY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> Makefile:2254: *** extraneous 'endif'. Stop.
--
>> Makefile:2254: *** extraneous 'endif'. Stop.
--
>> Makefile:2254: *** extraneous 'endif'. Stop.
--
>> Makefile:2254: *** extraneous 'endif'. Stop.


vim +/endif +2254 Makefile

^1da177e4c3f41 Linus Torvalds 2005-04-16 2251
46b7c49254f89d SZ Lin (林上智 2020-03-01 2252) endif # config-build
2042b5486bd311 Masahiro Yamada 2019-08-11 2253 endif # mixed-build
688931a5ad4e55 Masahiro Yamada 2019-03-19 @2254 endif # need-sub-make
^1da177e4c3f41 Linus Torvalds 2005-04-16 2255

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki