Re: [PATCH] kbuild: Support separating source and output of the external module

From: kernel test robot
Date: Thu Sep 12 2024 - 07:54:44 EST


Hi Jing,

kernel test robot noticed the following build errors:

[auto build test ERROR on masahiroy-kbuild/fixes]
[also build test ERROR on linus/master v6.11-rc7]
[cannot apply to masahiroy-kbuild/for-next next-20240912]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Jing-Leng/kbuild-Support-separating-source-and-output-of-the-external-module/20240911-192242
base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git fixes
patch link: https://lore.kernel.org/r/20240911112017.14427-1-3090101217%40zju.edu.cn
patch subject: [PATCH] kbuild: Support separating source and output of the external module
config: x86_64-kexec (attached as .config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240912/202409121947.7NkNsyuC-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/202409121947.7NkNsyuC-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> make[3]: *** No rule to make target 'scripts/kconfig/lexer.lex.c', needed by 'scripts/kconfig/lexer.lex.o'.
>> make[3]: *** No rule to make target 'scripts/kconfig/parser.tab.c', needed by 'scripts/kconfig/parser.tab.o'.
make[3]: Target 'oldconfig' not remade because of errors.
make[2]: *** [Makefile:680: oldconfig] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Target 'oldconfig' not remade because of errors.
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'oldconfig' not remade because of errors.
--
>> make[3]: *** No rule to make target 'scripts/kconfig/lexer.lex.c', needed by 'scripts/kconfig/lexer.lex.o'.
>> make[3]: *** No rule to make target 'scripts/kconfig/parser.tab.c', needed by 'scripts/kconfig/parser.tab.o'.
make[3]: Target 'olddefconfig' not remade because of errors.
make[2]: *** [Makefile:680: olddefconfig] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Target 'olddefconfig' not remade because of errors.
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'olddefconfig' not remade because of errors.

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