cp qemu/kernel_config.x86 /home/mahmoud/dev/linux/.config
make -C /home/mahmoud/dev/linux oldnoconfig
make[1]: Entering directory '/home/mahmoud/dev/linux'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --olddefconfig Kconfig
#
# configuration written to .config
#
WARNING: "oldnoconfig" target will be removed after Linux 4.19
Please use "olddefconfig" instead, which is an alias.
make[1]: Leaving directory '/home/mahmoud/dev/linux'
make -C /home/mahmoud/dev/linux
make[1]: Entering directory '/home/mahmoud/dev/linux'
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/export.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
UPD include/generated/timeconst.h
CC kernel/bounds.s
In file included from ./include/asm-generic/bug.h:5,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/compiler.h: In function ‘__read_once_size’:
./include/linux/compiler.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
187 | {
| ^
./include/linux/compiler.h: In function ‘__read_once_size_nocheck’:
./include/linux/compiler.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
205 | {
| ^
./include/linux/compiler.h: In function ‘__write_once_size’:
./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
210 | {
| ^
In file included from ./include/linux/compiler.h:245,
from ./include/asm-generic/bug.h:5,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./arch/x86/include/asm/barrier.h: In function ‘array_index_mask_nospec’:
./arch/x86/include/asm/barrier.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
38 | {
| ^
In file included from ./include/linux/compiler.h:246,
from ./include/asm-generic/bug.h:5,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/kasan-checks.h: In function ‘kasan_check_read’:
./include/linux/kasan-checks.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
10 | { }
| ^
./include/linux/kasan-checks.h: In function ‘kasan_check_write’:
./include/linux/kasan-checks.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
12 | { }
| ^
In file included from ./include/asm-generic/bug.h:5,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/compiler.h: In function ‘read_word_at_a_time’:
./include/linux/compiler.h:268:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
268 | {
| ^
./include/linux/compiler.h: In function ‘offset_to_ptr’:
./include/linux/compiler.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
298 | {
| ^
In file included from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
./arch/x86/include/asm/bitops.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
74 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__set_bit’:
./arch/x86/include/asm/bitops.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
96 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
./arch/x86/include/asm/bitops.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
112 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock’:
./arch/x86/include/asm/bitops.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
133 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__clear_bit’:
./arch/x86/include/asm/bitops.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
139 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock_is_negative_byte’:
./arch/x86/include/asm/bitops.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
144 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__clear_bit_unlock’:
./arch/x86/include/asm/bitops.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
169 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__change_bit’:
./arch/x86/include/asm/bitops.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
184 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
./arch/x86/include/asm/bitops.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
198 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit’:
./arch/x86/include/asm/bitops.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
219 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit_lock’:
./arch/x86/include/asm/bitops.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
233 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__test_and_set_bit’:
./arch/x86/include/asm/bitops.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
247 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘test_and_clear_bit’:
./arch/x86/include/asm/bitops.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
266 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__test_and_clear_bit’:
./arch/x86/include/asm/bitops.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
288 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__test_and_change_bit’:
./arch/x86/include/asm/bitops.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
300 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘test_and_change_bit’:
./arch/x86/include/asm/bitops.h:320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
320 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘constant_test_bit’:
./arch/x86/include/asm/bitops.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
326 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘variable_test_bit’:
./arch/x86/include/asm/bitops.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
332 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__ffs’:
./arch/x86/include/asm/bitops.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
364 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘ffz’:
./arch/x86/include/asm/bitops.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
378 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘__fls’:
./arch/x86/include/asm/bitops.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
392 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘ffs’:
./arch/x86/include/asm/bitops.h:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
414 | {
| ^
./arch/x86/include/asm/bitops.h: In function ‘fls’:
./arch/x86/include/asm/bitops.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
455 | {
| ^
In file included from ./arch/x86/include/asm/bitops.h:510,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/asm-generic/bitops/fls64.h: In function ‘fls64’:
./include/asm-generic/bitops/fls64.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
20 | {
| ^
In file included from ./arch/x86/include/asm/bitops.h:515,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/asm-generic/bitops/sched.h: In function ‘sched_find_first_bit’:
./include/asm-generic/bitops/sched.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
14 | {
| ^
In file included from ./arch/x86/include/asm/bitops.h:517,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight32’:
./arch/x86/include/asm/arch_hweight.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
24 | {
| ^
./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight16’:
./arch/x86/include/asm/arch_hweight.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
35 | {
| ^
./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight8’:
./arch/x86/include/asm/arch_hweight.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
40 | {
| ^
./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight64’:
./arch/x86/include/asm/arch_hweight.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
46 | {
| ^
In file included from ./include/uapi/linux/swab.h:7,
from ./include/linux/swab.h:5,
from ./include/uapi/linux/byteorder/little_endian.h:13,
from ./include/linux/byteorder/little_endian.h:5,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./arch/x86/include/uapi/asm/swab.h: In function ‘__arch_swab32’:
./arch/x86/include/uapi/asm/swab.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
9 | {
| ^
./arch/x86/include/uapi/asm/swab.h: In function ‘__arch_swab64’:
./arch/x86/include/uapi/asm/swab.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
16 | {
| ^
In file included from ./include/linux/swab.h:5,
from ./include/uapi/linux/byteorder/little_endian.h:13,
from ./include/linux/byteorder/little_endian.h:5,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/uapi/linux/swab.h: In function ‘__fswab16’:
./include/uapi/linux/swab.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
48 | {
| ^
./include/uapi/linux/swab.h: In function ‘__fswab32’:
./include/uapi/linux/swab.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
57 | {
| ^
./include/uapi/linux/swab.h: In function ‘__fswab64’:
./include/uapi/linux/swab.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
66 | {
| ^
./include/uapi/linux/swab.h: In function ‘__fswahw32’:
./include/uapi/linux/swab.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
79 | {
| ^
./include/uapi/linux/swab.h: In function ‘__fswahb32’:
./include/uapi/linux/swab.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
88 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab16p’:
./include/uapi/linux/swab.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
162 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab32p’:
./include/uapi/linux/swab.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
175 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab64p’:
./include/uapi/linux/swab.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
188 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swahw32p’:
./include/uapi/linux/swab.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
203 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swahb32p’:
./include/uapi/linux/swab.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
218 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab16s’:
./include/uapi/linux/swab.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
231 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab32s’:
./include/uapi/linux/swab.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
243 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swab64s’:
./include/uapi/linux/swab.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
256 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swahw32s’:
./include/uapi/linux/swab.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
271 | {
| ^
./include/uapi/linux/swab.h: In function ‘__swahb32s’:
./include/uapi/linux/swab.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
286 | {
| ^
In file included from ./include/linux/byteorder/little_endian.h:5,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le64p’:
./include/uapi/linux/byteorder/little_endian.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
45 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__le64_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
49 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le32p’:
./include/uapi/linux/byteorder/little_endian.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
53 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
57 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le16p’:
./include/uapi/linux/byteorder/little_endian.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
61 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__le16_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
65 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_be64p’:
./include/uapi/linux/byteorder/little_endian.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
69 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__be64_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
73 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_be32p’:
./include/uapi/linux/byteorder/little_endian.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
77 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__be32_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
81 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_be16p’:
./include/uapi/linux/byteorder/little_endian.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
85 | {
| ^
./include/uapi/linux/byteorder/little_endian.h: In function ‘__be16_to_cpup’:
./include/uapi/linux/byteorder/little_endian.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
89 | {
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/byteorder/generic.h: In function ‘le16_add_cpu’:
./include/linux/byteorder/generic.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
145 | {
| ^
./include/linux/byteorder/generic.h: In function ‘le32_add_cpu’:
./include/linux/byteorder/generic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
150 | {
| ^
./include/linux/byteorder/generic.h: In function ‘le64_add_cpu’:
./include/linux/byteorder/generic.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
155 | {
| ^
./include/linux/byteorder/generic.h: In function ‘le32_to_cpu_array’:
./include/linux/byteorder/generic.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
161 | {
| ^
./include/linux/byteorder/generic.h: In function ‘cpu_to_le32_array’:
./include/linux/byteorder/generic.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
169 | {
| ^
./include/linux/byteorder/generic.h: In function ‘be16_add_cpu’:
./include/linux/byteorder/generic.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
177 | {
| ^
./include/linux/byteorder/generic.h: In function ‘be32_add_cpu’:
./include/linux/byteorder/generic.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
182 | {
| ^
./include/linux/byteorder/generic.h: In function ‘be64_add_cpu’:
./include/linux/byteorder/generic.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
187 | {
| ^
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
192 | {
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
200 | {
| ^
In file included from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/asm-generic/bitops/le.h: In function ‘find_next_zero_bit_le’:
./include/asm-generic/bitops/le.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
14 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘find_next_bit_le’:
./include/asm-generic/bitops/le.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
20 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘find_first_zero_bit_le’:
./include/asm-generic/bitops/le.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
26 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘test_bit_le’:
./include/asm-generic/bitops/le.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
54 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘set_bit_le’:
./include/asm-generic/bitops/le.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
59 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘clear_bit_le’:
./include/asm-generic/bitops/le.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
64 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘__set_bit_le’:
./include/asm-generic/bitops/le.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
69 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘__clear_bit_le’:
./include/asm-generic/bitops/le.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
74 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘test_and_set_bit_le’:
./include/asm-generic/bitops/le.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
79 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘test_and_clear_bit_le’:
./include/asm-generic/bitops/le.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
84 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘__test_and_set_bit_le’:
./include/asm-generic/bitops/le.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
89 | {
| ^
./include/asm-generic/bitops/le.h: In function ‘__test_and_clear_bit_le’:
./include/asm-generic/bitops/le.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
94 | {
| ^
In file included from ./include/linux/kernel.h:11,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/bitops.h: In function ‘get_bitmask_order’:
./include/linux/bitops.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
44 | {
| ^
./include/linux/bitops.h: In function ‘hweight_long’:
./include/linux/bitops.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
52 | {
| ^
./include/linux/bitops.h: In function ‘rol64’:
./include/linux/bitops.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
62 | {
| ^
./include/linux/bitops.h: In function ‘ror64’:
./include/linux/bitops.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
72 | {
| ^
./include/linux/bitops.h: In function ‘rol32’:
./include/linux/bitops.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
82 | {
| ^
./include/linux/bitops.h: In function ‘ror32’:
./include/linux/bitops.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
92 | {
| ^
./include/linux/bitops.h: In function ‘rol16’:
./include/linux/bitops.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
102 | {
| ^
./include/linux/bitops.h: In function ‘ror16’:
./include/linux/bitops.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
112 | {
| ^
./include/linux/bitops.h: In function ‘rol8’:
./include/linux/bitops.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
122 | {
| ^
./include/linux/bitops.h: In function ‘ror8’:
./include/linux/bitops.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
132 | {
| ^
./include/linux/bitops.h: In function ‘sign_extend32’:
./include/linux/bitops.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
144 | {
| ^
./include/linux/bitops.h: In function ‘sign_extend64’:
./include/linux/bitops.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
155 | {
| ^
./include/linux/bitops.h: In function ‘fls_long’:
./include/linux/bitops.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
161 | {
| ^
./include/linux/bitops.h: In function ‘get_count_order’:
./include/linux/bitops.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
168 | {
| ^
./include/linux/bitops.h: In function ‘get_count_order_long’:
./include/linux/bitops.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
184 | {
| ^
./include/linux/bitops.h: In function ‘__ffs64’:
./include/linux/bitops.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
202 | {
| ^
./include/linux/bitops.h: In function ‘assign_bit’:
./include/linux/bitops.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
220 | {
| ^
./include/linux/bitops.h: In function ‘__assign_bit’:
./include/linux/bitops.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
229 | {
| ^
In file included from ./include/linux/kernel.h:12,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/log2.h: In function ‘__ilog2_u32’:
./include/linux/log2.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
27 | {
| ^
./include/linux/log2.h: In function ‘__ilog2_u64’:
./include/linux/log2.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
35 | {
| ^
./include/linux/log2.h: In function ‘is_power_of_2’:
./include/linux/log2.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
50 | {
| ^
./include/linux/log2.h: In function ‘__roundup_pow_of_two’:
./include/linux/log2.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
60 | {
| ^
./include/linux/log2.h: In function ‘__rounddown_pow_of_two’:
./include/linux/log2.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
70 | {
| ^
./include/linux/log2.h: In function ‘__order_base_2’:
./include/linux/log2.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
203 | {
| ^
In file included from ./include/linux/printk.h:6,
from ./include/linux/kernel.h:14,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/init.h: In function ‘initcall_from_entry’:
./include/linux/init.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
123 | {
| ^
In file included from ./include/linux/kernel.h:14,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/printk.h: In function ‘printk_get_level’:
./include/linux/printk.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
17 | {
| ^
./include/linux/printk.h: In function ‘printk_skip_level’:
./include/linux/printk.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
30 | {
| ^
./include/linux/printk.h: In function ‘printk_skip_headers’:
./include/linux/printk.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
38 | {
| ^
./include/linux/printk.h: In function ‘console_silent’:
./include/linux/printk.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
71 | {
| ^
./include/linux/printk.h: In function ‘console_verbose’:
./include/linux/printk.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
76 | {
| ^
./include/linux/printk.h: In function ‘print_hex_dump_debug’:
./include/linux/printk.h:529:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
529 | {
| ^
In file included from ./include/linux/kernel.h:207,
from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./arch/x86/include/asm/div64.h: In function ‘div_u64_rem’:
./arch/x86/include/asm/div64.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
44 | {
| ^
./arch/x86/include/asm/div64.h: In function ‘mul_u32_u32’:
./arch/x86/include/asm/div64.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
64 | {
| ^
In file included from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/kernel.h: In function ‘reciprocal_scale’:
./include/linux/kernel.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
312 | {
| ^
./include/linux/kernel.h: In function ‘kstrtoul’:
./include/linux/kernel.h:367:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
367 | {
| ^
./include/linux/kernel.h: In function ‘kstrtol’:
./include/linux/kernel.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
396 | {
| ^
./include/linux/kernel.h: In function ‘kstrtou64’:
./include/linux/kernel.h:412:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
412 | {
| ^
./include/linux/kernel.h: In function ‘kstrtos64’:
./include/linux/kernel.h:417:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
417 | {
| ^
./include/linux/kernel.h: In function ‘kstrtou32’:
./include/linux/kernel.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
422 | {
| ^
./include/linux/kernel.h: In function ‘kstrtos32’:
./include/linux/kernel.h:427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
427 | {
| ^
./include/linux/kernel.h: In function ‘kstrtou64_from_user’:
./include/linux/kernel.h:450:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
450 | {
| ^
./include/linux/kernel.h: In function ‘kstrtos64_from_user’:
./include/linux/kernel.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
455 | {
| ^
./include/linux/kernel.h: In function ‘kstrtou32_from_user’:
./include/linux/kernel.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
460 | {
| ^
./include/linux/kernel.h: In function ‘kstrtos32_from_user’:
./include/linux/kernel.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
465 | {
| ^
./include/linux/kernel.h: In function ‘set_arch_panic_timeout’:
./include/linux/kernel.h:552:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
552 | {
| ^
./include/linux/kernel.h: In function ‘hex_byte_pack’:
./include/linux/kernel.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
616 | {
| ^
./include/linux/kernel.h: In function ‘hex_byte_pack_upper’:
./include/linux/kernel.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
627 | {
| ^
./include/linux/kernel.h: In function ‘____trace_printk_check_format’:
./include/linux/kernel.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
677 | {
| ^
In file included from ./include/linux/page-flags.h:10,
from kernel/bounds.c:10:
./include/linux/bug.h: In function ‘is_warning_bug’:
./include/linux/bug.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
35 | {
| ^
./include/linux/bug.h: In function ‘check_data_corruption’:
./include/linux/bug.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
65 | static inline __must_check bool check_data_corruption(bool v) { return v; }
| ^~~~~~
In file included from ./arch/x86/include/asm/cmpxchg.h:143,
from ./arch/x86/include/asm/atomic.h:8,
from ./include/linux/atomic.h:7,
from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./arch/x86/include/asm/cmpxchg_32.h: In function ‘set_64bit’:
./arch/x86/include/asm/cmpxchg_32.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
25 | {
| ^
./arch/x86/include/asm/cmpxchg_32.h: In function ‘__cmpxchg64’:
./arch/x86/include/asm/cmpxchg_32.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
48 | {
| ^
./arch/x86/include/asm/cmpxchg_32.h: In function ‘__cmpxchg64_local’:
./arch/x86/include/asm/cmpxchg_32.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
61 | {
| ^
In file included from ./include/linux/atomic.h:7,
from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_read’:
./arch/x86/include/asm/atomic.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
26 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_set’:
./arch/x86/include/asm/atomic.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
42 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add’:
./arch/x86/include/asm/atomic.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
54 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub’:
./arch/x86/include/asm/atomic.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
68 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_and_test’:
./arch/x86/include/asm/atomic.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
84 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_inc’:
./arch/x86/include/asm/atomic.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
96 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec’:
./arch/x86/include/asm/atomic.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
109 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec_and_test’:
./arch/x86/include/asm/atomic.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
124 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_inc_and_test’:
./arch/x86/include/asm/atomic.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
138 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_negative’:
./arch/x86/include/asm/atomic.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
153 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_return’:
./arch/x86/include/asm/atomic.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
166 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_return’:
./arch/x86/include/asm/atomic.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
178 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_add’:
./arch/x86/include/asm/atomic.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
183 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_sub’:
./arch/x86/include/asm/atomic.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
188 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_cmpxchg’:
./arch/x86/include/asm/atomic.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
193 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_try_cmpxchg’:
./arch/x86/include/asm/atomic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
199 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xchg’:
./arch/x86/include/asm/atomic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
204 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_and’:
./arch/x86/include/asm/atomic.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
209 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_and’:
./arch/x86/include/asm/atomic.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
217 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_or’:
./arch/x86/include/asm/atomic.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
226 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_or’:
./arch/x86/include/asm/atomic.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
234 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xor’:
./arch/x86/include/asm/atomic.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
243 | {
| ^
./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_xor’:
./arch/x86/include/asm/atomic.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
251 | {
| ^
In file included from ./arch/x86/include/asm/atomic.h:260,
from ./include/linux/atomic.h:7,
from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_cmpxchg’:
./arch/x86/include/asm/atomic64_32.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
76 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_xchg’:
./arch/x86/include/asm/atomic64_32.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
89 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_set’:
./arch/x86/include/asm/atomic64_32.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
107 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_read’:
./arch/x86/include/asm/atomic64_32.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
122 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_add_return’:
./arch/x86/include/asm/atomic64_32.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
136 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_sub_return’:
./arch/x86/include/asm/atomic64_32.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
147 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_inc_return’:
./arch/x86/include/asm/atomic64_32.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
155 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_dec_return’:
./arch/x86/include/asm/atomic64_32.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
164 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_add’:
./arch/x86/include/asm/atomic64_32.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
180 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_sub’:
./arch/x86/include/asm/atomic64_32.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
195 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_inc’:
./arch/x86/include/asm/atomic64_32.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
209 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_dec’:
./arch/x86/include/asm/atomic64_32.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
222 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_add_unless’:
./arch/x86/include/asm/atomic64_32.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
239 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_inc_not_zero’:
./arch/x86/include/asm/atomic64_32.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
249 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_dec_if_positive’:
./arch/x86/include/asm/atomic64_32.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
258 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_and’:
./arch/x86/include/asm/atomic64_32.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
270 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_fetch_and’:
./arch/x86/include/asm/atomic64_32.h:278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
278 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_or’:
./arch/x86/include/asm/atomic64_32.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
288 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_fetch_or’:
./arch/x86/include/asm/atomic64_32.h:296:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
296 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_xor’:
./arch/x86/include/asm/atomic64_32.h:306:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
306 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_fetch_xor’:
./arch/x86/include/asm/atomic64_32.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
314 | {
| ^
./arch/x86/include/asm/atomic64_32.h: In function ‘arch_atomic64_fetch_add’:
./arch/x86/include/asm/atomic64_32.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
324 | {
| ^
In file included from ./arch/x86/include/asm/atomic.h:265,
from ./include/linux/atomic.h:7,
from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_read’:
./include/asm-generic/atomic-instrumented.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
20 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_read’:
./include/asm-generic/atomic-instrumented.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
26 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_set’:
./include/asm-generic/atomic-instrumented.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
32 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_set’:
./include/asm-generic/atomic-instrumented.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
38 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_xchg’:
./include/asm-generic/atomic-instrumented.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
44 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_xchg’:
./include/asm-generic/atomic-instrumented.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
50 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_cmpxchg’:
./include/asm-generic/atomic-instrumented.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
56 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_cmpxchg’:
./include/asm-generic/atomic-instrumented.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
62 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_try_cmpxchg’:
./include/asm-generic/atomic-instrumented.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
70 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc’:
./include/asm-generic/atomic-instrumented.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
108 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc’:
./include/asm-generic/atomic-instrumented.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
117 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_dec’:
./include/asm-generic/atomic-instrumented.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
126 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add’:
./include/asm-generic/atomic-instrumented.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
142 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add’:
./include/asm-generic/atomic-instrumented.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
148 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub’:
./include/asm-generic/atomic-instrumented.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
154 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub’:
./include/asm-generic/atomic-instrumented.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
160 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_and’:
./include/asm-generic/atomic-instrumented.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
166 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_and’:
./include/asm-generic/atomic-instrumented.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
172 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_or’:
./include/asm-generic/atomic-instrumented.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
178 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_or’:
./include/asm-generic/atomic-instrumented.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
184 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_xor’:
./include/asm-generic/atomic-instrumented.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
190 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_xor’:
./include/asm-generic/atomic-instrumented.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
196 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_return’:
./include/asm-generic/atomic-instrumented.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
231 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc_not_zero’:
./include/asm-generic/atomic-instrumented.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
240 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_if_positive’:
./include/asm-generic/atomic-instrumented.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
249 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_dec_and_test’:
./include/asm-generic/atomic-instrumented.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
258 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc_and_test’:
./include/asm-generic/atomic-instrumented.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
276 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add_return’:
./include/asm-generic/atomic-instrumented.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
292 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_return’:
./include/asm-generic/atomic-instrumented.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
298 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_return’:
./include/asm-generic/atomic-instrumented.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
304 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub_return’:
./include/asm-generic/atomic-instrumented.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
310 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_add’:
./include/asm-generic/atomic-instrumented.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
316 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_add’:
./include/asm-generic/atomic-instrumented.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
322 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_sub’:
./include/asm-generic/atomic-instrumented.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
328 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_sub’:
./include/asm-generic/atomic-instrumented.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
334 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_and’:
./include/asm-generic/atomic-instrumented.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
340 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_and’:
./include/asm-generic/atomic-instrumented.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
346 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_or’:
./include/asm-generic/atomic-instrumented.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
352 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_or’:
./include/asm-generic/atomic-instrumented.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
358 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_xor’:
./include/asm-generic/atomic-instrumented.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
364 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_xor’:
./include/asm-generic/atomic-instrumented.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
370 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_and_test’:
./include/asm-generic/atomic-instrumented.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
378 | {
| ^
./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add_negative’:
./include/asm-generic/atomic-instrumented.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
396 | {
| ^
In file included from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./include/linux/atomic.h: In function ‘atomic_fetch_add_unless’:
./include/linux/atomic.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
574 | {
| ^
./include/linux/atomic.h: In function ‘atomic_add_unless’:
./include/linux/atomic.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
596 | {
| ^
./include/linux/atomic.h: In function ‘atomic_inc_unless_negative’:
./include/linux/atomic.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
675 | {
| ^
./include/linux/atomic.h: In function ‘atomic_dec_unless_positive’:
./include/linux/atomic.h:689:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
689 | {
| ^
./include/linux/atomic.h: In function ‘atomic_dec_if_positive’:
./include/linux/atomic.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
710 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_fetch_add_unless’:
./include/linux/atomic.h:1163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1163 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_add_unless’:
./include/linux/atomic.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1185 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_inc_and_test’:
./include/linux/atomic.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1210 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_dec_and_test’:
./include/linux/atomic.h:1225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1225 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_sub_and_test’:
./include/linux/atomic.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1241 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_add_negative’:
./include/linux/atomic.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1257 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_inc_unless_negative’:
./include/linux/atomic.h:1264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1264 | {
| ^
./include/linux/atomic.h: In function ‘atomic64_dec_unless_positive’:
./include/linux/atomic.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
1278 | {
| ^
In file included from ./include/linux/atomic.h:1315,
from ./include/asm-generic/qspinlock_types.h:28,
from ./arch/x86/include/asm/spinlock_types.h:27,
from ./include/linux/spinlock_types.h:13,
from kernel/bounds.c:14:
./include/asm-generic/atomic-long.h: In function ‘atomic_long_read’:
./include/asm-generic/atomic-long.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
47 | ATOMIC_LONG_READ_OP()
| ^~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_read_acquire’:
./include/asm-generic/atomic-long.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
48 | ATOMIC_LONG_READ_OP(_acquire)
| ^~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_set’:
./include/asm-generic/atomic-long.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
59 | ATOMIC_LONG_SET_OP()
| ^~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_set_release’:
./include/asm-generic/atomic-long.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
60 | ATOMIC_LONG_SET_OP(_release)
| ^~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return’:
./include/asm-generic/atomic-long.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
72 | ATOMIC_LONG_ADD_SUB_OP(add,)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_relaxed’:
./include/asm-generic/atomic-long.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
73 | ATOMIC_LONG_ADD_SUB_OP(add, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_acquire’:
./include/asm-generic/atomic-long.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
74 | ATOMIC_LONG_ADD_SUB_OP(add, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_release’:
./include/asm-generic/atomic-long.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
75 | ATOMIC_LONG_ADD_SUB_OP(add, _release)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return’:
./include/asm-generic/atomic-long.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
76 | ATOMIC_LONG_ADD_SUB_OP(sub,)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_relaxed’:
./include/asm-generic/atomic-long.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
77 | ATOMIC_LONG_ADD_SUB_OP(sub, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_acquire’:
./include/asm-generic/atomic-long.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
78 | ATOMIC_LONG_ADD_SUB_OP(sub, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_release’:
./include/asm-generic/atomic-long.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
79 | ATOMIC_LONG_ADD_SUB_OP(sub, _release)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc’:
./include/asm-generic/atomic-long.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
120 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec’:
./include/asm-generic/atomic-long.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
127 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add’:
./include/asm-generic/atomic-long.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
142 | ATOMIC_LONG_FETCH_OP(add, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_relaxed’:
./include/asm-generic/atomic-long.h:143:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
143 | ATOMIC_LONG_FETCH_OP(add, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_acquire’:
./include/asm-generic/atomic-long.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
144 | ATOMIC_LONG_FETCH_OP(add, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_release’:
./include/asm-generic/atomic-long.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
145 | ATOMIC_LONG_FETCH_OP(add, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub’:
./include/asm-generic/atomic-long.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
146 | ATOMIC_LONG_FETCH_OP(sub, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_relaxed’:
./include/asm-generic/atomic-long.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
147 | ATOMIC_LONG_FETCH_OP(sub, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_acquire’:
./include/asm-generic/atomic-long.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
148 | ATOMIC_LONG_FETCH_OP(sub, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_release’:
./include/asm-generic/atomic-long.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
149 | ATOMIC_LONG_FETCH_OP(sub, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and’:
./include/asm-generic/atomic-long.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
150 | ATOMIC_LONG_FETCH_OP(and, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_relaxed’:
./include/asm-generic/atomic-long.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
151 | ATOMIC_LONG_FETCH_OP(and, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_acquire’:
./include/asm-generic/atomic-long.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
152 | ATOMIC_LONG_FETCH_OP(and, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_release’:
./include/asm-generic/atomic-long.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
153 | ATOMIC_LONG_FETCH_OP(and, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot’:
./include/asm-generic/atomic-long.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
154 | ATOMIC_LONG_FETCH_OP(andnot, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_relaxed’:
./include/asm-generic/atomic-long.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
155 | ATOMIC_LONG_FETCH_OP(andnot, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_acquire’:
./include/asm-generic/atomic-long.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
156 | ATOMIC_LONG_FETCH_OP(andnot, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_release’:
./include/asm-generic/atomic-long.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
157 | ATOMIC_LONG_FETCH_OP(andnot, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or’:
./include/asm-generic/atomic-long.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
158 | ATOMIC_LONG_FETCH_OP(or, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_relaxed’:
./include/asm-generic/atomic-long.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
159 | ATOMIC_LONG_FETCH_OP(or, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_acquire’:
./include/asm-generic/atomic-long.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
160 | ATOMIC_LONG_FETCH_OP(or, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_release’:
./include/asm-generic/atomic-long.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
161 | ATOMIC_LONG_FETCH_OP(or, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor’:
./include/asm-generic/atomic-long.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
162 | ATOMIC_LONG_FETCH_OP(xor, )
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_relaxed’:
./include/asm-generic/atomic-long.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
163 | ATOMIC_LONG_FETCH_OP(xor, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_acquire’:
./include/asm-generic/atomic-long.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
164 | ATOMIC_LONG_FETCH_OP(xor, _acquire)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_release’:
./include/asm-generic/atomic-long.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
165 | ATOMIC_LONG_FETCH_OP(xor, _release)
| ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc’:
./include/asm-generic/atomic-long.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
178 | ATOMIC_LONG_FETCH_INC_DEC_OP(inc,)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_relaxed’:
./include/asm-generic/atomic-long.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
179 | ATOMIC_LONG_FETCH_INC_DEC_OP(inc, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_acquire’:
./include/asm-generic/atomic-long.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
180 | ATOMIC_LONG_FETCH_INC_DEC_OP(inc, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_release’:
./include/asm-generic/atomic-long.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
181 | ATOMIC_LONG_FETCH_INC_DEC_OP(inc, _release)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec’:
./include/asm-generic/atomic-long.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
182 | ATOMIC_LONG_FETCH_INC_DEC_OP(dec,)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_relaxed’:
./include/asm-generic/atomic-long.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
183 | ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_acquire’:
./include/asm-generic/atomic-long.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
184 | ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_release’:
./include/asm-generic/atomic-long.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
185 | ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _release)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add’:
./include/asm-generic/atomic-long.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
198 | ATOMIC_LONG_OP(add)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub’:
./include/asm-generic/atomic-long.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
199 | ATOMIC_LONG_OP(sub)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_and’:
./include/asm-generic/atomic-long.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
200 | ATOMIC_LONG_OP(and)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_andnot’:
./include/asm-generic/atomic-long.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
201 | ATOMIC_LONG_OP(andnot)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_or’:
./include/asm-generic/atomic-long.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
202 | ATOMIC_LONG_OP(or)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_xor’:
./include/asm-generic/atomic-long.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
203 | ATOMIC_LONG_OP(xor)
| ^~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_and_test’:
./include/asm-generic/atomic-long.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
208 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_and_test’:
./include/asm-generic/atomic-long.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
215 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_and_test’:
./include/asm-generic/atomic-long.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
222 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_negative’:
./include/asm-generic/atomic-long.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
229 | {
| ^
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return’:
./include/asm-generic/atomic-long.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
243 | ATOMIC_LONG_INC_DEC_OP(inc,)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_relaxed’:
./include/asm-generic/atomic-long.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
244 | ATOMIC_LONG_INC_DEC_OP(inc, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_acquire’:
./include/asm-generic/atomic-long.h:245:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
245 | ATOMIC_LONG_INC_DEC_OP(inc, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_release’:
./include/asm-generic/atomic-long.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
246 | ATOMIC_LONG_INC_DEC_OP(inc, _release)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return’:
./include/asm-generic/atomic-long.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
247 | ATOMIC_LONG_INC_DEC_OP(dec,)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_relaxed’:
./include/asm-generic/atomic-long.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
248 | ATOMIC_LONG_INC_DEC_OP(dec, _relaxed)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_acquire’:
./include/asm-generic/atomic-long.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
249 | ATOMIC_LONG_INC_DEC_OP(dec, _acquire)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_release’:
./include/asm-generic/atomic-long.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
250 | ATOMIC_LONG_INC_DEC_OP(dec, _release)
| ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_unless’:
./include/asm-generic/atomic-long.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
255 | {
| ^
In file included from ./include/linux/lockdep.h:27,
from ./include/linux/spinlock_types.h:18,
from kernel/bounds.c:14:
./include/linux/list.h: In function ‘INIT_LIST_HEAD’:
./include/linux/list.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
27 | {
| ^
./include/linux/list.h: In function ‘__list_add_valid’:
./include/linux/list.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
41 | {
| ^
./include/linux/list.h: In function ‘__list_del_entry_valid’:
./include/linux/list.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
45 | {
| ^
./include/linux/list.h: In function ‘__list_add’:
./include/linux/list.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
59 | {
| ^
./include/linux/list.h: In function ‘list_add’:
./include/linux/list.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
78 | {
| ^
./include/linux/list.h: In function ‘list_add_tail’:
./include/linux/list.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
92 | {
| ^
./include/linux/list.h: In function ‘__list_del’:
./include/linux/list.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
104 | {
| ^
./include/linux/list.h: In function ‘__list_del_entry’:
./include/linux/list.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
116 | {
| ^
./include/linux/list.h: In function ‘list_del’:
./include/linux/list.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
124 | {
| ^
./include/linux/list.h: In function ‘list_replace’:
./include/linux/list.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
139 | {
| ^
./include/linux/list.h: In function ‘list_replace_init’:
./include/linux/list.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
148 | {
| ^
./include/linux/list.h: In function ‘list_del_init’:
./include/linux/list.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
158 | {
| ^
./include/linux/list.h: In function ‘list_move’:
./include/linux/list.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
169 | {
| ^
./include/linux/list.h: In function ‘list_move_tail’:
./include/linux/list.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
181 | {
| ^
./include/linux/list.h: In function ‘list_is_last’:
./include/linux/list.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
193 | {
| ^
./include/linux/list.h: In function ‘list_empty’:
./include/linux/list.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
202 | {
| ^
./include/linux/list.h: In function ‘list_empty_careful’:
./include/linux/list.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
220 | {
| ^
./include/linux/list.h: In function ‘list_rotate_left’:
./include/linux/list.h:230:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
230 | {
| ^
./include/linux/list.h: In function ‘list_is_singular’:
./include/linux/list.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
244 | {
| ^
./include/linux/list.h: In function ‘__list_cut_position’:
./include/linux/list.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
250 | {
| ^
./include/linux/list.h: In function ‘list_cut_position’:
./include/linux/list.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
276 | {
| ^
./include/linux/list.h: In function ‘list_cut_before’:
./include/linux/list.h:305:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
305 | {
| ^
./include/linux/list.h: In function ‘__list_splice’:
./include/linux/list.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
321 | {
| ^
./include/linux/list.h: In function ‘list_splice’:
./include/linux/list.h:339:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
339 | {
| ^
./include/linux/list.h: In function ‘list_splice_tail’:
./include/linux/list.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
351 | {
| ^
./include/linux/list.h: In function ‘list_splice_init’:
./include/linux/list.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
365 | {
| ^
./include/linux/list.h: In function ‘list_splice_tail_init’:
./include/linux/list.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
382 | {
| ^
./include/linux/list.h: In function ‘INIT_HLIST_NODE’:
./include/linux/list.h:659:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
659 | {
| ^
./include/linux/list.h: In function ‘hlist_unhashed’:
./include/linux/list.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
665 | {
| ^
./include/linux/list.h: In function ‘hlist_empty’:
./include/linux/list.h:670:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
670 | {
| ^
./include/linux/list.h: In function ‘__hlist_del’:
./include/linux/list.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
675 | {
| ^
./include/linux/list.h: In function ‘hlist_del’:
./include/linux/list.h:685:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
685 | {
| ^
./include/linux/list.h: In function ‘hlist_del_init’:
./include/linux/list.h:692:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
692 | {
| ^
./include/linux/list.h: In function ‘hlist_add_head’:
./include/linux/list.h:700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
700 | {
| ^
./include/linux/list.h: In function ‘hlist_add_before’:
./include/linux/list.h:712:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
712 | {
| ^
./include/linux/list.h: In function ‘hlist_add_behind’:
./include/linux/list.h:721:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
721 | {
| ^
./include/linux/list.h: In function ‘hlist_add_fake’:
./include/linux/list.h:732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
732 | {
| ^
./include/linux/list.h: In function ‘hlist_fake’:
./include/linux/list.h:737:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
737 | {
| ^
./include/linux/list.h: In function ‘hlist_is_singular_node’:
./include/linux/list.h:747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
747 | {
| ^
./include/linux/list.h: In function ‘hlist_move_list’:
./include/linux/list.h:757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
757 | {
| ^
In file included from ./include/linux/lockdep.h:28,
from ./include/linux/spinlock_types.h:18,
from kernel/bounds.c:14:
./include/linux/debug_locks.h: In function ‘__debug_locks_off’:
./include/linux/debug_locks.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
16 | {
| ^
In file included from ./include/linux/spinlock_types.h:18,
from kernel/bounds.c:14:
./include/linux/lockdep.h: In function ‘lockdep_copy_map’:
./include/linux/lockdep.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
165 | {
| ^
./include/linux/lockdep.h: In function ‘lockdep_match_key’:
./include/linux/lockdep.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
312 | {
| ^
./include/linux/lockdep.h: In function ‘lock_is_held’:
./include/linux/lockdep.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
343 | {
| ^
./include/linux/lockdep.h: In function ‘lock_set_subclass’:
./include/linux/lockdep.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
356 | {
| ^
./include/linux/lockdep.h: In function ‘lockdep_invariant_state’:
./include/linux/lockdep.h:475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
475 | static inline void lockdep_invariant_state(bool force) {}
| ^~~~~~
./include/linux/lockdep.h: In function ‘lockdep_init_task’:
./include/linux/lockdep.h:476:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
476 | static inline void lockdep_init_task(struct task_struct *task) {}
| ^~~~~~~~~~~
./include/linux/lockdep.h: In function ‘lockdep_free_task’:
./include/linux/lockdep.h:477:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
477 | static inline void lockdep_free_task(struct task_struct *task) {}
| ^~~~~~~~~~~
kernel/bounds.c: In function ‘foo’:
kernel/bounds.c:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
17 | {
| ^
make[2]: *** [Kbuild:21: kernel/bounds.s] Error 1
make[1]: *** [Makefile:1102: prepare0] Error 2
make[1]: Leaving directory '/home/mahmoud/dev/linux'
make: *** [qemu/Makefile:42: /home/mahmoud/dev/linux/arch/x86/boot/bzImage] Error 2