* [mingo-tip:sched/headers 80/2574] include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h: No such file or directory
@ 2022-02-20 23:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-20 23:57 UTC (permalink / raw)
To: Ingo Molnar; +Cc: kbuild-all, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 39e8a0edc8fae20758051dadf7846849edc18b88
commit: dae7a695f3f100fcb540047389fba6f9d80a6fb2 [80/2574] headers/deps: per_task: Add the per_task infrastructure for x86, arm64, sparc and MIPS
config: csky-buildonly-randconfig-r001-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210712.NtyTe69D-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=dae7a695f3f100fcb540047389fba6f9d80a6fb2
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 dae7a695f3f100fcb540047389fba6f9d80a6fb2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/sched.h:12,
from arch/csky/kernel/asm-offsets.c:4:
>> include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h: No such file or directory
48 | # include <generated/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:121: arch/csky/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1191: 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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-20 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-20 23:57 [mingo-tip:sched/headers 80/2574] include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h: No such file or directory kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox