tree: https://github.com/rgushchin/linux.git vmap_stack.2 head: b61822b6662d7f8ad726217bb05c1acc417c1a6e commit: 2e06a5b89f867e96144d8a9fea1b9d9644b87a8b [372/400] linux-next-git-rejects config: i386-randconfig-x077-201832 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: git checkout 2e06a5b89f867e96144d8a9fea1b9d9644b87a8b # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from include/linux/kernel.h:6:0, from kernel//printk/printk.c:19: /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' typedef __builtin_va_list __gnuc_va_list; ^~~~~~~ In file included from include/linux/kernel.h:6:0, from kernel//printk/printk.c:19: /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h:99:9: error: unknown type name '__gnuc_va_list' typedef __gnuc_va_list va_list; ^~~~~~~~~~~~~~ In file included from include/linux/kernel.h:6:0, from kernel//printk/printk.c:19: kernel//printk/printk.c: In function 'printk_emit': >> kernel//printk/printk.c:1949:11: error: passing argument 1 of '__builtin_va_start' from incompatible pointer type [-Werror=incompatible-pointer-types] va_start(args, fmt); ^ kernel//printk/printk.c:1949:11: note: expected 'char **' but argument is of type 'va_list * {aka int *}' >> kernel//printk/printk.c:1951:9: error: passing argument 1 of '__builtin_va_end' from incompatible pointer type [-Werror=incompatible-pointer-types] va_end(args); ^ kernel//printk/printk.c:1951:9: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c: In function 'printk': kernel//printk/printk.c:2000:11: error: passing argument 1 of '__builtin_va_start' from incompatible pointer type [-Werror=incompatible-pointer-types] va_start(args, fmt); ^ kernel//printk/printk.c:2000:11: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c:2002:9: error: passing argument 1 of '__builtin_va_end' from incompatible pointer type [-Werror=incompatible-pointer-types] va_end(args); ^ kernel//printk/printk.c:2002:9: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c: In function 'early_printk': kernel//printk/printk.c:2051:11: error: passing argument 1 of '__builtin_va_start' from incompatible pointer type [-Werror=incompatible-pointer-types] va_start(ap, fmt); ^ kernel//printk/printk.c:2051:11: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c:2053:9: error: passing argument 1 of '__builtin_va_end' from incompatible pointer type [-Werror=incompatible-pointer-types] va_end(ap); ^ kernel//printk/printk.c:2053:9: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c: In function 'printk_deferred': kernel//printk/printk.c:2925:11: error: passing argument 1 of '__builtin_va_start' from incompatible pointer type [-Werror=incompatible-pointer-types] va_start(args, fmt); ^ kernel//printk/printk.c:2925:11: note: expected 'char **' but argument is of type 'va_list * {aka int *}' kernel//printk/printk.c:2927:9: error: passing argument 1 of '__builtin_va_end' from incompatible pointer type [-Werror=incompatible-pointer-types] va_end(args); ^ kernel//printk/printk.c:2927:9: note: expected 'char **' but argument is of type 'va_list * {aka int *}' cc1: some warnings being treated as errors vim +/__builtin_va_start +1949 kernel//printk/printk.c ^1da177e kernel/printk.c Linus Torvalds 2005-04-16 1941 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1942 asmlinkage int printk_emit(int facility, int level, 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1943 const char *dict, size_t dictlen, 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1944 const char *fmt, ...) 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1945 { 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1946 va_list args; 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1947 int r; 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1948 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 @1949 va_start(args, fmt); 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1950 r = vprintk_emit(facility, level, dict, dictlen, fmt, args); 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 @1951 va_end(args); 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1952 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1953 return r; 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1954 } 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1955 EXPORT_SYMBOL(printk_emit); 7ff9554b kernel/printk.c Kay Sievers 2012-05-03 1956 :::::: The code at line 1949 was first introduced by commit :::::: 7ff9554bb578ba02166071d2d487b7fc7d860d62 printk: convert byte-buffer to variable-length record buffer :::::: TO: Kay Sievers <kay@xxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip