[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204191032.OSML9oKj-lkp@intel.com>
Date: Tue, 19 Apr 2022 10:55:07 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 84/2356]
include/linux/sched/per_task.h:48:11: fatal error: 'generated/asm-offsets.h'
file not found
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: af93551cf39027d176f30b9beafc60a4c130998a
commit: dcac6390a2220f99834d2d14650fb82f2da9136b [84/2356] headers/deps: per_task: Add the per_task infrastructure for x86, arm64, sparc and MIPS
config: s390-randconfig-r044-20220418 (https://download.01.org/0day-ci/archive/20220419/202204191032.OSML9oKj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c1c49a356162b22554088d269f7689bdb044a9f1)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=dcac6390a2220f99834d2d14650fb82f2da9136b
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout dcac6390a2220f99834d2d14650fb82f2da9136b
# 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=s390 prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from arch/s390/kernel/asm-offsets.c:11:
In file included from include/linux/kvm_host.h:7:
In file included from include/linux/hardirq.h:9:
In file included from include/linux/sched.h:12:
>> include/linux/sched/per_task.h:48:11: fatal error: 'generated/asm-offsets.h' file not found
# include <generated/asm-offsets.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scripts/Makefile.build:120: arch/s390/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1194: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +48 include/linux/sched/per_task.h
42
43 #ifndef __PER_TASK_GEN
44 /*
45 * These offsets get generated via the scripts/gen-pertask.sh script,
46 * and the pertask rules in the top level Kbuild file:
47 */
> 48 # include <generated/asm-offsets.h>
49 #endif
50
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists