lkml.org 
[lkml]   [2016]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] Kbuild: don't add obj tree in additional includes
Hi,

[auto build test ERROR on kbuild/for-next]
[also build test ERROR on v4.7-rc3 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/Kbuild-don-t-add-to-include-path/20160614-052242
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

All errors (new ones prefixed by >>):

kernel/time/Kconfig:155:warning: range is invalid
In file included from arch/x86/include/asm/seccomp.h:4:0,
from include/linux/seccomp.h:11,
from include/linux/sched.h:43,
from arch/x86/um/shared/sysdep/kernel-offsets.h:2,
from arch/um/kernel/asm-offsets.c:1:
>> arch/x86/include/asm/unistd.h:23:29: fatal error: asm/unistd_64.h: No such file or directory
# include <asm/unistd_64.h>
^
compilation terminated.
make[2]: *** [arch/um/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

vim +23 arch/x86/include/asm/unistd.h

fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 7 # ifdef CONFIG_X86_X32_ABI
fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 8 # define __SYSCALL_MASK (~(__X32_SYSCALL_BIT))
fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 9 # else
fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 10 # define __SYSCALL_MASK (~0)
fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 11 # endif
fca460f9 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-19 12
b11caa7c include/asm-x86/unistd.h Adrian Bunk 2008-04-20 13 # ifdef CONFIG_X86_32
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 14
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 15 # include <asm/unistd_32.h>
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 16 # define __ARCH_WANT_STAT64
4f2f81a5 arch/x86/include/asm/unistd.h H. Peter Anvin 2012-01-19 17 # define __ARCH_WANT_SYS_IPC
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 18 # define __ARCH_WANT_SYS_OLD_MMAP
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 19 # define __ARCH_WANT_SYS_OLD_SELECT
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 20
b11caa7c include/asm-x86/unistd.h Adrian Bunk 2008-04-20 21 # else
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 22
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 @23 # include <asm/unistd_64.h>
ea499fec arch/x86/include/asm/unistd.h H. Peter Anvin 2012-02-14 24 # include <asm/unistd_64_x32.h>
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 25 # define __ARCH_WANT_COMPAT_SYS_TIME
0473c9b5 arch/x86/include/asm/unistd.h Heiko Carstens 2014-03-03 26 # define __ARCH_WANT_COMPAT_SYS_GETDENTS64
378a10f3 arch/x86/include/asm/unistd.h Heiko Carstens 2014-03-05 27 # define __ARCH_WANT_COMPAT_SYS_PREADV64
378a10f3 arch/x86/include/asm/unistd.h Heiko Carstens 2014-03-05 28 # define __ARCH_WANT_COMPAT_SYS_PWRITEV64
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 29
b11caa7c include/asm-x86/unistd.h Adrian Bunk 2008-04-20 30 # endif
303395ac arch/x86/include/asm/unistd.h H. Peter Anvin 2011-11-11 31

:::::: The code at line 23 was first introduced by commit
:::::: 303395ac3bf3e2cb488435537d416bc840438fcb x86: Generate system call tables and unistd_*.h from tables

:::::: TO: H. Peter Anvin <hpa@linux.intel.com>
:::::: CC: H. Peter Anvin <hpa@linux.intel.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-06-14 01:21    [W:0.191 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site