[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107270917.e61NxcNV-lkp@intel.com>
Date: Tue, 27 Jul 2021 09:20:24 +0800
From: kernel test robot <lkp@...el.com>
To: Gabriel Krisman Bertazi <krisman@...labora.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>
Subject: sud_test.c:9:10: fatal error: sys/prctl.h: No such file or directory
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff1176468d368232b684f75e82563369208bc371
commit: 179ef035992e89646e17138b18b130bb874b86bb selftests: Add kselftest for syscall user dispatch
date: 8 months ago
config: openrisc-randconfig-s031-20210726 (attached as .config)
compiler: or1k-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=179ef035992e89646e17138b18b130bb874b86bb
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 179ef035992e89646e17138b18b130bb874b86bb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc SHELL=/bin/bash -C tools/testing/selftests install
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 >>):
>> sud_test.c:9:10: fatal error: sys/prctl.h: No such file or directory
9 | #include <sys/prctl.h>
| ^~~~~~~~~~~~~
compilation terminated.
tools/testing/selftests/kselftest_harness.h:57:10: fatal error: errno.h: No such file or directory
57 | #include <errno.h>
| ^~~~~~~~~
compilation terminated.
tools/testing/selftests/kselftest.h:45:10: fatal error: errno.h: No such file or directory
45 | #include <errno.h>
| ^~~~~~~~~
compilation terminated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (32024 bytes)
Powered by blists - more mailing lists