Hi Fei,
First bad commit (maybe != root cause):
tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head: b4c97de985b1ab07e191bd42d850e521b38ff00b
commit: 47053c9ca1fca9a873ad8981b4e7115d40ed9d03 [1859/2051] CHROMIUM: Mali: Build Mali
Bifrost
config: powerpc64-randconfig-r012-20211214
(
https://download.01.org/0day-ci/archive/20211215/202112151507.MmMFkgk1-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
dd245bab9fbb364faa1581e4f92ba3119a872fba)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.15
git checkout 47053c9ca1fca9a873ad8981b4e7115d40ed9d03
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=powerpc distclean
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/arm/bifrost/arbitration/Makefile: No such file or directory
> make[6]: *** No rule to make target
'drivers/gpu/arm/bifrost/arbitration/Makefile'.
make[6]: Failed to remake
makefile 'drivers/gpu/arm/bifrost/arbitration/Makefile'.
make[5]: *** [scripts/Makefile.clean:68: drivers/gpu/arm/bifrost/arbitration] Error 2
make[5]: Target '__clean' not remade because of errors.
make[4]: *** [scripts/Makefile.clean:68: drivers/gpu/arm/bifrost] Error 2
make[4]: Target '__clean' not remade because of errors.
make[3]: *** [scripts/Makefile.clean:68: drivers/gpu/arm] 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