Hi Benjamin,
kernel test robot noticed the following build errors:
[auto build test ERROR on uml/next] [also build test ERROR on uml/fixes shuah-kselftest/next shuah-kselftest/fixes linus/master v6.17-rc6 next-20250919] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Benjamin-Berg/tools-compiler-... base: https://git.kernel.org/pub/scm/linux/kernel/git/uml/linux next patch link: https://lore.kernel.org/r/20250919153420.727385-12-benjamin%40sipsolutions.n... patch subject: [PATCH v2 11/11] um: switch ptrace FP register access to nolibc config: um-allnoconfig (https://download.01.org/0day-ci/archive/20250920/202509200433.l6pWDPhh-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 7c861bcedf61607b6c087380ac711eb7ff918ca6) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250920/202509200433.l6pWDPhh-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202509200433.l6pWDPhh-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
arch/x86/um/os-Linux/registers.c:11:10: fatal error: 'sys/user.h' file not found
11 | #include <sys/user.h> | ^~~~~~~~~~~~ 1 error generated. --
clang: warning: no such include directory: './arch/um/include/shared' [-Wmissing-include-dirs]
vim +11 arch/x86/um/os-Linux/registers.c
14c8a77e1bbd69 arch/um/os-Linux/sys-i386/registers.c Jeff Dike 2008-06-12 @11 #include <sys/user.h> 38b64aed786d59 arch/x86/um/os-Linux/registers.c Richard Weinberger 2011-08-18 12 #endif 37185b33240870 arch/x86/um/os-Linux/registers.c Al Viro 2012-10-08 13 #include <longjmp.h> 37185b33240870 arch/x86/um/os-Linux/registers.c Al Viro 2012-10-08 14 #include <sysdep/ptrace_user.h> a78ff1112263fd arch/x86/um/os-Linux/registers.c Eli Cooper 2016-03-20 15 #include <sys/uio.h> a78ff1112263fd arch/x86/um/os-Linux/registers.c Eli Cooper 2016-03-20 16 #include <asm/sigcontext.h> a78ff1112263fd arch/x86/um/os-Linux/registers.c Eli Cooper 2016-03-20 17 #include <linux/elf.h> dbba7f704aa0c3 arch/x86/um/os-Linux/registers.c Al Viro 2021-09-20 18 #include <registers.h> 3f17fed2149192 arch/x86/um/os-Linux/registers.c Benjamin Berg 2024-10-23 19 #include <sys/mman.h> ^1da177e4c3f41 arch/um/os-Linux/sys-i386/registers.c Linus Torvalds 2005-04-16 20