GCC 7:make: Entering directory '/home/keyliaran/Bastion/linux-agent/src/lkm'
Kernel: /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/usr/src/linux-headers-5.4.0-8-lowlatency
Source directory: /home/keyliaran/Bastion/linux-agent/src/lkm
Build directory: /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build
mkdir -p /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/tommyds/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/libudis86/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/libudis86/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/libudis86/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/libudis86/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/libudis86/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/rhashtable/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/bsd-ringbuffer/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/./ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/./ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/./ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/./ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/hooks/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/logger/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/ /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/covert/
make -C /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/usr/src/linux-headers-5.4.0-8-lowlatency M=/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build src=/home/keyliaran/Bastion/linux-agent/src/lkm modules
make[1]: Entering directory '/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/usr/src/linux-headers-5.4.0-8-lowlatency'
CC [M] /tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/tommyds/tommy.o
scripts/Makefile.build:273: recipe for target '/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/tommyds/tommy.o' failed
Makefile:1681: recipe for target '/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build' failed
make[1]: Leaving directory '/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/usr/src/linux-headers-5.4.0-8-lowlatency'
Makefile:80: recipe for target 'all' failed
make: Leaving directory '/home/keyliaran/Bastion/linux-agent/src/lkm'
In file included from <command-line>: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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>: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:266: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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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:266:2: note: in expansion of macro ‘alternative_io’
alternative_io ("lsl %[seg],%[p]",
^~~~~~~~~~~~~~
In file included from <command-line>:0:0:
./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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0: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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./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:42,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:35,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 ./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/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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 <command-line>:0:0:
./include/linux/slab.h: In function ‘kmalloc_index’:
././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/linux/slab.h:386:2: note: in expansion of macro ‘BUG’
BUG();
^~~
In file included from ./include/linux/bug.h:5:0,
from ./include/linux/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:15,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommytypes.h:36,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.h:100,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommylist.c:28,
from /home/keyliaran/Bastion/linux-agent/src/lkm/utils/tommyds/tommy.c:28:
./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/linux/slab.h:386:2: note: in expansion of macro ‘BUG’
BUG();
^~~
make[2]: *** [/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build/utils/tommyds/tommy.o] Error 1
make[1]: *** [/tmp/Kernels/Ubuntu/5.4.0-8-lowlatency_5.4.0-8.11/build] Error 2
make: *** [all] Error 2
: exit status 2