make: Entering directory '/usr/src/linux-headers-5.4.0-050400rc4-generic' AR /tmp/builderr//built-in.a - due to target missing CC [M] /tmp/builderr//conftest.o - due to target missing In file included from :0:0: ./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:256:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE_2("call %P[old]", "call %P[new1]", feature1,\ ^~~~~~~~~~ ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’ alternative_call_2(clear_page_orig, ^~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:128:2: error: expected identifier or ‘(’ before string constant "# ALT: oldinstr2\n" \ ^ ./arch/x86/include/asm/alternative.h:168:2: note: in expansion of macro ‘OLDINSTR_2’ OLDINSTR_2(oldinstr, 1, 2) \ ^~~~~~~~~~ ./arch/x86/include/asm/alternative.h:256:23: note: in expansion of macro ‘ALTERNATIVE_2’ asm_inline volatile (ALTERNATIVE_2("call %P[old]", "call %P[new1]", feature1,\ ^~~~~~~~~~~~~ ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’ alternative_call_2(clear_page_orig, ^~~~~~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:256:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE_2("call %P[old]", "call %P[new1]", feature1,\ ^~~~~~~~~~ ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’ alternative_call_2(clear_page_orig, ^~~~~~~~~~~~~~~~~~ In file included from :0:0: ./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/segment.h:254:2: note: in expansion of macro ‘alternative_io’ alternative_io ("lsl %[seg],%[p]", ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant "# ALT: oldnstr\n" \ ^ ./arch/x86/include/asm/alternative.h:159:2: note: in expansion of macro ‘OLDINSTR’ OLDINSTR(oldinstr, 1) \ ^~~~~~~~ ./arch/x86/include/asm/alternative.h:240:23: note: in expansion of macro ‘ALTERNATIVE’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~~ ./arch/x86/include/asm/segment.h:254:2: note: in expansion of macro ‘alternative_io’ alternative_io ("lsl %[seg],%[p]", ^~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/segment.h:254:2: note: in expansion of macro ‘alternative_io’ alternative_io ("lsl %[seg],%[p]", ^~~~~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h: In function ‘clflushopt’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/special_insns.h:205:2: note: in expansion of macro ‘alternative_io’ alternative_io(".byte " __stringify(NOP_DS_PREFIX) "; clflush %P0", ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant "# ALT: oldnstr\n" \ ^ ./arch/x86/include/asm/alternative.h:159:2: note: in expansion of macro ‘OLDINSTR’ OLDINSTR(oldinstr, 1) \ ^~~~~~~~ ./arch/x86/include/asm/alternative.h:240:23: note: in expansion of macro ‘ALTERNATIVE’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h:205:2: note: in expansion of macro ‘alternative_io’ alternative_io(".byte " __stringify(NOP_DS_PREFIX) "; clflush %P0", ^~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/special_insns.h:205:2: note: in expansion of macro ‘alternative_io’ alternative_io(".byte " __stringify(NOP_DS_PREFIX) "; clflush %P0", ^~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘prefetch’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:221:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/processor.h:795:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchnta %P1", ^~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant "# ALT: oldnstr\n" \ ^ ./arch/x86/include/asm/alternative.h:159:2: note: in expansion of macro ‘OLDINSTR’ OLDINSTR(oldinstr, 1) \ ^~~~~~~~ ./arch/x86/include/asm/alternative.h:221:23: note: in expansion of macro ‘ALTERNATIVE’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~~ ./arch/x86/include/asm/processor.h:795:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchnta %P1", ^~~~~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:221:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/processor.h:795:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchnta %P1", ^~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘prefetchw’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:221:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/processor.h:807:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchw %P1", ^~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant "# ALT: oldnstr\n" \ ^ ./arch/x86/include/asm/alternative.h:159:2: note: in expansion of macro ‘OLDINSTR’ OLDINSTR(oldinstr, 1) \ ^~~~~~~~ ./arch/x86/include/asm/alternative.h:221:23: note: in expansion of macro ‘ALTERNATIVE’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~~ ./arch/x86/include/asm/processor.h:807:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchw %P1", ^~~~~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:221:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/processor.h:807:2: note: in expansion of macro ‘alternative_input’ alternative_input(BASE_PREFETCH, "prefetchw %P1", ^~~~~~~~~~~~~~~~~ ./include/linux/thread_info.h: In function ‘copy_overflow’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:93:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ ^~~~~~~~~~~~ ./include/asm-generic/bug.h:124:3: note: in expansion of macro ‘__WARN_printf’ __WARN_printf(TAINT_WARN, format); \ ^~~~~~~~~~~~~ ./include/linux/thread_info.h:134:2: note: in expansion of macro ‘WARN’ WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count); ^~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:93:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ ^~~~~~~~~~~~ ./include/asm-generic/bug.h:124:3: note: in expansion of macro ‘__WARN_printf’ __WARN_printf(TAINT_WARN, format); \ ^~~~~~~~~~~~~ ./include/linux/thread_info.h:134:2: note: in expansion of macro ‘WARN’ WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count); ^~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:93:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ ^~~~~~~~~~~~ ./include/asm-generic/bug.h:124:3: note: in expansion of macro ‘__WARN_printf’ __WARN_printf(TAINT_WARN, format); \ ^~~~~~~~~~~~~ ./include/linux/thread_info.h:134:2: note: in expansion of macro ‘WARN’ WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count); ^~~~ ./include/linux/rcupdate.h: In function ‘rcu_head_after_call_rcu’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/rcupdate.h:893:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(func != (rcu_callback_t)~0L); ^~~~~~~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/rcupdate.h:893:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(func != (rcu_callback_t)~0L); ^~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/rcupdate.h:893:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(func != (rcu_callback_t)~0L); ^~~~~~~~~~~~ ./include/linux/ktime.h: In function ‘ktime_divns’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/ktime.h:171:2: note: in expansion of macro ‘WARN_ON’ WARN_ON(div < 0); ^~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/ktime.h:171:2: note: in expansion of macro ‘WARN_ON’ WARN_ON(div < 0); ^~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/ktime.h:171:2: note: in expansion of macro ‘WARN_ON’ WARN_ON(div < 0); ^~~~~~~ ./include/linux/srcu.h: In function ‘srcu_read_unlock’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/srcu.h:179:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(idx & ~0x1); ^~~~~~~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/srcu.h:179:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(idx & ~0x1); ^~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/srcu.h:179:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(idx & ~0x1); ^~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageCompound’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/linux/page-flags.h:565:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(!PageHead(page)); ^~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/linux/page-flags.h:565:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(!PageHead(page)); ^~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/linux/page-flags.h:565:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(!PageHead(page)); ^~~~~~ ./include/asm-generic/fixmap.h: In function ‘virt_to_fix’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/asm-generic/fixmap.h:38:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); ^~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/asm-generic/fixmap.h:38:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); ^~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, 0); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’ #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) ^~~ ./include/asm-generic/fixmap.h:38:2: note: in expansion of macro ‘BUG_ON’ BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); ^~~~~~ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_write’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/apic.h:107:2: note: in expansion of macro ‘alternative_io’ alternative_io("movl %0, %P1", "xchgl %0, %P1", X86_BUG_11AP, ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/barrier.h:5:0, from ./include/linux/compiler.h:256, from ./include/linux/export.h:44, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant "# ALT: oldnstr\n" \ ^ ./arch/x86/include/asm/alternative.h:159:2: note: in expansion of macro ‘OLDINSTR’ OLDINSTR(oldinstr, 1) \ ^~~~~~~~ ./arch/x86/include/asm/alternative.h:240:23: note: in expansion of macro ‘ALTERNATIVE’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~~ ./arch/x86/include/asm/apic.h:107:2: note: in expansion of macro ‘alternative_io’ alternative_io("movl %0, %P1", "xchgl %0, %P1", X86_BUG_11AP, ^~~~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ ^~~~~~~~~~ ./arch/x86/include/asm/apic.h:107:2: note: in expansion of macro ‘alternative_io’ alternative_io("movl %0, %P1", "xchgl %0, %P1", X86_BUG_11AP, ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/smp.h:13:0, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:972, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:13, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/apic.h:105:16: warning: unused variable ‘addr’ [-Wunused-variable] volatile u32 *addr = (volatile u32 *)(APIC_BASE + reg); ^~~~ In file included from :0:0: ./include/linux/xarray.h: In function ‘xa_mk_value’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/xarray.h:54:2: note: in expansion of macro ‘WARN_ON’ WARN_ON((long)v < 0); ^~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/xarray.h:54:2: note: in expansion of macro ‘WARN_ON’ WARN_ON((long)v < 0); ^~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’ #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN)) ^~~~~~~~~~~~ ./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’ __WARN(); \ ^~~~~~ ./include/linux/xarray.h:54:2: note: in expansion of macro ‘WARN_ON’ WARN_ON((long)v < 0); ^~~~~~~ ./include/linux/kernfs.h: In function ‘kernfs_enable_ns’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:304:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); ^~~~~~~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:304:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); ^~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:304:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); ^~~~~~~~~~~~ ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:305:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); ^~~~~~~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:305:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); ^~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kernfs.h:305:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); ^~~~~~~~~~~~ ./include/linux/kobject.h: In function ‘kobject_has_children’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kobject.h:134:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kref_read(&kobj->kref) == 0); ^~~~~~~~~~~~ In file included from ./include/linux/bug.h:5:0, from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/stat.h:19, from ./include/linux/module.h:10, from /tmp/builderr//conftest.c:1: ./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant asm_inline volatile("1:\t" ins "\n" \ ^ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kobject.h:134:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kref_read(&kobj->kref) == 0); ^~~~~~~~~~~~ In file included from :0:0: ././include/linux/compiler_types.h:210:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] #define asm_inline asm __inline ^ ./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’ asm_inline volatile("1:\t" ins "\n" \ ^~~~~~~~~~ ./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’ _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \ ^~~~~~~~~~ ./include/asm-generic/bug.h:98:3: note: in expansion of macro ‘__WARN_FLAGS’ __WARN_FLAGS(BUGFLAG_ONCE | \ ^~~~~~~~~~~~ ./include/linux/kobject.h:134:2: note: in expansion of macro ‘WARN_ON_ONCE’ WARN_ON_ONCE(kref_read(&kobj->kref) == 0); ^~~~~~~~~~~~ scripts/Makefile.build:265: recipe for target '/tmp/builderr//conftest.o' failed make[1]: *** [/tmp/builderr//conftest.o] Error 1 Makefile:1649: recipe for target '/tmp/builderr/' failed make: *** [/tmp/builderr/] Error 2 make: Leaving directory '/usr/src/linux-headers-5.4.0-050400rc4-generic'