Hi James, [auto build test ERROR on kbuild/for-next] [also build test ERROR on v4.4 next-20160119] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next config: i386-tinyconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from arch/x86/kernel/asm-offsets.c:25:0: >> arch/x86/kernel/asm-offsets_32.c:12:29: fatal error: asm/syscalls_32.h: No such file or directory compilation terminated. make[2]: *** [arch/x86/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 +12 arch/x86/kernel/asm-offsets_32.c 5de2b61a6 arch/x86/kernel/asm-offsets_32.c Borislav Petkov 2014-12-09 1 #ifndef __LINUX_KBUILD_H 5de2b61a6 arch/x86/kernel/asm-offsets_32.c Borislav Petkov 2014-12-09 2 # error "Please do not build this file directly, build asm-offsets.c instead" 5de2b61a6 arch/x86/kernel/asm-offsets_32.c Borislav Petkov 2014-12-09 3 #endif 5de2b61a6 arch/x86/kernel/asm-offsets_32.c Borislav Petkov 2014-12-09 4 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 5 #include <asm/ucontext.h> 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 6 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 7 #include <linux/lguest.h> 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 8 #include "../../../drivers/lguest/lg.h" 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 9 303395ac3 arch/x86/kernel/asm-offsets_32.c H. Peter Anvin 2011-11-11 10 #define __SYSCALL_I386(nr, sym, compat) [nr] = 1, 303395ac3 arch/x86/kernel/asm-offsets_32.c H. Peter Anvin 2011-11-11 11 static char syscalls[] = { 303395ac3 arch/x86/kernel/asm-offsets_32.c H. Peter Anvin 2011-11-11 @12 #include <asm/syscalls_32.h> 303395ac3 arch/x86/kernel/asm-offsets_32.c H. Peter Anvin 2011-11-11 13 }; 303395ac3 arch/x86/kernel/asm-offsets_32.c H. Peter Anvin 2011-11-11 14 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 15 /* workaround for a warning with -Wmissing-prototypes */ 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 16 void foo(void); 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 17 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 18 void foo(void) 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 19 { 8d0d37cfb arch/i386/kernel/asm-offsets_32.c Thomas Gleixner 2007-10-11 20 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); :::::: The code at line 12 was first introduced by commit :::::: 303395ac3bf3e2cb488435537d416bc840438fcb x86: Generate system call tables and unistd_*.h from tables :::::: TO: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> :::::: CC: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data