Hi Benjamin,
First bad commit (maybe != root cause):
tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro-drm
head: 671b538f2b304cf24dbbbe25615bef2e86fef84d
commit: 671b538f2b304cf24dbbbe25615bef2e86fef84d [81/81] drm: forward port of VOP2 driver
config: mips-buildonly-randconfig-r001-20211014 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
acb3b187c4c88650a6a717a1bcb234d27d0d7f54)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://github.com/frank-w/BPI-R2-4.14/commit/671b538f2b304cf24dbbbe25615...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.15-bpi-r2-pro-drm
git checkout 671b538f2b304cf24dbbbe25615bef2e86fef84d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> scripts/Makefile.clean:15:
drivers/gpu/drm/rockchip/ebc-dev/Makefile: No such file or directory
> make[6]: *** No rule to make target
'drivers/gpu/drm/rockchip/ebc-dev/Makefile'.
make[6]: Failed to remake
makefile 'drivers/gpu/drm/rockchip/ebc-dev/Makefile'.
make[5]: *** [scripts/Makefile.clean:68: drivers/gpu/drm/rockchip/ebc-dev] Error 2
> scripts/Makefile.clean:15:
drivers/gpu/drm/rockchip/rk618/Makefile: No such file or directory
> make[6]: *** No rule to make target
'drivers/gpu/drm/rockchip/rk618/Makefile'.
make[6]: Failed to remake
makefile 'drivers/gpu/drm/rockchip/rk618/Makefile'.
make[5]: *** [scripts/Makefile.clean:68: drivers/gpu/drm/rockchip/rk618] Error 2
> scripts/Makefile.clean:15:
drivers/gpu/drm/rockchip/rk628/Makefile: No such file or directory
> make[6]: *** No rule to make target
'drivers/gpu/drm/rockchip/rk628/Makefile'.
make[6]: Failed to remake
makefile 'drivers/gpu/drm/rockchip/rk628/Makefile'.
make[5]: *** [scripts/Makefile.clean:68: drivers/gpu/drm/rockchip/rk628] Error 2
make[5]: Target '__clean' not remade because of errors.
make[4]: *** [scripts/Makefile.clean:68: drivers/gpu/drm/rockchip] Error 2
make[4]: Target '__clean' not remade because of errors.
make[3]: *** [scripts/Makefile.clean:68: drivers/gpu/drm] Error 2
make[3]: Target '__clean' not remade because of errors.
make[2]: *** [scripts/Makefile.clean:68: drivers/gpu] Error 2
make[2]: Target '__clean' not remade because of errors.
make[1]: *** [Makefile:1875: _clean_drivers] Error 2
make[1]: Target 'distclean' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'distclean' not remade because of errors.
vim +15 scripts/Makefile.clean
2315c6e4227815 Sam Ravnborg 2005-07-25 12
2a691470345a00 Sam Ravnborg 2005-07-25 13 # The filename Kbuild has precedence over
Makefile
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 14 kbuild-dir := $(if $(filter
/%,$(src)),$(src),$(srctree)/$(src))
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 @15 include $(if $(wildcard
$(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
^1da177e4c3f41 Linus Torvalds 2005-04-16 16
:::::: The code at line 15 was first introduced by commit
:::::: db8c1a7b2ca25f37b1429c00e82d6568f86caec1 kbuild: fix building external modules
:::::: TO: Sam Ravnborg <sam(a)mars.(none)>
:::::: CC: Sam Ravnborg <sam(a)mars.(none)>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org