lkml.org 
[lkml]   [2022]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mingo-tip:sched/headers 1453/2579] arch/mips/vdso/genvdso.c:21:10: fatal error: 'linux/mm_api.h' file not found
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: 4eb7f06cbb9a0539016473ab509c83b5c9c50127 [1453/2579] headers/deps: Add header dependencies to .c files: <linux/mm_api.h>
config: mips-randconfig-r026-20220419 (https://download.01.org/0day-ci/archive/20220420/202204202323.l1gSemNN-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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=4eb7f06cbb9a0539016473ab509c83b5c9c50127
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 4eb7f06cbb9a0539016473ab509c83b5c9c50127
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/ arch/mips/vdso/ drivers/media/tuners/ drivers/rtc/ kernel/ lib/

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 >>):

>> arch/mips/vdso/genvdso.c:21:10: fatal error: 'linux/mm_api.h' file not found
#include <linux/mm_api.h>
^~~~~~~~~~~~~~~~
1 error generated.


vim +21 arch/mips/vdso/genvdso.c

> 21 #include <linux/mm_api.h>
22 #include <sys/mman.h>
23 #include <sys/stat.h>
24 #include <sys/types.h>
25

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-04-21 08:43    [W:0.027 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site