tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux-stable.git stable-3.12-queue head: 4df2158fe690a10d115965bee2602ac8100ba9c2 commit: 1fa9b58c6284c20971a0750acb9b17b22775151d [4592/5330] compiler-gcc: integrate the various compiler-gcc[345].h files config: um-x86_64_defconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout 1fa9b58c6284c20971a0750acb9b17b22775151d # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones prefixed by >>): In file included from arch/um/drivers/chan_user.h:9:0, from arch/um/drivers/xterm.c:13: >> arch/um/include/shared/init.h:129:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used' #define __uml_setup_help __used __section(.uml.help.init) ^ arch/um/include/shared/init.h:122:37: note: in expansion of macro '__uml_setup_help' static const char *__uml_help_##fn __uml_setup_help = __uml_help_str_##fn ^~~~~~~~~~~~~~~~ arch/um/include/shared/init.h:111:2: note: in expansion of macro '__uml_help' __uml_help(fn, help); \ ^~~~~~~~~~ arch/um/drivers/xterm.c:71:1: note: in expansion of macro '__uml_setup' __uml_setup("xterm=", xterm_setup, ^~~~~~~~~~~ arch/um/include/shared/init.h:128:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used' #define __uml_init_setup __used __section(.uml.setup.init) ^ arch/um/include/shared/init.h:113:43: note: in expansion of macro '__uml_init_setup' static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn } ^~~~~~~~~~~~~~~~ arch/um/drivers/xterm.c:71:1: note: in expansion of macro '__uml_setup' __uml_setup("xterm=", xterm_setup, ^~~~~~~~~~~ arch/um/include/shared/init.h:112:14: warning: '__uml_setup_str_xterm_setup' defined but not used [-Wunused-variable] static char __uml_setup_str_##fn[] __initdata = str; \ ^ arch/um/drivers/xterm.c:71:1: note: in expansion of macro '__uml_setup' __uml_setup("xterm=", xterm_setup, ^~~~~~~~~~~ arch/um/include/shared/init.h:121:14: warning: '__uml_help_str_xterm_setup' defined but not used [-Wunused-variable] static char __uml_help_str_##fn[] __initdata = help; \ ^ arch/um/include/shared/init.h:111:2: note: in expansion of macro '__uml_help' __uml_help(fn, help); \ ^~~~~~~~~~ arch/um/drivers/xterm.c:71:1: note: in expansion of macro '__uml_setup' __uml_setup("xterm=", xterm_setup, ^~~~~~~~~~~ arch/um/drivers/xterm.c:47:19: warning: 'xterm_setup' defined but not used [-Wunused-function] static int __init xterm_setup(char *line, int *add) ^~~~~~~~~~~ vim +129 arch/um/include/shared/init.h ^1da177e arch/um/include/init.h Linus Torvalds 2005-04-16 123 ^1da177e arch/um/include/init.h Linus Torvalds 2005-04-16 124 /* ^1da177e arch/um/include/init.h Linus Torvalds 2005-04-16 125 * Mark functions and data as being only used at initialization ^1da177e arch/um/include/init.h Linus Torvalds 2005-04-16 126 * or exit time. ^1da177e arch/um/include/init.h Linus Torvalds 2005-04-16 127 */ 3ff6eecc arch/um/include/init.h Adrian Bunk 2008-01-24 128 #define __uml_init_setup __used __section(.uml.setup.init) 3ff6eecc arch/um/include/init.h Adrian Bunk 2008-01-24 @129 #define __uml_setup_help __used __section(.uml.help.init) 3ff6eecc arch/um/include/init.h Adrian Bunk 2008-01-24 130 #define __uml_init_call __used __section(.uml.initcall.init) 3ff6eecc arch/um/include/init.h Adrian Bunk 2008-01-24 131 #define __uml_postsetup_call __used __section(.uml.postsetup.init) 3ff6eecc arch/um/include/init.h Adrian Bunk 2008-01-24 132 #define __uml_exit_call __used __section(.uml.exitcall.exit) :::::: The code at line 129 was first introduced by commit :::::: 3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0 remove __attribute_used__ :::::: TO: Adrian Bunk <bunk@xxxxxxxxxx> :::::: CC: Sam Ravnborg <sam@xxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data