DKMS make.log for nvidia-390.129 for kernel 5.0.0-27-generic (x86_64) Mon 7 Oct 01:35:45 BST 2019 make[1]: Entering directory '/usr/src/linux-headers-5.0.0-27-generic' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/nvidia/390.129/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/390.129/build/.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/390.129/build ln -sf /var/lib/dkms/nvidia/390.129/build/nvidia/nv-kernel.o_binary /var/lib/dkms/nvidia/390.129/build/nvidia/nv-kernel.o ln -sf /var/lib/dkms/nvidia/390.129/build/nvidia-modeset/nv-modeset-kernel.o_binary /var/lib/dkms/nvidia/390.129/build/nvidia-modeset/nv-modeset-kernel.o (cat /dev/null; echo kernel//var/lib/dkms/nvidia/390.129/build/nvidia.ko; echo kernel//var/lib/dkms/nvidia/390.129/build/nvidia-uvm.ko; echo kernel//var/lib/dkms/nvidia/390.129/build/nvidia-modeset.ko; echo kernel//var/lib/dkms/nvidia/390.129/build/nvidia-drm.ko;) > /var/lib/dkms/nvidia/390.129/build/modules.order CONFTEST: INIT_WORK CONFTEST: remap_pfn_range CONFTEST: hash__remap_4k_pfn CONFTEST: follow_pfn CONFTEST: vmap CONFTEST: set_pages_uc CONFTEST: list_is_first CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: change_page_attr CONFTEST: pci_get_class CONFTEST: pci_choose_state CONFTEST: vm_insert_page CONFTEST: acpi_device_id CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: kmem_cache_create CONFTEST: on_each_cpu CONFTEST: smp_call_function CONFTEST: acpi_evaluate_integer CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: pci_domain_nr CONFTEST: pci_dma_mapping_error CONFTEST: sg_alloc_table CONFTEST: sg_init_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: proc_create_data CONFTEST: pde_data CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: of_node_to_nid CONFTEST: pnv_pci_get_npu_dev CONFTEST: for_each_online_node CONFTEST: node_end_pfn CONFTEST: pci_bus_address CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_remove_bus_device CONFTEST: request_threaded_irq CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: register_acpi_notifier CONFTEST: timer_setup CONFTEST: kmem_cache_create_usercopy CONFTEST: do_gettimeofday CONFTEST: dma_direct_map_resource CONFTEST: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_ref_counting CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: vmf_insert_pfn CONFTEST: drm_framebuffer_get CONFTEST: drm_gem_object_get CONFTEST: drm_dev_put CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: is_export_symbol_present_swiotlb_dma_ops CONFTEST: i2c_adapter CONFTEST: pm_message_t CONFTEST: irq_handler_t CONFTEST: acpi_device_ops CONFTEST: acpi_op_remove CONFTEST: outer_flush_all CONFTEST: proc_dir_entry CONFTEST: scatterlist CONFTEST: sg_table CONFTEST: file_operations CONFTEST: vm_operations_struct CONFTEST: atomic_long_type CONFTEST: pci_save_state CONFTEST: file_inode CONFTEST: task_struct CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: swiotlb_dma_ops CONFTEST: dma_map_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_present CONFTEST: vm_fault_has_address CONFTEST: kernel_write CONFTEST: strnstr CONFTEST: iterate_dir CONFTEST: kstrtoull CONFTEST: backlight_properties_type CONFTEST: fault_flags CONFTEST: atomic64_type CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: pnv_npu2_init_context CONFTEST: drm_bus_present CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: kref_has_refcount_of_type_refcount_t CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_crtc_helper_funcs_has_atomic_enable CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: drm_connector_list_iter CONFTEST: drm_atomic_helper_swap_state_has_stall_arg CONFTEST: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test cc -Wp,-MD,/var/lib/dkms/nvidia/390.129/build/nvidia/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror-implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I/var/lib/dkms/nvidia/390.129/build/common/inc -I/var/lib/dkms/nvidia/390.129/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.129\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia/390.129/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c cc -Wp,-MD,/var/lib/dkms/nvidia/390.129/build/nvidia/.nv-instance.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror-implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I/var/lib/dkms/nvidia/390.129/build/common/inc -I/var/lib/dkms/nvidia/390.129/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.129\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia/390.129/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c cc -Wp,-MD,/var/lib/dkms/nvidia/390.129/build/nvidia/.nv-gpu-numa.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror-implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I/var/lib/dkms/nvidia/390.129/build/common/inc -I/var/lib/dkms/nvidia/390.129/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.129\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia/390.129/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.o /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c cc -Wp,-MD,/var/lib/dkms/nvidia/390.129/build/nvidia/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror-implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I/var/lib/dkms/nvidia/390.129/build/common/inc -I/var/lib/dkms/nvidia/390.129/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.129\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia/390.129/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/390.129/build/nvidia/nv.o /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:16, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h: In function ‘nv_count_bits’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h:879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 879 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:16, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h: In function ‘nv_count_bits’: In file included from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/compiler.h: In function ‘__read_once_size’: ./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h:879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 879 | { | ^ ./include/linux/compiler.h: In function ‘__read_once_size_nocheck’: ./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/compiler.h: In function ‘__write_once_size’: ./include/linux/compiler.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ In file included from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/compiler.h: In function ‘__read_once_size’: ./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ In file included from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/barrier.h: In function ‘array_index_mask_nospec’: ./include/linux/compiler.h: In function ‘__read_once_size_nocheck’: ./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./arch/x86/include/asm/barrier.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/compiler.h: In function ‘__write_once_size’: ./include/linux/compiler.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ In file included from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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:251, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/compiler.h: In function ‘read_word_at_a_time’: ./include/linux/compiler.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/compiler.h: In function ‘offset_to_ptr’: ./include/linux/compiler.h:303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 303 | { | ^ In file included from ./include/linux/compiler.h:251, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/compiler.h: In function ‘read_word_at_a_time’: ./include/linux/compiler.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/compiler.h: In function ‘offset_to_ptr’: ./include/linux/compiler.h:303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 303 | { | ^ In file included from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/bitops.h: In function ‘set_bit’: ./arch/x86/include/asm/bitops.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ In file included from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/bitops.h: In function ‘set_bit’: ./arch/x86/include/asm/bitops.h: In function ‘__set_bit’: ./arch/x86/include/asm/bitops.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./arch/x86/include/asm/bitops.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’: ./arch/x86/include/asm/bitops.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__set_bit’: ./arch/x86/include/asm/bitops.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’: ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock’: ./arch/x86/include/asm/bitops.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/bitops.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit’: ./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_unlock’: ./arch/x86/include/asm/bitops.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock_is_negative_byte’: ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit’: ./arch/x86/include/asm/bitops.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/bitops.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock_is_negative_byte’: ./arch/x86/include/asm/bitops.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit_unlock’: ./arch/x86/include/asm/bitops.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit_unlock’: ./arch/x86/include/asm/bitops.h: In function ‘__change_bit’: ./arch/x86/include/asm/bitops.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./arch/x86/include/asm/bitops.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__change_bit’: ./arch/x86/include/asm/bitops.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘change_bit’: ./arch/x86/include/asm/bitops.h: In function ‘change_bit’: ./arch/x86/include/asm/bitops.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./arch/x86/include/asm/bitops.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit’: ./arch/x86/include/asm/bitops.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit’: ./arch/x86/include/asm/bitops.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit_lock’: ./arch/x86/include/asm/bitops.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_set_bit’: ./arch/x86/include/asm/bitops.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit_lock’: ./arch/x86/include/asm/bitops.h: In function ‘test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/bitops.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_set_bit’: ./arch/x86/include/asm/bitops.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_clear_bit’: ./arch/x86/include/asm/bitops.h: In function ‘__test_and_change_bit’: ./arch/x86/include/asm/bitops.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./arch/x86/include/asm/bitops.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_change_bit’: ./arch/x86/include/asm/bitops.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘constant_test_bit’: ./arch/x86/include/asm/bitops.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_change_bit’: ./arch/x86/include/asm/bitops.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘variable_test_bit’: ./arch/x86/include/asm/bitops.h: In function ‘test_and_change_bit’: ./arch/x86/include/asm/bitops.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/bitops.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__ffs’: ./arch/x86/include/asm/bitops.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘constant_test_bit’: ./arch/x86/include/asm/bitops.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘ffz’: ./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 ‘variable_test_bit’: ./arch/x86/include/asm/bitops.h: In function ‘__fls’: ./arch/x86/include/asm/bitops.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./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 ‘ffs’: ./arch/x86/include/asm/bitops.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__ffs’: ./arch/x86/include/asm/bitops.h: In function ‘fls’: ./arch/x86/include/asm/bitops.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./arch/x86/include/asm/bitops.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘ffz’: ./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 ‘fls64’: ./arch/x86/include/asm/bitops.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__fls’: ./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 ‘ffs’: ./arch/x86/include/asm/bitops.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ In file included from ./arch/x86/include/asm/bitops.h:501, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘fls’: ./arch/x86/include/asm/bitops.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘fls64’: ./arch/x86/include/asm/bitops.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ In file included from ./arch/x86/include/asm/bitops.h:501, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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:503, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight32’: ./arch/x86/include/asm/arch_hweight.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight16’: ./arch/x86/include/asm/arch_hweight.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight8’: ./arch/x86/include/asm/arch_hweight.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/uapi/asm/swab.h: In function ‘__arch_swab32’: In file included from ./arch/x86/include/asm/bitops.h:503, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight32’: ./arch/x86/include/uapi/asm/swab.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./arch/x86/include/asm/arch_hweight.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:16, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h: In function ‘nv_count_bits’: ./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 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight16’: ./arch/x86/include/asm/arch_hweight.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h:879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 879 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight8’: ./arch/x86/include/asm/arch_hweight.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/uapi/linux/swab.h: In function ‘__fswab16’: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight64’: ./include/uapi/linux/swab.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/arch_hweight.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./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 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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’: ./include/uapi/linux/swab.h: In function ‘__swab16p’: ./arch/x86/include/uapi/asm/swab.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./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 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/uapi/linux/swab.h: In function ‘__fswab16’: ./include/uapi/linux/swab.h: In function ‘__swab64p’: ./include/uapi/linux/swab.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./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 ‘__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: In function ‘__swahb32p’: ./include/uapi/linux/swab.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/uapi/linux/swab.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./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 ‘__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 ‘__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 ‘__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 ‘__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 ‘__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 ‘__swab32p’: ./include/uapi/linux/swab.h: In function ‘__swahb32s’: ./include/uapi/linux/swab.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/uapi/linux/swab.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./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 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le64p’: ./include/uapi/linux/swab.h: In function ‘__swahw32p’: ./include/uapi/linux/byteorder/little_endian.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/uapi/linux/swab.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./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/swab.h: In function ‘__swahb32p’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le32p’: ./include/uapi/linux/swab.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./include/uapi/linux/byteorder/little_endian.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ In file included from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/compiler.h: In function ‘__read_once_size’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’: ./include/uapi/linux/swab.h: In function ‘__swab16s’: ./include/uapi/linux/byteorder/little_endian.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./include/uapi/linux/swab.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le16p’: ./include/uapi/linux/swab.h: In function ‘__swab32s’: ./include/uapi/linux/byteorder/little_endian.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/uapi/linux/swab.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./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/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/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/linux/compiler.h: In function ‘__read_once_size_nocheck’: ./include/uapi/linux/swab.h: In function ‘__swahw32s’: ./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/uapi/linux/swab.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./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/swab.h: In function ‘__swahb32s’: ./include/uapi/linux/swab.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./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/linux/compiler.h: In function ‘__write_once_size’: ./include/linux/compiler.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./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 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 ‘__be16_to_cpup’: ./include/uapi/linux/byteorder/little_endian.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./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 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’: ./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/uapi/linux/byteorder/little_endian.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/byteorder/generic.h: In function ‘le64_add_cpu’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le16p’: ./include/linux/byteorder/generic.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/uapi/linux/byteorder/little_endian.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./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/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/linux/byteorder/generic.h: In function ‘cpu_to_le32_array’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_be64p’: ./include/linux/byteorder/generic.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/uapi/linux/byteorder/little_endian.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./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/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/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/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/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/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/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/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 | { | ^ ./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 ./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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/byteorder/generic.h: In function ‘le16_add_cpu’: In file included from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/linux/byteorder/generic.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./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/linux/byteorder/generic.h: In function ‘le32_add_cpu’: ./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/linux/byteorder/generic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/asm-generic/bitops/le.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./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/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/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/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/linux/byteorder/generic.h: In function ‘cpu_to_le32_array’: ./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/linux/byteorder/generic.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./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/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/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 | { | ^ ./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 | { | ^ In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/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/bitops.h: In function ‘hweight_long’: ./include/linux/bitops.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 | { | ^ ./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’: In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/bitops.h: In function ‘get_bitmask_order’: ./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:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/bitops.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/bitops.h: In function ‘hweight_long’: ./include/linux/bitops.h: In function ‘ror32’: ./include/linux/bitops.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./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/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/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/log2.h: In function ‘__order_base_2’: ./include/linux/bitops.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/log2.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./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’: In file included from ./include/linux/printk.h:6, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/init.h: In function ‘initcall_from_entry’: ./include/linux/bitops.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/init.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./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/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 | { | ^ In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/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/printk.h: In function ‘printk_skip_level’: ./include/linux/log2.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/printk.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ In file included from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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 | { | ^ ./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/log2.h: In function ‘__order_base_2’: ./include/linux/printk.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/log2.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ In file included from ./include/linux/compiler.h:251, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/compiler.h: In function ‘read_word_at_a_time’: ./include/linux/compiler.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/compiler.h: In function ‘offset_to_ptr’: ./include/linux/compiler.h:303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 303 | { | ^ In file included from ./include/linux/jump_label.h:117, from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch’: ./arch/x86/include/asm/jump_label.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch_jump’: ./arch/x86/include/asm/jump_label.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ In file included from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./include/linux/jump_label.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_target’: ./include/linux/jump_label.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_key’: ./include/linux/jump_label.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_branch’: In file included from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/bitops.h: In function ‘set_bit’: ./include/linux/jump_label.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ In file included from ./include/linux/printk.h:6, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/init.h: In function ‘initcall_from_entry’: ./arch/x86/include/asm/bitops.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_init’: ./include/linux/init.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/jump_label.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_set_init’: ./include/linux/jump_label.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_false’: ./include/linux/jump_label.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__set_bit’: ./arch/x86/include/asm/bitops.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_true’: ./include/linux/jump_label.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’: ./arch/x86/include/asm/bitops.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock’: ./arch/x86/include/asm/bitops.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit’: ./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_unlock_is_negative_byte’: ./arch/x86/include/asm/bitops.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 | { | ^ In file included from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kernel.h: In function ‘___might_sleep’: ./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/kernel.h:265:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | int preempt_offset) { } | ^~~ ./include/linux/kernel.h: In function ‘__might_sleep’: ./include/linux/kernel.h:267:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | int preempt_offset) { } | ^~~ ./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 ‘might_fault’: ./include/linux/kernel.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | static inline void might_fault(void) { } | ^~~~~~ ./include/linux/kernel.h: In function ‘kstrtoul’: ./include/linux/kernel.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/kernel.h: In function ‘kstrtol’: ./include/linux/kernel.h:428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 428 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit_unlock’: ./arch/x86/include/asm/bitops.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64’: ./include/linux/kernel.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__change_bit’: ./arch/x86/include/asm/bitops.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64’: ./include/linux/kernel.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32’: ./include/linux/kernel.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘change_bit’: ./arch/x86/include/asm/bitops.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32’: ./include/linux/kernel.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ In file included from ./include/linux/jump_label.h:117, from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch’: ./arch/x86/include/asm/jump_label.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit’: ./arch/x86/include/asm/bitops.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch_jump’: ./include/linux/kernel.h: In function ‘kstrtou64_from_user’: ./arch/x86/include/asm/jump_label.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/kernel.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit_lock’: ./arch/x86/include/asm/bitops.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64_from_user’: ./include/linux/kernel.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_set_bit’: In file included from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./include/linux/jump_label.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_target’: ./include/linux/jump_label.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_key’: ./include/linux/jump_label.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_branch’: ./include/linux/jump_label.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_init’: ./include/linux/jump_label.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_set_init’: ./include/linux/jump_label.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_false’: ./include/linux/jump_label.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_true’: ./include/linux/jump_label.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ In file included from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kernel.h: In function ‘___might_sleep’: ./include/linux/kernel.h:265:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | int preempt_offset) { } | ^~~ ./include/linux/kernel.h: In function ‘__might_sleep’: ./include/linux/kernel.h:267:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | int preempt_offset) { } | ^~~ ./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 ‘might_fault’: ./include/linux/kernel.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | static inline void might_fault(void) { } | ^~~~~~ ./include/linux/kernel.h: In function ‘kstrtoul’: ./include/linux/kernel.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/kernel.h: In function ‘kstrtol’: ./include/linux/kernel.h:428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 428 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64’: ./include/linux/kernel.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64’: ./include/linux/kernel.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32’: ./include/linux/kernel.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32’: ./include/linux/kernel.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64_from_user’: ./include/linux/kernel.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64_from_user’: ./include/linux/kernel.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32_from_user’: ./include/linux/kernel.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32_from_user’: ./include/linux/kernel.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./include/linux/kernel.h: In function ‘int_sqrt64’: ./include/linux/kernel.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/kernel.h: In function ‘set_arch_panic_timeout’: ./include/linux/kernel.h:585:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 585 | { | ^ ./include/linux/kernel.h: In function ‘hex_byte_pack’: ./include/linux/kernel.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/kernel.h: In function ‘hex_byte_pack_upper’: ./include/linux/kernel.h:660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 660 | { | ^ ./include/linux/kernel.h: In function ‘____trace_printk_check_format’: ./include/linux/kernel.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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_bulk_move_tail’: ./include/linux/list.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/list.h: In function ‘list_is_last’: ./include/linux/list.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/list.h: In function ‘list_empty’: ./include/linux/list.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/list.h: In function ‘list_empty_careful’: ./include/linux/list.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/list.h: In function ‘list_rotate_left’: ./include/linux/list.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/list.h: In function ‘list_is_singular’: ./include/linux/list.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/list.h: In function ‘__list_cut_position’: ./include/linux/list.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/list.h: In function ‘list_cut_position’: ./include/linux/list.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/bitops.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32_from_user’: ./include/linux/kernel.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/list.h: In function ‘list_cut_before’: ./include/linux/list.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32_from_user’: ./include/linux/kernel.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./include/linux/list.h: In function ‘__list_splice’: ./include/linux/list.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/list.h: In function ‘list_splice’: ./include/linux/list.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_change_bit’: ./arch/x86/include/asm/bitops.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail’: ./include/linux/list.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_change_bit’: ./include/linux/list.h: In function ‘list_splice_init’: ./arch/x86/include/asm/bitops.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./include/linux/list.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail_init’: ./include/linux/kernel.h: In function ‘int_sqrt64’: ./include/linux/list.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘constant_test_bit’: ./include/linux/kernel.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./arch/x86/include/asm/bitops.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/kernel.h: In function ‘set_arch_panic_timeout’: ./arch/x86/include/asm/bitops.h: In function ‘variable_test_bit’: ./include/linux/kernel.h:585:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 585 | { | ^ ./arch/x86/include/asm/bitops.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/list.h: In function ‘INIT_HLIST_NODE’: ./arch/x86/include/asm/bitops.h: In function ‘__ffs’: ./include/linux/list.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./arch/x86/include/asm/bitops.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/list.h: In function ‘hlist_unhashed’: ./include/linux/kernel.h: In function ‘hex_byte_pack’: ./arch/x86/include/asm/bitops.h: In function ‘ffz’: ./include/linux/list.h:688:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 688 | { | ^ ./arch/x86/include/asm/bitops.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/kernel.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/list.h: In function ‘hlist_empty’: ./arch/x86/include/asm/bitops.h: In function ‘__fls’: ./arch/x86/include/asm/bitops.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/list.h:693:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 693 | { | ^ ./include/linux/kernel.h: In function ‘hex_byte_pack_upper’: ./arch/x86/include/asm/bitops.h: In function ‘ffs’: ./include/linux/kernel.h:660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 660 | { | ^ ./arch/x86/include/asm/bitops.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/list.h: In function ‘__hlist_del’: ./arch/x86/include/asm/bitops.h: In function ‘fls’: ./include/linux/list.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./arch/x86/include/asm/bitops.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘fls64’: ./include/linux/kernel.h: In function ‘____trace_printk_check_format’: ./arch/x86/include/asm/bitops.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/kernel.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ ./include/linux/list.h: In function ‘hlist_del’: ./include/linux/list.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/list.h: In function ‘hlist_del_init’: ./include/linux/list.h:715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 715 | { | ^ In file included from ./arch/x86/include/asm/bitops.h:501, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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 | { | ^ ./include/linux/list.h: In function ‘hlist_add_head’: ./include/linux/list.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/list.h: In function ‘INIT_LIST_HEAD’: ./include/linux/list.h: In function ‘hlist_add_before’: ./include/linux/list.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/list.h:735:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 735 | { | ^ ./include/linux/list.h: In function ‘__list_add_valid’: ./include/linux/list.h: In function ‘hlist_add_behind’: ./include/linux/list.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/list.h:744:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 744 | { | ^ ./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 ‘hlist_add_fake’: ./include/linux/list.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/list.h: In function ‘hlist_fake’: ./include/linux/list.h: In function ‘list_add’: In file included from ./arch/x86/include/asm/bitops.h:503, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight32’: ./include/linux/list.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/list.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/arch_hweight.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./include/linux/list.h: In function ‘list_add_tail’: ./include/linux/list.h: In function ‘hlist_is_singular_node’: ./include/linux/list.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/list.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/list.h: In function ‘__list_del’: ./include/linux/list.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight16’: ./arch/x86/include/asm/arch_hweight.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/list.h: In function ‘hlist_move_list’: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight8’: ./include/linux/list.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./arch/x86/include/asm/arch_hweight.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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’: 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/uapi/asm/swab.h: In function ‘__arch_swab32’: ./include/linux/list.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | { | ^ ./arch/x86/include/uapi/asm/swab.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./include/linux/list.h: In function ‘list_move’: ./include/linux/list.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./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 | { | ^ ./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_bulk_move_tail’: 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/uapi/linux/swab.h: In function ‘__fswab16’: ./include/linux/list.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/uapi/linux/swab.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_constant_test_bit’: ./include/linux/list.h: In function ‘list_is_last’: ./include/linux/list.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/percpu.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/uapi/linux/swab.h: In function ‘__fswab32’: ./include/linux/list.h: In function ‘list_empty’: ./include/uapi/linux/swab.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/list.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./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/linux/list.h: In function ‘list_empty_careful’: ./include/uapi/linux/swab.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/list.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_variable_test_bit’: ./arch/x86/include/asm/percpu.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./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/linux/list.h: In function ‘list_rotate_left’: ./include/linux/list.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./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/linux/list.h: In function ‘list_is_singular’: ./include/linux/list.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./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/linux/list.h: In function ‘__list_cut_position’: ./include/uapi/linux/swab.h: In function ‘__swab64p’: ./include/linux/list.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./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/linux/list.h: In function ‘list_cut_position’: ./include/uapi/linux/swab.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ In file included from ./include/asm-generic/percpu.h:7, from ./arch/x86/include/asm/percpu.h:544, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/percpu-defs.h: In function ‘__this_cpu_preempt_check’: ./include/linux/list.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/percpu-defs.h:313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 313 | static inline void __this_cpu_preempt_check(const char *op) { } | ^~~~~~ ./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/linux/list.h: In function ‘list_cut_before’: ./include/linux/list.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./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/linux/list.h: In function ‘__list_splice’: ./include/uapi/linux/swab.h: In function ‘__swab32s’: ./include/linux/list.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./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/linux/list.h: In function ‘list_splice’: ./include/uapi/linux/swab.h: In function ‘__swahw32s’: ./include/linux/list.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./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/linux/list.h: In function ‘list_splice_tail’: ./include/uapi/linux/swab.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/list.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/list.h: In function ‘list_splice_init’: ./include/linux/list.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le64p’: ./include/linux/list.h: In function ‘list_splice_tail_init’: ./include/uapi/linux/byteorder/little_endian.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/list.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./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/linux/list.h: In function ‘INIT_HLIST_NODE’: ./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/linux/list.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./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/linux/list.h: In function ‘hlist_unhashed’: ./include/linux/list.h:688:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 688 | { | ^ ./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 | { | ^ In file included from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/bug.h: In function ‘is_warning_bug’: ./include/linux/list.h: In function ‘hlist_empty’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be64_to_cpup’: ./include/linux/bug.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/list.h:693:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 693 | { | ^ ./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/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; } | ^~~~~~ ./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/linux/list.h: In function ‘__hlist_del’: ./include/linux/list.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./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 | { | ^ ./include/linux/list.h: In function ‘hlist_del’: ./include/linux/list.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/list.h: In function ‘hlist_del_init’: In file included from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/math64.h: In function ‘div_u64_rem’: 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/byteorder/generic.h: In function ‘le16_add_cpu’: ./include/linux/list.h:715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 715 | { | ^ ./include/linux/math64.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/byteorder/generic.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/list.h: In function ‘hlist_add_head’: ./include/linux/math64.h: In function ‘div_s64_rem’: ./include/linux/list.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/math64.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./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/math64.h: In function ‘div64_u64_rem’: ./include/linux/math64.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./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/math64.h: In function ‘div64_u64’: ./include/linux/math64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/list.h: In function ‘hlist_add_before’: ./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/math64.h: In function ‘div64_s64’: ./include/linux/list.h:735:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 735 | { | ^ ./include/linux/math64.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/byteorder/generic.h: In function ‘cpu_to_le32_array’: ./include/linux/math64.h: In function ‘div_u64’: ./include/linux/byteorder/generic.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/math64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/list.h: In function ‘hlist_add_behind’: ./include/linux/math64.h: In function ‘div_s64’: ./include/linux/byteorder/generic.h: In function ‘be16_add_cpu’: ./include/linux/math64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/byteorder/generic.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/list.h:744:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 744 | { | ^ ./include/linux/math64.h: In function ‘__iter_div_u64_rem’: ./include/linux/math64.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./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/list.h: In function ‘hlist_add_fake’: ./include/linux/math64.h: In function ‘mul_u32_u32’: ./include/linux/list.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/math64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/list.h: In function ‘hlist_fake’: ./include/linux/math64.h: In function ‘mul_u64_u32_shr’: ./include/linux/byteorder/generic.h: In function ‘be64_add_cpu’: ./include/linux/math64.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/byteorder/generic.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 187 | { | ^ ./include/linux/list.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/list.h: In function ‘hlist_is_singular_node’: ./include/linux/math64.h: In function ‘mul_u64_u64_shr’: ./include/linux/math64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./include/linux/list.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/list.h: In function ‘hlist_move_list’: ./include/linux/byteorder/generic.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_div’: ./include/linux/math64.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/list.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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 | { | ^ In file included from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/time64.h: In function ‘timespec64_equal’: ./include/linux/time64.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./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/linux/time64.h: In function ‘timespec64_compare’: ./include/linux/time64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./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/linux/time64.h: In function ‘timespec64_add’: ./include/asm-generic/bitops/le.h: In function ‘clear_bit_le’: ./include/linux/time64.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./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/linux/time64.h: In function ‘timespec64_sub’: In file included from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_constant_test_bit’: ./include/asm-generic/bitops/le.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/time64.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/asm-generic/bitops/le.h: In function ‘__clear_bit_le’: ./arch/x86/include/asm/percpu.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/asm-generic/bitops/le.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid’: ./include/linux/time64.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./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/linux/time64.h: In function ‘timespec64_valid_strict’: ./include/linux/time64.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./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’: ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_variable_test_bit’: ./include/linux/time64.h: In function ‘timespec64_valid_settod’: ./include/asm-generic/bitops/le.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./arch/x86/include/asm/percpu.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./include/linux/time64.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/time64.h: In function ‘timespec64_to_ns’: In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/bitops.h: In function ‘get_bitmask_order’: ./include/linux/time64.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./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/time64.h: In function ‘timespec64_add_ns’: ./include/linux/bitops.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/time64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ In file included from ./include/asm-generic/percpu.h:7, from ./arch/x86/include/asm/percpu.h:544, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/percpu-defs.h: In function ‘__this_cpu_preempt_check’: ./include/linux/percpu-defs.h:313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 313 | static inline void __this_cpu_preempt_check(const char *op) { } | ^~~~~~ In file included from ./include/linux/thread_info.h:21, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/current.h: In function ‘get_current’: ./arch/x86/include/asm/current.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 14 | { | ^ In file included from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./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/bitops.h: In function ‘rol64’: ./include/linux/bitops.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/bug.h: In function ‘check_data_corruption’: ./include/linux/bitops.h: In function ‘ror64’: ./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; } | ^~~~~~ ./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’: In file included from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/math64.h: In function ‘div_u64_rem’: ./include/linux/math64.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/math64.h: In function ‘div_s64_rem’: ./include/linux/math64.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/math64.h: In function ‘div64_u64_rem’: ./include/linux/math64.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/math64.h: In function ‘div64_u64’: ./include/linux/math64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/math64.h: In function ‘div64_s64’: ./include/linux/math64.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/math64.h: In function ‘div_u64’: ./include/linux/math64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/math64.h: In function ‘div_s64’: ./include/linux/math64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/math64.h: In function ‘__iter_div_u64_rem’: ./include/linux/math64.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/math64.h: In function ‘mul_u32_u32’: ./include/linux/math64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_shr’: ./include/linux/math64.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u64_shr’: ./include/linux/math64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ In file included from ./arch/x86/include/asm/page_types.h:7, from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mem_encrypt.h: In function ‘mem_encrypt_active’: ./include/linux/math64.h: In function ‘mul_u64_u32_div’: ./include/linux/mem_encrypt.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/math64.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/mem_encrypt.h: In function ‘sme_get_me_mask’: ./include/linux/mem_encrypt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ In file included from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/page_types.h: In function ‘get_max_mapped’: ./arch/x86/include/asm/page_types.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/time64.h: In function ‘timespec64_equal’: ./include/linux/time64.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ In file included from ./arch/x86/include/asm/page.h:12, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/page_64.h: In function ‘__phys_addr_nodebug’: ./arch/x86/include/asm/page_64.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./include/linux/time64.h: In function ‘timespec64_compare’: ./include/linux/time64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/time64.h: In function ‘timespec64_add’: ./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ./include/linux/time64.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./arch/x86/include/asm/page_64.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/time64.h: In function ‘timespec64_sub’: ./include/linux/time64.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid’: ./include/linux/time64.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid_strict’: In file included from ./arch/x86/include/asm/page.h:21, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/range.h: In function ‘cap_resource’: ./include/linux/time64.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/range.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid_settod’: ./include/linux/time64.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/page.h: In function ‘clear_user_page’: ./arch/x86/include/asm/page.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/page.h: In function ‘copy_user_page’: ./include/linux/time64.h: In function ‘timespec64_to_ns’: ./arch/x86/include/asm/page.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/time64.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/time64.h: In function ‘timespec64_add_ns’: ./include/linux/time64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ In file included from ./arch/x86/include/asm/page.h:77, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/getorder.h: In function ‘__get_order’: ./include/asm-generic/getorder.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ In file included from ./include/linux/thread_info.h:21, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/current.h: In function ‘get_current’: ./arch/x86/include/asm/current.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 14 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:5, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/segment.h: In function ‘vdso_encode_cpunode’: ./arch/x86/include/asm/segment.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’: ./arch/x86/include/asm/segment.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘__loadsegment_fs’: ./arch/x86/include/asm/segment.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:43, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/desc_defs.h: In function ‘gate_offset’: ./arch/x86/include/asm/desc_defs.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./arch/x86/include/asm/desc_defs.h: In function ‘gate_segment’: ./arch/x86/include/asm/desc_defs.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pgd’: ./arch/x86/include/asm/pgtable_types.h:294:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 294 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:16, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h: In function ‘nv_count_bits’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pgd_val’: ./arch/x86/include/asm/pgtable_types.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgd_flags’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv.h:879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 879 | { | ^ ./arch/x86/include/asm/pgtable_types.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ In file included from ./arch/x86/include/asm/page_types.h:7, from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mem_encrypt.h: In function ‘mem_encrypt_active’: ./include/linux/mem_encrypt.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/mem_encrypt.h: In function ‘sme_get_me_mask’: ./include/linux/mem_encrypt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ In file included from ./arch/x86/include/asm/pgtable_types.h:321, from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_none’: ./include/asm-generic/pgtable-nop4d.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | static inline int pgd_none(pgd_t pgd) { return 0; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_bad’: ./include/asm-generic/pgtable-nop4d.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | static inline int pgd_bad(pgd_t pgd) { return 0; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_present’: ./include/asm-generic/pgtable-nop4d.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | static inline int pgd_present(pgd_t pgd) { return 1; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_clear’: ./include/asm-generic/pgtable-nop4d.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void pgd_clear(pgd_t *pgd) { } | ^~~~~~ In file included from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/page_types.h: In function ‘get_max_mapped’: ./include/asm-generic/pgtable-nop4d.h: In function ‘p4d_offset’: ./arch/x86/include/asm/page_types.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/asm-generic/pgtable-nop4d.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_p4d’: ./arch/x86/include/asm/pgtable_types.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ In file included from ./arch/x86/include/asm/page.h:12, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/page_64.h: In function ‘__phys_addr_nodebug’: ./arch/x86/include/asm/page_64.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_p4d_val’: ./arch/x86/include/asm/pgtable_types.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pud’: ./arch/x86/include/asm/pgtable_types.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ./arch/x86/include/asm/page_64.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pud_val’: ./arch/x86/include/asm/pgtable_types.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pmd’: ./arch/x86/include/asm/pgtable_types.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pmd_val’: ./arch/x86/include/asm/pgtable_types.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ In file included from ./arch/x86/include/asm/page.h:21, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/range.h: In function ‘cap_resource’: ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags_mask’: ./include/linux/range.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/pgtable_types.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags’: ./arch/x86/include/asm/pgtable_types.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/page.h: In function ‘clear_user_page’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_pfn_mask’: ./arch/x86/include/asm/page.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/pgtable_types.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./arch/x86/include/asm/page.h: In function ‘copy_user_page’: ./arch/x86/include/asm/page.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags’: ./arch/x86/include/asm/pgtable_types.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ In file included from ./arch/x86/include/asm/page.h:77, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/getorder.h: In function ‘__get_order’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/asm-generic/getorder.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags’: ./arch/x86/include/asm/pgtable_types.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ In file included from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/compiler.h: In function ‘__read_once_size’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pte’: ./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./arch/x86/include/asm/pgtable_types.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pte_val’: ./include/linux/bitops.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/pgtable_types.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pte_flags’: ./arch/x86/include/asm/pgtable_types.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./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’: ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2protval’: ./include/linux/bitops.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/pgtable_types.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/linux/bitops.h: In function ‘sign_extend64’: ./include/linux/bitops.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2pgprot’: In file included from ./arch/x86/include/asm/ptrace.h:5, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/segment.h: In function ‘vdso_encode_cpunode’: ./arch/x86/include/asm/pgtable_types.h:475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 475 | { | ^ ./include/linux/bitops.h: In function ‘fls_long’: ./include/linux/bitops.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./arch/x86/include/asm/segment.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot2cachemode’: ./arch/x86/include/asm/pgtable_types.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’: ./include/linux/bitops.h: In function ‘get_count_order’: ./arch/x86/include/asm/segment.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_4k_2_large’: ./arch/x86/include/asm/pgtable_types.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/bitops.h: In function ‘__ffs64’: ./include/linux/bitops.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘__loadsegment_fs’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_large_2_4k’: ./arch/x86/include/asm/segment.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./arch/x86/include/asm/pgtable_types.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./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/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:43, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/desc_defs.h: In function ‘gate_offset’: ./arch/x86/include/asm/desc_defs.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/log2.h: In function ‘__order_base_2’: ./arch/x86/include/asm/desc_defs.h: In function ‘gate_segment’: ./arch/x86/include/asm/desc_defs.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/log2.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/nospec-branch.h: In function ‘vmexit_fill_RSB’: ./arch/x86/include/asm/nospec-branch.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pgd’: ./arch/x86/include/asm/nospec-branch.h: In function ‘alternative_msr_write’: ./arch/x86/include/asm/nospec-branch.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./arch/x86/include/asm/pgtable_types.h:294:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 294 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pgd_val’: ./arch/x86/include/asm/pgtable_types.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘indirect_branch_prediction_barrier’: ./arch/x86/include/asm/nospec-branch.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgd_flags’: ./arch/x86/include/asm/pgtable_types.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ In file included from ./include/linux/printk.h:6, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/init.h: In function ‘initcall_from_entry’: ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_user_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ In file included from ./arch/x86/include/asm/pgtable_types.h:321, from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_none’: ./include/linux/init.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/asm-generic/pgtable-nop4d.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | static inline int pgd_none(pgd_t pgd) { return 0; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_bad’: ./include/asm-generic/pgtable-nop4d.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | static inline int pgd_bad(pgd_t pgd) { return 0; } | ^~~~~~ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_idle_clear_cpu_buffers’: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_present’: ./arch/x86/include/asm/nospec-branch.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/asm-generic/pgtable-nop4d.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | static inline int pgd_present(pgd_t pgd) { return 1; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_clear’: ./include/asm-generic/pgtable-nop4d.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void pgd_clear(pgd_t *pgd) { } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘p4d_offset’: ./include/asm-generic/pgtable-nop4d.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_p4d’: ./arch/x86/include/asm/pgtable_types.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_p4d_val’: ./arch/x86/include/asm/pgtable_types.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pud’: ./arch/x86/include/asm/pgtable_types.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pud_val’: ./arch/x86/include/asm/pgtable_types.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pmd’: ./arch/x86/include/asm/pgtable_types.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/printk.h: In function ‘printk_skip_level’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pmd_val’: ./include/linux/printk.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./arch/x86/include/asm/pgtable_types.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./include/linux/printk.h: In function ‘printk_skip_headers’: ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_pfn_mask’: ./include/linux/printk.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/pgtable_types.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags_mask’: ./include/linux/printk.h: In function ‘console_silent’: ./arch/x86/include/asm/pgtable_types.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/printk.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags’: ./arch/x86/include/asm/pgtable_types.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/linux/printk.h: In function ‘console_verbose’: ./include/linux/printk.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags’: ./arch/x86/include/asm/pgtable_types.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ In file included from ./include/linux/jump_label.h:117, from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags’: ./arch/x86/include/asm/pgtable_types.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./arch/x86/include/asm/jump_label.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pte’: ./arch/x86/include/asm/pgtable_types.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_return_value’: ./arch/x86/include/asm/ptrace.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pte_val’: ./arch/x86/include/asm/pgtable_types.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_set_return_value’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pte_flags’: ./arch/x86/include/asm/ptrace.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./arch/x86/include/asm/pgtable_types.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_mode’: ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch_jump’: ./arch/x86/include/asm/ptrace.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/jump_label.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘v8086_mode’: ./arch/x86/include/asm/ptrace.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2protval’: ./arch/x86/include/asm/pgtable_types.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_64bit_mode’: In file included from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./arch/x86/include/asm/ptrace.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/jump_label.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2pgprot’: ./arch/x86/include/asm/pgtable_types.h:475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 475 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘kernel_stack_pointer’: ./include/linux/jump_label.h: In function ‘jump_entry_target’: ./arch/x86/include/asm/ptrace.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/jump_label.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot2cachemode’: ./arch/x86/include/asm/pgtable_types.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_key’: ./include/linux/jump_label.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:182, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/ptrace.h: In function ‘instruction_pointer’: ./include/linux/jump_label.h: In function ‘jump_entry_is_branch’: ./include/linux/jump_label.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/asm-generic/ptrace.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_init’: ./include/linux/jump_label.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_4k_2_large’: ./include/asm-generic/ptrace.h: In function ‘instruction_pointer_set’: ./include/asm-generic/ptrace.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./arch/x86/include/asm/pgtable_types.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_set_init’: ./include/linux/jump_label.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer’: ./include/asm-generic/ptrace.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_false’: ./include/linux/jump_label.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_large_2_4k’: ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer_set’: ./arch/x86/include/asm/pgtable_types.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./include/asm-generic/ptrace.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_true’: ./include/linux/jump_label.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer’: ./include/asm-generic/ptrace.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer_set’: ./include/asm-generic/ptrace.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_register’: ./arch/x86/include/asm/ptrace.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_within_kernel_stack’: ./arch/x86/include/asm/ptrace.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth_addr’: ./arch/x86/include/asm/ptrace.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth’: ./arch/x86/include/asm/ptrace.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/compiler.h: In function ‘__read_once_size_nocheck’: ./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_argument’: ./arch/x86/include/asm/ptrace.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/compiler.h: In function ‘__write_once_size’: ./include/linux/compiler.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/nospec-branch.h: In function ‘vmexit_fill_RSB’: ./arch/x86/include/asm/nospec-branch.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘alternative_msr_write’: ./arch/x86/include/asm/nospec-branch.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘indirect_branch_prediction_barrier’: ./arch/x86/include/asm/nospec-branch.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_user_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_idle_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ In file included from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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 ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/string_64.h: In function ‘memset16’: ./arch/x86/include/asm/string_64.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memset32’: ./arch/x86/include/asm/string_64.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memset64’: ./arch/x86/include/asm/string_64.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_mcsafe’: ./arch/x86/include/asm/string_64.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_flushcache’: ./arch/x86/include/asm/string_64.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_return_value’: ./arch/x86/include/asm/ptrace.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/string.h: In function ‘strstrip’: ./include/linux/string.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_set_return_value’: ./arch/x86/include/asm/ptrace.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_mode’: ./arch/x86/include/asm/ptrace.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/string.h: In function ‘memset_l’: ./arch/x86/include/asm/ptrace.h: In function ‘v8086_mode’: ./include/linux/string.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./arch/x86/include/asm/ptrace.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_64bit_mode’: In file included from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kernel.h: In function ‘___might_sleep’: ./include/linux/string.h: In function ‘memset_p’: ./arch/x86/include/asm/ptrace.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/string.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/kernel.h:265:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | int preempt_offset) { } | ^~~ ./arch/x86/include/asm/ptrace.h: In function ‘kernel_stack_pointer’: ./include/linux/kernel.h: In function ‘__might_sleep’: ./arch/x86/include/asm/ptrace.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/kernel.h:267:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | int preempt_offset) { } | ^~~ ./include/linux/kernel.h: In function ‘reciprocal_scale’: ./include/linux/kernel.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:182, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/ptrace.h: In function ‘instruction_pointer’: ./include/linux/kernel.h: In function ‘might_fault’: ./include/linux/string.h: In function ‘strtobool’: ./include/asm-generic/ptrace.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/kernel.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | static inline void might_fault(void) { } | ^~~~~~ ./include/linux/string.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/asm-generic/ptrace.h: In function ‘instruction_pointer_set’: ./include/asm-generic/ptrace.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer’: ./include/asm-generic/ptrace.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/string.h: In function ‘strstarts’: ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer_set’: ./include/linux/string.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/asm-generic/ptrace.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/kernel.h: In function ‘kstrtoul’: ./include/linux/kernel.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer’: ./include/linux/string.h: In function ‘kbasename’: ./include/asm-generic/ptrace.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/string.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer_set’: ./include/linux/kernel.h: In function ‘kstrtol’: ./include/asm-generic/ptrace.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/kernel.h:428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 428 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_register’: ./include/linux/string.h: In function ‘strncpy’: ./arch/x86/include/asm/ptrace.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64’: ./include/linux/string.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/kernel.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64’: ./include/linux/kernel.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32’: ./include/linux/kernel.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/string.h: In function ‘strcat’: ./include/linux/string.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32’: ./include/linux/kernel.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_within_kernel_stack’: ./arch/x86/include/asm/ptrace.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/string.h: In function ‘strlen’: ./include/linux/string.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64_from_user’: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth_addr’: ./include/linux/kernel.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./arch/x86/include/asm/ptrace.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64_from_user’: ./include/linux/kernel.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32_from_user’: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth’: ./include/linux/kernel.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./arch/x86/include/asm/ptrace.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/string.h: In function ‘strnlen’: ./include/linux/kernel.h: In function ‘kstrtos32_from_user’: ./include/linux/string.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/kernel.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_argument’: ./arch/x86/include/asm/ptrace.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/string.h: In function ‘strlcpy’: ./include/linux/string.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./include/linux/kernel.h: In function ‘int_sqrt64’: ./include/linux/kernel.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/kernel.h: In function ‘set_arch_panic_timeout’: ./include/linux/kernel.h:585:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 585 | { | ^ ./include/linux/string.h: In function ‘strncat’: ./include/linux/string.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/kernel.h: In function ‘hex_byte_pack’: ./include/linux/kernel.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/string.h: In function ‘memset’: ./include/linux/kernel.h: In function ‘hex_byte_pack_upper’: ./include/linux/string.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/kernel.h:660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 660 | { | ^ ./include/linux/kernel.h: In function ‘____trace_printk_check_format’: ./include/linux/string.h: In function ‘memcpy’: ./include/linux/kernel.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ ./include/linux/string.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/string.h: In function ‘memmove’: ./include/linux/string.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./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/string.h: In function ‘memscan’: ./include/linux/string.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./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/string.h: In function ‘memcmp’: ./include/linux/string.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./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/string.h: In function ‘memchr’: ./include/linux/list.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/string.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/string_64.h: In function ‘memset16’: ./arch/x86/include/asm/string_64.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./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/string.h: In function ‘memchr_inv’: ./arch/x86/include/asm/string_64.h: In function ‘memset32’: ./include/linux/string.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/string_64.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memset64’: ./arch/x86/include/asm/string_64.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/string.h: In function ‘kmemdup’: ./include/linux/string.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_mcsafe’: ./arch/x86/include/asm/string_64.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/string.h: In function ‘strcpy’: ./include/linux/string.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ In file included from ./include/linux/compiler.h:251, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kasan-checks.h: In function ‘kasan_check_read’: ./arch/x86/include/asm/string_64.h: In function ‘memcpy_flushcache’: ./arch/x86/include/asm/string_64.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/kasan-checks.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { } | ^ ./include/linux/string.h: In function ‘memcpy_and_pad’: ./include/linux/string.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./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 | { } | ^ ./include/linux/string.h: In function ‘str_has_prefix’: In file included from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/compiler.h: In function ‘read_word_at_a_time’: ./include/linux/string.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/compiler.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/compiler.h: In function ‘offset_to_ptr’: ./include/linux/compiler.h:303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 303 | { | ^ In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/string.h: In function ‘strstrip’: ./include/linux/string.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’: ./include/linux/bitmap.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/string.h: In function ‘memset_l’: ./include/linux/string.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/string.h: In function ‘memset_p’: ./include/linux/string.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_zero’: ./include/linux/bitmap.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_fill’: ./include/linux/bitmap.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ In file included from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/bitops.h: In function ‘set_bit’: ./arch/x86/include/asm/bitops.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/string.h: In function ‘strtobool’: ./include/linux/string.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_copy’: ./include/linux/bitmap.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_copy_clear_tail’: ./include/linux/bitmap.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__set_bit’: ./arch/x86/include/asm/bitops.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/string.h: In function ‘strstarts’: ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’: ./include/linux/string.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/bitops.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_and’: ./include/linux/string.h: In function ‘kbasename’: ./include/linux/bitmap.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/string.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock’: ./arch/x86/include/asm/bitops.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit’: ./arch/x86/include/asm/bitops.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_or’: ./include/linux/bitmap.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/string.h: In function ‘strncpy’: ./include/linux/string.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘clear_bit_unlock_is_negative_byte’: ./arch/x86/include/asm/bitops.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_xor’: ./include/linux/bitmap.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/string.h: In function ‘strcat’: ./arch/x86/include/asm/bitops.h: In function ‘__clear_bit_unlock’: ./include/linux/string.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./arch/x86/include/asm/bitops.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_andnot’: ./include/linux/bitmap.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__change_bit’: ./arch/x86/include/asm/bitops.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘change_bit’: ./arch/x86/include/asm/bitops.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/string.h: In function ‘strlen’: ./include/linux/bitmap.h: In function ‘bitmap_complement’: ./include/linux/string.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/linux/bitmap.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit’: ./arch/x86/include/asm/bitops.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_equal’: ./include/linux/bitmap.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/string.h: In function ‘strnlen’: ./include/linux/string.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_set_bit_lock’: ./arch/x86/include/asm/bitops.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_set_bit’: ./arch/x86/include/asm/bitops.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_intersects’: ./include/linux/bitmap.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/string.h: In function ‘strlcpy’: ./include/linux/string.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_subset’: ./include/linux/bitmap.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__test_and_clear_bit’: ./arch/x86/include/asm/bitops.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_empty’: ./include/linux/bitmap.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/string.h: In function ‘strncat’: ./arch/x86/include/asm/bitops.h: In function ‘__test_and_change_bit’: ./include/linux/string.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/bitops.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_full’: ./arch/x86/include/asm/bitops.h: In function ‘test_and_change_bit’: ./include/linux/bitmap.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./arch/x86/include/asm/bitops.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./include/linux/string.h: In function ‘memset’: ./include/linux/string.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_weight’: ./arch/x86/include/asm/bitops.h: In function ‘constant_test_bit’: ./include/linux/bitmap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./arch/x86/include/asm/bitops.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘variable_test_bit’: ./include/linux/bitmap.h: In function ‘bitmap_set’: ./arch/x86/include/asm/bitops.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/string.h: In function ‘memcpy’: ./include/linux/bitmap.h:367:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 367 | { | ^ ./include/linux/string.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__ffs’: ./arch/x86/include/asm/bitops.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_clear’: ./arch/x86/include/asm/bitops.h: In function ‘ffz’: ./include/linux/bitmap.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/bitops.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/string.h: In function ‘memmove’: ./include/linux/string.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘__fls’: ./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 ‘ffs’: ./arch/x86/include/asm/bitops.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_right’: ./arch/x86/include/asm/bitops.h: In function ‘fls’: ./include/linux/bitmap.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./arch/x86/include/asm/bitops.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/string.h: In function ‘memscan’: ./include/linux/string.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./arch/x86/include/asm/bitops.h: In function ‘fls64’: ./arch/x86/include/asm/bitops.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_left’: ./include/linux/bitmap.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/list.h: In function ‘__list_del_entry’: ./include/linux/string.h: In function ‘memcmp’: ./include/linux/list.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 116 | { | ^ ./include/linux/string.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_parse’: ./include/linux/bitmap.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./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/bitmap.h: In function ‘bitmap_from_u64’: ./include/linux/bitmap.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./include/linux/list.h: In function ‘list_replace’: ./include/linux/string.h: In function ‘memchr’: ./include/linux/list.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/string.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/cpumask.h: In function ‘cpu_max_bits_warn’: ./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/string.h: In function ‘memchr_inv’: ./include/linux/cpumask.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/string.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./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/cpumask.h: In function ‘cpumask_check’: ./include/linux/list.h: In function ‘list_bulk_move_tail’: ./include/linux/cpumask.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/list.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/list.h: In function ‘list_is_last’: ./include/linux/cpumask.h: In function ‘cpumask_first’: ./include/linux/list.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/cpumask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/string.h: In function ‘kmemdup’: ./include/linux/list.h: In function ‘list_empty’: ./include/linux/list.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/string.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_last’: ./include/linux/cpumask.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_next_zero’: ./include/linux/list.h: In function ‘list_empty_careful’: ./include/linux/cpumask.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/list.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/string.h: In function ‘strcpy’: ./include/linux/string.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./include/linux/list.h: In function ‘list_rotate_left’: ./include/linux/list.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_set_cpu’: ./include/linux/list.h: In function ‘list_is_singular’: ./include/linux/cpumask.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/linux/list.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/string.h: In function ‘memcpy_and_pad’: ./include/linux/cpumask.h: In function ‘__cpumask_set_cpu’: ./include/linux/string.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/list.h: In function ‘__list_cut_position’: ./include/linux/cpumask.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/list.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/string.h: In function ‘str_has_prefix’: ./include/linux/cpumask.h: In function ‘cpumask_clear_cpu’: ./include/linux/cpumask.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/string.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/list.h: In function ‘list_cut_position’: ./include/linux/list.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_clear_cpu’: ./include/linux/cpumask.h:331:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 331 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_cpu’: ./include/linux/list.h: In function ‘list_cut_before’: ./include/linux/cpumask.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/list.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./include/linux/list.h: In function ‘__list_splice’: ./include/linux/cpumask.h: In function ‘cpumask_test_and_set_cpu’: In file included from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’: ./include/linux/list.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/cpumask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/list.h: In function ‘list_splice’: ./include/linux/cpumask.h: In function ‘cpumask_test_and_clear_cpu’: ./include/linux/list.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/cpumask.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/bitmap.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail’: ./include/linux/cpumask.h: In function ‘cpumask_setall’: ./include/linux/list.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/cpumask.h:380:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 380 | { | ^ ./include/linux/list.h: In function ‘list_splice_init’: ./include/linux/cpumask.h: In function ‘cpumask_clear’: ./include/linux/list.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/cpumask.h:389:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 389 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_zero’: ./include/linux/bitmap.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail_init’: ./include/linux/cpumask.h: In function ‘cpumask_and’: ./include/linux/list.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/cpumask.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_fill’: ./include/linux/cpumask.h: In function ‘cpumask_or’: ./include/linux/bitmap.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/cpumask.h:417:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 417 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_xor’: ./include/linux/bitmap.h: In function ‘bitmap_copy’: ./include/linux/cpumask.h:431:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 431 | { | ^ ./include/linux/list.h: In function ‘INIT_HLIST_NODE’: ./include/linux/bitmap.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/list.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_andnot’: ./include/linux/cpumask.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_copy_clear_tail’: ./include/linux/list.h: In function ‘hlist_unhashed’: ./include/linux/bitmap.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/list.h:688:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 688 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_complement’: ./include/linux/cpumask.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/list.h: In function ‘hlist_empty’: ./include/linux/list.h:693:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 693 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_equal’: ./include/linux/bitmap.h: In function ‘bitmap_and’: ./include/linux/cpumask.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/bitmap.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_intersects’: ./include/linux/list.h: In function ‘__hlist_del’: ./include/linux/cpumask.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/list.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_or’: ./include/linux/cpumask.h: In function ‘cpumask_subset’: ./include/linux/bitmap.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/cpumask.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./include/linux/list.h: In function ‘hlist_del’: ./include/linux/cpumask.h: In function ‘cpumask_empty’: ./include/linux/bitmap.h: In function ‘bitmap_xor’: ./include/linux/cpumask.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/list.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/bitmap.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_full’: ./include/linux/cpumask.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/list.h: In function ‘hlist_del_init’: ./include/linux/bitmap.h: In function ‘bitmap_andnot’: ./include/linux/list.h:715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 715 | { | ^ ./include/linux/bitmap.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_weight’: ./include/linux/list.h: In function ‘hlist_add_head’: ./include/linux/cpumask.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/list.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_right’: ./include/linux/cpumask.h:537:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 537 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_complement’: ./include/linux/bitmap.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/list.h: In function ‘hlist_add_before’: ./include/linux/cpumask.h: In function ‘cpumask_shift_left’: ./include/linux/list.h:735:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 735 | { | ^ ./include/linux/cpumask.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_equal’: ./include/linux/cpumask.h: In function ‘cpumask_copy’: ./include/linux/bitmap.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/cpumask.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/list.h: In function ‘hlist_add_behind’: ./include/linux/list.h:744:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 744 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parse_user’: ./include/linux/cpumask.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parselist_user’: ./include/linux/list.h: In function ‘hlist_add_fake’: ./include/linux/bitmap.h: In function ‘bitmap_intersects’: ./include/linux/cpumask.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/list.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/bitmap.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/list.h: In function ‘hlist_fake’: ./include/linux/cpumask.h: In function ‘cpumask_parse’: ./include/linux/cpumask.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/list.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_subset’: ./include/linux/list.h: In function ‘hlist_is_singular_node’: ./include/linux/bitmap.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/list.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/cpumask.h: In function ‘cpulist_parse’: ./include/linux/list.h: In function ‘hlist_move_list’: ./include/linux/cpumask.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/list.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_empty’: ./include/linux/cpumask.h: In function ‘cpumask_size’: ./include/linux/bitmap.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/cpumask.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_available’: ./include/linux/bitmap.h: In function ‘bitmap_full’: ./include/linux/cpumask.h:717:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 717 | { | ^ ./include/linux/bitmap.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_weight’: ./include/linux/cpumask.h: In function ‘reset_cpu_possible_mask’: ./include/linux/bitmap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./include/linux/cpumask.h:787:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 787 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_possible’: ./include/linux/cpumask.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_set’: ./include/linux/bitmap.h:367:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 367 | { | ^ In file included from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_constant_test_bit’: ./include/linux/cpumask.h: In function ‘set_cpu_present’: ./include/linux/cpumask.h:802:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 802 | { | ^ ./arch/x86/include/asm/percpu.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_online’: ./include/linux/cpumask.h:811:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 811 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_clear’: ./include/linux/bitmap.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_active’: ./include/linux/cpumask.h:820:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 820 | { | ^ ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_variable_test_bit’: ./arch/x86/include/asm/percpu.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./include/linux/cpumask.h: In function ‘__check_is_bitmap’: ./include/linux/cpumask.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_right’: ./include/linux/bitmap.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/cpumask.h: In function ‘get_cpu_mask’: ./include/linux/cpumask.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_left’: ./include/linux/bitmap.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/cpumask.h: In function ‘cpumap_print_to_pagebuf’: ./include/linux/cpumask.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ In file included from ./include/asm-generic/percpu.h:7, from ./arch/x86/include/asm/percpu.h:544, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/percpu-defs.h: In function ‘__this_cpu_preempt_check’: ./include/linux/bitmap.h: In function ‘bitmap_parse’: ./include/linux/bitmap.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/percpu-defs.h:313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 313 | static inline void __this_cpu_preempt_check(const char *op) { } | ^~~~~~ ./include/linux/bitmap.h: In function ‘bitmap_from_u64’: ./include/linux/bitmap.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/cpumask.h: In function ‘cpu_max_bits_warn’: ./include/linux/cpumask.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ In file included from ./arch/x86/include/asm/cmpxchg.h:145, from ./arch/x86/include/asm/atomic.h:8, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/cmpxchg_64.h: In function ‘set_64bit’: ./include/linux/cpumask.h: In function ‘cpumask_check’: ./include/linux/cpumask.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/cmpxchg_64.h:6:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 6 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_first’: ./include/linux/cpumask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_last’: ./include/linux/cpumask.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ In file included from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_next_zero’: ./include/linux/cpumask.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./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 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_set_cpu’: ./include/linux/cpumask.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ In file included from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/bug.h: In function ‘is_warning_bug’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add’: ./include/linux/bug.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/atomic.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_set_cpu’: ./include/linux/cpumask.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./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 | { | ^ ./include/linux/bug.h: In function ‘check_data_corruption’: ./include/linux/cpumask.h: In function ‘cpumask_clear_cpu’: ./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; } | ^~~~~~ ./include/linux/cpumask.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./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 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_clear_cpu’: ./include/linux/cpumask.h:331:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 331 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_cpu’: ./include/linux/cpumask.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./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’: ./include/linux/cpumask.h: In function ‘cpumask_test_and_set_cpu’: ./arch/x86/include/asm/atomic.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ ./include/linux/cpumask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ In file included from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/math64.h: In function ‘div_u64_rem’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec_and_test’: ./include/linux/cpumask.h: In function ‘cpumask_test_and_clear_cpu’: ./arch/x86/include/asm/atomic.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/math64.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/cpumask.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/math64.h: In function ‘div_s64_rem’: ./include/linux/math64.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_setall’: ./include/linux/cpumask.h:380:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 380 | { | ^ ./include/linux/math64.h: In function ‘div64_u64_rem’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_inc_and_test’: ./include/linux/math64.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/atomic.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_clear’: ./include/linux/math64.h: In function ‘div64_u64’: ./include/linux/math64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/cpumask.h:389:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 389 | { | ^ ./include/linux/math64.h: In function ‘div64_s64’: ./include/linux/math64.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_and’: ./include/linux/cpumask.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./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 | { | ^ ./include/linux/math64.h: In function ‘div_u64’: ./include/linux/math64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_or’: ./include/linux/cpumask.h:417:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 417 | { | ^ ./include/linux/math64.h: In function ‘div_s64’: ./include/linux/math64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_return’: ./include/linux/cpumask.h: In function ‘cpumask_xor’: ./arch/x86/include/asm/atomic.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/cpumask.h:431:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 431 | { | ^ ./include/linux/math64.h: In function ‘__iter_div_u64_rem’: ./include/linux/math64.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_andnot’: ./include/linux/cpumask.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/math64.h: In function ‘mul_u32_u32’: ./include/linux/math64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_complement’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_return’: ./include/linux/cpumask.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_shr’: ./arch/x86/include/asm/atomic.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/math64.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_equal’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_add’: ./include/linux/cpumask.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./arch/x86/include/asm/atomic.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u64_shr’: ./include/linux/math64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_intersects’: ./include/linux/cpumask.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_div’: ./include/linux/math64.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_subset’: ./include/linux/cpumask.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./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 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_empty’: ./include/linux/cpumask.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_full’: ./include/linux/cpumask.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_weight’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_cmpxchg’: ./include/linux/cpumask.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./arch/x86/include/asm/atomic.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_right’: In file included from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/time64.h: In function ‘timespec64_equal’: ./include/linux/cpumask.h:537:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 537 | { | ^ ./include/linux/time64.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_left’: ./include/linux/cpumask.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/time64.h: In function ‘timespec64_compare’: ./include/linux/time64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_copy’: ./include/linux/cpumask.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./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 | { | ^ ./include/linux/time64.h: In function ‘timespec64_add’: ./include/linux/time64.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parse_user’: ./include/linux/time64.h: In function ‘timespec64_sub’: ./include/linux/cpumask.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/time64.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parselist_user’: ./include/linux/time64.h: In function ‘timespec64_valid’: ./include/linux/time64.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/cpumask.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parse’: ./include/linux/cpumask.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid_strict’: ./include/linux/time64.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xchg’: ./include/linux/cpumask.h: In function ‘cpulist_parse’: ./include/linux/time64.h: In function ‘timespec64_valid_settod’: ./arch/x86/include/asm/atomic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/cpumask.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/time64.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_size’: ./include/linux/cpumask.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_and’: In file included from ./arch/x86/include/asm/bitops.h:501, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/bitops/sched.h: In function ‘sched_find_first_bit’: ./arch/x86/include/asm/atomic.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/asm-generic/bitops/sched.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 14 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_available’: ./include/linux/cpumask.h:717:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 717 | { | ^ ./include/linux/cpumask.h: In function ‘reset_cpu_possible_mask’: ./include/linux/cpumask.h:787:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 787 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_possible’: ./include/linux/cpumask.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_present’: ./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 | { | ^ ./include/linux/cpumask.h:802:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 802 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_online’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_or’: ./include/linux/cpumask.h:811:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 811 | { | ^ ./arch/x86/include/asm/atomic.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_active’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_or’: ./include/linux/cpumask.h:820:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 820 | { | ^ ./arch/x86/include/asm/atomic.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ In file included from ./arch/x86/include/asm/bitops.h:503, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight32’: ./include/linux/cpumask.h: In function ‘__check_is_bitmap’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xor’: ./arch/x86/include/asm/arch_hweight.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./arch/x86/include/asm/atomic.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/cpumask.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./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 | { | ^ ./include/linux/cpumask.h: In function ‘get_cpu_mask’: ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight16’: ./arch/x86/include/asm/arch_hweight.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/cpumask.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight8’: ./arch/x86/include/asm/arch_hweight.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:262, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_read’: ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/cpumask.h: In function ‘cpumap_print_to_pagebuf’: ./include/linux/cpumask.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_set’: ./arch/x86/include/asm/atomic64_64.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add’: ./arch/x86/include/asm/atomic64_64.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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/asm/atomic64_64.h: In function ‘arch_atomic64_sub’: ./arch/x86/include/asm/atomic64_64.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_and_test’: ./arch/x86/include/asm/atomic64_64.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ In file included from ./arch/x86/include/asm/cmpxchg.h:145, from ./arch/x86/include/asm/atomic.h:8, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/cmpxchg_64.h: In function ‘set_64bit’: 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/uapi/linux/swab.h: In function ‘__fswab16’: ./arch/x86/include/asm/cmpxchg_64.h:6:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 6 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc’: ./include/uapi/linux/swab.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/atomic64_64.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec’: ./arch/x86/include/asm/atomic64_64.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec_and_test’: ./include/uapi/linux/swab.h: In function ‘__fswab64’: ./arch/x86/include/asm/atomic64_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/uapi/linux/swab.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ In file included from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_read’: ./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 | { | ^ ./arch/x86/include/asm/atomic.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc_and_test’: ./include/uapi/linux/swab.h: In function ‘__fswahb32’: ./arch/x86/include/asm/atomic64_64.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/uapi/linux/swab.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_set’: ./include/uapi/linux/swab.h: In function ‘__swab16p’: ./arch/x86/include/asm/atomic.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_negative’: ./include/uapi/linux/swab.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./arch/x86/include/asm/atomic64_64.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./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 | { | ^ ./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/atomic64_64.h: In function ‘arch_atomic64_add_return’: ./include/uapi/linux/swab.h: In function ‘__swab64p’: ./arch/x86/include/asm/atomic64_64.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/uapi/linux/swab.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./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 | { | ^ ./include/uapi/linux/swab.h: In function ‘__swahw32p’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_and_test’: ./include/uapi/linux/swab.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./arch/x86/include/asm/atomic.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/uapi/linux/swab.h: In function ‘__swahb32p’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_return’: ./include/uapi/linux/swab.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./arch/x86/include/asm/atomic64_64.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./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/atomic64_64.h: In function ‘arch_atomic64_fetch_add’: ./arch/x86/include/asm/atomic64_64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec’: ./include/uapi/linux/swab.h: In function ‘__swab16s’: ./arch/x86/include/asm/atomic.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ ./include/uapi/linux/swab.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec_and_test’: ./include/uapi/linux/swab.h: In function ‘__swab32s’: ./arch/x86/include/asm/atomic.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./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’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_sub’: ./include/uapi/linux/swab.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./arch/x86/include/asm/atomic64_64.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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/atomic64_64.h: In function ‘arch_atomic64_cmpxchg’: 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__cpu_to_le64p’: ./arch/x86/include/asm/atomic64_64.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_try_cmpxchg’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’: ./arch/x86/include/asm/atomic64_64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_add’: ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be64_to_cpup’: ./arch/x86/include/asm/atomic.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xchg’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_sub’: ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/atomic.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ 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:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/byteorder/generic.h: In function ‘le16_add_cpu’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_and’: ./include/linux/byteorder/generic.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./arch/x86/include/asm/atomic64_64.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./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 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_and’: ./arch/x86/include/asm/atomic64_64.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_or’: ./include/linux/byteorder/generic.h: In function ‘le32_to_cpu_array’: ./arch/x86/include/asm/atomic64_64.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/byteorder/generic.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_or’: ./include/linux/byteorder/generic.h: In function ‘cpu_to_le32_array’: ./arch/x86/include/asm/atomic64_64.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./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’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_try_cmpxchg’: ./include/linux/byteorder/generic.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xor’: ./arch/x86/include/asm/atomic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/atomic64_64.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_xor’: ./arch/x86/include/asm/atomic64_64.h:237:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 237 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:265, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_read’: ./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/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/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 | { | ^ ./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 | { | ^ ./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/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/asm-generic/atomic-instrumented.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/byteorder/generic.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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/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/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/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/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/atomic-instrumented.h: In function ‘atomic_try_cmpxchg’: ./include/asm-generic/bitops/le.h: In function ‘test_bit_le’: ./include/asm-generic/atomic-instrumented.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/asm-generic/bitops/le.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_try_cmpxchg’: ./include/asm-generic/atomic-instrumented.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./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/atomic-instrumented.h: In function ‘atomic_inc’: ./include/asm-generic/bitops/le.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/asm-generic/atomic-instrumented.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./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/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/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/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/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/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/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 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_and’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add’: ./arch/x86/include/asm/atomic.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/asm-generic/bitops/le.h: In function ‘__test_and_set_bit_le’: ./include/asm-generic/atomic-instrumented.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/asm-generic/bitops/le.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub’: ./include/asm-generic/bitops/le.h: In function ‘__test_and_clear_bit_le’: ./include/asm-generic/atomic-instrumented.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/asm-generic/bitops/le.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./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 | { | ^ In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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/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/linux/bitops.h: In function ‘hweight_long’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_or’: ./include/linux/bitops.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./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’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_and’: ./include/asm-generic/atomic-instrumented.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./arch/x86/include/asm/atomic.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./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 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_and_test’: ./include/asm-generic/atomic-instrumented.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./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 | { | ^ ./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 ‘atomic64_inc_and_test’: ./include/asm-generic/atomic-instrumented.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:262, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_read’: ./arch/x86/include/asm/atomic64_64.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_set’: ./arch/x86/include/asm/atomic64_64.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./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’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add’: ./include/asm-generic/atomic-instrumented.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./arch/x86/include/asm/atomic64_64.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub’: ./arch/x86/include/asm/atomic64_64.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_and_test’: ./arch/x86/include/asm/atomic64_64.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc’: ./arch/x86/include/asm/atomic64_64.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec’: ./include/linux/bitops.h: In function ‘rol64’: ./arch/x86/include/asm/atomic64_64.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/bitops.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec_and_test’: ./include/linux/bitops.h: In function ‘ror64’: ./arch/x86/include/asm/atomic64_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/bitops.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_or’: ./include/linux/bitops.h: In function ‘rol32’: ./include/linux/bitops.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/asm-generic/atomic-instrumented.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./include/linux/bitops.h: In function ‘ror32’: ./include/linux/bitops.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc_and_test’: ./include/linux/bitops.h: In function ‘rol16’: ./arch/x86/include/asm/atomic64_64.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./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/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/linux/bitops.h: In function ‘rol8’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_negative’: ./include/linux/bitops.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/atomic64_64.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./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/linux/bitops.h: In function ‘ror8’: ./include/linux/bitops.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./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/linux/bitops.h: In function ‘sign_extend32’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_return’: ./include/linux/bitops.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/atomic64_64.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_and_test’: ./include/linux/bitops.h: In function ‘sign_extend64’: ./include/asm-generic/atomic-instrumented.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./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/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub_and_test’: ./include/asm-generic/atomic-instrumented.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/bitops.h: In function ‘get_count_order’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_return’: ./include/linux/bitops.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add_negative’: ./arch/x86/include/asm/atomic64_64.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/asm-generic/atomic-instrumented.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_add’: ./arch/x86/include/asm/atomic64_64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_negative’: ./include/linux/bitops.h: In function ‘get_count_order_long’: ./include/asm-generic/atomic-instrumented.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./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’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_sub’: ./include/linux/bitops.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./arch/x86/include/asm/atomic64_64.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./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/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/log2.h: In function ‘__ilog2_u32’: ./include/linux/log2.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_cmpxchg’: ./arch/x86/include/asm/atomic64_64.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/log2.h: In function ‘__ilog2_u64’: ./include/linux/log2.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ In file included from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/atomic.h: In function ‘atomic_fetch_add_unless’: ./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/atomic.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./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/atomic.h: In function ‘atomic_add_unless’: ./include/linux/log2.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_try_cmpxchg’: ./include/linux/atomic.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./arch/x86/include/asm/atomic64_64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./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/log2.h: In function ‘__order_base_2’: ./include/linux/atomic.h: In function ‘atomic_dec_unless_positive’: ./include/linux/log2.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xchg’: ./arch/x86/include/asm/atomic64_64.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_and’: ./arch/x86/include/asm/atomic64_64.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_and’: ./arch/x86/include/asm/atomic64_64.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_or’: ./include/linux/atomic.h: In function ‘atomic64_add_unless’: ./arch/x86/include/asm/atomic64_64.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/atomic.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_or’: ./arch/x86/include/asm/atomic64_64.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xor’: ./arch/x86/include/asm/atomic64_64.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_xor’: ./include/linux/atomic.h: In function ‘atomic64_dec_unless_positive’: ./arch/x86/include/asm/atomic64_64.h:237:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 237 | { | ^ ./include/linux/atomic.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_dec_if_positive’: In file included from ./include/linux/printk.h:6, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/init.h: In function ‘initcall_from_entry’: In file included from ./arch/x86/include/asm/atomic.h:265, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_read’: ./include/linux/atomic.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./include/asm-generic/atomic-instrumented.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/init.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./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 | { | ^ In file included from ./include/linux/atomic.h:1315, from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_read’: ./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-long.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | ATOMIC_LONG_READ_OP() | ^~~~~~~~~~~~~~~~~~~ ./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-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-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 | { | ^ In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/printk.h: In function ‘printk_get_level’: ./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/linux/printk.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./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/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/asm-generic/atomic-long.h: In function ‘atomic_long_set’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_try_cmpxchg’: ./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-instrumented.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./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/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-instrumented.h: In function ‘atomic_inc’: ./include/linux/printk.h: In function ‘console_silent’: ./include/asm-generic/atomic-instrumented.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./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/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc’: ./include/linux/printk.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./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-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-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-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-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-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-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-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-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-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-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-long.h: In function ‘atomic_long_sub_return_relaxed’: ./include/asm-generic/atomic-instrumented.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./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-instrumented.h: In function ‘atomic64_or’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_acquire’: ./include/asm-generic/atomic-instrumented.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/jump_label.h:117, from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_xor’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_release’: ./include/asm-generic/atomic-instrumented.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/jump_label.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./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-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/linux/time64.h: In function ‘timespec64_to_ns’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc’: ./include/linux/time64.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/atomic-long.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./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-long.h: In function ‘atomic_long_dec’: ./include/linux/time64.h: In function ‘timespec64_add_ns’: ./include/asm-generic/atomic-long.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/time64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_and_test’: ./include/asm-generic/atomic-instrumented.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc_and_test’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add’: ./include/asm-generic/atomic-instrumented.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./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-instrumented.h: In function ‘atomic64_inc_and_test’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_relaxed’: ./include/asm-generic/atomic-instrumented.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./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-instrumented.h: In function ‘atomic_add_return’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_acquire’: ./include/asm-generic/atomic-instrumented.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./include/asm-generic/atomic-long.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | ATOMIC_LONG_FETCH_OP(add, _acquire) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/thread_info.h:21, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/current.h: In function ‘get_current’: ./arch/x86/include/asm/current.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 14 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_return’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_release’: ./include/asm-generic/atomic-instrumented.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./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-instrumented.h: In function ‘atomic_sub_return’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub’: ./include/asm-generic/atomic-instrumented.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./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-instrumented.h: In function ‘atomic64_sub_return’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_relaxed’: ./include/asm-generic/atomic-instrumented.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./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-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-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-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-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-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-long.h: In function ‘atomic_long_fetch_and’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_sub’: ./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-instrumented.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_relaxed’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_and’: ./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-instrumented.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_acquire’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_and’: ./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-instrumented.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_release’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_or’: ./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-instrumented.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./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-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-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-instrumented.h: In function ‘atomic_fetch_xor’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_release’: ./include/asm-generic/atomic-instrumented.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./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-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-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-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-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-instrumented.h: In function ‘atomic64_sub_and_test’: ./include/asm-generic/atomic-instrumented.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./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-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 | { | ^ ./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-instrumented.h: In function ‘atomic64_add_negative’: ./include/asm-generic/atomic-instrumented.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/page_types.h:7, from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mem_encrypt.h: In function ‘mem_encrypt_active’: ./include/linux/mem_encrypt.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc’: ./include/linux/mem_encrypt.h: In function ‘sme_get_me_mask’: ./include/linux/mem_encrypt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./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’: In file included from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/atomic.h: In function ‘atomic_fetch_add_unless’: ./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/linux/atomic.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/page_types.h: In function ‘get_max_mapped’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_release’: ./arch/x86/include/asm/page_types.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./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/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/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,) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/page.h:12, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/page_64.h: In function ‘__phys_addr_nodebug’: ./arch/x86/include/asm/page_64.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./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/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/linux/atomic.h: In function ‘atomic_dec_unless_positive’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_acquire’: ./include/linux/atomic.h:689:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 689 | { | ^ ./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/linux/atomic.h: In function ‘atomic_dec_if_positive’: ./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/linux/atomic.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ ./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ./arch/x86/include/asm/page_64.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./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/linux/atomic.h: In function ‘atomic64_fetch_add_unless’: In file included from ./arch/x86/include/asm/page.h:21, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/range.h: In function ‘cap_resource’: ./include/linux/atomic.h:1163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1163 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_or’: ./include/linux/range.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./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’: In file included from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/page.h: In function ‘clear_user_page’: ./include/asm-generic/atomic-long.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | ATOMIC_LONG_OP(xor) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/page.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_add_unless’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_and_test’: ./include/linux/atomic.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./arch/x86/include/asm/page.h: In function ‘copy_user_page’: ./include/asm-generic/atomic-long.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/page.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_inc_unless_negative’: ./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/linux/atomic.h:1264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1264 | { | ^ ./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/linux/atomic.h: In function ‘atomic64_dec_unless_positive’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_negative’: ./include/linux/atomic.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./include/asm-generic/atomic-long.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ In file included from ./arch/x86/include/asm/page.h:77, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/getorder.h: In function ‘__get_order’: ./include/asm-generic/getorder.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./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/linux/atomic.h: In function ‘atomic64_dec_if_positive’: ./include/linux/atomic.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./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’: In file included from ./include/linux/atomic.h:1315, from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_read’: ./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: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_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_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_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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/ptrace.h:5, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/segment.h: In function ‘vdso_encode_cpunode’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_acquire’: ./arch/x86/include/asm/segment.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’: ./arch/x86/include/asm/segment.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./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: In function ‘atomic_long_set’: ./include/asm-generic/atomic-long.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/segment.h: In function ‘__loadsegment_fs’: ./arch/x86/include/asm/segment.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/msr.h: In function ‘__rdmsr’: ./arch/x86/include/asm/msr.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./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,) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘__wrmsr’: ./arch/x86/include/asm/msr.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘native_read_msr’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_acquire’: ./arch/x86/include/asm/msr.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt_types.h:43, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/desc_defs.h: In function ‘gate_offset’: ./arch/x86/include/asm/msr.h: In function ‘native_read_msr_safe’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_release’: ./arch/x86/include/asm/msr.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/desc_defs.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/desc_defs.h: In function ‘gate_segment’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return’: ./arch/x86/include/asm/desc_defs.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/asm-generic/atomic-long.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | ATOMIC_LONG_ADD_SUB_OP(sub,) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr’: ./arch/x86/include/asm/msr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr_safe’: ./arch/x86/include/asm/msr.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘rdtsc’: ./arch/x86/include/asm/msr.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘rdtsc_ordered’: ./arch/x86/include/asm/msr.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pgd’: ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h:294:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 294 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pgd_val’: ./arch/x86/include/asm/pgtable_types.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add’: ./arch/x86/include/asm/msr.h: In function ‘native_read_pmc’: ./include/asm-generic/atomic-long.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | ATOMIC_LONG_FETCH_OP(add, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgd_flags’: ./arch/x86/include/asm/pgtable_types.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./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’: In file included from ./arch/x86/include/asm/pgtable_types.h:321, from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_none’: In file included from ./arch/x86/include/asm/msr.h:246, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_sched_clock’: ./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/pgtable-nop4d.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | static inline int pgd_none(pgd_t pgd) { return 0; } | ^~~~~~ ./arch/x86/include/asm/paravirt.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_bad’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub’: ./include/asm-generic/pgtable-nop4d.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | static inline int pgd_bad(pgd_t pgd) { return 0; } | ^~~~~~ ./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/pgtable-nop4d.h: In function ‘pgd_present’: ./include/asm-generic/pgtable-nop4d.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | static inline int pgd_present(pgd_t pgd) { return 1; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_clear’: ./include/asm-generic/pgtable-nop4d.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void pgd_clear(pgd_t *pgd) { } | ^~~~~~ ./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/pgtable-nop4d.h: In function ‘p4d_offset’: ./include/asm-generic/pgtable-nop4d.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_p4d’: ./arch/x86/include/asm/pgtable_types.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_release’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_p4d_val’: ./include/asm-generic/atomic-long.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | ATOMIC_LONG_FETCH_OP(sub, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pud’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and’: ./arch/x86/include/asm/pgtable_types.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./include/asm-generic/atomic-long.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | ATOMIC_LONG_FETCH_OP(and, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pud_val’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_steal_clock’: ./arch/x86/include/asm/pgtable_types.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./arch/x86/include/asm/paravirt.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_relaxed’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pmd’: ./include/asm-generic/atomic-long.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | ATOMIC_LONG_FETCH_OP(and, _relaxed) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pmd_val’: ./arch/x86/include/asm/pgtable_types.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot’: ./arch/x86/include/asm/pgtable_types.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/asm-generic/atomic-long.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | ATOMIC_LONG_FETCH_OP(andnot, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_pfn_mask’: ./arch/x86/include/asm/pgtable_types.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘slow_down_io’: ./arch/x86/include/asm/paravirt.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_acquire’: ./arch/x86/include/asm/paravirt.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/asm-generic/atomic-long.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | ATOMIC_LONG_FETCH_OP(andnot, _acquire) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags’: ./arch/x86/include/asm/pgtable_types.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_release’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_pfn_mask’: ./include/asm-generic/atomic-long.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | ATOMIC_LONG_FETCH_OP(andnot, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_global’: ./arch/x86/include/asm/paravirt.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./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, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_relaxed’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags’: ./include/asm-generic/atomic-long.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | ATOMIC_LONG_FETCH_OP(or, _relaxed) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_one_user’: ./arch/x86/include/asm/paravirt.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_acquire’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pte’: ./include/asm-generic/atomic-long.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | ATOMIC_LONG_FETCH_OP(or, _acquire) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pte_val’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_release’: ./arch/x86/include/asm/pgtable_types.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./include/asm-generic/atomic-long.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | ATOMIC_LONG_FETCH_OP(or, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘pte_flags’: ./arch/x86/include/asm/pgtable_types.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor’: ./arch/x86/include/asm/paravirt.h: In function ‘flush_tlb_others’: ./include/asm-generic/atomic-long.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | ATOMIC_LONG_FETCH_OP(xor, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_relaxed’: ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2protval’: ./include/asm-generic/atomic-long.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | ATOMIC_LONG_FETCH_OP(xor, _relaxed) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_acquire’: ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2pgprot’: ./include/asm-generic/atomic-long.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | ATOMIC_LONG_FETCH_OP(xor, _acquire) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h:475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 475 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_tlb_remove_table’: ./arch/x86/include/asm/paravirt.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot2cachemode’: ./arch/x86/include/asm/pgtable_types.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./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,) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_4k_2_large’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_exit_mmap’: ./arch/x86/include/asm/pgtable_types.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_large_2_4k’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_acquire’: ./arch/x86/include/asm/pgtable_types.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘load_sp0’: ./arch/x86/include/asm/paravirt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘__cpuid’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_acquire’: ./arch/x86/include/asm/paravirt.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./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) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_get_debugreg’: ./arch/x86/include/asm/paravirt.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./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) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘set_debugreg’: ./arch/x86/include/asm/paravirt.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./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) | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/nospec-branch.h: In function ‘vmexit_fill_RSB’: ./arch/x86/include/asm/nospec-branch.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr0’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_and_test’: ./arch/x86/include/asm/paravirt.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/asm-generic/atomic-long.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘alternative_msr_write’: ./arch/x86/include/asm/nospec-branch.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘indirect_branch_prediction_barrier’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_negative’: ./arch/x86/include/asm/nospec-branch.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./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,) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_clear_cpu_buffers’: ./arch/x86/include/asm/nospec-branch.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr0’: ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_user_clear_cpu_buffers’: ./arch/x86/include/asm/paravirt.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/nospec-branch.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./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’: ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_idle_clear_cpu_buffers’: ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/nospec-branch.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr2’: ./arch/x86/include/asm/paravirt.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr2’: ./arch/x86/include/asm/paravirt.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__read_cr3’: ./arch/x86/include/asm/paravirt.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/msr.h: In function ‘__rdmsr’: ./arch/x86/include/asm/msr.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘__wrmsr’: ./arch/x86/include/asm/msr.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_read_msr’: ./arch/x86/include/asm/paravirt.h: In function ‘write_cr3’: ./arch/x86/include/asm/msr.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./arch/x86/include/asm/paravirt.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_read_msr_safe’: ./arch/x86/include/asm/msr.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__write_cr4’: ./arch/x86/include/asm/paravirt.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr’: ./arch/x86/include/asm/msr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/ptrace.h: In function ‘regs_return_value’: ./arch/x86/include/asm/paravirt.h: In function ‘read_cr8’: ./arch/x86/include/asm/paravirt.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/ptrace.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr_safe’: ./arch/x86/include/asm/msr.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_set_return_value’: ./arch/x86/include/asm/ptrace.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_mode’: ./arch/x86/include/asm/ptrace.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘v8086_mode’: ./arch/x86/include/asm/ptrace.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_64bit_mode’: ./arch/x86/include/asm/msr.h: In function ‘rdtsc’: ./arch/x86/include/asm/ptrace.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./arch/x86/include/asm/msr.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘rdtsc_ordered’: ./arch/x86/include/asm/msr.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch_jump’: ./arch/x86/include/asm/jump_label.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr8’: ./arch/x86/include/asm/paravirt.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_read_pmc’: In file included from ./include/linux/dynamic_debug.h:6, from ./include/linux/printk.h:352, from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./arch/x86/include/asm/msr.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/jump_label.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_safe_halt’: ./arch/x86/include/asm/paravirt.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_target’: ./include/linux/jump_label.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_key’: ./include/linux/jump_label.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ In file included from ./arch/x86/include/asm/msr.h:246, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_sched_clock’: ./include/linux/jump_label.h: In function ‘jump_entry_is_branch’: ./include/linux/jump_label.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/paravirt.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘halt’: ./arch/x86/include/asm/paravirt.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_is_init’: ./include/linux/jump_label.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/jump_label.h: In function ‘jump_entry_set_init’: ./include/linux/jump_label.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wbinvd’: ./include/linux/jump_label.h: In function ‘static_key_false’: ./include/linux/jump_label.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/paravirt.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/jump_label.h: In function ‘static_key_true’: ./include/linux/jump_label.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_steal_clock’: ./arch/x86/include/asm/paravirt.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/paravirt.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr’: ./arch/x86/include/asm/paravirt.h: In function ‘slow_down_io’: ./arch/x86/include/asm/paravirt.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/paravirt.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb’: ./arch/x86/include/asm/paravirt.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr_safe’: ./arch/x86/include/asm/paravirt.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_global’: ./arch/x86/include/asm/paravirt.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ In file included from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kernel.h: In function ‘___might_sleep’: ./include/linux/kernel.h:265:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | int preempt_offset) { } | ^~~ ./include/linux/kernel.h: In function ‘__might_sleep’: ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_one_user’: ./include/linux/kernel.h:267:8: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | int preempt_offset) { } | ^~~ ./arch/x86/include/asm/paravirt.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/kernel.h: In function ‘reciprocal_scale’: ./include/linux/kernel.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr_safe’: ./include/linux/kernel.h: In function ‘might_fault’: ./arch/x86/include/asm/paravirt.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/kernel.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | static inline void might_fault(void) { } | ^~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘flush_tlb_others’: ./arch/x86/include/asm/paravirt.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/kernel.h: In function ‘kstrtoul’: ./include/linux/kernel.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_tlb_remove_table’: ./include/linux/kernel.h: In function ‘kstrtol’: ./arch/x86/include/asm/paravirt.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/kernel.h:428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 428 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64’: ./include/linux/kernel.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64’: ./include/linux/kernel.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wrmsrl’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_exit_mmap’: ./arch/x86/include/asm/paravirt.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./arch/x86/include/asm/paravirt.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32’: ./include/linux/kernel.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘rdmsrl_safe’: ./include/linux/kernel.h: In function ‘kstrtos32’: ./arch/x86/include/asm/paravirt.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/kernel.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_pmc’: ./arch/x86/include/asm/paravirt.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_sp0’: ./arch/x86/include/asm/paravirt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou64_from_user’: ./include/linux/kernel.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos64_from_user’: ./include/linux/kernel.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__cpuid’: ./arch/x86/include/asm/paravirt.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/kernel.h: In function ‘kstrtou32_from_user’: ./include/linux/kernel.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/kernel.h: In function ‘kstrtos32_from_user’: ./include/linux/kernel.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_ldt’: ./arch/x86/include/asm/paravirt.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_get_debugreg’: ./arch/x86/include/asm/paravirt.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_free_ldt’: ./arch/x86/include/asm/paravirt.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/linux/kernel.h: In function ‘int_sqrt64’: ./include/linux/kernel.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/kernel.h: In function ‘set_arch_panic_timeout’: ./include/linux/kernel.h:585:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 585 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TR_desc’: ./arch/x86/include/asm/paravirt.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_debugreg’: ./include/linux/kernel.h: In function ‘hex_byte_pack’: ./arch/x86/include/asm/paravirt.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/kernel.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/kernel.h: In function ‘hex_byte_pack_upper’: ./arch/x86/include/asm/paravirt.h: In function ‘load_gdt’: ./include/linux/kernel.h:660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 660 | { | ^ ./arch/x86/include/asm/paravirt.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr0’: ./arch/x86/include/asm/paravirt.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/kernel.h: In function ‘____trace_printk_check_format’: ./include/linux/kernel.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_idt’: ./arch/x86/include/asm/paravirt.h:268:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr0’: ./arch/x86/include/asm/paravirt.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_ldt’: ./arch/x86/include/asm/paravirt.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr2’: ./arch/x86/include/asm/paravirt.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_store_tr’: ./arch/x86/include/asm/paravirt.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr2’: ./include/linux/list.h: In function ‘list_add’: ./arch/x86/include/asm/paravirt.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/list.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TLS’: ./arch/x86/include/asm/paravirt.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__read_cr3’: ./arch/x86/include/asm/paravirt.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_gs_index’: ./include/linux/list.h: In function ‘__list_del_entry’: ./arch/x86/include/asm/paravirt.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_ldt_entry’: ./arch/x86/include/asm/paravirt.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr3’: ./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 | { | ^ ./arch/x86/include/asm/paravirt.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_gdt_entry’: ./include/linux/list.h: In function ‘list_bulk_move_tail’: ./arch/x86/include/asm/paravirt.h:301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 301 | { | ^ ./include/linux/list.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/list.h: In function ‘list_is_last’: ./arch/x86/include/asm/paravirt.h: In function ‘__write_cr4’: ./arch/x86/include/asm/paravirt.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘kernel_stack_pointer’: ./arch/x86/include/asm/ptrace.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_idt_entry’: ./arch/x86/include/asm/paravirt.h:306:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 306 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:182, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/ptrace.h: In function ‘instruction_pointer’: ./arch/x86/include/asm/paravirt.h: In function ‘read_cr8’: ./include/asm-generic/ptrace.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./arch/x86/include/asm/paravirt.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/asm-generic/ptrace.h: In function ‘instruction_pointer_set’: ./include/asm-generic/ptrace.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_iopl_mask’: ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer’: ./arch/x86/include/asm/paravirt.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/asm-generic/ptrace.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer_set’: ./include/asm-generic/ptrace.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer’: ./include/asm-generic/ptrace.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer_set’: ./include/asm-generic/ptrace.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_activate_mm’: ./arch/x86/include/asm/paravirt.h: In function ‘write_cr8’: ./arch/x86/include/asm/paravirt.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./arch/x86/include/asm/paravirt.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_register’: ./arch/x86/include/asm/ptrace.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_within_kernel_stack’: ./arch/x86/include/asm/ptrace.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_dup_mmap’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_safe_halt’: ./arch/x86/include/asm/paravirt.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./arch/x86/include/asm/paravirt.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth_addr’: ./arch/x86/include/asm/ptrace.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth’: ./arch/x86/include/asm/ptrace.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘halt’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_alloc’: ./arch/x86/include/asm/paravirt.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./arch/x86/include/asm/paravirt.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_argument’: ./arch/x86/include/asm/ptrace.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wbinvd’: ./arch/x86/include/asm/paravirt.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr’: ./arch/x86/include/asm/paravirt.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_free’: ./arch/x86/include/asm/paravirt.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pte’: ./arch/x86/include/asm/paravirt.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pte’: ./arch/x86/include/asm/paravirt.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/paravirt.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pmd’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr_safe’: ./arch/x86/include/asm/paravirt.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./arch/x86/include/asm/paravirt.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/list.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pmd’: ./arch/x86/include/asm/paravirt.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/list.h: In function ‘list_empty’: ./include/linux/list.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/list.h: In function ‘list_empty_careful’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pud’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr_safe’: ./include/linux/list.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/paravirt.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./arch/x86/include/asm/paravirt.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/list.h: In function ‘list_rotate_left’: ./include/linux/list.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/list.h: In function ‘list_is_singular’: ./include/linux/list.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pud’: ./include/linux/list.h: In function ‘__list_cut_position’: ./arch/x86/include/asm/paravirt.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/list.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/list.h: In function ‘list_cut_position’: ./include/linux/list.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_p4d’: ./include/linux/list.h: In function ‘list_cut_before’: ./arch/x86/include/asm/paravirt.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./include/linux/list.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wrmsrl’: ./arch/x86/include/asm/paravirt.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./include/linux/list.h: In function ‘__list_splice’: ./include/linux/list.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘rdmsrl_safe’: ./arch/x86/include/asm/paravirt.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/list.h: In function ‘list_splice’: ./include/linux/list.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_p4d’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_pmc’: ./arch/x86/include/asm/paravirt.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 370 | { | ^ ./arch/x86/include/asm/paravirt.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail’: ./include/linux/list.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/list.h: In function ‘list_splice_init’: ./include/linux/list.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/list.h: In function ‘list_splice_tail_init’: ./include/linux/list.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pte’: ./arch/x86/include/asm/paravirt.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/list.h: In function ‘INIT_HLIST_NODE’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_ldt’: ./include/linux/list.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./arch/x86/include/asm/paravirt.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/list.h: In function ‘hlist_unhashed’: ./include/linux/list.h:688:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 688 | { | ^ ./include/linux/list.h: In function ‘hlist_empty’: ./include/linux/list.h:693:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 693 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_free_ldt’: ./include/linux/list.h: In function ‘__hlist_del’: ./arch/x86/include/asm/paravirt.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/linux/list.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/list.h: In function ‘hlist_del’: ./include/linux/list.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TR_desc’: ./arch/x86/include/asm/paravirt.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/list.h: In function ‘hlist_del_init’: ./include/linux/list.h:715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 715 | { | ^ ./include/linux/list.h: In function ‘hlist_add_head’: ./arch/x86/include/asm/paravirt.h: In function ‘load_gdt’: ./include/linux/list.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./arch/x86/include/asm/paravirt.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/list.h: In function ‘hlist_add_before’: ./arch/x86/include/asm/paravirt.h: In function ‘pte_val’: ./include/linux/list.h:735:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 735 | { | ^ ./arch/x86/include/asm/paravirt.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_idt’: ./arch/x86/include/asm/paravirt.h:268:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | { | ^ ./include/linux/list.h: In function ‘hlist_add_behind’: ./include/linux/list.h:744:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 744 | { | ^ ./include/linux/list.h: In function ‘hlist_add_fake’: ./arch/x86/include/asm/paravirt.h: In function ‘set_ldt’: ./arch/x86/include/asm/paravirt.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/list.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/list.h: In function ‘hlist_fake’: ./include/linux/list.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/list.h: In function ‘hlist_is_singular_node’: ./include/linux/list.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_store_tr’: ./arch/x86/include/asm/paravirt.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/list.h: In function ‘hlist_move_list’: ./include/linux/list.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pgd’: ./arch/x86/include/asm/paravirt.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TLS’: ./arch/x86/include/asm/paravirt.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_gs_index’: ./arch/x86/include/asm/paravirt.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ In file included from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_constant_test_bit’: ./arch/x86/include/asm/paravirt.h: In function ‘write_ldt_entry’: ./arch/x86/include/asm/percpu.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./arch/x86/include/asm/paravirt.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pgd_val’: ./arch/x86/include/asm/paravirt.h:412:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 412 | { | ^ ./arch/x86/include/asm/percpu.h: In function ‘x86_this_cpu_variable_test_bit’: ./arch/x86/include/asm/percpu.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_gdt_entry’: ./arch/x86/include/asm/paravirt.h:301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 301 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_idt_entry’: ./arch/x86/include/asm/paravirt.h:306:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 306 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_iopl_mask’: ./arch/x86/include/asm/paravirt.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_start’: ./arch/x86/include/asm/paravirt.h:427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 427 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_activate_mm’: ./arch/x86/include/asm/paravirt.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/string_64.h: In function ‘memset16’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_dup_mmap’: ./arch/x86/include/asm/string_64.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./arch/x86/include/asm/paravirt.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memset32’: ./arch/x86/include/asm/string_64.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_commit’: ./arch/x86/include/asm/string_64.h: In function ‘memset64’: ./arch/x86/include/asm/paravirt.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/string_64.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_alloc’: ./arch/x86/include/asm/paravirt.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_mcsafe’: ./arch/x86/include/asm/string_64.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte’: ./arch/x86/include/asm/paravirt.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_flushcache’: ./arch/x86/include/asm/string_64.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_free’: ./arch/x86/include/asm/paravirt.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/string.h: In function ‘strstrip’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_at’: ./include/linux/string.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/paravirt.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pte’: ./include/linux/string.h: In function ‘memset_l’: ./include/linux/string.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/string.h: In function ‘memset_p’: ./include/linux/string.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pmd’: ./arch/x86/include/asm/paravirt.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/string.h: In function ‘strtobool’: ./arch/x86/include/asm/paravirt.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/string.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/string.h: In function ‘strstarts’: ./arch/x86/include/asm/paravirt.h: In function ‘__pmd’: ./include/linux/string.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/paravirt.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pte’: ./arch/x86/include/asm/paravirt.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/string.h: In function ‘kbasename’: ./include/linux/string.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pmd’: ./arch/x86/include/asm/paravirt.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/string.h: In function ‘strncpy’: ./include/linux/string.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pmd’: ./arch/x86/include/asm/paravirt.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/string.h: In function ‘strcat’: ./include/linux/string.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/string.h: In function ‘strlen’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pud’: ./include/linux/string.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./arch/x86/include/asm/paravirt.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pmd_val’: ./arch/x86/include/asm/paravirt.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pud’: ./include/linux/string.h: In function ‘strnlen’: ./arch/x86/include/asm/paravirt.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/string.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/string.h: In function ‘strlcpy’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_p4d’: ./include/linux/string.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./arch/x86/include/asm/paravirt.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_p4d’: ./include/linux/string.h: In function ‘strncat’: ./arch/x86/include/asm/paravirt.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 370 | { | ^ ./include/linux/string.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pte’: ./include/linux/string.h: In function ‘memset’: ./arch/x86/include/asm/paravirt.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/string.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pud’: ./arch/x86/include/asm/paravirt.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/string.h: In function ‘memcpy’: ./include/linux/string.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/string.h: In function ‘memmove’: ./include/linux/string.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pud’: ./arch/x86/include/asm/paravirt.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/string.h: In function ‘memscan’: ./include/linux/string.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/string.h: In function ‘memcmp’: ./include/linux/string.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pud_val’: ./arch/x86/include/asm/paravirt.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/string.h: In function ‘memchr’: ./include/linux/string.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pte_val’: ./arch/x86/include/asm/paravirt.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/string.h: In function ‘memchr_inv’: ./include/linux/string.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pud_clear’: ./arch/x86/include/asm/paravirt.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/string.h: In function ‘kmemdup’: ./arch/x86/include/asm/paravirt.h: In function ‘set_p4d’: ./include/linux/string.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./arch/x86/include/asm/paravirt.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/string.h: In function ‘strcpy’: ./include/linux/string.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘p4d_clear’: ./arch/x86/include/asm/paravirt.h:570:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 570 | { | ^ ./include/linux/string.h: In function ‘memcpy_and_pad’: ./include/linux/string.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_atomic’: ./arch/x86/include/asm/paravirt.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/string.h: In function ‘str_has_prefix’: ./arch/x86/include/asm/paravirt.h: In function ‘pte_clear’: ./arch/x86/include/asm/paravirt.h: In function ‘__pgd’: ./include/linux/string.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./arch/x86/include/asm/paravirt.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./arch/x86/include/asm/paravirt.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pmd_clear’: ./arch/x86/include/asm/paravirt.h:609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 609 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_start_context_switch’: ./arch/x86/include/asm/paravirt.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ In file included from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’: ./include/linux/bitmap.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_end_context_switch’: ./arch/x86/include/asm/paravirt.h:621:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 621 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_zero’: ./include/linux/bitmap.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_fill’: ./include/linux/bitmap.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pgd_val’: ./arch/x86/include/asm/paravirt.h:412:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 412 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_copy’: ./include/linux/bitmap.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_enter_lazy_mmu_mode’: ./include/linux/bitmap.h: In function ‘bitmap_copy_clear_tail’: ./arch/x86/include/asm/paravirt.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/bitmap.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_and’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_leave_lazy_mmu_mode’: ./include/linux/bitmap.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./arch/x86/include/asm/paravirt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_or’: ./include/linux/bitmap.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_flush_lazy_mmu_mode’: ./arch/x86/include/asm/paravirt.h:637:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 637 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_xor’: ./include/linux/bitmap.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_andnot’: ./include/linux/bitmap.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_start’: ./arch/x86/include/asm/paravirt.h: In function ‘__set_fixmap’: ./arch/x86/include/asm/paravirt.h:427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 427 | { | ^ ./arch/x86/include/asm/paravirt.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_lock_slowpath’: ./include/linux/bitmap.h: In function ‘bitmap_complement’: ./arch/x86/include/asm/paravirt.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/bitmap.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_equal’: ./include/linux/bitmap.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_unlock’: ./arch/x86/include/asm/paravirt.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_commit’: ./include/linux/bitmap.h: In function ‘bitmap_intersects’: ./arch/x86/include/asm/paravirt.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/bitmap.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_wait’: ./arch/x86/include/asm/paravirt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_subset’: ./include/linux/bitmap.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte’: ./arch/x86/include/asm/paravirt.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_empty’: ./include/linux/bitmap.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_kick’: ./arch/x86/include/asm/paravirt.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ In file included from ./include/asm-generic/percpu.h:7, from ./arch/x86/include/asm/percpu.h:544, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/percpu-defs.h: In function ‘__this_cpu_preempt_check’: ./include/linux/bitmap.h: In function ‘bitmap_full’: ./include/linux/bitmap.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/percpu-defs.h:313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 313 | static inline void __this_cpu_preempt_check(const char *op) { } | ^~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘pv_vcpu_is_preempted’: ./arch/x86/include/asm/paravirt.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_weight’: ./include/linux/bitmap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_at’: ./arch/x86/include/asm/paravirt.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_set’: ./include/linux/bitmap.h:367:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 367 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pmd’: ./include/linux/bitmap.h: In function ‘bitmap_clear’: ./arch/x86/include/asm/paravirt.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/bitmap.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_save_flags’: ./arch/x86/include/asm/paravirt.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_right’: ./include/linux/bitmap.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_left’: ./include/linux/bitmap.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pmd’: ./arch/x86/include/asm/paravirt.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_parse’: ./include/linux/bitmap.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_restore’: In file included from ./include/linux/thread_info.h:12, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/bug.h: In function ‘is_warning_bug’: ./include/linux/bitmap.h: In function ‘bitmap_from_u64’: ./arch/x86/include/asm/paravirt.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/linux/bug.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/bitmap.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./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; } | ^~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_disable’: ./arch/x86/include/asm/paravirt.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/cpumask.h: In function ‘cpu_max_bits_warn’: ./include/linux/cpumask.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_check’: ./include/linux/cpumask.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_enable’: ./arch/x86/include/asm/paravirt.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_first’: In file included from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/math64.h: In function ‘div_u64_rem’: ./include/linux/cpumask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/math64.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_last’: ./include/linux/cpumask.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/math64.h: In function ‘div_s64_rem’: ./arch/x86/include/asm/paravirt.h: In function ‘pmd_val’: ./include/linux/math64.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_save’: ./arch/x86/include/asm/paravirt.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_next_zero’: ./include/linux/cpumask.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./arch/x86/include/asm/paravirt.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/math64.h: In function ‘div64_u64_rem’: ./include/linux/math64.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/math64.h: In function ‘div64_u64’: ./include/linux/math64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_set_cpu’: ./include/linux/math64.h: In function ‘div64_s64’: ./include/linux/math64.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/cpumask.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/linux/math64.h: In function ‘div_u64’: ./include/linux/cpumask.h: In function ‘__cpumask_set_cpu’: ./include/linux/math64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/cpumask.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/msr.h: In function ‘wrmsrl_safe’: ./include/linux/math64.h: In function ‘div_s64’: ./arch/x86/include/asm/msr.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/math64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_clear_cpu’: ./include/linux/cpumask.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/math64.h: In function ‘__iter_div_u64_rem’: ./include/linux/math64.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_clear_cpu’: ./include/linux/cpumask.h:331:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 331 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_cpu’: ./include/linux/math64.h: In function ‘mul_u32_u32’: ./include/linux/cpumask.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/math64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_shr’: ./include/linux/math64.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_and_set_cpu’: ./include/linux/cpumask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ In file included from ./arch/x86/include/asm/processor.h:24, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr0’: ./include/linux/math64.h: In function ‘mul_u64_u64_shr’: ./include/linux/math64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pud’: ./arch/x86/include/asm/special_insns.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_and_clear_cpu’: ./arch/x86/include/asm/paravirt.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/cpumask.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr0’: ./arch/x86/include/asm/special_insns.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/math64.h: In function ‘mul_u64_u32_div’: ./include/linux/cpumask.h: In function ‘cpumask_setall’: ./include/linux/math64.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/cpumask.h:380:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 380 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr2’: ./arch/x86/include/asm/special_insns.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_clear’: ./include/linux/cpumask.h:389:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 389 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr2’: ./arch/x86/include/asm/special_insns.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_and’: ./arch/x86/include/asm/special_insns.h: In function ‘__native_read_cr3’: ./include/linux/cpumask.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./arch/x86/include/asm/special_insns.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr3’: ./include/linux/cpumask.h: In function ‘cpumask_or’: ./arch/x86/include/asm/special_insns.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/cpumask.h:417:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 417 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pud’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr4’: ./arch/x86/include/asm/special_insns.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/paravirt.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_xor’: ./include/linux/cpumask.h:431:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 431 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr4’: In file included from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:13, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/time64.h: In function ‘timespec64_equal’: ./arch/x86/include/asm/special_insns.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/time64.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_andnot’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr8’: ./include/linux/cpumask.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./arch/x86/include/asm/special_insns.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/time64.h: In function ‘timespec64_compare’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr8’: ./include/linux/cpumask.h: In function ‘cpumask_complement’: ./include/linux/time64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/special_insns.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/cpumask.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_pkru’: ./arch/x86/include/asm/special_insns.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_equal’: ./include/linux/time64.h: In function ‘timespec64_add’: ./include/linux/cpumask.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/time64.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__write_pkru’: ./arch/x86/include/asm/special_insns.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pud_val’: ./include/linux/cpumask.h: In function ‘cpumask_intersects’: ./include/linux/time64.h: In function ‘timespec64_sub’: ./include/linux/time64.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./arch/x86/include/asm/paravirt.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/cpumask.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_wbinvd’: ./arch/x86/include/asm/special_insns.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_subset’: ./include/linux/time64.h: In function ‘timespec64_valid’: ./include/linux/time64.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/cpumask.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_cr4’: ./arch/x86/include/asm/special_insns.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_empty’: ./include/linux/cpumask.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid_strict’: ./arch/x86/include/asm/special_insns.h: In function ‘clflush’: ./include/linux/time64.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/special_insns.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_full’: ./include/linux/cpumask.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clflushopt’: ./arch/x86/include/asm/special_insns.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/time64.h: In function ‘timespec64_valid_settod’: ./include/linux/time64.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_weight’: ./arch/x86/include/asm/paravirt.h: In function ‘pud_clear’: ./include/linux/cpumask.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./arch/x86/include/asm/paravirt.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_right’: ./arch/x86/include/asm/special_insns.h: In function ‘clwb’: ./arch/x86/include/asm/paravirt.h: In function ‘set_p4d’: ./include/linux/time64.h: In function ‘timespec64_to_ns’: ./include/linux/cpumask.h:537:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 537 | { | ^ ./arch/x86/include/asm/special_insns.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/time64.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/paravirt.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_left’: ./include/linux/time64.h: In function ‘timespec64_add_ns’: ./include/linux/cpumask.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/time64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_copy’: ./include/linux/cpumask.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parse_user’: ./arch/x86/include/asm/paravirt.h: In function ‘p4d_clear’: ./include/linux/cpumask.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./arch/x86/include/asm/paravirt.h:570:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 570 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parselist_user’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_atomic’: In file included from ./include/linux/thread_info.h:21, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/current.h: In function ‘get_current’: ./include/linux/cpumask.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./arch/x86/include/asm/paravirt.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./arch/x86/include/asm/current.h:14:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 14 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pte_clear’: ./include/linux/cpumask.h: In function ‘cpumask_parse’: ./arch/x86/include/asm/paravirt.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./include/linux/cpumask.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pmd_clear’: ./arch/x86/include/asm/paravirt.h:609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 609 | { | ^ ./include/linux/cpumask.h: In function ‘cpulist_parse’: ./include/linux/cpumask.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_start_context_switch’: ./arch/x86/include/asm/paravirt.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_size’: ./include/linux/cpumask.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_end_context_switch’: ./include/linux/cpumask.h: In function ‘cpumask_available’: ./arch/x86/include/asm/paravirt.h:621:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 621 | { | ^ ./include/linux/cpumask.h:717:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 717 | { | ^ ./include/linux/cpumask.h: In function ‘reset_cpu_possible_mask’: ./include/linux/cpumask.h:787:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 787 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_possible’: ./include/linux/cpumask.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_present’: In file included from ./arch/x86/include/asm/processor.h:32, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/err.h: In function ‘ERR_PTR’: ./include/linux/cpumask.h:802:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 802 | { | ^ ./include/linux/err.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_online’: ./include/linux/err.h: In function ‘PTR_ERR’: ./include/linux/err.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/cpumask.h:811:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 811 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_enter_lazy_mmu_mode’: ./include/linux/err.h: In function ‘IS_ERR’: ./arch/x86/include/asm/paravirt.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/err.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_active’: ./include/linux/cpumask.h:820:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 820 | { | ^ ./include/linux/err.h: In function ‘IS_ERR_OR_NULL’: ./include/linux/err.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/cpumask.h: In function ‘__check_is_bitmap’: ./include/linux/cpumask.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_leave_lazy_mmu_mode’: ./arch/x86/include/asm/paravirt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/err.h: In function ‘ERR_CAST’: ./include/linux/err.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/cpumask.h: In function ‘get_cpu_mask’: ./include/linux/err.h: In function ‘PTR_ERR_OR_ZERO’: ./include/linux/cpumask.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/err.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_flush_lazy_mmu_mode’: ./arch/x86/include/asm/paravirt.h:637:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 637 | { | ^ ./include/linux/cpumask.h: In function ‘cpumap_print_to_pagebuf’: In file included from ./include/linux/irqflags.h:16, from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/irqflags.h: In function ‘native_save_fl’: ./include/linux/cpumask.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./arch/x86/include/asm/irqflags.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_restore_fl’: ./arch/x86/include/asm/irqflags.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__set_fixmap’: ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_disable’: ./arch/x86/include/asm/irqflags.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/paravirt.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_enable’: ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_lock_slowpath’: ./arch/x86/include/asm/irqflags.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/paravirt.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_safe_halt’: ./arch/x86/include/asm/irqflags.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_halt’: ./arch/x86/include/asm/irqflags.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ In file included from ./arch/x86/include/asm/cmpxchg.h:145, from ./arch/x86/include/asm/atomic.h:8, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/cmpxchg_64.h: In function ‘set_64bit’: ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled_flags’: ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_unlock’: ./arch/x86/include/asm/irqflags.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./arch/x86/include/asm/cmpxchg_64.h:6:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 6 | { | ^ ./arch/x86/include/asm/paravirt.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled’: ./arch/x86/include/asm/irqflags.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ In file included from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/irqflags.h: In function ‘trace_softirqs_on’: In file included from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_read’: ./arch/x86/include/asm/paravirt.h: In function ‘pv_wait’: ./include/linux/irqflags.h:25:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void trace_softirqs_on(unsigned long ip) { } | ^~~~~~ ./arch/x86/include/asm/atomic.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./arch/x86/include/asm/paravirt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/irqflags.h: In function ‘trace_softirqs_off’: ./include/linux/irqflags.h:26:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | static inline void trace_softirqs_off(unsigned long ip) { } | ^~~~~~ ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_on’: ./include/linux/irqflags.h:27:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | static inline void lockdep_hardirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_off’: ./include/linux/irqflags.h:28:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | static inline void lockdep_hardirqs_off(unsigned long ip) { } | ^~~~~~ ./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/paravirt.h: In function ‘pv_kick’: ./arch/x86/include/asm/paravirt.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/page_types.h:7, from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mem_encrypt.h: In function ‘mem_encrypt_active’: ./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 | { | ^ ./include/linux/mem_encrypt.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_vcpu_is_preempted’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_and_test’: ./include/linux/mem_encrypt.h: In function ‘sme_get_me_mask’: ./arch/x86/include/asm/atomic.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./arch/x86/include/asm/paravirt.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/mem_encrypt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/processor.h: In function ‘l1tf_pfn_limit’: ./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 | { | ^ In file included from ./arch/x86/include/asm/page.h:9, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/page_types.h: In function ‘get_max_mapped’: ./arch/x86/include/asm/processor.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec_and_test’: ./arch/x86/include/asm/page_types.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./arch/x86/include/asm/atomic.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘have_cpuid_p’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_save_flags’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_inc_and_test’: ./arch/x86/include/asm/processor.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/atomic.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/paravirt.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ In file included from ./arch/x86/include/asm/page.h:12, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/page_64.h: In function ‘__phys_addr_nodebug’: ./arch/x86/include/asm/processor.h: In function ‘native_cpuid’: ./arch/x86/include/asm/processor.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./arch/x86/include/asm/page_64.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_negative’: ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_eax’: ./arch/x86/include/asm/atomic.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./arch/x86/include/asm/processor.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | native_cpuid_reg(eax) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ./arch/x86/include/asm/page_64.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ebx’: ./arch/x86/include/asm/processor.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | native_cpuid_reg(ebx) | ^~~~~~~~~~~~~~~~ ./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/processor.h: In function ‘native_cpuid_ecx’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_restore’: ./arch/x86/include/asm/processor.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | native_cpuid_reg(ecx) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_edx’: ./arch/x86/include/asm/processor.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | native_cpuid_reg(edx) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘read_cr3_pa’: ./arch/x86/include/asm/processor.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./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/paravirt.h: In function ‘arch_local_irq_disable’: In file included from ./arch/x86/include/asm/page.h:21, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/range.h: In function ‘cap_resource’: ./arch/x86/include/asm/paravirt.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./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/processor.h: In function ‘native_read_cr3_pa’: ./arch/x86/include/asm/processor.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/range.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘load_cr3’: ./arch/x86/include/asm/processor.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/page.h: In function ‘clear_user_page’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_enable’: ./arch/x86/include/asm/page.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/paravirt.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./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/page.h: In function ‘copy_user_page’: ./arch/x86/include/asm/page.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_save’: ./arch/x86/include/asm/paravirt.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./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/processor.h: In function ‘cpu_kernelmode_gs_base’: ./arch/x86/include/asm/processor.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ In file included from ./arch/x86/include/asm/page.h:77, from ./arch/x86/include/asm/thread_info.h:12, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/getorder.h: In function ‘__get_order’: In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/msr.h: In function ‘wrmsrl_safe’: ./include/asm-generic/getorder.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/msr.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/processor.h:24, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr0’: ./arch/x86/include/asm/special_insns.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr0’: ./arch/x86/include/asm/special_insns.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘arch_thread_struct_whitelist’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr2’: ./arch/x86/include/asm/processor.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./arch/x86/include/asm/special_insns.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xchg’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr2’: ./arch/x86/include/asm/atomic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_set_iopl_mask’: ./arch/x86/include/asm/special_insns.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:5, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/segment.h: In function ‘vdso_encode_cpunode’: ./arch/x86/include/asm/processor.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__native_read_cr3’: ./arch/x86/include/asm/special_insns.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/segment.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_load_sp0’: ./arch/x86/include/asm/processor.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr3’: ./arch/x86/include/asm/special_insns.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’: ./arch/x86/include/asm/segment.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_and’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr4’: ./arch/x86/include/asm/atomic.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/special_insns.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr4’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_and’: ./arch/x86/include/asm/special_insns.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/atomic.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr8’: ./arch/x86/include/asm/special_insns.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_or’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr8’: ./arch/x86/include/asm/atomic.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./arch/x86/include/asm/special_insns.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./arch/x86/include/asm/segment.h: In function ‘__loadsegment_fs’: ./arch/x86/include/asm/segment.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_pkru’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_or’: ./arch/x86/include/asm/special_insns.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./arch/x86/include/asm/atomic.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__write_pkru’: ./arch/x86/include/asm/special_insns.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_wbinvd’: ./arch/x86/include/asm/special_insns.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_cr4’: ./arch/x86/include/asm/special_insns.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clflush’: ./arch/x86/include/asm/special_insns.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_swapgs’: ./arch/x86/include/asm/processor.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clflushopt’: ./arch/x86/include/asm/special_insns.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xor’: ./arch/x86/include/asm/processor.h: In function ‘current_top_of_stack’: ./arch/x86/include/asm/atomic.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/processor.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_xor’: ./arch/x86/include/asm/special_insns.h: In function ‘clwb’: ./arch/x86/include/asm/atomic.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./arch/x86/include/asm/special_insns.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:43, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/desc_defs.h: In function ‘gate_offset’: ./arch/x86/include/asm/desc_defs.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:262, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_read’: ./arch/x86/include/asm/processor.h: In function ‘on_thread_stack’: ./arch/x86/include/asm/processor.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./arch/x86/include/asm/atomic64_64.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./arch/x86/include/asm/desc_defs.h: In function ‘gate_segment’: ./arch/x86/include/asm/desc_defs.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_set’: ./arch/x86/include/asm/processor.h:602:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 602 | { | ^ ./arch/x86/include/asm/atomic64_64.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_count’: ./arch/x86/include/asm/processor.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add’: ./arch/x86/include/asm/atomic64_64.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_eax’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub’: ./arch/x86/include/asm/processor.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./arch/x86/include/asm/atomic64_64.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_and_test’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ebx’: ./arch/x86/include/asm/atomic64_64.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./arch/x86/include/asm/processor.h:631:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 631 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_ecx’: ./arch/x86/include/asm/processor.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc’: ./arch/x86/include/asm/atomic64_64.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_edx’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec’: ./arch/x86/include/asm/atomic64_64.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./arch/x86/include/asm/processor.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pgd’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec_and_test’: ./arch/x86/include/asm/processor.h: In function ‘rep_nop’: ./arch/x86/include/asm/atomic64_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./arch/x86/include/asm/processor.h:659:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 659 | { | ^ ./arch/x86/include/asm/pgtable_types.h:294:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 294 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpu_relax’: ./arch/x86/include/asm/processor.h:664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 664 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc_and_test’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pgd_val’: ./arch/x86/include/asm/processor.h: In function ‘sync_core’: ./arch/x86/include/asm/atomic64_64.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./arch/x86/include/asm/pgtable_types.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./arch/x86/include/asm/processor.h:683:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 683 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgd_flags’: In file included from ./arch/x86/include/asm/processor.h:32, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/err.h: In function ‘ERR_PTR’: ./arch/x86/include/asm/pgtable_types.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/err.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_negative’: ./include/linux/err.h: In function ‘PTR_ERR’: ./arch/x86/include/asm/atomic64_64.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘get_debugctlmsr’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_return’: ./arch/x86/include/asm/processor.h:757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 757 | { | ^ ./arch/x86/include/asm/atomic64_64.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘update_debugctlmsr’: ./arch/x86/include/asm/processor.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘prefetch’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_return’: ./arch/x86/include/asm/processor.h:804:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 804 | { | ^ ./arch/x86/include/asm/atomic64_64.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/err.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_add’: ./arch/x86/include/asm/atomic64_64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/err.h: In function ‘IS_ERR’: ./arch/x86/include/asm/processor.h: In function ‘prefetchw’: ./include/linux/err.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/processor.h:816:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 816 | { | ^ ./include/linux/err.h: In function ‘IS_ERR_OR_NULL’: ./include/linux/err.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘spin_lock_prefetch’: ./arch/x86/include/asm/processor.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_sub’: ./arch/x86/include/asm/atomic64_64.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/err.h: In function ‘ERR_CAST’: ./include/linux/err.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/err.h: In function ‘PTR_ERR_OR_ZERO’: ./include/linux/err.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘hypervisor_cpuid_base’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_cmpxchg’: ./arch/x86/include/asm/processor.h:955:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 955 | { | ^ ./arch/x86/include/asm/atomic64_64.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ In file included from ./include/linux/irqflags.h:16, from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/irqflags.h: In function ‘native_save_fl’: ./arch/x86/include/asm/irqflags.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_restore_fl’: ./arch/x86/include/asm/irqflags.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_disable’: ./arch/x86/include/asm/irqflags.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_try_cmpxchg’: ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_enable’: ./arch/x86/include/asm/irqflags.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/atomic64_64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_safe_halt’: ./arch/x86/include/asm/irqflags.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_halt’: ./arch/x86/include/asm/irqflags.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/cpufeature.h: In function ‘_static_cpu_has’: In file included from ./arch/x86/include/asm/pgtable_types.h:321, from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_none’: ./include/asm-generic/pgtable-nop4d.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | static inline int pgd_none(pgd_t pgd) { return 0; } | ^~~~~~ ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled_flags’: ./arch/x86/include/asm/cpufeature.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./arch/x86/include/asm/irqflags.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_bad’: ./include/asm-generic/pgtable-nop4d.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | static inline int pgd_bad(pgd_t pgd) { return 0; } | ^~~~~~ ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled’: ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_present’: ./arch/x86/include/asm/irqflags.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/asm-generic/pgtable-nop4d.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | static inline int pgd_present(pgd_t pgd) { return 1; } | ^~~~~~ ./include/asm-generic/pgtable-nop4d.h: In function ‘pgd_clear’: ./include/asm-generic/pgtable-nop4d.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void pgd_clear(pgd_t *pgd) { } | ^~~~~~ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xchg’: ./arch/x86/include/asm/atomic64_64.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/asm-generic/pgtable-nop4d.h: In function ‘p4d_offset’: In file included from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/irqflags.h: In function ‘trace_softirqs_on’: ./include/asm-generic/pgtable-nop4d.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/irqflags.h:25:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void trace_softirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/irqflags.h: In function ‘trace_softirqs_off’: ./include/linux/irqflags.h:26:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | static inline void trace_softirqs_off(unsigned long ip) { } | ^~~~~~ In file included from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/thread_info.h: In function ‘arch_within_stack_frames’: In file included from ./arch/x86/include/asm/paravirt_types.h:45, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_p4d’: ./arch/x86/include/asm/pgtable_types.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_on’: ./include/linux/irqflags.h:27:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | static inline void lockdep_hardirqs_on(unsigned long ip) { } | ^~~~~~ ./arch/x86/include/asm/thread_info.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_and’: ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_off’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_p4d_val’: ./include/linux/irqflags.h:28:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | static inline void lockdep_hardirqs_off(unsigned long ip) { } | ^~~~~~ ./arch/x86/include/asm/atomic64_64.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/pgtable_types.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_and’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pud’: ./arch/x86/include/asm/atomic64_64.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./arch/x86/include/asm/pgtable_types.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pud_val’: ./arch/x86/include/asm/pgtable_types.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_or’: In file included from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/thread_info.h: In function ‘set_ti_thread_flag’: ./arch/x86/include/asm/atomic64_64.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pmd’: ./arch/x86/include/asm/pgtable_types.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/thread_info.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_or’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pmd_val’: ./arch/x86/include/asm/atomic64_64.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/thread_info.h: In function ‘clear_ti_thread_flag’: ./arch/x86/include/asm/pgtable_types.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./include/linux/thread_info.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xor’: ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_pfn_mask’: ./arch/x86/include/asm/atomic64_64.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/pgtable_types.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/thread_info.h: In function ‘update_ti_thread_flag’: ./include/linux/thread_info.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_xor’: ./arch/x86/include/asm/atomic64_64.h:237:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 237 | { | ^ In file included from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/processor.h: In function ‘l1tf_pfn_limit’: ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags_mask’: ./include/linux/thread_info.h: In function ‘test_and_set_ti_thread_flag’: ./arch/x86/include/asm/pgtable_types.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/thread_info.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./arch/x86/include/asm/processor.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘p4d_flags’: ./include/linux/thread_info.h: In function ‘test_and_clear_ti_thread_flag’: ./arch/x86/include/asm/pgtable_types.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/linux/thread_info.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:265, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_read’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_pfn_mask’: ./arch/x86/include/asm/processor.h: In function ‘have_cpuid_p’: ./include/linux/thread_info.h: In function ‘test_ti_thread_flag’: ./arch/x86/include/asm/pgtable_types.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./arch/x86/include/asm/processor.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/thread_info.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/asm-generic/atomic-instrumented.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid’: ./arch/x86/include/asm/processor.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags_mask’: ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_eax’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_set’: ./include/linux/thread_info.h: In function ‘check_object_size’: ./arch/x86/include/asm/pgtable_types.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/processor.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | native_cpuid_reg(eax) | ^~~~~~~~~~~~~~~~ ./include/asm-generic/atomic-instrumented.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/thread_info.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_set’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pud_flags’: ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ebx’: ./include/asm-generic/atomic-instrumented.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/pgtable_types.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/processor.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | native_cpuid_reg(ebx) | ^~~~~~~~~~~~~~~~ ./include/linux/thread_info.h: In function ‘copy_overflow’: ./include/linux/thread_info.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_pfn_mask’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_xchg’: ./arch/x86/include/asm/pgtable_types.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ecx’: ./include/asm-generic/atomic-instrumented.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/processor.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | native_cpuid_reg(ecx) | ^~~~~~~~~~~~~~~~ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_xchg’: ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_edx’: ./include/asm-generic/atomic-instrumented.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/processor.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | native_cpuid_reg(edx) | ^~~~~~~~~~~~~~~~ ./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 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘read_cr3_pa’: ./arch/x86/include/asm/processor.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags_mask’: ./arch/x86/include/asm/pgtable_types.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_read_cr3_pa’: ./arch/x86/include/asm/pgtable_types.h: In function ‘pmd_flags’: ./arch/x86/include/asm/processor.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/pgtable_types.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘load_cr3’: ./arch/x86/include/asm/pgtable_types.h: In function ‘native_make_pte’: ./arch/x86/include/asm/processor.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./arch/x86/include/asm/pgtable_types.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_try_cmpxchg’: ./include/asm-generic/atomic-instrumented.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘native_pte_val’: ./arch/x86/include/asm/pgtable_types.h:444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 444 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pte_flags’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc’: In file included from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/preempt.h: In function ‘preempt_count’: ./include/asm-generic/atomic-instrumented.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./arch/x86/include/asm/pgtable_types.h:449:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 449 | { | ^ ./arch/x86/include/asm/preempt.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./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’: ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2protval’: ./include/asm-generic/atomic-instrumented.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./arch/x86/include/asm/pgtable_types.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add’: ./arch/x86/include/asm/processor.h: In function ‘cpu_kernelmode_gs_base’: ./include/asm-generic/atomic-instrumented.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘preempt_count_set’: ./arch/x86/include/asm/processor.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./arch/x86/include/asm/preempt.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add’: ./arch/x86/include/asm/pgtable_types.h: In function ‘cachemode2pgprot’: ./include/asm-generic/atomic-instrumented.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./arch/x86/include/asm/pgtable_types.h:475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 475 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot2cachemode’: ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_4k_2_large’: ./arch/x86/include/asm/processor.h: In function ‘arch_thread_struct_whitelist’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_and’: ./arch/x86/include/asm/preempt.h: In function ‘set_preempt_need_resched’: ./arch/x86/include/asm/pgtable_types.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/asm-generic/atomic-instrumented.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/processor.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./arch/x86/include/asm/preempt.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_or’: ./arch/x86/include/asm/processor.h: In function ‘native_set_iopl_mask’: ./include/asm-generic/atomic-instrumented.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/processor.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/pgtable_types.h: In function ‘pgprot_large_2_4k’: ./arch/x86/include/asm/pgtable_types.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_load_sp0’: ./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 | { | ^ ./arch/x86/include/asm/processor.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘clear_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./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 ‘atomic_dec_and_test’: ./include/asm-generic/atomic-instrumented.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘test_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_and_test’: ./include/asm-generic/atomic-instrumented.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_add’: ./arch/x86/include/asm/preempt.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc_and_test’: ./include/asm-generic/atomic-instrumented.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_swapgs’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_return’: ./arch/x86/include/asm/processor.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/asm-generic/atomic-instrumented.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘current_top_of_stack’: ./arch/x86/include/asm/processor.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_sub’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_add’: ./arch/x86/include/asm/preempt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./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’: ./arch/x86/include/asm/processor.h: In function ‘on_thread_stack’: ./include/asm-generic/atomic-instrumented.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./arch/x86/include/asm/processor.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_sub’: ./arch/x86/include/asm/processor.h:602:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 602 | { | ^ ./include/asm-generic/atomic-instrumented.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_count’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_and’: ./arch/x86/include/asm/processor.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./include/asm-generic/atomic-instrumented.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_eax’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_and’: ./arch/x86/include/asm/processor.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/asm-generic/atomic-instrumented.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ In file included from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/nospec-branch.h: In function ‘vmexit_fill_RSB’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ebx’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_or’: ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_dec_and_test’: ./arch/x86/include/asm/processor.h:631:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 631 | { | ^ ./include/asm-generic/atomic-instrumented.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./arch/x86/include/asm/nospec-branch.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/preempt.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_or’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ecx’: ./include/asm-generic/atomic-instrumented.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./arch/x86/include/asm/processor.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_xor’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_edx’: ./include/asm-generic/atomic-instrumented.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./arch/x86/include/asm/processor.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘should_resched’: ./arch/x86/include/asm/nospec-branch.h: In function ‘alternative_msr_write’: ./arch/x86/include/asm/preempt.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./arch/x86/include/asm/nospec-branch.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_xor’: ./arch/x86/include/asm/processor.h: In function ‘rep_nop’: ./include/asm-generic/atomic-instrumented.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 370 | { | ^ ./arch/x86/include/asm/processor.h:659:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 659 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_and_test’: ./arch/x86/include/asm/processor.h: In function ‘cpu_relax’: ./arch/x86/include/asm/nospec-branch.h: In function ‘indirect_branch_prediction_barrier’: ./include/asm-generic/atomic-instrumented.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./arch/x86/include/asm/processor.h:664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 664 | { | ^ ./arch/x86/include/asm/nospec-branch.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘sync_core’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub_and_test’: ./arch/x86/include/asm/processor.h:683:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 683 | { | ^ ./include/asm-generic/atomic-instrumented.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_clear_cpu_buffers’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add_negative’: ./arch/x86/include/asm/nospec-branch.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/asm-generic/atomic-instrumented.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘get_debugctlmsr’: ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_user_clear_cpu_buffers’: In file included from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/preempt.h: In function ‘preempt_notifier_init’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_negative’: ./arch/x86/include/asm/nospec-branch.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./arch/x86/include/asm/processor.h:757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 757 | { | ^ ./include/asm-generic/atomic-instrumented.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/preempt.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘update_debugctlmsr’: ./arch/x86/include/asm/processor.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./arch/x86/include/asm/nospec-branch.h: In function ‘mds_idle_clear_cpu_buffers’: ./arch/x86/include/asm/processor.h: In function ‘prefetch’: In file included from ./include/linux/spinlock.h:58, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/bottom_half.h: In function ‘__local_bh_disable_ip’: ./arch/x86/include/asm/nospec-branch.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./arch/x86/include/asm/processor.h:804:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 804 | { | ^ ./include/linux/bottom_half.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_disable’: ./include/linux/bottom_half.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘prefetchw’: ./arch/x86/include/asm/processor.h:816:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 816 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_enable_ip’: ./include/linux/bottom_half.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘spin_lock_prefetch’: ./arch/x86/include/asm/processor.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ In file included from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/atomic.h: In function ‘atomic_fetch_add_unless’: ./include/linux/bottom_half.h: In function ‘local_bh_enable’: ./include/linux/bottom_half.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/atomic.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘hypervisor_cpuid_base’: ./include/linux/atomic.h: In function ‘atomic_add_unless’: ./arch/x86/include/asm/processor.h:955:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 955 | { | ^ ./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 | { | ^ In file included from ./include/linux/spinlock_types.h:18, from ./include/linux/spinlock.h:82, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/lockdep.h: In function ‘lockdep_off’: ./include/linux/atomic.h: In function ‘atomic_dec_unless_positive’: ./include/linux/lockdep.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/atomic.h:689:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 689 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_on’: ./include/linux/lockdep.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./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/lockdep.h: In function ‘lockdep_invariant_state’: ./include/linux/lockdep.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | static inline void lockdep_invariant_state(bool force) {} | ^~~~~~ ./include/linux/lockdep.h: In function ‘lockdep_init_task’: In file included from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/cpufeature.h: In function ‘_static_cpu_has’: ./include/linux/lockdep.h:472:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | static inline void lockdep_init_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/lockdep.h: In function ‘lockdep_free_task’: ./arch/x86/include/asm/cpufeature.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/lockdep.h:473:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | static inline void lockdep_free_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/lockdep.h: In function ‘print_irqtrace_events’: ./include/linux/lockdep.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./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/lockdep.h: In function ‘lockdep_rcu_suspicious’: ./include/linux/lockdep.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ In file included from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/thread_info.h: In function ‘arch_within_stack_frames’: ./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 | { | ^ ./arch/x86/include/asm/thread_info.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./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 | { | ^ In file included from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_fetch_set_pending_acquire’: In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_return_value’: ./arch/x86/include/asm/qspinlock.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/ptrace.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ In file included from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/thread_info.h: In function ‘set_ti_thread_flag’: ./include/linux/atomic.h: In function ‘atomic64_dec_unless_positive’: ./include/linux/thread_info.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘regs_set_return_value’: ./include/linux/atomic.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./arch/x86/include/asm/ptrace.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/thread_info.h: In function ‘clear_ti_thread_flag’: ./arch/x86/include/asm/ptrace.h: In function ‘user_mode’: ./include/linux/thread_info.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/ptrace.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_dec_if_positive’: ./include/linux/thread_info.h: In function ‘update_ti_thread_flag’: ./arch/x86/include/asm/ptrace.h: In function ‘v8086_mode’: ./arch/x86/include/asm/qspinlock.h: In function ‘native_queued_spin_unlock’: ./include/linux/atomic.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./include/linux/thread_info.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./arch/x86/include/asm/ptrace.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/qspinlock.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘user_64bit_mode’: ./include/linux/thread_info.h: In function ‘test_and_set_ti_thread_flag’: ./arch/x86/include/asm/ptrace.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/thread_info.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/thread_info.h: In function ‘test_and_clear_ti_thread_flag’: ./include/linux/thread_info.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/ptrace.h: In function ‘kernel_stack_pointer’: ./arch/x86/include/asm/ptrace.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/thread_info.h: In function ‘test_ti_thread_flag’: In file included from ./include/linux/atomic.h:1315, from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_read’: ./include/linux/thread_info.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/asm-generic/atomic-long.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | ATOMIC_LONG_READ_OP() | ^~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_lock_slowpath’: ./arch/x86/include/asm/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ In file included from ./arch/x86/include/asm/ptrace.h:182, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/ptrace.h: In function ‘instruction_pointer’: ./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) | ^~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_unlock’: ./include/linux/thread_info.h: In function ‘check_object_size’: ./include/asm-generic/ptrace.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./arch/x86/include/asm/qspinlock.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/thread_info.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/asm-generic/ptrace.h: In function ‘instruction_pointer_set’: ./arch/x86/include/asm/qspinlock.h: In function ‘vcpu_is_preempted’: ./include/asm-generic/ptrace.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./arch/x86/include/asm/qspinlock.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/thread_info.h: In function ‘copy_overflow’: ./include/linux/thread_info.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer’: ./include/asm-generic/ptrace.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘virt_spin_lock’: ./arch/x86/include/asm/qspinlock.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/asm-generic/ptrace.h: In function ‘user_stack_pointer_set’: ./include/asm-generic/ptrace.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer’: ./include/asm-generic/ptrace.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/asm-generic/ptrace.h: In function ‘frame_pointer_set’: ./include/asm-generic/ptrace.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./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’: In file included from ./arch/x86/include/asm/qspinlock.h:95, from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_locked’: In file included from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_register’: ./include/asm-generic/atomic-long.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | ATOMIC_LONG_SET_OP(_release) | ^~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/ptrace.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/asm-generic/qspinlock.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ In file included from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/preempt.h: In function ‘preempt_count’: ./arch/x86/include/asm/preempt.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_value_unlocked’: ./include/asm-generic/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_contended’: ./include/asm-generic/qspinlock.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘preempt_count_set’: ./arch/x86/include/asm/ptrace.h: In function ‘regs_within_kernel_stack’: ./arch/x86/include/asm/preempt.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./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,) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/ptrace.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_trylock’: ./include/asm-generic/qspinlock.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth_addr’: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_lock’: ./arch/x86/include/asm/ptrace.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/asm-generic/qspinlock.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/preempt.h: In function ‘set_preempt_need_resched’: ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_stack_nth’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return’: ./arch/x86/include/asm/preempt.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/ptrace.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./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’: In file included from ./arch/x86/include/asm/qrwlock.h:6, from ./arch/x86/include/asm/spinlock.h:43, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/qrwlock.h: In function ‘queued_read_trylock’: ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/ptrace.h: In function ‘regs_get_kernel_argument’: ./include/asm-generic/qrwlock.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/ptrace.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/preempt.h: In function ‘clear_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./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/qrwlock.h: In function ‘queued_write_trylock’: ./include/asm-generic/qrwlock.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘test_preempt_need_resched’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc’: ./arch/x86/include/asm/preempt.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./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/qrwlock.h: In function ‘queued_read_lock’: ./include/asm-generic/qrwlock.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_add’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add’: ./arch/x86/include/asm/preempt.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./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/qrwlock.h: In function ‘queued_write_lock’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_add_relaxed’: ./include/asm-generic/qrwlock.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./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/qrwlock.h: In function ‘queued_read_unlock’: ./include/asm-generic/qrwlock.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./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/qrwlock.h: In function ‘queued_write_unlock’: ./include/asm-generic/qrwlock.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./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, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_sub’: ./arch/x86/include/asm/preempt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/spinlock.h: In function ‘do_raw_spin_lock’: ./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/linux/spinlock.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./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/linux/spinlock.h: In function ‘do_raw_spin_lock_flags’: ./include/linux/spinlock.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_dec_and_test’: ./arch/x86/include/asm/preempt.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_acquire’: ./include/linux/spinlock.h: In function ‘do_raw_spin_trylock’: ./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/linux/spinlock.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_release’: ./include/linux/spinlock.h: In function ‘do_raw_spin_unlock’: ./include/asm-generic/atomic-long.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | ATOMIC_LONG_FETCH_OP(and, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/preempt.h: In function ‘should_resched’: ./include/linux/spinlock.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./arch/x86/include/asm/preempt.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/preempt.h: In function ‘preempt_notifier_init’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or’: ./include/linux/preempt.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/asm-generic/atomic-long.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | ATOMIC_LONG_FETCH_OP(or, ) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/string_64.h: In function ‘memset16’: ./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) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/spinlock.h:58, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/bottom_half.h: In function ‘__local_bh_disable_ip’: ./arch/x86/include/asm/string_64.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/bottom_half.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_acquire’: In file included from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock’: ./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/linux/bottom_half.h: In function ‘local_bh_disable’: ./include/linux/bottom_half.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./include/linux/spinlock_api_smp.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memset32’: ./arch/x86/include/asm/string_64.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./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/linux/bottom_half.h: In function ‘local_bh_enable_ip’: ./include/linux/bottom_half.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor’: ./arch/x86/include/asm/string_64.h: In function ‘memset64’: ./include/asm-generic/atomic-long.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | ATOMIC_LONG_FETCH_OP(xor, ) | ^~~~~~~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irqsave’: ./arch/x86/include/asm/string_64.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/spinlock_api_smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_enable’: ./include/linux/bottom_half.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./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/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irq’: ./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/linux/spinlock_api_smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_mcsafe’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_release’: ./arch/x86/include/asm/string_64.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./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/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_bh’: ./include/linux/spinlock_api_smp.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./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,) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/spinlock_types.h:18, from ./include/linux/spinlock.h:82, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/lockdep.h: In function ‘lockdep_off’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_relaxed’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock’: ./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/linux/spinlock_api_smp.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/string_64.h: In function ‘memcpy_flushcache’: ./include/linux/lockdep.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./arch/x86/include/asm/string_64.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_on’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_acquire’: ./include/linux/lockdep.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock’: ./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/linux/spinlock_api_smp.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./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/linux/lockdep.h: In function ‘lockdep_invariant_state’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irqrestore’: ./include/linux/lockdep.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | static inline void lockdep_invariant_state(bool force) {} | ^~~~~~ ./include/linux/spinlock_api_smp.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec’: ./include/linux/lockdep.h: In function ‘lockdep_init_task’: ./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/linux/lockdep.h:472:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | static inline void lockdep_init_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/lockdep.h: In function ‘lockdep_free_task’: ./include/linux/lockdep.h:473:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | static inline void lockdep_free_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_relaxed’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irq’: ./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/linux/spinlock_api_smp.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/lockdep.h: In function ‘print_irqtrace_events’: ./include/linux/lockdep.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_acquire’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_bh’: ./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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/string.h: In function ‘strstrip’: ./include/linux/spinlock_api_smp.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/string.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./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/linux/lockdep.h: In function ‘lockdep_rcu_suspicious’: ./include/linux/lockdep.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock_bh’: ./include/linux/spinlock_api_smp.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./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/linux/string.h: In function ‘memset_l’: ./include/linux/string.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./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/linux/string.h: In function ‘memset_p’: ./include/linux/string.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_and’: In file included from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_fetch_set_pending_acquire’: ./include/asm-generic/atomic-long.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | ATOMIC_LONG_OP(and) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/qspinlock.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./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/linux/string.h: In function ‘strtobool’: In file included from ./include/linux/spinlock_api_smp.h:190, from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_trylock’: ./include/linux/string.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./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) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/qspinlock.h: In function ‘native_queued_spin_unlock’: ./include/linux/rwlock_api_smp.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/qspinlock.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./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/linux/rwlock_api_smp.h: In function ‘__raw_write_trylock’: ./include/linux/rwlock_api_smp.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_and_test’: ./include/linux/string.h: In function ‘strstarts’: ./include/asm-generic/atomic-long.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/string.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_and_test’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock’: ./include/asm-generic/atomic-long.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/rwlock_api_smp.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_lock_slowpath’: ./include/linux/string.h: In function ‘kbasename’: ./arch/x86/include/asm/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/string.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_negative’: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_unlock’: ./include/asm-generic/atomic-long.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/qspinlock.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irqsave’: ./include/linux/rwlock_api_smp.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘vcpu_is_preempted’: ./arch/x86/include/asm/qspinlock.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return’: ./include/linux/string.h: In function ‘strncpy’: ./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/linux/string.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irq’: ./arch/x86/include/asm/qspinlock.h: In function ‘virt_spin_lock’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_relaxed’: ./include/linux/rwlock_api_smp.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/qspinlock.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./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/linux/string.h: In function ‘strcat’: ./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/linux/string.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_bh’: ./include/linux/rwlock_api_smp.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./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/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irqsave’: In file included from ./arch/x86/include/asm/qspinlock.h:95, from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_locked’: ./include/linux/rwlock_api_smp.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/string.h: In function ‘strlen’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return’: ./include/linux/string.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/asm-generic/qspinlock.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./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/qspinlock.h: In function ‘queued_spin_value_unlocked’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_relaxed’: ./include/asm-generic/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./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/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irq’: ./include/linux/rwlock_api_smp.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_contended’: ./include/asm-generic/qspinlock.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./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/linux/string.h: In function ‘strnlen’: ./include/linux/string.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_bh’: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_trylock’: ./include/linux/rwlock_api_smp.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/asm-generic/qspinlock.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./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/linux/rwlock_api_smp.h: In function ‘__raw_write_lock’: ./include/asm-generic/atomic-long.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_lock’: ./include/linux/string.h: In function ‘strlcpy’: ./include/linux/rwlock_api_smp.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/asm-generic/qspinlock.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/string.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock’: ./include/linux/rwlock_api_smp.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ In file included from ./arch/x86/include/asm/qrwlock.h:6, from ./arch/x86/include/asm/spinlock.h:43, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/qrwlock.h: In function ‘queued_read_trylock’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock’: ./include/asm-generic/qrwlock.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/msr.h: In function ‘__rdmsr’: ./include/linux/rwlock_api_smp.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/linux/string.h: In function ‘strncat’: ./include/linux/string.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/msr.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irqrestore’: ./include/linux/rwlock_api_smp.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: ./arch/x86/include/asm/msr.h: In function ‘__wrmsr’: ./include/asm-generic/qrwlock.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/msr.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irq’: ./include/linux/rwlock_api_smp.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./include/linux/string.h: In function ‘memset’: ./arch/x86/include/asm/msr.h: In function ‘native_read_msr’: ./include/linux/string.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./arch/x86/include/asm/msr.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_read_lock’: ./include/asm-generic/qrwlock.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_bh’: ./include/linux/rwlock_api_smp.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_read_msr_safe’: ./arch/x86/include/asm/msr.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_lock’: ./include/linux/string.h: In function ‘memcpy’: ./include/asm-generic/qrwlock.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irqrestore’: ./include/linux/string.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/rwlock_api_smp.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_read_unlock’: ./arch/x86/include/asm/msr.h: In function ‘native_write_msr’: ./include/asm-generic/qrwlock.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/msr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irq’: ./include/linux/rwlock_api_smp.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_unlock’: ./include/linux/string.h: In function ‘memmove’: ./include/asm-generic/qrwlock.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/string.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr_safe’: ./arch/x86/include/asm/msr.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_bh’: ./include/linux/rwlock_api_smp.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/spinlock.h: In function ‘spinlock_check’: ./arch/x86/include/asm/msr.h: In function ‘rdtsc’: ./include/linux/spinlock.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./arch/x86/include/asm/msr.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/string.h: In function ‘memscan’: ./include/linux/string.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/spinlock.h: In function ‘do_raw_spin_lock’: ./include/linux/spinlock.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘rdtsc_ordered’: ./arch/x86/include/asm/msr.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/spinlock.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_bh’: ./include/linux/spinlock.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/spinlock.h: In function ‘do_raw_spin_lock_flags’: ./include/linux/spinlock.h: In function ‘spin_trylock’: ./include/linux/string.h: In function ‘memcmp’: ./include/linux/spinlock.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/spinlock.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./include/linux/string.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_read_pmc’: ./include/linux/spinlock.h: In function ‘do_raw_spin_trylock’: ./arch/x86/include/asm/msr.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/spinlock.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_irq’: ./include/linux/spinlock.h:353:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 353 | { | ^ ./include/linux/spinlock.h: In function ‘do_raw_spin_unlock’: ./include/linux/spinlock.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/spinlock.h: In function ‘spin_unlock’: ./include/linux/spinlock.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/string.h: In function ‘memchr’: ./include/linux/string.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/spinlock.h: In function ‘spin_unlock_bh’: ./include/linux/spinlock.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ In file included from ./arch/x86/include/asm/msr.h:246, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_sched_clock’: ./include/linux/spinlock.h: In function ‘spin_unlock_irq’: ./include/linux/spinlock.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./arch/x86/include/asm/paravirt.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/string.h: In function ‘memchr_inv’: ./include/linux/spinlock.h: In function ‘spin_unlock_irqrestore’: ./include/linux/string.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/spinlock.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock_bh’: ./include/linux/spinlock.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock_irq’: ./include/linux/string.h: In function ‘kmemdup’: ./include/linux/spinlock.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/string.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ In file included from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock’: ./include/linux/spinlock.h: In function ‘spin_is_locked’: ./include/linux/spinlock.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_steal_clock’: ./include/linux/spinlock_api_smp.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/paravirt.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/string.h: In function ‘strcpy’: ./include/linux/spinlock.h: In function ‘spin_is_contended’: ./include/linux/string.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./include/linux/spinlock.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irqsave’: ./include/linux/spinlock_api_smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/linux/string.h: In function ‘memcpy_and_pad’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irq’: ./include/linux/spinlock_api_smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/string.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/string.h: In function ‘str_has_prefix’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_bh’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/semaphore.h: In function ‘sema_init’: ./include/linux/spinlock_api_smp.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/string.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘slow_down_io’: ./arch/x86/include/asm/paravirt.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/semaphore.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock’: ./arch/x86/include/asm/paravirt.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/spinlock_api_smp.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock’: ./include/linux/spinlock_api_smp.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irqrestore’: ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_global’: ./include/linux/spinlock_api_smp.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./arch/x86/include/asm/paravirt.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ In file included from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’: ./include/linux/bitmap.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irq’: ./include/linux/spinlock_api_smp.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_one_user’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_bh’: ./arch/x86/include/asm/paravirt.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/spinlock_api_smp.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock_bh’: ./include/linux/spinlock_api_smp.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_zero’: ./include/linux/bitmap.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘flush_tlb_others’: ./arch/x86/include/asm/paravirt.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_fill’: ./include/linux/bitmap.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_tlb_remove_table’: ./arch/x86/include/asm/paravirt.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_copy’: ./include/linux/bitmap.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ In file included from ./include/linux/mmzone.h:10, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/wait.h: In function ‘init_waitqueue_entry’: In file included from ./include/linux/spinlock_api_smp.h:190, from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_trylock’: ./include/linux/bitmap.h: In function ‘bitmap_copy_clear_tail’: ./include/linux/wait.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/bitmap.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/rwlock_api_smp.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_exit_mmap’: ./arch/x86/include/asm/paravirt.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/wait.h: In function ‘init_waitqueue_func_entry’: ./include/linux/wait.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_trylock’: ./include/linux/rwlock_api_smp.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/wait.h: In function ‘waitqueue_active’: ./include/linux/wait.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_and’: ./include/linux/bitmap.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/wait.h: In function ‘wq_has_sleeper’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock’: ./include/linux/wait.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/rwlock_api_smp.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_sp0’: ./arch/x86/include/asm/paravirt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irqsave’: ./include/linux/wait.h: In function ‘__add_wait_queue’: ./include/linux/rwlock_api_smp.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_or’: ./include/linux/wait.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/bitmap.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_exclusive’: ./include/linux/wait.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__cpuid’: ./arch/x86/include/asm/paravirt.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irq’: ./include/linux/bitmap.h: In function ‘bitmap_xor’: ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail’: ./include/linux/rwlock_api_smp.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/bitmap.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/wait.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail_exclusive’: ./include/linux/wait.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_bh’: ./include/linux/rwlock_api_smp.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_andnot’: ./include/linux/bitmap.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/wait.h: In function ‘__remove_wait_queue’: ./include/linux/wait.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_get_debugreg’: ./arch/x86/include/asm/paravirt.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irqsave’: ./include/linux/rwlock_api_smp.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_complement’: ./include/linux/bitmap.h:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irq’: ./include/linux/bitmap.h: In function ‘bitmap_equal’: ./include/linux/rwlock_api_smp.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/bitmap.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_bh’: ./include/linux/rwlock_api_smp.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_debugreg’: ./arch/x86/include/asm/paravirt.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_intersects’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock’: ./include/linux/bitmap.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/rwlock_api_smp.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock’: ./include/linux/rwlock_api_smp.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_subset’: ./include/linux/bitmap.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr0’: ./arch/x86/include/asm/paravirt.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock’: ./include/linux/rwlock_api_smp.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ In file included from ./include/linux/mmzone.h:16, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/seqlock.h: In function ‘__seqcount_init’: ./include/linux/bitmap.h: In function ‘bitmap_empty’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irqrestore’: ./include/linux/seqlock.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/bitmap.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/rwlock_api_smp.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqcount_begin’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irq’: ./include/linux/rwlock_api_smp.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./include/linux/seqlock.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_full’: ./arch/x86/include/asm/paravirt.h: In function ‘write_cr0’: ./include/linux/bitmap.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_bh’: ./arch/x86/include/asm/paravirt.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/rwlock_api_smp.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irqrestore’: ./include/linux/rwlock_api_smp.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount’: ./include/linux/seqlock.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr2’: ./include/linux/bitmap.h: In function ‘bitmap_weight’: ./arch/x86/include/asm/paravirt.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/bitmap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irq’: ./include/linux/rwlock_api_smp.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_begin’: ./include/linux/seqlock.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_set’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_bh’: ./include/linux/bitmap.h:367:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 367 | { | ^ ./include/linux/rwlock_api_smp.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_begin’: ./include/linux/seqlock.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seqlock.h: In function ‘raw_seqcount_begin’: ./include/linux/seqlock.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/spinlock.h: In function ‘spinlock_check’: ./include/linux/spinlock.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_clear’: ./arch/x86/include/asm/paravirt.h: In function ‘write_cr2’: ./include/linux/spinlock.h: In function ‘spin_lock’: ./include/linux/bitmap.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/paravirt.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/spinlock.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_bh’: ./include/linux/seqlock.h: In function ‘__read_seqcount_retry’: ./include/linux/spinlock.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/seqlock.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock’: ./include/linux/spinlock.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_retry’: ./arch/x86/include/asm/paravirt.h: In function ‘__read_cr3’: ./include/linux/seqlock.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./arch/x86/include/asm/paravirt.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_irq’: ./include/linux/bitmap.h: In function ‘bitmap_shift_right’: ./include/linux/spinlock.h:353:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 353 | { | ^ ./include/linux/bitmap.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_begin’: ./include/linux/spinlock.h: In function ‘spin_unlock’: ./include/linux/seqlock.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/spinlock.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/spinlock.h: In function ‘spin_unlock_bh’: ./include/linux/seqlock.h: In function ‘raw_write_seqcount_end’: ./include/linux/spinlock.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./include/linux/seqlock.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_shift_left’: ./include/linux/spinlock.h: In function ‘spin_unlock_irq’: ./include/linux/bitmap.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_barrier’: ./include/linux/spinlock.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/seqlock.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_latch’: ./arch/x86/include/asm/paravirt.h: In function ‘write_cr3’: ./include/linux/spinlock.h: In function ‘spin_unlock_irqrestore’: ./include/linux/seqlock.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./arch/x86/include/asm/paravirt.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/bitmap.h: In function ‘bitmap_parse’: ./include/linux/spinlock.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/bitmap.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock_bh’: ./include/linux/bitmap.h: In function ‘bitmap_from_u64’: ./include/linux/spinlock.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/bitmap.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_latch’: ./include/linux/spinlock.h: In function ‘spin_trylock_irq’: ./arch/x86/include/asm/paravirt.h: In function ‘__write_cr4’: ./include/linux/seqlock.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/spinlock.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./arch/x86/include/asm/paravirt.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_begin_nested’: ./include/linux/seqlock.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/spinlock.h: In function ‘spin_is_locked’: ./include/linux/spinlock.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/cpumask.h: In function ‘cpu_max_bits_warn’: ./include/linux/seqlock.h: In function ‘write_seqcount_begin’: ./include/linux/seqlock.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/spinlock.h: In function ‘spin_is_contended’: ./arch/x86/include/asm/paravirt.h: In function ‘read_cr8’: ./include/linux/spinlock.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./arch/x86/include/asm/paravirt.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/cpumask.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_end’: ./include/linux/seqlock.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_check’: ./include/linux/cpumask.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_invalidate’: ./include/linux/seqlock.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_first’: ./include/linux/cpumask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin’: ./include/linux/seqlock.h:432:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 432 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_last’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/semaphore.h: In function ‘sema_init’: ./include/linux/cpumask.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqretry’: ./include/linux/semaphore.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/seqlock.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_next_zero’: ./include/linux/cpumask.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr8’: ./arch/x86/include/asm/paravirt.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock’: ./include/linux/seqlock.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock’: ./include/linux/seqlock.h:453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 453 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_set_cpu’: ./include/linux/cpumask.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_bh’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_safe_halt’: ./include/linux/seqlock.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/paravirt.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_set_cpu’: ./include/linux/seqlock.h: In function ‘write_sequnlock_bh’: ./include/linux/cpumask.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/seqlock.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_clear_cpu’: ./include/linux/cpumask.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_irq’: ./arch/x86/include/asm/paravirt.h: In function ‘halt’: ./include/linux/seqlock.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./arch/x86/include/asm/paravirt.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/cpumask.h: In function ‘__cpumask_clear_cpu’: ./include/linux/seqlock.h: In function ‘write_sequnlock_irq’: ./include/linux/cpumask.h:331:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 331 | { | ^ ./include/linux/seqlock.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_cpu’: ./include/linux/cpumask.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/seqlock.h: In function ‘__write_seqlock_irqsave’: ./include/linux/seqlock.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wbinvd’: ./arch/x86/include/asm/paravirt.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_test_and_set_cpu’: ./include/linux/cpumask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_irqrestore’: In file included from ./include/linux/mmzone.h:10, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/wait.h: In function ‘init_waitqueue_entry’: ./include/linux/cpumask.h: In function ‘cpumask_test_and_clear_cpu’: ./include/linux/seqlock.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/cpumask.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl’: ./include/linux/wait.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr’: ./include/linux/cpumask.h: In function ‘cpumask_setall’: ./include/linux/seqlock.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./arch/x86/include/asm/paravirt.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/cpumask.h:380:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 380 | { | ^ ./include/linux/wait.h: In function ‘init_waitqueue_func_entry’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl’: ./include/linux/wait.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_clear’: ./include/linux/seqlock.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/cpumask.h:389:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 389 | { | ^ ./include/linux/wait.h: In function ‘waitqueue_active’: ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock’: ./include/linux/wait.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/seqlock.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_and’: ./include/linux/cpumask.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/wait.h: In function ‘wq_has_sleeper’: ./include/linux/wait.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/seqlock.h: In function ‘need_seqretry’: ./include/linux/cpumask.h: In function ‘cpumask_or’: ./include/linux/seqlock.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/cpumask.h:417:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 417 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue’: ./include/linux/wait.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/seqlock.h: In function ‘done_seqretry’: ./include/linux/cpumask.h: In function ‘cpumask_xor’: ./include/linux/seqlock.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_exclusive’: ./include/linux/cpumask.h:431:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 431 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr’: ./include/linux/wait.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./arch/x86/include/asm/paravirt.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl_bh’: ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail’: ./include/linux/cpumask.h: In function ‘cpumask_andnot’: ./include/linux/wait.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/seqlock.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/cpumask.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail_exclusive’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_bh’: ./include/linux/wait.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/seqlock.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_complement’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr_safe’: ./include/linux/seqlock.h: In function ‘read_seqlock_excl_irq’: ./include/linux/wait.h: In function ‘__remove_wait_queue’: ./arch/x86/include/asm/paravirt.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/cpumask.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/wait.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/seqlock.h:556:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 556 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irq’: ./include/linux/cpumask.h: In function ‘cpumask_equal’: ./include/linux/seqlock.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/cpumask.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqlock_excl_irqsave’: ./include/linux/seqlock.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_intersects’: ./include/linux/cpumask.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_subset’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irqrestore’: ./include/linux/cpumask.h:497:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 497 | { | ^ ./include/linux/seqlock.h:578:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 578 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_empty’: ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock_irqsave’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr_safe’: ./include/linux/cpumask.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./arch/x86/include/asm/paravirt.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/seqlock.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_full’: ./include/linux/cpumask.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/seqlock.h: In function ‘done_seqretry_irqrestore’: ./include/linux/seqlock.h:597:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 597 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_weight’: ./include/linux/cpumask.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_right’: ./include/linux/cpumask.h:537:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 537 | { | ^ In file included from ./include/linux/mmzone.h:16, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/seqlock.h: In function ‘__seqcount_init’: In file included from ./include/linux/mmzone.h:17, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/nodemask.h: In function ‘__nodemask_pr_numnodes’: ./include/linux/seqlock.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_shift_left’: ./include/linux/cpumask.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/nodemask.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wrmsrl’: ./include/linux/seqlock.h: In function ‘__read_seqcount_begin’: ./arch/x86/include/asm/paravirt.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./include/linux/seqlock.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_copy’: ./include/linux/nodemask.h: In function ‘__nodemask_pr_bits’: ./include/linux/nodemask.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/cpumask.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘rdmsrl_safe’: ./arch/x86/include/asm/paravirt.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/nodemask.h: In function ‘__node_set’: ./include/linux/nodemask.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_pmc’: ./include/linux/cpumask.h: In function ‘cpumask_parse_user’: ./arch/x86/include/asm/paravirt.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount’: ./include/linux/cpumask.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/nodemask.h: In function ‘__node_clear’: ./include/linux/seqlock.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/nodemask.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_parselist_user’: ./include/linux/nodemask.h: In function ‘__nodes_setall’: ./include/linux/nodemask.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/cpumask.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_begin’: ./include/linux/seqlock.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_clear’: ./include/linux/cpumask.h: In function ‘cpumask_parse’: ./include/linux/nodemask.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/cpumask.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_begin’: ./include/linux/nodemask.h: In function ‘__node_test_and_set’: ./include/linux/seqlock.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/nodemask.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/linux/seqlock.h: In function ‘raw_seqcount_begin’: ./include/linux/seqlock.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_and’: ./include/linux/cpumask.h: In function ‘cpulist_parse’: ./include/linux/nodemask.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_ldt’: ./include/linux/cpumask.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./arch/x86/include/asm/paravirt.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/cpumask.h: In function ‘cpumask_size’: ./include/linux/nodemask.h: In function ‘__nodes_or’: ./include/linux/seqlock.h: In function ‘__read_seqcount_retry’: ./include/linux/nodemask.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/cpumask.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/seqlock.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_xor’: ./include/linux/seqlock.h: In function ‘read_seqcount_retry’: ./include/linux/nodemask.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/seqlock.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_free_ldt’: ./arch/x86/include/asm/paravirt.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_begin’: ./include/linux/cpumask.h: In function ‘cpumask_available’: ./include/linux/nodemask.h: In function ‘__nodes_andnot’: ./include/linux/seqlock.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/nodemask.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/cpumask.h:717:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 717 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_end’: ./include/linux/seqlock.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_complement’: ./include/linux/nodemask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_barrier’: ./arch/x86/include/asm/paravirt.h: In function ‘load_TR_desc’: ./include/linux/seqlock.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./arch/x86/include/asm/paravirt.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_equal’: ./include/linux/cpumask.h: In function ‘reset_cpu_possible_mask’: ./include/linux/nodemask.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_latch’: ./include/linux/cpumask.h:787:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 787 | { | ^ ./include/linux/seqlock.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_intersects’: ./include/linux/cpumask.h: In function ‘set_cpu_possible’: ./include/linux/nodemask.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/cpumask.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_gdt’: ./include/linux/seqlock.h: In function ‘raw_write_seqcount_latch’: ./arch/x86/include/asm/paravirt.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_subset’: ./include/linux/seqlock.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/nodemask.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_present’: ./include/linux/cpumask.h:802:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 802 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_empty’: ./include/linux/seqlock.h: In function ‘write_seqcount_begin_nested’: ./include/linux/nodemask.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/seqlock.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_online’: ./include/linux/nodemask.h: In function ‘__nodes_full’: ./include/linux/cpumask.h:811:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 811 | { | ^ ./include/linux/nodemask.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_idt’: ./include/linux/seqlock.h: In function ‘write_seqcount_begin’: ./arch/x86/include/asm/paravirt.h:268:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | { | ^ ./include/linux/seqlock.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/cpumask.h: In function ‘set_cpu_active’: ./include/linux/nodemask.h: In function ‘__nodes_weight’: ./include/linux/cpumask.h:820:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 820 | { | ^ ./include/linux/nodemask.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_end’: ./include/linux/seqlock.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_right’: ./include/linux/cpumask.h: In function ‘__check_is_bitmap’: ./include/linux/seqlock.h: In function ‘write_seqcount_invalidate’: ./include/linux/nodemask.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/seqlock.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/cpumask.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_left’: ./arch/x86/include/asm/paravirt.h: In function ‘set_ldt’: ./include/linux/nodemask.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./arch/x86/include/asm/paravirt.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/cpumask.h: In function ‘get_cpu_mask’: ./include/linux/seqlock.h: In function ‘read_seqbegin’: ./include/linux/seqlock.h:432:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 432 | { | ^ ./include/linux/cpumask.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/nodemask.h: In function ‘__first_node’: ./include/linux/nodemask.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqretry’: ./include/linux/seqlock.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/cpumask.h: In function ‘cpumap_print_to_pagebuf’: ./include/linux/seqlock.h: In function ‘write_seqlock’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_store_tr’: ./include/linux/seqlock.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./arch/x86/include/asm/paravirt.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/cpumask.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock’: ./include/linux/seqlock.h:453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 453 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_bh’: ./include/linux/seqlock.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_bh’: ./include/linux/seqlock.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/nodemask.h: In function ‘__next_node’: ./include/linux/nodemask.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_irq’: ./include/linux/seqlock.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_irq’: ./include/linux/seqlock.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TLS’: ./arch/x86/include/asm/paravirt.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/seqlock.h: In function ‘__write_seqlock_irqsave’: ./include/linux/seqlock.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ In file included from ./arch/x86/include/asm/cmpxchg.h:145, from ./arch/x86/include/asm/atomic.h:8, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/cmpxchg_64.h: In function ‘set_64bit’: ./include/linux/seqlock.h: In function ‘write_sequnlock_irqrestore’: ./arch/x86/include/asm/paravirt.h: In function ‘load_gs_index’: ./include/linux/seqlock.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./arch/x86/include/asm/cmpxchg_64.h:6:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 6 | { | ^ ./arch/x86/include/asm/paravirt.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl’: ./include/linux/nodemask.h: In function ‘init_nodemask_of_node’: ./include/linux/seqlock.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/nodemask.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl’: ./include/linux/seqlock.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_ldt_entry’: ./include/linux/nodemask.h: In function ‘__first_unset_node’: ./arch/x86/include/asm/paravirt.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock’: ./include/linux/nodemask.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/seqlock.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ In file included from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./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 | { | ^ ./include/linux/seqlock.h: In function ‘need_seqretry’: ./include/linux/seqlock.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_gdt_entry’: ./include/linux/seqlock.h: In function ‘done_seqretry’: ./arch/x86/include/asm/paravirt.h:301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 301 | { | ^ ./include/linux/seqlock.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_set’: ./include/linux/seqlock.h: In function ‘read_seqlock_excl_bh’: ./arch/x86/include/asm/atomic.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/seqlock.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_bh’: ./include/linux/seqlock.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add’: ./include/linux/nodemask.h: In function ‘__nodemask_parse_user’: ./include/linux/seqlock.h: In function ‘read_seqlock_excl_irq’: ./arch/x86/include/asm/atomic.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_idt_entry’: ./include/linux/nodemask.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/seqlock.h:556:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 556 | { | ^ ./arch/x86/include/asm/paravirt.h:306:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 306 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irq’: ./include/linux/nodemask.h: In function ‘__nodelist_parse’: ./arch/x86/include/asm/atomic.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/seqlock.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/nodemask.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqlock_excl_irqsave’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_and_test’: ./include/linux/seqlock.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/atomic.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/nodemask.h: In function ‘__node_remap’: ./include/linux/nodemask.h:349:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 349 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_iopl_mask’: ./arch/x86/include/asm/paravirt.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_remap’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irqrestore’: ./include/linux/seqlock.h:578:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 578 | { | ^ ./include/linux/nodemask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./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 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock_irqsave’: ./include/linux/nodemask.h: In function ‘__nodes_onto’: ./include/linux/seqlock.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/nodemask.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./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/paravirt.h: In function ‘paravirt_activate_mm’: ./include/linux/nodemask.h: In function ‘__nodes_fold’: ./include/linux/seqlock.h: In function ‘done_seqretry_irqrestore’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_dec_and_test’: ./arch/x86/include/asm/paravirt.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./include/linux/nodemask.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./arch/x86/include/asm/atomic.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/seqlock.h:597:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 597 | { | ^ ./include/linux/nodemask.h: In function ‘node_state’: ./include/linux/nodemask.h:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | { | ^ ./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 | { | ^ In file included from ./include/linux/mmzone.h:17, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/nodemask.h: In function ‘__nodemask_pr_numnodes’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_dup_mmap’: ./arch/x86/include/asm/paravirt.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./include/linux/nodemask.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_state’: ./include/linux/nodemask.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_negative’: ./include/linux/nodemask.h: In function ‘__nodemask_pr_bits’: ./arch/x86/include/asm/atomic.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/nodemask.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/nodemask.h: In function ‘node_clear_state’: ./include/linux/nodemask.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/nodemask.h: In function ‘__node_set’: ./include/linux/nodemask.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/nodemask.h: In function ‘num_node_state’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_alloc’: ./include/linux/nodemask.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_add_return’: ./arch/x86/include/asm/paravirt.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./include/linux/nodemask.h: In function ‘__node_clear’: ./arch/x86/include/asm/atomic.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/nodemask.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/nodemask.h: In function ‘next_online_node’: ./include/linux/nodemask.h: In function ‘__nodes_setall’: ./include/linux/nodemask.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./include/linux/nodemask.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/nodemask.h: In function ‘next_memory_node’: ./include/linux/nodemask.h: In function ‘__nodes_clear’: ./include/linux/nodemask.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/nodemask.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/nodemask.h: In function ‘__node_test_and_set’: ./include/linux/nodemask.h: In function ‘node_set_online’: ./include/linux/nodemask.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_sub_return’: ./include/linux/nodemask.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ ./arch/x86/include/asm/atomic.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_and’: ./include/linux/nodemask.h: In function ‘node_set_offline’: ./include/linux/nodemask.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_add’: ./include/linux/nodemask.h:457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 457 | { | ^ ./arch/x86/include/asm/atomic.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_or’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_free’: ./include/linux/nodemask.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./arch/x86/include/asm/paravirt.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_xor’: ./include/linux/nodemask.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_sub’: ./include/linux/nodemask.h: In function ‘__nodes_andnot’: ./arch/x86/include/asm/atomic.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/nodemask.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pte’: ./arch/x86/include/asm/paravirt.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_complement’: ./include/linux/nodemask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_equal’: ./include/linux/nodemask.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_cmpxchg’: In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mmzone.h: In function ‘is_migrate_movable’: ./arch/x86/include/asm/atomic.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_intersects’: ./include/linux/nodemask.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pte’: ./include/linux/mmzone.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./arch/x86/include/asm/paravirt.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_subset’: ./include/linux/nodemask.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_empty’: ./include/linux/nodemask.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_full’: ./include/linux/nodemask.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pmd’: ./arch/x86/include/asm/paravirt.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_try_cmpxchg’: ./include/linux/nodemask.h: In function ‘__nodes_weight’: ./arch/x86/include/asm/atomic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/nodemask.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/mmzone.h: In function ‘is_file_lru’: ./include/linux/mmzone.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_right’: ./include/linux/nodemask.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/mmzone.h: In function ‘is_active_lru’: ./include/linux/mmzone.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_left’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pmd’: ./include/linux/nodemask.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/linux/nodemask.h: In function ‘__first_node’: ./include/linux/nodemask.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./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/paravirt.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/mmzone.h: In function ‘zone_managed_pages’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_and’: ./include/linux/mmzone.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/nodemask.h: In function ‘__next_node’: ./arch/x86/include/asm/atomic.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/nodemask.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/linux/mmzone.h: In function ‘zone_end_pfn’: ./include/linux/mmzone.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/mmzone.h: In function ‘zone_spans_pfn’: ./include/linux/mmzone.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_initialized’: ./include/linux/mmzone.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_empty’: ./include/linux/mmzone.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/nodemask.h: In function ‘init_nodemask_of_node’: ./include/linux/nodemask.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/mmzone.h: In function ‘zone_intersects’: ./include/linux/mmzone.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_and’: ./include/linux/nodemask.h: In function ‘__first_unset_node’: ./arch/x86/include/asm/atomic.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/nodemask.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_or’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pud’: ./arch/x86/include/asm/paravirt.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./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/paravirt.h: In function ‘paravirt_release_pud’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_xor’: ./arch/x86/include/asm/paravirt.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./arch/x86/include/asm/atomic.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/nodemask.h: In function ‘__nodemask_parse_user’: ./include/linux/nodemask.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/mmzone.h: In function ‘zone_lru_lock’: ./arch/x86/include/asm/atomic.h: In function ‘arch_atomic_fetch_xor’: ./include/linux/mmzone.h:732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 732 | { | ^ ./arch/x86/include/asm/atomic.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/nodemask.h: In function ‘__nodelist_parse’: ./include/linux/nodemask.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/mmzone.h: In function ‘node_lruvec’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_p4d’: ./include/linux/mmzone.h:737:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 737 | { | ^ ./arch/x86/include/asm/paravirt.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./include/linux/nodemask.h: In function ‘__node_remap’: ./include/linux/nodemask.h:349:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 349 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_end_pfn’: In file included from ./arch/x86/include/asm/atomic.h:262, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_read’: ./include/linux/mmzone.h:742:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 742 | { | ^ ./arch/x86/include/asm/atomic64_64.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_remap’: ./include/linux/mmzone.h: In function ‘pgdat_is_empty’: ./include/linux/nodemask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/mmzone.h:747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 747 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_p4d’: ./include/linux/nodemask.h: In function ‘__nodes_onto’: ./arch/x86/include/asm/paravirt.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 370 | { | ^ ./include/linux/nodemask.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_set’: ./arch/x86/include/asm/atomic64_64.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_fold’: ./include/linux/nodemask.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add’: ./include/linux/nodemask.h: In function ‘node_state’: ./arch/x86/include/asm/paravirt.h: In function ‘__pte’: ./arch/x86/include/asm/atomic64_64.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/nodemask.h:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | { | ^ ./arch/x86/include/asm/paravirt.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub’: ./arch/x86/include/asm/atomic64_64.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_state’: ./include/linux/nodemask.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_and_test’: ./arch/x86/include/asm/atomic64_64.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/nodemask.h: In function ‘node_clear_state’: ./include/linux/nodemask.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/nodemask.h: In function ‘num_node_state’: ./include/linux/nodemask.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc’: ./arch/x86/include/asm/atomic64_64.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/nodemask.h: In function ‘next_online_node’: ./include/linux/nodemask.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec’: ./arch/x86/include/asm/atomic64_64.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/nodemask.h: In function ‘next_memory_node’: ./include/linux/nodemask.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_dec_and_test’: ./include/linux/nodemask.h: In function ‘node_set_online’: ./arch/x86/include/asm/atomic64_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/nodemask.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ In file included from ./include/linux/mutex.h:20, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/osq_lock.h: In function ‘osq_lock_init’: ./include/linux/nodemask.h: In function ‘node_set_offline’: ./include/linux/nodemask.h:457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 457 | { | ^ ./include/linux/osq_lock.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_inc_and_test’: ./arch/x86/include/asm/atomic64_64.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/osq_lock.h: In function ‘osq_is_locked’: ./include/linux/osq_lock.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_negative’: ./arch/x86/include/asm/atomic64_64.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ In file included from ./include/linux/mutex.h:21, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./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 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_add_return’: ./arch/x86/include/asm/atomic64_64.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pte_val’: ./arch/x86/include/asm/paravirt.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mmzone.h: In function ‘is_migrate_movable’: ./include/linux/debug_locks.h: In function ‘debug_show_all_locks’: ./include/linux/mmzone.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/debug_locks.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_sub_return’: ./arch/x86/include/asm/atomic64_64.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_held_locks’: ./include/linux/debug_locks.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_freed’: ./include/linux/debug_locks.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_add’: ./arch/x86/include/asm/atomic64_64.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_held’: ./include/linux/debug_locks.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mutex.h: In function ‘__mutex_owner’: ./include/linux/mutex.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/mmzone.h: In function ‘is_file_lru’: ./include/linux/mmzone.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_sub’: ./arch/x86/include/asm/atomic64_64.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/mutex.h: In function ‘mutex_destroy’: ./include/linux/mutex.h:102:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void mutex_destroy(struct mutex *lock) {} | ^~~~~ ./include/linux/mmzone.h: In function ‘is_active_lru’: ./include/linux/mmzone.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/mutex.h: In function ‘mutex_is_locked’: ./include/linux/mutex.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_cmpxchg’: ./arch/x86/include/asm/atomic64_64.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pgd’: ./include/linux/mutex.h: In function ‘mutex_trylock_recursive’: ./arch/x86/include/asm/paravirt.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/mutex.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/mmzone.h: In function ‘zone_managed_pages’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_try_cmpxchg’: ./arch/x86/include/asm/atomic64_64.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./include/linux/mmzone.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ In file included from ./include/linux/rwsem.h:61, from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/rwsem.h: In function ‘__down_read’: ./include/linux/mmzone.h: In function ‘zone_end_pfn’: ./include/linux/mmzone.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./arch/x86/include/asm/rwsem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/mmzone.h: In function ‘zone_spans_pfn’: ./include/linux/mmzone.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_killable’: ./arch/x86/include/asm/rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_initialized’: ./include/linux/mmzone.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_empty’: ./include/linux/mmzone.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_trylock’: ./arch/x86/include/asm/rwsem.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/mmzone.h: In function ‘zone_intersects’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xchg’: ./arch/x86/include/asm/atomic64_64.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/mmzone.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pgd_val’: ./arch/x86/include/asm/rwsem.h: In function ‘__down_write’: ./arch/x86/include/asm/paravirt.h:412:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 412 | { | ^ ./arch/x86/include/asm/rwsem.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_and’: ./arch/x86/include/asm/atomic64_64.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_killable’: ./arch/x86/include/asm/rwsem.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_and’: ./arch/x86/include/asm/atomic64_64.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/linux/mmzone.h: In function ‘zone_lru_lock’: ./include/linux/mmzone.h:732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 732 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_trylock’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_or’: ./arch/x86/include/asm/rwsem.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./arch/x86/include/asm/atomic64_64.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/mmzone.h: In function ‘node_lruvec’: ./include/linux/mmzone.h:737:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 737 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_or’: ./arch/x86/include/asm/atomic64_64.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_end_pfn’: ./include/linux/mmzone.h:742:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 742 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_read’: ./arch/x86/include/asm/rwsem.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_is_empty’: ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_xor’: ./include/linux/mmzone.h:747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 747 | { | ^ ./arch/x86/include/asm/atomic64_64.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_write’: ./arch/x86/include/asm/rwsem.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/atomic64_64.h: In function ‘arch_atomic64_fetch_xor’: ./arch/x86/include/asm/atomic64_64.h:237:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 237 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_start’: ./arch/x86/include/asm/paravirt.h:427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 427 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__downgrade_write’: ./arch/x86/include/asm/rwsem.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ In file included from ./arch/x86/include/asm/atomic.h:265, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_read’: In file included from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rwsem.h: In function ‘rwsem_is_locked’: ./include/asm-generic/atomic-instrumented.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/rwsem.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./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/linux/rwsem.h: In function ‘rwsem_is_contended’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_set’: ./include/linux/rwsem.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_commit’: ./arch/x86/include/asm/paravirt.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./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 | { | ^ In file included from ./include/linux/mutex.h:20, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/osq_lock.h: In function ‘osq_lock_init’: ./include/linux/osq_lock.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcupdate.h: In function ‘__rcu_read_lock’: ./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/linux/osq_lock.h: In function ‘osq_is_locked’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte’: ./include/linux/rcupdate.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/osq_lock.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./arch/x86/include/asm/paravirt.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./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/linux/rcupdate.h: In function ‘__rcu_read_unlock’: ./include/linux/rcupdate.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_try_cmpxchg’: In file included from ./include/linux/mutex.h:21, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/debug_locks.h: In function ‘__debug_locks_off’: ./include/asm-generic/atomic-instrumented.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/debug_locks.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_preempt_depth’: ./include/linux/rcupdate.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_try_cmpxchg’: ./include/asm-generic/atomic-instrumented.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_user_enter’: ./include/linux/rcupdate.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | static inline void rcu_user_enter(void) { } | ^~~~~~ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc’: ./include/linux/rcupdate.h: In function ‘rcu_user_exit’: ./include/asm-generic/atomic-instrumented.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/rcupdate.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | static inline void rcu_user_exit(void) { } | ^~~~~~ ./include/linux/rcupdate.h: In function ‘rcu_init_nohz’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_at’: ./include/linux/debug_locks.h: In function ‘debug_show_all_locks’: ./include/linux/rcupdate.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | static inline void rcu_init_nohz(void) { } | ^~~~~~ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc’: ./include/linux/debug_locks.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/paravirt.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/asm-generic/atomic-instrumented.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_held_locks’: ./include/linux/debug_locks.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_freed’: ./include/linux/debug_locks.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./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/linux/debug_locks.h: In function ‘debug_check_no_locks_held’: ./include/linux/debug_locks.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add’: In file included from ./include/linux/rcupdate.h:186, from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcutree.h: In function ‘rcu_virt_note_context_switch’: ./include/asm-generic/atomic-instrumented.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ In file included from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mutex.h: In function ‘__mutex_owner’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pmd’: ./include/linux/rcutree.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/mutex.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./arch/x86/include/asm/paravirt.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./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/linux/mutex.h: In function ‘mutex_destroy’: ./include/asm-generic/atomic-instrumented.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/linux/mutex.h:102:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void mutex_destroy(struct mutex *lock) {} | ^~~~~ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub’: In file included from ./arch/x86/include/asm/alternative.h:7, from ./arch/x86/include/asm/barrier.h:5, from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcupdate.h: In function ‘init_rcu_head’: ./include/linux/mutex.h: In function ‘mutex_is_locked’: ./include/asm-generic/atomic-instrumented.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/mutex.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_and’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:207:41: note: in expansion of macro ‘rcu_head’ 207 | static inline void init_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/asm-generic/atomic-instrumented.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_and’: ./include/linux/mutex.h: In function ‘mutex_trylock_recursive’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:208:44: note: in expansion of macro ‘rcu_head’ 208 | static inline void destroy_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/asm-generic/atomic-instrumented.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/mutex.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/rcupdate.h: In function ‘init_rcu_head_on_stack’: ./arch/x86/include/asm/paravirt.h: In function ‘__pmd’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_or’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:209:50: note: in expansion of macro ‘rcu_head’ 209 | static inline void init_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./include/asm-generic/atomic-instrumented.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head_on_stack’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_or’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:210:53: note: in expansion of macro ‘rcu_head’ 210 | static inline void destroy_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ ./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’: In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcupdate.h: In function ‘rcu_lockdep_current_cpu_online’: ./include/asm-generic/atomic-instrumented.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/rcupdate.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline bool rcu_lockdep_current_cpu_online(void) { return true; } | ^~~~~~ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_xor’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_held’: ./include/asm-generic/atomic-instrumented.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ In file included from ./include/linux/rwsem.h:61, from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/rwsem.h: In function ‘__down_read’: ./include/linux/rcupdate.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/rwsem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh_held’: ./include/linux/rcupdate.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_dec_and_test’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_held’: ./include/asm-generic/atomic-instrumented.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/rcupdate.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_killable’: ./arch/x86/include/asm/rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_dec_and_test’: ./include/asm-generic/atomic-instrumented.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_inc_and_test’: ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_trylock’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock’: ./arch/x86/include/asm/rwsem.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/asm-generic/atomic-instrumented.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/rcupdate.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_inc_and_test’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock’: ./include/asm-generic/atomic-instrumented.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./include/linux/rcupdate.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_add_return’: ./arch/x86/include/asm/rwsem.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh’: ./include/asm-generic/atomic-instrumented.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pmd_val’: ./include/linux/rcupdate.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./arch/x86/include/asm/paravirt.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_return’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_bh’: ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_killable’: ./include/asm-generic/atomic-instrumented.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./arch/x86/include/asm/rwsem.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/rcupdate.h:691:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | { | ^ ./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/linux/rcupdate.h: In function ‘rcu_read_lock_sched’: ./include/linux/rcupdate.h:712:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 712 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_trylock’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub_return’: ./arch/x86/include/asm/rwsem.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/asm-generic/atomic-instrumented.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_notrace’: ./include/linux/rcupdate.h:722:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 722 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_read’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched’: ./arch/x86/include/asm/rwsem.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/rcupdate.h:733:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 733 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_write’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched_notrace’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_sub’: ./arch/x86/include/asm/rwsem.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/asm-generic/atomic-instrumented.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./include/linux/rcupdate.h:743:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 743 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_sub’: ./arch/x86/include/asm/rwsem.h: In function ‘__downgrade_write’: ./include/asm-generic/atomic-instrumented.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_head_init’: ./arch/x86/include/asm/rwsem.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/rcupdate.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./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/linux/rcupdate.h: In function ‘rcu_head_after_call_rcu’: In file included from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rwsem.h: In function ‘rwsem_is_locked’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pud’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_fetch_and’: ./include/linux/rwsem.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./arch/x86/include/asm/paravirt.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/rcupdate.h:892:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 892 | { | ^ ./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/linux/rwsem.h: In function ‘rwsem_is_contended’: ./include/linux/rwsem.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./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’: In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcupdate.h: In function ‘__rcu_read_lock’: ./arch/x86/include/asm/paravirt.h: In function ‘__pud’: ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh’: ./include/asm-generic/atomic-instrumented.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/rcupdate.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/paravirt.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/rcupdate.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_fetch_xor’: ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh_expedited’: ./include/asm-generic/atomic-instrumented.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/rcupdate.h: In function ‘__rcu_read_unlock’: ./include/linux/rcupdate.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/rcupdate.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./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/linux/rcupdate.h: In function ‘call_rcu_bh’: ./include/linux/rcupdate.h: In function ‘rcu_preempt_depth’: ./include/linux/rcupdate.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/rcupdate.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/asm-generic/atomic-instrumented.h: In function ‘atomic_sub_and_test’: ./include/linux/rcupdate.h: In function ‘rcu_barrier_bh’: ./include/asm-generic/atomic-instrumented.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_user_enter’: ./include/linux/rcupdate.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/rcupdate.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | static inline void rcu_user_enter(void) { } | ^~~~~~ ./include/linux/rcupdate.h: In function ‘rcu_user_exit’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_sub_and_test’: ./include/linux/rcupdate.h: In function ‘synchronize_sched’: ./include/linux/rcupdate.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | static inline void rcu_user_exit(void) { } | ^~~~~~ ./include/linux/rcupdate.h: In function ‘rcu_init_nohz’: ./arch/x86/include/asm/paravirt.h: In function ‘pud_val’: ./include/asm-generic/atomic-instrumented.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/rcupdate.h:925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 925 | { | ^ ./include/linux/rcupdate.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | static inline void rcu_init_nohz(void) { } | ^~~~~~ ./arch/x86/include/asm/paravirt.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_sched_expedited’: ./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 | { | ^ ./include/linux/rcupdate.h:930:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 930 | { | ^ ./include/linux/rcupdate.h: In function ‘call_rcu_sched’: ./include/asm-generic/atomic-instrumented.h: In function ‘atomic64_add_negative’: ./include/asm-generic/atomic-instrumented.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ In file included from ./include/linux/rcupdate.h:186, from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcutree.h: In function ‘rcu_virt_note_context_switch’: ./include/linux/rcupdate.h:935:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 935 | { | ^ ./include/linux/rcutree.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_sched’: ./include/linux/rcupdate.h:940:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 940 | { | ^ ./include/linux/rcupdate.h: In function ‘get_state_synchronize_sched’: ./include/linux/rcupdate.h:945:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 945 | { | ^ ./include/linux/rcupdate.h: In function ‘cond_synchronize_sched’: ./arch/x86/include/asm/paravirt.h: In function ‘pud_clear’: In file included from ./arch/x86/include/asm/alternative.h:7, from ./arch/x86/include/asm/barrier.h:5, from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcupdate.h: In function ‘init_rcu_head’: ./arch/x86/include/asm/paravirt.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/rcupdate.h:950:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_p4d’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:207:41: note: in expansion of macro ‘rcu_head’ 207 | static inline void init_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:208:44: note: in expansion of macro ‘rcu_head’ 208 | static inline void destroy_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/rcupdate.h: In function ‘init_rcu_head_on_stack’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:209:50: note: in expansion of macro ‘rcu_head’ 209 | static inline void init_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head_on_stack’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:210:53: note: in expansion of macro ‘rcu_head’ 210 | static inline void destroy_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ In file included from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/atomic.h: In function ‘atomic_fetch_add_unless’: In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcupdate.h: In function ‘rcu_lockdep_current_cpu_online’: ./arch/x86/include/asm/paravirt.h: In function ‘p4d_clear’: ./include/linux/rcupdate.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline bool rcu_lockdep_current_cpu_online(void) { return true; } | ^~~~~~ ./include/linux/atomic.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./arch/x86/include/asm/paravirt.h:570:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 570 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_held’: In file included from ./include/linux/time.h:73, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/time32.h: In function ‘timespec64_to_timespec’: ./include/linux/rcupdate.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_atomic’: ./include/linux/time32.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh_held’: ./include/linux/atomic.h: In function ‘atomic_add_unless’: ./include/linux/rcupdate.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./arch/x86/include/asm/paravirt.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/atomic.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./include/linux/time32.h: In function ‘timespec_to_timespec64’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_held’: ./include/linux/time32.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pte_clear’: ./include/linux/rcupdate.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./arch/x86/include/asm/paravirt.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./include/linux/atomic.h: In function ‘atomic_inc_unless_negative’: ./include/linux/time32.h: In function ‘timespec_equal’: ./include/linux/atomic.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/time32.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pmd_clear’: ./arch/x86/include/asm/paravirt.h:609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 609 | { | ^ ./include/linux/atomic.h: In function ‘atomic_dec_unless_positive’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_start_context_switch’: ./include/linux/atomic.h:689:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 689 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock’: ./include/linux/time32.h: In function ‘timespec_compare’: ./arch/x86/include/asm/paravirt.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/time32.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/rcupdate.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock’: ./include/linux/time32.h: In function ‘timespec_valid’: ./include/linux/atomic.h: In function ‘atomic_dec_if_positive’: ./include/linux/time32.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/rcupdate.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/atomic.h:710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 710 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_end_context_switch’: ./include/linux/rcupdate.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./include/linux/time32.h: In function ‘timespec_to_ns’: ./include/linux/time32.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./arch/x86/include/asm/paravirt.h:621:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 621 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_bh’: ./include/linux/rcupdate.h:691:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | { | ^ ./include/linux/time32.h: In function ‘timespec_add_ns’: ./include/linux/time32.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched’: ./include/linux/rcupdate.h:712:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 712 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_enter_lazy_mmu_mode’: ./include/linux/time32.h: In function ‘mktime’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_notrace’: ./include/linux/time32.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/paravirt.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_fetch_add_unless’: ./include/linux/rcupdate.h:722:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 722 | { | ^ ./include/linux/time32.h: In function ‘timeval_valid’: ./include/linux/atomic.h:1163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1163 | { | ^ ./include/linux/time32.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched’: ./include/linux/rcupdate.h:733:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 733 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched_notrace’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_leave_lazy_mmu_mode’: ./include/linux/atomic.h: In function ‘atomic64_add_unless’: ./include/linux/time32.h: In function ‘timeval_to_ns’: ./include/linux/rcupdate.h:743:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 743 | { | ^ ./arch/x86/include/asm/paravirt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/time32.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/atomic.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_head_init’: ./include/linux/atomic.h: In function ‘atomic64_inc_unless_negative’: ./include/linux/rcupdate.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_flush_lazy_mmu_mode’: ./include/linux/atomic.h:1264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1264 | { | ^ In file included from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/time.h: In function ‘itimerspec64_valid’: ./arch/x86/include/asm/paravirt.h:637:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 637 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_head_after_call_rcu’: ./include/linux/time.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/rcupdate.h:892:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 892 | { | ^ ./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 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__set_fixmap’: ./arch/x86/include/asm/paravirt.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_lock_slowpath’: ./arch/x86/include/asm/paravirt.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/atomic.h: In function ‘atomic64_dec_if_positive’: ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh’: ./include/linux/atomic.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./include/linux/rcupdate.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh_expedited’: ./include/linux/rcupdate.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/rcupdate.h: In function ‘call_rcu_bh’: ./include/linux/rcupdate.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ In file included from ./include/linux/atomic.h:1315, from ./include/linux/tracepoint-defs.h:11, from ./arch/x86/include/asm/msr.h:68, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_read’: ./include/linux/rcupdate.h: In function ‘rcu_barrier_bh’: In file included from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:65, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/tsc.h: In function ‘get_cycles’: ./include/asm-generic/atomic-long.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | ATOMIC_LONG_READ_OP() | ^~~~~~~~~~~~~~~~~~~ ./include/linux/rcupdate.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./arch/x86/include/asm/tsc.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_sched’: ./include/linux/rcupdate.h:925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 925 | { | ^ ./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/linux/rcupdate.h: In function ‘synchronize_sched_expedited’: ./include/linux/rcupdate.h:930:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 930 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_unlock’: ./include/linux/rcupdate.h: In function ‘call_rcu_sched’: ./arch/x86/include/asm/paravirt.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./include/linux/rcupdate.h:935:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 935 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_sched’: ./include/linux/rcupdate.h:940:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 940 | { | ^ ./include/linux/rcupdate.h: In function ‘get_state_synchronize_sched’: ./include/linux/rcupdate.h:945:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 945 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_wait’: ./arch/x86/include/asm/paravirt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/rcupdate.h: In function ‘cond_synchronize_sched’: ./include/linux/rcupdate.h:950:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_set’: In file included from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/jiffies.h: In function ‘get_jiffies_64’: ./include/asm-generic/atomic-long.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | ATOMIC_LONG_SET_OP() | ^~~~~~~~~~~~~~~~~~ ./include/linux/jiffies.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_set_release’: ./arch/x86/include/asm/paravirt.h: In function ‘pv_kick’: ./arch/x86/include/asm/paravirt.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./include/asm-generic/atomic-long.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | ATOMIC_LONG_SET_OP(_release) | ^~~~~~~~~~~~~~~~~~ ./include/linux/jiffies.h: In function ‘jiffies_to_nsecs’: ./include/linux/jiffies.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_vcpu_is_preempted’: ./arch/x86/include/asm/paravirt.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ In file included from ./include/linux/time.h:73, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/time32.h: In function ‘timespec64_to_timespec’: ./include/linux/jiffies.h: In function ‘_msecs_to_jiffies’: ./include/linux/time32.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/jiffies.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return’: ./include/linux/time32.h: In function ‘timespec_to_timespec64’: ./include/linux/time32.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./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/linux/time32.h: In function ‘timespec_equal’: ./include/linux/jiffies.h: In function ‘msecs_to_jiffies’: ./include/linux/time32.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/jiffies.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./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/linux/time32.h: In function ‘timespec_compare’: ./include/linux/time32.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./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/linux/jiffies.h: In function ‘_usecs_to_jiffies’: ./include/linux/jiffies.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/time32.h: In function ‘timespec_valid’: ./include/linux/time32.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_return_release’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_save_flags’: ./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/linux/jiffies.h: In function ‘usecs_to_jiffies’: ./arch/x86/include/asm/paravirt.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./include/linux/jiffies.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return’: ./include/linux/time32.h: In function ‘timespec_to_ns’: ./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/linux/time32.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_relaxed’: ./include/linux/jiffies.h: In function ‘timespec_to_jiffies’: ./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/linux/jiffies.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/time32.h: In function ‘timespec_add_ns’: ./include/linux/time32.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./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/linux/jiffies.h: In function ‘jiffies_to_timespec’: ./include/linux/jiffies.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_restore’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub_return_release’: ./include/linux/time32.h: In function ‘mktime’: ./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/linux/time32.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/paravirt.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_clock_t’: ./include/linux/jiffies.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/time32.h: In function ‘timeval_valid’: ./include/linux/time32.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc’: ./include/linux/time32.h: In function ‘timeval_to_ns’: ./include/asm-generic/atomic-long.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_disable’: ./include/linux/time32.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/paravirt.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./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/linux/jiffies.h: In function ‘jiffies_delta_to_msecs’: ./include/linux/jiffies.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ In file included from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/time.h: In function ‘itimerspec64_valid’: ./include/linux/time.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./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, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_enable’: ./arch/x86/include/asm/paravirt.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./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’: In file included from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ktime.h: In function ‘ktime_set’: ./include/asm-generic/atomic-long.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | ATOMIC_LONG_FETCH_OP(add, _acquire) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_save’: ./include/linux/ktime.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/paravirt.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./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/linux/ktime.h: In function ‘timespec_to_ktime’: ./include/linux/ktime.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_sub_relaxed’: ./include/linux/ktime.h: In function ‘timespec64_to_ktime’: ./include/asm-generic/atomic-long.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | ATOMIC_LONG_FETCH_OP(sub, _relaxed) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:65, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/tsc.h: In function ‘get_cycles’: In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/msr.h: In function ‘wrmsrl_safe’: ./include/linux/ktime.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./arch/x86/include/asm/tsc.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | { | ^ ./arch/x86/include/asm/msr.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/ktime.h: In function ‘timeval_to_ktime’: ./include/linux/ktime.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./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/linux/ktime.h: In function ‘ktime_to_ns’: ./include/linux/ktime.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./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/linux/ktime.h: In function ‘ktime_compare’: ./include/linux/ktime.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./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, ) | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/processor.h:24, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr0’: ./include/linux/ktime.h: In function ‘ktime_after’: ./include/linux/ktime.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/special_insns.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./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/linux/ktime.h: In function ‘ktime_before’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr0’: ./include/linux/ktime.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/special_insns.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ In file included from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/jiffies.h: In function ‘get_jiffies_64’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr2’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_acquire’: ./arch/x86/include/asm/special_insns.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./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/linux/jiffies.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/ktime.h: In function ‘ktime_divns’: ./include/linux/ktime.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr2’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_and_release’: ./arch/x86/include/asm/special_insns.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/asm-generic/atomic-long.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | ATOMIC_LONG_FETCH_OP(and, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h: In function ‘__native_read_cr3’: ./arch/x86/include/asm/special_insns.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot’: ./include/linux/jiffies.h: In function ‘jiffies_to_nsecs’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr3’: ./include/asm-generic/atomic-long.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | ATOMIC_LONG_FETCH_OP(andnot, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/jiffies.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr4’: ./include/linux/ktime.h: In function ‘ktime_to_us’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_relaxed’: ./arch/x86/include/asm/special_insns.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/ktime.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./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/linux/jiffies.h: In function ‘_msecs_to_jiffies’: ./include/linux/jiffies.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/linux/ktime.h: In function ‘ktime_to_ms’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr4’: ./arch/x86/include/asm/special_insns.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_acquire’: ./include/linux/ktime.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./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/linux/jiffies.h: In function ‘msecs_to_jiffies’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr8’: ./arch/x86/include/asm/special_insns.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/jiffies.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/ktime.h: In function ‘ktime_us_delta’: ./include/linux/ktime.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 187 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr8’: ./arch/x86/include/asm/special_insns.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_andnot_release’: ./include/linux/ktime.h: In function ‘ktime_ms_delta’: ./include/asm-generic/atomic-long.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | ATOMIC_LONG_FETCH_OP(andnot, _release) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h: In function ‘__read_pkru’: ./include/linux/ktime.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./include/linux/jiffies.h: In function ‘_usecs_to_jiffies’: ./arch/x86/include/asm/special_insns.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/jiffies.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or’: ./include/linux/ktime.h: In function ‘ktime_add_us’: ./include/asm-generic/atomic-long.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | ATOMIC_LONG_FETCH_OP(or, ) | ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/special_insns.h: In function ‘__write_pkru’: ./include/linux/ktime.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./arch/x86/include/asm/special_insns.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./include/linux/jiffies.h: In function ‘usecs_to_jiffies’: ./include/linux/jiffies.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_relaxed’: ./include/linux/ktime.h: In function ‘ktime_add_ms’: ./arch/x86/include/asm/special_insns.h: In function ‘native_wbinvd’: ./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/linux/ktime.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/special_insns.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_cr4’: ./include/linux/ktime.h: In function ‘ktime_sub_us’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_acquire’: ./arch/x86/include/asm/special_insns.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/ktime.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./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/linux/jiffies.h: In function ‘timespec_to_jiffies’: ./include/linux/jiffies.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_ms’: ./arch/x86/include/asm/special_insns.h: In function ‘clflush’: ./include/linux/ktime.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./arch/x86/include/asm/special_insns.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_or_release’: ./include/linux/jiffies.h: In function ‘jiffies_to_timespec’: ./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/linux/jiffies.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clflushopt’: ./include/linux/ktime.h: In function ‘ktime_to_timespec_cond’: ./arch/x86/include/asm/special_insns.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/ktime.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor’: ./include/linux/jiffies.h: In function ‘jiffies_delta_to_clock_t’: ./include/asm-generic/atomic-long.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | ATOMIC_LONG_FETCH_OP(xor, ) | ^~~~~~~~~~~~~~~~~~~~ ./include/linux/jiffies.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/ktime.h: In function ‘ktime_to_timespec64_cond’: ./include/linux/ktime.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clwb’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_relaxed’: ./arch/x86/include/asm/special_insns.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./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/linux/ktime.h: In function ‘ns_to_ktime’: ./include/linux/ktime.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./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/linux/ktime.h: In function ‘ms_to_ktime’: ./include/linux/ktime.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_msecs’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_xor_release’: ./include/linux/jiffies.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ ./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’: In file included from ./include/linux/ktime.h:275, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/timekeeping.h: In function ‘ktime_get_real’: ./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/linux/timekeeping.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ In file included from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ktime.h: In function ‘ktime_set’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_acquire’: ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_real’: ./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/linux/ktime.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/timekeeping.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_inc_release’: ./include/linux/timekeeping.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./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/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime’: ./include/linux/timekeeping.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/ktime.h: In function ‘timespec_to_ktime’: ./include/linux/ktime.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec’: ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai’: ./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/linux/timekeeping.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/ktime.h: In function ‘timespec64_to_ktime’: ./include/linux/ktime.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai’: ./include/linux/timekeeping.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_relaxed’: ./include/linux/ktime.h: In function ‘timeval_to_ktime’: ./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/linux/timekeeping.h: In function ‘ktime_mono_to_real’: ./include/linux/ktime.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/timekeeping.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_ns’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_acquire’: ./include/linux/ktime.h: In function ‘ktime_to_ns’: ./include/linux/timekeeping.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./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/linux/ktime.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_real_ns’: ./include/linux/timekeeping.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/ktime.h: In function ‘ktime_compare’: ./include/linux/ktime.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_fetch_dec_release’: ./include/linux/timekeeping.h: In function ‘ktime_get_boot_ns’: ./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/linux/timekeeping.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_tai_ns’: ./include/linux/ktime.h: In function ‘ktime_after’: ./include/linux/timekeeping.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/ktime.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add’: ./include/linux/ktime.h: In function ‘ktime_before’: ./include/linux/timekeeping.h: In function ‘ktime_get_raw_ns’: ./include/asm-generic/atomic-long.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | ATOMIC_LONG_OP(add) | ^~~~~~~~~~~~~~ ./include/linux/ktime.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/timekeeping.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ In file included from ./arch/x86/include/asm/processor.h:32, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/err.h: In function ‘ERR_PTR’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_sub’: ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_ts64’: ./include/linux/ktime.h: In function ‘ktime_divns’: ./include/linux/err.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/asm-generic/atomic-long.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | ATOMIC_LONG_OP(sub) | ^~~~~~~~~~~~~~ ./include/linux/timekeeping.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/ktime.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/err.h: In function ‘PTR_ERR’: ./include/linux/err.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_and’: ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime_ts64’: ./include/asm-generic/atomic-long.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | ATOMIC_LONG_OP(and) | ^~~~~~~~~~~~~~ ./include/linux/timekeeping.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/err.h: In function ‘IS_ERR’: ./include/linux/err.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_seconds’: ./include/linux/timekeeping.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_andnot’: ./include/linux/err.h: In function ‘IS_ERR_OR_NULL’: ./include/asm-generic/atomic-long.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | ATOMIC_LONG_OP(andnot) | ^~~~~~~~~~~~~~ ./include/linux/ktime.h: In function ‘ktime_to_us’: ./include/linux/err.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_ts64’: ./include/linux/ktime.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/timekeeping.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_or’: ./include/linux/ktime.h: In function ‘ktime_to_ms’: ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai_ts64’: ./include/asm-generic/atomic-long.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | ATOMIC_LONG_OP(or) | ^~~~~~~~~~~~~~ ./include/linux/ktime.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/timekeeping.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/err.h: In function ‘ERR_CAST’: ./include/linux/err.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/ktime.h: In function ‘ktime_us_delta’: ./include/linux/ktime.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 187 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_seconds’: ./include/linux/err.h: In function ‘PTR_ERR_OR_ZERO’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_xor’: ./include/linux/timekeeping.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./include/linux/err.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/asm-generic/atomic-long.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | ATOMIC_LONG_OP(xor) | ^~~~~~~~~~~~~~ ./include/linux/ktime.h: In function ‘ktime_ms_delta’: ./include/linux/ktime.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./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/linux/ktime.h: In function ‘ktime_add_us’: ./include/linux/ktime.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ In file included from ./include/linux/irqflags.h:16, from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/irqflags.h: In function ‘native_save_fl’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_and_test’: ./arch/x86/include/asm/irqflags.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/ktime.h: In function ‘ktime_add_ms’: ./include/asm-generic/atomic-long.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/ktime.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ In file included from ./include/linux/ktime.h:276, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/timekeeping32.h: In function ‘get_seconds’: ./include/linux/ktime.h: In function ‘ktime_sub_us’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_and_test’: ./arch/x86/include/asm/irqflags.h: In function ‘native_restore_fl’: ./include/linux/timekeeping32.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/ktime.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/asm-generic/atomic-long.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./arch/x86/include/asm/irqflags.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/timekeeping32.h: In function ‘getnstimeofday’: ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_disable’: ./include/linux/timekeeping32.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_ms’: ./arch/x86/include/asm/irqflags.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/ktime.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_enable’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_negative’: ./arch/x86/include/asm/irqflags.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/asm-generic/atomic-long.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/timekeeping32.h: In function ‘ktime_get_ts’: ./include/linux/ktime.h: In function ‘ktime_to_timespec_cond’: ./include/linux/timekeeping32.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/ktime.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_safe_halt’: ./arch/x86/include/asm/irqflags.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return’: ./include/linux/timekeeping32.h: In function ‘getrawmonotonic’: ./include/linux/timekeeping32.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/asm-generic/atomic-long.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | ATOMIC_LONG_INC_DEC_OP(inc,) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/irqflags.h: In function ‘native_halt’: ./include/linux/ktime.h: In function ‘ktime_to_timespec64_cond’: ./arch/x86/include/asm/irqflags.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/ktime.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/timekeeping32.h: In function ‘getboottime’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_relaxed’: ./include/linux/timekeeping32.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled_flags’: ./include/linux/ktime.h: In function ‘ns_to_ktime’: ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/irqflags.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/ktime.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/ktime.h: In function ‘ms_to_ktime’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_inc_return_acquire’: ./include/linux/ktime.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled’: ./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) | ^~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/irqflags.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/irqflags.h: In function ‘trace_softirqs_on’: In file included from ./include/linux/timer.h:8, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/debugobjects.h: In function ‘debug_object_init’: ./include/linux/irqflags.h:25:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void trace_softirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/debugobjects.h:89:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | debug_object_init (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/irqflags.h: In function ‘trace_softirqs_off’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return’: ./include/linux/irqflags.h:26:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | static inline void trace_softirqs_off(unsigned long ip) { } | ^~~~~~ ./include/asm-generic/atomic-long.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | ATOMIC_LONG_INC_DEC_OP(dec,) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ktime.h:275, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/timekeeping.h: In function ‘ktime_get_real’: ./include/linux/debugobjects.h: In function ‘debug_object_init_on_stack’: ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_on’: ./include/linux/debugobjects.h:91:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/irqflags.h:27:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | static inline void lockdep_hardirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/timekeeping.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_activate’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_relaxed’: ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_off’: ./include/linux/debugobjects.h:93:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | debug_object_activate (void *addr, struct debug_obj_descr *descr) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/irqflags.h:28:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | static inline void lockdep_hardirqs_off(unsigned long ip) { } | ^~~~~~ ./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/linux/timekeeping.h: In function ‘ktime_get_coarse_real’: ./include/linux/debugobjects.h: In function ‘debug_object_deactivate’: ./include/linux/timekeeping.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime’: ./include/linux/debugobjects.h:95:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | debug_object_deactivate(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/timekeeping.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_acquire’: ./include/linux/debugobjects.h: In function ‘debug_object_destroy’: ./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/linux/debugobjects.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | debug_object_destroy (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime’: ./include/linux/timekeeping.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_free’: ./include/linux/debugobjects.h:99:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | debug_object_free (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai’: ./include/asm-generic/atomic-long.h: In function ‘atomic_long_dec_return_release’: ./include/linux/timekeeping.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_assert_init’: ./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/linux/debugobjects.h:101:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | debug_object_assert_init(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai’: ./include/linux/debugobjects.h: In function ‘debug_objects_early_init’: ./include/linux/timekeeping.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/debugobjects.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void debug_objects_early_init(void) { } | ^~~~~~ ./include/asm-generic/atomic-long.h: In function ‘atomic_long_add_unless’: ./include/linux/debugobjects.h: In function ‘debug_objects_mem_init’: ./include/linux/timekeeping.h: In function ‘ktime_mono_to_real’: ./include/linux/debugobjects.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | static inline void debug_objects_mem_init(void) { } | ^~~~~~ ./include/asm-generic/atomic-long.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./include/linux/timekeeping.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_check_no_obj_freed’: ./include/linux/timekeeping.h: In function ‘ktime_get_ns’: ./include/linux/debugobjects.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | debug_check_no_obj_freed(const void *address, unsigned long size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/timekeeping.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_real_ns’: ./include/linux/timekeeping.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ In file included from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/processor.h: In function ‘l1tf_pfn_limit’: ./include/linux/timekeeping.h: In function ‘ktime_get_boot_ns’: ./include/linux/timekeeping.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./arch/x86/include/asm/processor.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_tai_ns’: In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/timer.h: In function ‘init_timer_on_stack_key’: ./include/linux/timekeeping.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/timer.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_raw_ns’: ./arch/x86/include/asm/processor.h: In function ‘have_cpuid_p’: In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/msr.h: In function ‘__rdmsr’: ./include/linux/timekeeping.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./arch/x86/include/asm/processor.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid’: ./arch/x86/include/asm/msr.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/timer.h: In function ‘destroy_timer_on_stack’: ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_ts64’: ./arch/x86/include/asm/processor.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/timer.h:138:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | static inline void destroy_timer_on_stack(struct timer_list *timer) { } | ^~~~~~~~~~ ./include/linux/timekeeping.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/timer.h: In function ‘timer_pending’: ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime_ts64’: ./include/linux/timer.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/timekeeping.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_eax’: ./arch/x86/include/asm/processor.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | native_cpuid_reg(eax) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘__wrmsr’: ./arch/x86/include/asm/msr.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_seconds’: ./include/linux/timekeeping.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ebx’: ./arch/x86/include/asm/processor.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | native_cpuid_reg(ebx) | ^~~~~~~~~~~~~~~~ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_ts64’: ./arch/x86/include/asm/msr.h: In function ‘native_read_msr’: ./include/linux/timekeeping.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./arch/x86/include/asm/msr.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ecx’: ./arch/x86/include/asm/processor.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | native_cpuid_reg(ecx) | ^~~~~~~~~~~~~~~~ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai_ts64’: ./include/linux/timekeeping.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_edx’: ./arch/x86/include/asm/msr.h: In function ‘native_read_msr_safe’: ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_seconds’: ./arch/x86/include/asm/processor.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | native_cpuid_reg(edx) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/timekeeping.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘read_cr3_pa’: ./arch/x86/include/asm/processor.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_read_cr3_pa’: ./arch/x86/include/asm/processor.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr’: In file included from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/workqueue.h: In function ‘to_delayed_work’: ./arch/x86/include/asm/msr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘load_cr3’: ./arch/x86/include/asm/processor.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ In file included from ./include/linux/ktime.h:276, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/timekeeping32.h: In function ‘get_seconds’: ./include/linux/workqueue.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/timekeeping32.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘native_write_msr_safe’: ./include/linux/timekeeping32.h: In function ‘getnstimeofday’: ./arch/x86/include/asm/msr.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./include/linux/timekeeping32.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/timekeeping32.h: In function ‘ktime_get_ts’: ./include/linux/timekeeping32.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/timekeeping32.h: In function ‘getrawmonotonic’: ./include/linux/workqueue.h: In function ‘to_rcu_work’: ./include/linux/timekeeping32.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/workqueue.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/timekeeping32.h: In function ‘getboottime’: ./include/linux/timekeeping32.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘rdtsc’: ./arch/x86/include/asm/msr.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpu_kernelmode_gs_base’: ./arch/x86/include/asm/processor.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./arch/x86/include/asm/msr.h: In function ‘rdtsc_ordered’: ./arch/x86/include/asm/msr.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/workqueue.h: In function ‘__init_work’: ./include/linux/workqueue.h:215:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | static inline void __init_work(struct work_struct *work, int onstack) { } | ^~~~~~~~~~~ In file included from ./include/linux/timer.h:8, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/debugobjects.h: In function ‘debug_object_init’: ./include/linux/workqueue.h: In function ‘destroy_work_on_stack’: ./include/linux/workqueue.h:216:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline void destroy_work_on_stack(struct work_struct *work) { } | ^~~~~~~~~~~ ./include/linux/debugobjects.h:89:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | debug_object_init (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘destroy_delayed_work_on_stack’: ./include/linux/debugobjects.h: In function ‘debug_object_init_on_stack’: ./include/linux/workqueue.h:217:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } | ^~~~~~~~~~~~ ./arch/x86/include/asm/msr.h: In function ‘native_read_pmc’: ./include/linux/debugobjects.h:91:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/msr.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./include/linux/workqueue.h: In function ‘work_static’: ./include/linux/workqueue.h:218:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | static inline unsigned int work_static(struct work_struct *work) { return 0; } | ^~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_activate’: ./include/linux/debugobjects.h:93:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | debug_object_activate (void *addr, struct debug_obj_descr *descr) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_deactivate’: ./include/linux/debugobjects.h:95:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | debug_object_deactivate(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_destroy’: ./include/linux/debugobjects.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | debug_object_destroy (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘arch_thread_struct_whitelist’: ./include/linux/debugobjects.h: In function ‘debug_object_free’: ./include/linux/debugobjects.h:99:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | debug_object_free (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_assert_init’: In file included from ./arch/x86/include/asm/msr.h:246, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_sched_clock’: ./include/linux/debugobjects.h:101:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | debug_object_assert_init(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘native_set_iopl_mask’: ./include/linux/debugobjects.h: In function ‘debug_objects_early_init’: ./arch/x86/include/asm/processor.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/paravirt.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/debugobjects.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void debug_objects_early_init(void) { } | ^~~~~~ ./include/linux/debugobjects.h: In function ‘debug_objects_mem_init’: ./arch/x86/include/asm/processor.h: In function ‘native_load_sp0’: ./include/linux/debugobjects.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | static inline void debug_objects_mem_init(void) { } | ^~~~~~ ./arch/x86/include/asm/processor.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_check_no_obj_freed’: ./include/linux/debugobjects.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | debug_check_no_obj_freed(const void *address, unsigned long size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘queue_work’: In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/timer.h: In function ‘init_timer_on_stack_key’: ./include/linux/workqueue.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/timer.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/workqueue.h: In function ‘queue_delayed_work’: ./include/linux/timer.h: In function ‘destroy_timer_on_stack’: ./include/linux/workqueue.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/timer.h:138:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | static inline void destroy_timer_on_stack(struct timer_list *timer) { } | ^~~~~~~~~~ ./include/linux/timer.h: In function ‘timer_pending’: ./include/linux/timer.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/workqueue.h: In function ‘mod_delayed_work’: ./include/linux/workqueue.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_steal_clock’: ./arch/x86/include/asm/paravirt.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work_on’: ./include/linux/workqueue.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work’: ./include/linux/workqueue.h:569:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 569 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_swapgs’: ./include/linux/workqueue.h: In function ‘flush_scheduled_work’: ./arch/x86/include/asm/processor.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/workqueue.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘current_top_of_stack’: ./include/linux/workqueue.h: In function ‘schedule_delayed_work_on’: ./arch/x86/include/asm/processor.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/workqueue.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ In file included from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/workqueue.h: In function ‘to_delayed_work’: ./include/linux/workqueue.h: In function ‘schedule_delayed_work’: ./include/linux/workqueue.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/workqueue.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘slow_down_io’: ./arch/x86/include/asm/paravirt.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘on_thread_stack’: ./arch/x86/include/asm/processor.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb’: ./include/linux/workqueue.h: In function ‘wq_watchdog_touch’: ./arch/x86/include/asm/paravirt.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/workqueue.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | static inline void wq_watchdog_touch(int cpu) { } | ^~~~~~ ./include/linux/workqueue.h: In function ‘to_rcu_work’: ./include/linux/workqueue.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid’: ./arch/x86/include/asm/processor.h:602:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 602 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_count’: ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_global’: ./arch/x86/include/asm/paravirt.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/processor.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_eax’: ./include/linux/workqueue.h: In function ‘__init_work’: ./arch/x86/include/asm/processor.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/workqueue.h:215:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | static inline void __init_work(struct work_struct *work, int onstack) { } | ^~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘destroy_work_on_stack’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ebx’: ./include/linux/workqueue.h:216:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline void destroy_work_on_stack(struct work_struct *work) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/processor.h:631:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 631 | { | ^ ./include/linux/workqueue.h: In function ‘destroy_delayed_work_on_stack’: In file included from ./include/linux/srcutree.h:28, from ./include/linux/srcu.h:62, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/completion.h: In function ‘complete_acquire’: ./include/linux/workqueue.h:217:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } | ^~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘__flush_tlb_one_user’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ecx’: ./arch/x86/include/asm/paravirt.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/completion.h:33:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | static inline void complete_acquire(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/workqueue.h: In function ‘work_static’: ./arch/x86/include/asm/processor.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/linux/workqueue.h:218:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | static inline unsigned int work_static(struct work_struct *work) { return 0; } | ^~~~~~~~~~~ ./include/linux/completion.h: In function ‘complete_release’: ./include/linux/completion.h:34:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | static inline void complete_release(struct completion *x) {} | ^~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘cpuid_edx’: ./arch/x86/include/asm/processor.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/completion.h: In function ‘__init_completion’: ./include/linux/completion.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘rep_nop’: ./arch/x86/include/asm/paravirt.h: In function ‘flush_tlb_others’: ./arch/x86/include/asm/processor.h:659:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 659 | { | ^ ./arch/x86/include/asm/paravirt.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/completion.h: In function ‘reinit_completion’: ./arch/x86/include/asm/processor.h: In function ‘cpu_relax’: ./include/linux/completion.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./arch/x86/include/asm/processor.h:664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 664 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘sync_core’: ./arch/x86/include/asm/processor.h:683:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 683 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_tlb_remove_table’: ./arch/x86/include/asm/paravirt.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/workqueue.h: In function ‘queue_work’: ./arch/x86/include/asm/processor.h: In function ‘get_debugctlmsr’: ./include/linux/workqueue.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./arch/x86/include/asm/processor.h:757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 757 | { | ^ ./include/linux/workqueue.h: In function ‘queue_delayed_work’: ./include/linux/workqueue.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘update_debugctlmsr’: ./arch/x86/include/asm/processor.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_exit_mmap’: ./include/linux/workqueue.h: In function ‘mod_delayed_work’: ./arch/x86/include/asm/paravirt.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/workqueue.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ In file included from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct’: ./include/linux/workqueue.h: In function ‘schedule_work_on’: ./include/linux/srcu.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/workqueue.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work’: ./include/linux/workqueue.h:569:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 569 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_sp0’: ./include/linux/workqueue.h: In function ‘flush_scheduled_work’: ./arch/x86/include/asm/paravirt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘prefetch’: ./include/linux/workqueue.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work_on’: ./include/linux/workqueue.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./arch/x86/include/asm/processor.h:804:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 804 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work’: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct_quiesced’: ./arch/x86/include/asm/paravirt.h: In function ‘__cpuid’: ./include/linux/workqueue.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./arch/x86/include/asm/paravirt.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/srcu.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘prefetchw’: ./arch/x86/include/asm/processor.h:816:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 816 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘spin_lock_prefetch’: ./include/linux/srcu.h: In function ‘srcu_read_lock_held’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_get_debugreg’: ./arch/x86/include/asm/processor.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/srcu.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/paravirt.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock’: ./include/linux/srcu.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock_notrace’: ./arch/x86/include/asm/processor.h: In function ‘hypervisor_cpuid_base’: ./include/linux/srcu.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/processor.h:955:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 955 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock’: ./include/linux/srcu.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock_notrace’: ./include/linux/srcu.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/srcu.h: In function ‘smp_mb__after_srcu_read_unlock’: ./include/linux/srcu.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_debugreg’: ./arch/x86/include/asm/paravirt.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/cpufeature.h: In function ‘_static_cpu_has’: ./arch/x86/include/asm/paravirt.h: In function ‘read_cr0’: ./arch/x86/include/asm/paravirt.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./arch/x86/include/asm/cpufeature.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ In file included from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/notifier.h: In function ‘notifier_from_errno’: ./include/linux/notifier.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/notifier.h: In function ‘notifier_to_errno’: ./include/linux/notifier.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ In file included from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/thread_info.h: In function ‘arch_within_stack_frames’: ./arch/x86/include/asm/thread_info.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ In file included from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqbegin’: ./include/linux/memory_hotplug.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/workqueue.h: In function ‘wq_watchdog_touch’: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqretry’: ./include/linux/workqueue.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | static inline void wq_watchdog_touch(int cpu) { } | ^~~~~~ ./include/linux/memory_hotplug.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writelock’: In file included from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/thread_info.h: In function ‘set_ti_thread_flag’: ./include/linux/memory_hotplug.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/thread_info.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writeunlock’: ./include/linux/memory_hotplug.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/thread_info.h: In function ‘clear_ti_thread_flag’: ./include/linux/thread_info.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_seqlock_init’: ./include/linux/memory_hotplug.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/thread_info.h: In function ‘update_ti_thread_flag’: ./include/linux/thread_info.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/thread_info.h: In function ‘test_and_set_ti_thread_flag’: ./include/linux/thread_info.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/thread_info.h: In function ‘test_and_clear_ti_thread_flag’: In file included from ./include/linux/srcutree.h:28, from ./include/linux/srcu.h:62, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/completion.h: In function ‘complete_acquire’: ./include/linux/thread_info.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/completion.h:33:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | static inline void complete_acquire(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/memory_hotplug.h: In function ‘movable_node_is_enabled’: ./include/linux/memory_hotplug.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/thread_info.h: In function ‘test_ti_thread_flag’: ./include/linux/completion.h: In function ‘complete_release’: ./include/linux/thread_info.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/completion.h:34:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | static inline void complete_release(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/completion.h: In function ‘__init_completion’: ./include/linux/completion.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/thread_info.h: In function ‘check_object_size’: ./include/linux/thread_info.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/memory_hotplug.h: In function ‘arch_refresh_nodedata’: ./include/linux/memory_hotplug.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/completion.h: In function ‘reinit_completion’: ./include/linux/completion.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/thread_info.h: In function ‘copy_overflow’: ./include/linux/thread_info.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_lock’: ./include/linux/memory_hotplug.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ In file included from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct’: ./include/linux/srcu.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ In file included from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/preempt.h: In function ‘preempt_count’: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct_quiesced’: ./include/linux/srcu.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/preempt.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock_held’: ./include/linux/srcu.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock’: ./include/linux/srcu.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘preempt_count_set’: ./arch/x86/include/asm/preempt.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock_notrace’: ./include/linux/srcu.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock’: ./include/linux/srcu.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock_notrace’: ./include/linux/srcu.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/srcu.h: In function ‘smp_mb__after_srcu_read_unlock’: ./include/linux/srcu.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘set_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_unlock’: ./include/linux/memory_hotplug.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_init’: ./include/linux/memory_hotplug.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘clear_preempt_need_resched’: In file included from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/notifier.h: In function ‘notifier_from_errno’: ./arch/x86/include/asm/preempt.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/notifier.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/notifier.h: In function ‘notifier_to_errno’: ./include/linux/notifier.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘test_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ In file included from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqbegin’: ./include/linux/memory_hotplug.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mmzone.h: In function ‘lruvec_pgdat’: ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_add’: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqretry’: ./arch/x86/include/asm/preempt.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/memory_hotplug.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/mmzone.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writelock’: ./include/linux/memory_hotplug.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writeunlock’: ./include/linux/mmzone.h: In function ‘local_memory_node’: ./include/linux/memory_hotplug.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/mmzone.h:799:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 799 | static inline int local_memory_node(int node_id) { return node_id; }; | ^~~~~~ ./include/linux/memory_hotplug.h: In function ‘zone_seqlock_init’: ./include/linux/memory_hotplug.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/mmzone.h: In function ‘is_dev_zone’: ./include/linux/mmzone.h:809:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 809 | { | ^ ./include/linux/mmzone.h: In function ‘managed_zone’: ./include/linux/mmzone.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_sub’: ./include/linux/mmzone.h: In function ‘populated_zone’: ./arch/x86/include/asm/preempt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/mmzone.h:832:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 832 | { | ^ ./include/linux/memory_hotplug.h: In function ‘movable_node_is_enabled’: ./include/linux/memory_hotplug.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/mmzone.h: In function ‘zone_to_nid’: ./include/linux/mmzone.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/mmzone.h: In function ‘zone_set_nid’: ./include/linux/mmzone.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/memory_hotplug.h: In function ‘arch_refresh_nodedata’: ./include/linux/memory_hotplug.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem_idx’: ./include/linux/mmzone.h:869:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 869 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem’: ./include/linux/mmzone.h:885:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 885 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_lock’: ./include/linux/memory_hotplug.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_dec_and_test’: ./arch/x86/include/asm/preempt.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘should_resched’: ./arch/x86/include/asm/preempt.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/preempt.h: In function ‘preempt_notifier_init’: ./include/linux/preempt.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ In file included from ./include/linux/spinlock.h:58, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/bottom_half.h: In function ‘__local_bh_disable_ip’: ./include/linux/bottom_half.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_disable’: ./include/linux/bottom_half.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_unlock’: ./include/linux/bottom_half.h: In function ‘local_bh_enable_ip’: ./include/linux/memory_hotplug.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/bottom_half.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_init’: ./include/linux/bottom_half.h: In function ‘local_bh_enable’: ./include/linux/bottom_half.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/memory_hotplug.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ In file included from ./include/linux/spinlock_types.h:18, from ./include/linux/spinlock.h:82, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/lockdep.h: In function ‘lockdep_off’: In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mmzone.h: In function ‘lruvec_pgdat’: ./include/linux/lockdep.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/mmzone.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_on’: ./include/linux/lockdep.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./include/linux/mmzone.h: In function ‘local_memory_node’: ./include/linux/mmzone.h:799:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 799 | static inline int local_memory_node(int node_id) { return node_id; }; | ^~~~~~ ./include/linux/lockdep.h: In function ‘lockdep_invariant_state’: ./include/linux/mmzone.h: In function ‘is_dev_zone’: ./include/linux/lockdep.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | static inline void lockdep_invariant_state(bool force) {} | ^~~~~~ ./include/linux/mmzone.h:809:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 809 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_init_task’: ./include/linux/lockdep.h:472:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | static inline void lockdep_init_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘managed_zone’: ./include/linux/lockdep.h: In function ‘lockdep_free_task’: ./include/linux/mmzone.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/lockdep.h:473:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | static inline void lockdep_free_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘populated_zone’: ./include/linux/lockdep.h: In function ‘print_irqtrace_events’: ./include/linux/mmzone.h:832:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 832 | { | ^ ./include/linux/lockdep.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/mmzone.h: In function ‘zone_to_nid’: ./include/linux/mmzone.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/mmzone.h: In function ‘zone_set_nid’: ./include/linux/mmzone.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_rcu_suspicious’: ./include/linux/lockdep.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem_idx’: ./include/linux/mmzone.h:869:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 869 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem’: ./include/linux/mmzone.h:885:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 885 | { | ^ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/mpspec.h: In function ‘get_smp_config’: ./arch/x86/include/asm/mpspec.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘early_get_smp_config’: ./arch/x86/include/asm/mpspec.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ In file included from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_fetch_set_pending_acquire’: ./arch/x86/include/asm/mpspec.h: In function ‘find_smp_config’: ./arch/x86/include/asm/qspinlock.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/mpspec.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_coerce’: ./arch/x86/include/asm/mpspec.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘native_queued_spin_unlock’: ./arch/x86/include/asm/qspinlock.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_promote’: ./arch/x86/include/asm/mpspec.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physid_set_mask_of_physid’: ./arch/x86/include/asm/mpspec.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_lock_slowpath’: ./arch/x86/include/asm/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_unlock’: ./arch/x86/include/asm/qspinlock.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘vcpu_is_preempted’: ./arch/x86/include/asm/qspinlock.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/topology.h: In function ‘early_cpu_to_node’: ./arch/x86/include/asm/topology.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘virt_spin_lock’: ./arch/x86/include/asm/qspinlock.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/topology.h: In function ‘cpumask_of_node’: In file included from ./arch/x86/include/asm/qspinlock.h:95, from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_locked’: ./arch/x86/include/asm/topology.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/asm-generic/qspinlock.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_value_unlocked’: ./include/asm-generic/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_contended’: In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/topology.h: In function ‘topology_max_smt_threads’: ./include/asm-generic/qspinlock.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/topology.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_trylock’: ./arch/x86/include/asm/topology.h: In function ‘arch_fix_phys_package_id’: ./include/asm-generic/qspinlock.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./arch/x86/include/asm/topology.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_lock’: ./include/asm-generic/qspinlock.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ In file included from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/numa.h: In function ‘set_apicid_to_node’: ./arch/x86/include/asm/numa.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ In file included from ./arch/x86/include/asm/qrwlock.h:6, from ./arch/x86/include/asm/spinlock.h:43, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/qrwlock.h: In function ‘queued_read_trylock’: ./include/asm-generic/qrwlock.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: ./include/asm-generic/qrwlock.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/mpspec.h: In function ‘get_smp_config’: ./include/asm-generic/qrwlock.h: In function ‘queued_read_lock’: ./include/asm-generic/qrwlock.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/mpspec.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘early_get_smp_config’: ./arch/x86/include/asm/mpspec.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_lock’: ./include/asm-generic/qrwlock.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘find_smp_config’: In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/io.h: In function ‘readb’: ./arch/x86/include/asm/mpspec.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./arch/x86/include/asm/io.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | build_mmio_read(readb, "b", unsigned char, "=q", :"memory") | ^~~~~~~~~~~~~~~ ./include/asm-generic/qrwlock.h: In function ‘queued_read_unlock’: ./include/asm-generic/qrwlock.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readw’: ./include/asm-generic/qrwlock.h: In function ‘queued_write_unlock’: ./arch/x86/include/asm/io.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | build_mmio_read(readw, "w", unsigned short, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/asm-generic/qrwlock.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_coerce’: ./arch/x86/include/asm/mpspec.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readl’: ./arch/x86/include/asm/mpspec.h: In function ‘physids_promote’: ./arch/x86/include/asm/io.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/mpspec.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physid_set_mask_of_physid’: ./arch/x86/include/asm/mpspec.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readb’: ./arch/x86/include/asm/io.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | build_mmio_read(__readb, "b", unsigned char, "=q", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readw’: ./arch/x86/include/asm/io.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | build_mmio_read(__readw, "w", unsigned short, "=r", ) | ^~~~~~~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/spinlock.h: In function ‘do_raw_spin_lock’: ./include/linux/spinlock.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readl’: ./arch/x86/include/asm/io.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | build_mmio_read(__readl, "l", unsigned int, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/spinlock.h: In function ‘do_raw_spin_lock_flags’: ./include/linux/spinlock.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./arch/x86/include/asm/io.h: In function ‘writeb’: ./arch/x86/include/asm/io.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | build_mmio_write(writeb, "b", unsigned char, "q", :"memory") | ^~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/topology.h: In function ‘early_cpu_to_node’: ./include/linux/spinlock.h: In function ‘do_raw_spin_trylock’: ./include/linux/spinlock.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/topology.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/spinlock.h: In function ‘do_raw_spin_unlock’: ./arch/x86/include/asm/io.h: In function ‘writew’: ./include/linux/spinlock.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./arch/x86/include/asm/io.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | build_mmio_write(writew, "w", unsigned short, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writel’: ./arch/x86/include/asm/io.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | build_mmio_write(writel, "l", unsigned int, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writeb’: ./arch/x86/include/asm/topology.h: In function ‘cpumask_of_node’: ./arch/x86/include/asm/io.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | build_mmio_write(__writeb, "b", unsigned char, "q", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/topology.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__writew’: ./arch/x86/include/asm/io.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | build_mmio_write(__writew, "w", unsigned short, "r", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writel’: ./arch/x86/include/asm/io.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | build_mmio_write(__writel, "l", unsigned int, "r", ) | ^~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/topology.h: In function ‘topology_max_smt_threads’: ./arch/x86/include/asm/topology.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./arch/x86/include/asm/topology.h: In function ‘arch_fix_phys_package_id’: ./arch/x86/include/asm/topology.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readq’: In file included from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock’: ./arch/x86/include/asm/io.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | build_mmio_read(readq, "q", u64, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readq’: ./arch/x86/include/asm/io.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | build_mmio_read(__readq, "q", u64, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irqsave’: ./include/linux/spinlock_api_smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ In file included from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/numa.h: In function ‘set_apicid_to_node’: ./arch/x86/include/asm/io.h: In function ‘writeq’: ./arch/x86/include/asm/io.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | build_mmio_write(writeq, "q", u64, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/numa.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__writeq’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irq’: ./arch/x86/include/asm/io.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | build_mmio_write(__writeq, "q", u64, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_bh’: ./arch/x86/include/asm/io.h: In function ‘virt_to_phys’: ./include/linux/spinlock_api_smp.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/io.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/io.h: In function ‘phys_to_virt’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock’: ./arch/x86/include/asm/io.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/spinlock_api_smp.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock’: ./arch/x86/include/asm/io.h: In function ‘isa_virt_to_bus’: ./include/linux/spinlock_api_smp.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./arch/x86/include/asm/io.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irqrestore’: ./include/linux/spinlock_api_smp.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./arch/x86/include/asm/io.h: In function ‘ioremap’: In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/io.h: In function ‘readb’: ./arch/x86/include/asm/io.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./arch/x86/include/asm/io.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | build_mmio_read(readb, "b", unsigned char, "=q", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irq’: ./include/linux/spinlock_api_smp.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readw’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_bh’: ./arch/x86/include/asm/io.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | build_mmio_read(readw, "w", unsigned short, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readl’: ./arch/x86/include/asm/io.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock_bh’: ./include/linux/spinlock_api_smp.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readb’: ./arch/x86/include/asm/io.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | build_mmio_read(__readb, "b", unsigned char, "=q", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readw’: ./arch/x86/include/asm/io.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | build_mmio_read(__readw, "w", unsigned short, "=r", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readl’: In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/io.h: In function ‘sev_key_active’: ./arch/x86/include/asm/io.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | build_mmio_read(__readl, "l", unsigned int, "=r", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./arch/x86/include/asm/io.h: In function ‘writeb’: ./arch/x86/include/asm/io.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | build_mmio_write(writeb, "b", unsigned char, "q", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writew’: ./arch/x86/include/asm/io.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | build_mmio_write(writew, "w", unsigned short, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outb’: ./arch/x86/include/asm/io.h: In function ‘writel’: In file included from ./include/linux/spinlock_api_smp.h:190, from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_trylock’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | BUILDIO(b, b, char) | ^~~~~~~ ./arch/x86/include/asm/io.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | build_mmio_write(writel, "l", unsigned int, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/rwlock_api_smp.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inb’: ./arch/x86/include/asm/io.h: In function ‘__writeb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | build_mmio_write(__writeb, "b", unsigned char, "q", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_trylock’: ./arch/x86/include/asm/io.h: In function ‘__writew’: ./include/linux/rwlock_api_smp.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/io.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | build_mmio_write(__writew, "w", unsigned short, "r", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘inb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘__writel’: ./arch/x86/include/asm/io.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | build_mmio_write(__writel, "l", unsigned int, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock’: ./include/linux/rwlock_api_smp.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outsb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘readq’: ./arch/x86/include/asm/io.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | build_mmio_read(readq, "q", u64, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irqsave’: ./include/linux/rwlock_api_smp.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readq’: ./arch/x86/include/asm/io.h: In function ‘insb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | build_mmio_read(__readq, "q", u64, "=r", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writeq’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irq’: ./arch/x86/include/asm/io.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | build_mmio_write(writeq, "q", u64, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/rwlock_api_smp.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outw’: ./arch/x86/include/asm/io.h: In function ‘__writeq’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | BUILDIO(w, w, short) | ^~~~~~~ ./arch/x86/include/asm/io.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | build_mmio_write(__writeq, "q", u64, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_bh’: ./include/linux/rwlock_api_smp.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘virt_to_phys’: ./arch/x86/include/asm/io.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outw_p’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irqsave’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/io.h: In function ‘phys_to_virt’: ./arch/x86/include/asm/io.h: In function ‘inw_p’: ./arch/x86/include/asm/io.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/paravirt.h: In function ‘write_cr0’: ./arch/x86/include/asm/io.h: In function ‘isa_virt_to_bus’: ./arch/x86/include/asm/io.h: In function ‘outsw’: ./arch/x86/include/asm/paravirt.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irq’: ./include/linux/rwlock_api_smp.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./arch/x86/include/asm/io.h: In function ‘ioremap’: ./arch/x86/include/asm/io.h: In function ‘insw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_bh’: ./include/linux/rwlock_api_smp.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr2’: ./arch/x86/include/asm/paravirt.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | BUILDIO(l, , int) | ^~~~~~~ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock’: ./include/linux/rwlock_api_smp.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock’: ./arch/x86/include/asm/io.h: In function ‘outl_p’: ./include/linux/rwlock_api_smp.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘inl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock’: ./include/linux/rwlock_api_smp.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outsl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/io.h: In function ‘sev_key_active’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irqrestore’: ./arch/x86/include/asm/io.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/rwlock_api_smp.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr2’: ./arch/x86/include/asm/paravirt.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./arch/x86/include/asm/io.h: In function ‘insl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irq’: ./include/linux/rwlock_api_smp.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outb’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_bh’: ./arch/x86/include/asm/paravirt.h: In function ‘__read_cr3’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | BUILDIO(b, b, char) | ^~~~~~~ ./include/linux/rwlock_api_smp.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./arch/x86/include/asm/paravirt.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irqrestore’: ./arch/x86/include/asm/io.h: In function ‘outb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/io.h: In function ‘readsb’: ./arch/x86/include/asm/io.h: In function ‘outsb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irq’: ./include/linux/rwlock_api_smp.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/asm-generic/io.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./arch/x86/include/asm/io.h: In function ‘insb’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_bh’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/rwlock_api_smp.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/asm-generic/io.h: In function ‘readsw’: ./include/asm-generic/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outw’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/spinlock.h: In function ‘spinlock_check’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | BUILDIO(w, w, short) | ^~~~~~~ ./include/asm-generic/io.h: In function ‘readsl’: ./include/linux/spinlock.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./include/asm-generic/io.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h: In function ‘spin_lock’: ./include/linux/spinlock.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./include/asm-generic/io.h: In function ‘readsq’: ./arch/x86/include/asm/io.h: In function ‘outw_p’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/asm-generic/io.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_bh’: ./arch/x86/include/asm/io.h: In function ‘inw_p’: ./include/linux/spinlock.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h: In function ‘spin_trylock’: ./include/asm-generic/io.h: In function ‘writesb’: ./arch/x86/include/asm/io.h: In function ‘outsw’: ./include/linux/spinlock.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/asm-generic/io.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_irq’: ./include/asm-generic/io.h: In function ‘writesw’: ./include/linux/spinlock.h:353:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 353 | { | ^ ./arch/x86/include/asm/io.h: In function ‘insw’: ./include/asm-generic/io.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h: In function ‘spin_unlock’: ./include/linux/spinlock.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/asm-generic/io.h: In function ‘writesl’: ./include/asm-generic/io.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outl’: ./include/linux/spinlock.h: In function ‘spin_unlock_bh’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | BUILDIO(l, , int) | ^~~~~~~ ./include/linux/spinlock.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./include/asm-generic/io.h: In function ‘writesq’: ./arch/x86/include/asm/io.h: In function ‘inl’: ./include/linux/spinlock.h: In function ‘spin_unlock_irq’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/asm-generic/io.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/spinlock.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h: In function ‘spin_unlock_irqrestore’: ./include/linux/spinlock.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘outsl’: ./include/linux/spinlock.h: In function ‘spin_trylock_bh’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock_irq’: ./include/linux/spinlock.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./arch/x86/include/asm/io.h: In function ‘insl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/spinlock.h: In function ‘spin_is_locked’: ./include/linux/spinlock.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/spinlock.h: In function ‘spin_is_contended’: ./include/linux/spinlock.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/io.h: In function ‘insb_p’: In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/io.h: In function ‘readsb’: ./include/asm-generic/io.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/semaphore.h: In function ‘sema_init’: ./include/asm-generic/io.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/semaphore.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/asm-generic/io.h: In function ‘insw_p’: ./include/asm-generic/io.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/asm-generic/io.h: In function ‘readsw’: ./include/asm-generic/io.h: In function ‘insl_p’: ./include/asm-generic/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/asm-generic/io.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/asm-generic/io.h: In function ‘readsl’: ./include/asm-generic/io.h: In function ‘outsb_p’: ./include/asm-generic/io.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/asm-generic/io.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./include/asm-generic/io.h: In function ‘outsw_p’: ./include/asm-generic/io.h:676:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 676 | { | ^ ./include/asm-generic/io.h: In function ‘readsq’: ./include/asm-generic/io.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/asm-generic/io.h: In function ‘outsl_p’: ./include/asm-generic/io.h:685:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 685 | { | ^ ./include/asm-generic/io.h: In function ‘writesb’: ./include/asm-generic/io.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/asm-generic/io.h: In function ‘writesw’: ./include/asm-generic/io.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/asm-generic/io.h: In function ‘writesl’: ./include/asm-generic/io.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ In file included from ./include/linux/vmalloc.h:8, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/llist.h: In function ‘init_llist_head’: ./include/asm-generic/io.h: In function ‘writesq’: ./include/asm-generic/io.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/llist.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/llist.h: In function ‘llist_empty’: In file included from ./include/linux/mmzone.h:10, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/wait.h: In function ‘init_waitqueue_entry’: ./include/linux/llist.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/wait.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/wait.h: In function ‘init_waitqueue_func_entry’: ./include/linux/wait.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/llist.h: In function ‘llist_next’: ./include/linux/llist.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/wait.h: In function ‘waitqueue_active’: ./include/linux/wait.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/llist.h: In function ‘llist_add’: ./include/linux/wait.h: In function ‘wq_has_sleeper’: ./include/linux/llist.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/wait.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/llist.h: In function ‘llist_del_all’: ./include/linux/llist.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue’: ./include/linux/wait.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_exclusive’: ./include/linux/wait.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/io.h: In function ‘insb_p’: ./include/asm-generic/io.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail’: ./include/linux/wait.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/asm-generic/io.h: In function ‘insw_p’: ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail_exclusive’: ./include/asm-generic/io.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/wait.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/asm-generic/io.h: In function ‘insl_p’: ./include/linux/wait.h: In function ‘__remove_wait_queue’: ./include/asm-generic/io.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/wait.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/asm-generic/io.h: In function ‘outsb_p’: ./include/asm-generic/io.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./include/asm-generic/io.h: In function ‘outsw_p’: ./include/asm-generic/io.h:676:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 676 | { | ^ ./include/asm-generic/io.h: In function ‘outsl_p’: In file included from ./include/linux/vmalloc.h:10, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rbtree.h: In function ‘rb_link_node’: ./include/asm-generic/io.h:685:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 685 | { | ^ ./include/linux/rbtree.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/rbtree.h: In function ‘rb_link_node_rcu’: ./include/linux/rbtree.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 116 | { | ^ In file included from ./include/linux/vmalloc.h:8, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/llist.h: In function ‘init_llist_head’: ./include/linux/llist.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/llist.h: In function ‘llist_empty’: ./include/linux/llist.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ In file included from ./include/linux/mmzone.h:16, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/seqlock.h: In function ‘__seqcount_init’: ./include/linux/seqlock.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/llist.h: In function ‘llist_next’: ./include/linux/llist.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqcount_begin’: ./include/linux/llist.h: In function ‘llist_add’: ./include/linux/seqlock.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ ./include/linux/llist.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/llist.h: In function ‘llist_del_all’: ./include/linux/llist.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ In file included from ./include/linux/vmalloc.h:11, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/overflow.h: In function ‘array_size’: ./include/linux/overflow.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount’: ./include/linux/seqlock.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/overflow.h: In function ‘array3_size’: ./include/linux/overflow.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_begin’: ./include/linux/seqlock.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_begin’: ./include/linux/seqlock.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seqlock.h: In function ‘raw_seqcount_begin’: ./include/linux/seqlock.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ In file included from ./include/linux/vmalloc.h:10, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rbtree.h: In function ‘rb_link_node’: ./include/linux/overflow.h: In function ‘__ab_c_size’: ./include/linux/overflow.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/rbtree.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/rbtree.h: In function ‘rb_link_node_rcu’: ./include/linux/seqlock.h: In function ‘__read_seqcount_retry’: ./include/linux/rbtree.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 116 | { | ^ ./include/linux/seqlock.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_retry’: ./include/linux/seqlock.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_begin’: ./include/linux/seqlock.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_end’: ./include/linux/seqlock.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_barrier’: ./include/linux/seqlock.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ In file included from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/vmalloc.h: In function ‘get_vm_area_size’: ./include/linux/seqlock.h: In function ‘raw_read_seqcount_latch’: ./include/linux/vmalloc.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/seqlock.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_latch’: In file included from ./include/linux/vmalloc.h:11, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/overflow.h: In function ‘array_size’: ./include/linux/seqlock.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/overflow.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_begin_nested’: ./include/linux/seqlock.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_begin’: ./include/linux/seqlock.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/overflow.h: In function ‘array3_size’: ./include/linux/overflow.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_end’: In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/io.h: In function ‘xlate_dev_kmem_ptr’: ./include/linux/seqlock.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/asm-generic/io.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_invalidate’: ./include/linux/seqlock.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/overflow.h: In function ‘__ab_c_size’: ./include/linux/overflow.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin’: ./include/linux/seqlock.h:432:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 432 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqretry’: In file included from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: ./include/linux/seqlock.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/realmode.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock’: ./include/linux/seqlock.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock’: ./include/linux/seqlock.h:453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 453 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_bh’: ./include/linux/seqlock.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_bh’: In file included from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/acpi.h: In function ‘disable_acpi’: ./include/linux/seqlock.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./arch/x86/include/asm/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ In file included from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/vmalloc.h: In function ‘get_vm_area_size’: ./include/linux/seqlock.h: In function ‘write_seqlock_irq’: ./include/linux/seqlock.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/vmalloc.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_noirq_set’: ./include/linux/seqlock.h: In function ‘write_sequnlock_irq’: ./arch/x86/include/asm/acpi.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | ^~~~~~ ./include/linux/seqlock.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_disable_pci’: ./arch/x86/include/asm/acpi.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/seqlock.h: In function ‘__write_seqlock_irqsave’: ./include/linux/seqlock.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_processor_cstate_check’: ./arch/x86/include/asm/acpi.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_irqrestore’: ./include/linux/seqlock.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl’: ./include/linux/seqlock.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/io.h: In function ‘xlate_dev_kmem_ptr’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl’: ./include/linux/seqlock.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/asm-generic/io.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock’: ./include/linux/seqlock.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./include/linux/seqlock.h: In function ‘need_seqretry’: ./include/linux/seqlock.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ In file included from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: ./include/linux/seqlock.h: In function ‘done_seqretry’: ./arch/x86/include/asm/realmode.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/seqlock.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl_bh’: ./include/linux/seqlock.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_bh’: ./include/linux/seqlock.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl_irq’: In file included from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/acpi.h: In function ‘disable_acpi’: ./arch/x86/include/asm/acpi.h: In function ‘arch_has_acpi_pdc’: ./include/linux/seqlock.h:556:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 556 | { | ^ ./arch/x86/include/asm/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irq’: ./arch/x86/include/asm/acpi.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/seqlock.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_noirq_set’: ./include/linux/seqlock.h: In function ‘__read_seqlock_excl_irqsave’: ./arch/x86/include/asm/acpi.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | ^~~~~~ ./include/linux/seqlock.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_disable_pci’: ./arch/x86/include/asm/acpi.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_processor_cstate_check’: ./arch/x86/include/asm/acpi.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irqrestore’: ./arch/x86/include/asm/acpi.h: In function ‘arch_acpi_set_pdc_bits’: ./arch/x86/include/asm/acpi.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/seqlock.h:578:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 578 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock_irqsave’: ./include/linux/seqlock.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/seqlock.h: In function ‘done_seqretry_irqrestore’: ./include/linux/seqlock.h:597:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 597 | { | ^ In file included from ./include/linux/mmzone.h:17, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/nodemask.h: In function ‘__nodemask_pr_numnodes’: ./include/linux/nodemask.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/nodemask.h: In function ‘__nodemask_pr_bits’: ./include/linux/nodemask.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/nodemask.h: In function ‘__node_set’: ./include/linux/nodemask.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘arch_has_acpi_pdc’: ./arch/x86/include/asm/acpi.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/nodemask.h: In function ‘__node_clear’: ./include/linux/nodemask.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_setall’: ./include/linux/nodemask.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_clear’: ./arch/x86/include/asm/acpi.h: In function ‘arch_acpi_set_pdc_bits’: ./include/linux/nodemask.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./arch/x86/include/asm/acpi.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/nodemask.h: In function ‘__node_test_and_set’: ./include/linux/nodemask.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_and’: ./include/linux/nodemask.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_or’: ./include/linux/nodemask.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_xor’: ./include/linux/nodemask.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_andnot’: ./include/linux/nodemask.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_complement’: ./include/linux/nodemask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_equal’: ./include/linux/nodemask.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_intersects’: ./include/linux/nodemask.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_subset’: ./include/linux/nodemask.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_empty’: ./include/linux/nodemask.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_full’: ./include/linux/nodemask.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_weight’: ./include/linux/nodemask.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_right’: ./include/linux/nodemask.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_left’: ./arch/x86/include/asm/acpi.h: In function ‘acpi_has_cpu_in_madt’: ./include/linux/nodemask.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./arch/x86/include/asm/acpi.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/nodemask.h: In function ‘__first_node’: ./include/linux/nodemask.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_arch_get_root_pointer’: ./arch/x86/include/asm/acpi.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘arch_apei_get_mem_attribute’: ./arch/x86/include/asm/acpi.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/nodemask.h: In function ‘__next_node’: ./include/linux/nodemask.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_has_cpu_in_madt’: ./arch/x86/include/asm/acpi.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_arch_get_root_pointer’: ./arch/x86/include/asm/acpi.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘arch_apei_get_mem_attribute’: ./arch/x86/include/asm/acpi.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/nodemask.h: In function ‘init_nodemask_of_node’: ./include/linux/nodemask.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/nodemask.h: In function ‘__first_unset_node’: ./include/linux/nodemask.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/nodemask.h: In function ‘__nodemask_parse_user’: ./include/linux/nodemask.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/nodemask.h: In function ‘__nodelist_parse’: ./include/linux/nodemask.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/nodemask.h: In function ‘__node_remap’: ./include/linux/nodemask.h:349:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 349 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_remap’: ./include/linux/nodemask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_onto’: ./include/linux/nodemask.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_fold’: ./include/linux/nodemask.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./include/linux/nodemask.h: In function ‘node_state’: ./include/linux/nodemask.h:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_state’: ./include/linux/nodemask.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/nodemask.h: In function ‘node_clear_state’: ./include/linux/nodemask.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/nodemask.h: In function ‘num_node_state’: ./include/linux/nodemask.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/nodemask.h: In function ‘next_online_node’: ./include/linux/nodemask.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./include/linux/nodemask.h: In function ‘next_memory_node’: ./include/linux/nodemask.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_online’: ./include/linux/nodemask.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ In file included from ./include/asm-generic/fixmap.h:19, from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm_types.h: In function ‘mm_init_cpumask’: ./include/linux/nodemask.h: In function ‘node_set_offline’: ./include/linux/nodemask.h:457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 457 | { | ^ ./include/linux/mm_types.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/mm_types.h: In function ‘mm_cpumask’: ./include/linux/mm_types.h:523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 523 | { | ^ ./include/linux/mm_types.h: In function ‘init_tlb_flush_pending’: ./include/linux/mm_types.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/mm_types.h: In function ‘inc_tlb_flush_pending’: ./include/linux/mm_types.h:539:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 539 | { | ^ ./include/linux/mm_types.h: In function ‘dec_tlb_flush_pending’: ./include/linux/mm_types.h:580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 580 | { | ^ In file included from ./include/asm-generic/fixmap.h:19, from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm_types.h: In function ‘mm_init_cpumask’: ./include/linux/mm_types.h: In function ‘mm_tlb_flush_pending’: In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mmzone.h: In function ‘is_migrate_movable’: ./include/linux/mm_types.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/mm_types.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_nested’: ./include/linux/mmzone.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/mm_types.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/mm_types.h: In function ‘mm_cpumask’: ./include/linux/mm_types.h:523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 523 | { | ^ ./include/linux/mm_types.h: In function ‘init_tlb_flush_pending’: ./include/linux/mm_types.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ In file included from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/fixmap.h: In function ‘fix_to_virt’: ./include/asm-generic/fixmap.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/mm_types.h: In function ‘inc_tlb_flush_pending’: ./include/linux/mm_types.h:539:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 539 | { | ^ ./include/linux/mm_types.h: In function ‘dec_tlb_flush_pending’: ./include/linux/mmzone.h: In function ‘is_file_lru’: ./include/linux/mm_types.h:580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 580 | { | ^ ./include/linux/mmzone.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_pending’: ./include/linux/mm_types.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/asm-generic/fixmap.h: In function ‘virt_to_fix’: ./include/linux/mmzone.h: In function ‘is_active_lru’: ./include/asm-generic/fixmap.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/mmzone.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_nested’: ./include/linux/mm_types.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ In file included from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/fixmap.h: In function ‘fix_to_virt’: ./include/asm-generic/fixmap.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr3’: ./arch/x86/include/asm/paravirt.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/asm-generic/fixmap.h: In function ‘virt_to_fix’: ./include/asm-generic/fixmap.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/mmzone.h: In function ‘zone_managed_pages’: ./arch/x86/include/asm/paravirt.h: In function ‘__write_cr4’: ./include/linux/mmzone.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./arch/x86/include/asm/paravirt.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/mmzone.h: In function ‘zone_end_pfn’: ./include/linux/mmzone.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/mmzone.h: In function ‘zone_spans_pfn’: ./include/linux/mmzone.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘read_cr8’: ./arch/x86/include/asm/paravirt.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_initialized’: ./include/linux/mmzone.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_empty’: In file included from ./arch/x86/include/asm/apic.h:13, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_set_cpu_l1tf_flush_l1d’: ./include/linux/mmzone.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./arch/x86/include/asm/hardirq.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/mmzone.h: In function ‘zone_intersects’: ./include/linux/mmzone.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_cr8’: ./arch/x86/include/asm/paravirt.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ In file included from ./arch/x86/include/asm/apic.h:13, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_set_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_safe_halt’: ./include/linux/mmzone.h: In function ‘zone_lru_lock’: ./arch/x86/include/asm/paravirt.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/mmzone.h:732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 732 | { | ^ ./include/linux/mmzone.h: In function ‘node_lruvec’: ./include/linux/mmzone.h:737:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 737 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_end_pfn’: ./include/linux/mmzone.h:742:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 742 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘halt’: ./arch/x86/include/asm/paravirt.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_is_empty’: ./include/linux/mmzone.h:747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 747 | { | ^ ./arch/x86/include/asm/hardirq.h: In function ‘kvm_clear_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wbinvd’: ./arch/x86/include/asm/paravirt.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr’: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_clear_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/paravirt.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/hardirq.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr’: ./arch/x86/include/asm/paravirt.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ In file included from ./include/linux/mutex.h:20, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/osq_lock.h: In function ‘osq_lock_init’: ./include/linux/osq_lock.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./arch/x86/include/asm/hardirq.h: In function ‘kvm_get_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/osq_lock.h: In function ‘osq_is_locked’: ./include/linux/osq_lock.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_msr_safe’: ./arch/x86/include/asm/paravirt.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ In file included from ./include/linux/mutex.h:21, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/debug_locks.h: In function ‘__debug_locks_off’: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_get_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/debug_locks.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_all_locks’: ./include/linux/debug_locks.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_held_locks’: ./include/linux/debug_locks.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_write_msr_safe’: ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_freed’: ./arch/x86/include/asm/paravirt.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/debug_locks.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_held’: ./include/linux/debug_locks.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/apic.h: In function ‘generic_apic_probe’: ./arch/x86/include/asm/apic.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ In file included from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mutex.h: In function ‘__mutex_owner’: ./include/linux/mutex.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘default_inquire_remote_apic’: ./arch/x86/include/asm/apic.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/apic.h: In function ‘generic_apic_probe’: ./arch/x86/include/asm/apic.h: In function ‘apic_from_smp_config’: ./include/linux/mutex.h: In function ‘mutex_destroy’: ./arch/x86/include/asm/apic.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/mutex.h:102:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void mutex_destroy(struct mutex *lock) {} | ^~~~~ ./arch/x86/include/asm/apic.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_write’: ./include/linux/mutex.h: In function ‘mutex_is_locked’: ./arch/x86/include/asm/apic.h: In function ‘default_inquire_remote_apic’: ./arch/x86/include/asm/apic.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/mutex.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./arch/x86/include/asm/apic.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘wrmsrl’: ./arch/x86/include/asm/paravirt.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_from_smp_config’: ./arch/x86/include/asm/apic.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘rdmsrl_safe’: ./include/linux/mutex.h: In function ‘mutex_trylock_recursive’: ./arch/x86/include/asm/paravirt.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/mutex.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_write’: ./arch/x86/include/asm/apic.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_read’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_read_pmc’: ./arch/x86/include/asm/apic.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/paravirt.h:236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_is_x2apic_enabled’: ./arch/x86/include/asm/apic.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_read’: ./arch/x86/include/asm/apic.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/rwsem.h:61, from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/rwsem.h: In function ‘__down_read’: ./arch/x86/include/asm/apic.h: In function ‘apic_is_x2apic_enabled’: ./arch/x86/include/asm/apic.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/rwsem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_force_enable’: ./arch/x86/include/asm/apic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_killable’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_ldt’: ./arch/x86/include/asm/apic.h: In function ‘apic_force_enable’: ./arch/x86/include/asm/paravirt.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./arch/x86/include/asm/apic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_wrmsr_fence’: ./arch/x86/include/asm/apic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_write’: ./arch/x86/include/asm/apic.h: In function ‘x2apic_wrmsr_fence’: ./arch/x86/include/asm/apic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/apic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_write’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_free_ldt’: ./arch/x86/include/asm/apic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/paravirt.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_eoi_write’: ./arch/x86/include/asm/apic.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_read’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_eoi_write’: ./arch/x86/include/asm/apic.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./arch/x86/include/asm/apic.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_read’: ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TR_desc’: ./arch/x86/include/asm/apic.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/paravirt.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_safe_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_write’: ./arch/x86/include/asm/apic.h: In function ‘native_safe_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 241 | { | ^ ./arch/x86/include/asm/apic.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_write’: ./arch/x86/include/asm/apic.h:241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 241 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_read’: ./arch/x86/include/asm/paravirt.h: In function ‘load_gdt’: ./arch/x86/include/asm/apic.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/paravirt.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_read’: ./arch/x86/include/asm/apic.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_enabled’: ./arch/x86/include/asm/apic.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_enabled’: ./arch/x86/include/asm/apic.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_idt’: ./arch/x86/include/asm/paravirt.h:268:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_ldt’: ./arch/x86/include/asm/paravirt.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_store_tr’: ./arch/x86/include/asm/paravirt.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_read’: ./arch/x86/include/asm/apic.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_read’: ./arch/x86/include/asm/apic.h: In function ‘apic_write’: ./arch/x86/include/asm/apic.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/apic.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_TLS’: ./arch/x86/include/asm/apic.h: In function ‘apic_write’: ./arch/x86/include/asm/paravirt.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_eoi’: ./arch/x86/include/asm/apic.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/apic.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_eoi’: ./arch/x86/include/asm/apic.h: In function ‘apic_icr_read’: ./arch/x86/include/asm/apic.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./arch/x86/include/asm/apic.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_icr_read’: ./arch/x86/include/asm/apic.h: In function ‘apic_icr_write’: ./arch/x86/include/asm/apic.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./arch/x86/include/asm/apic.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘load_gs_index’: ./arch/x86/include/asm/apic.h: In function ‘apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h: In function ‘apic_icr_write’: ./arch/x86/include/asm/paravirt.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./arch/x86/include/asm/apic.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/apic.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h: In function ‘safe_apic_wait_icr_idle’: ./arch/x86/include/asm/rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/apic.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/apic.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘safe_apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘ack_APIC_irq’: ./arch/x86/include/asm/paravirt.h: In function ‘write_ldt_entry’: ./arch/x86/include/asm/paravirt.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘ack_APIC_irq’: ./arch/x86/include/asm/apic.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./arch/x86/include/asm/apic.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘default_get_apic_id’: ./arch/x86/include/asm/apic.h: In function ‘default_get_apic_id’: ./arch/x86/include/asm/apic.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./arch/x86/include/asm/apic.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_trylock’: ./arch/x86/include/asm/rwsem.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_gdt_entry’: ./arch/x86/include/asm/paravirt.h:301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 301 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write’: ./arch/x86/include/asm/rwsem.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘write_idt_entry’: ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_killable’: ./arch/x86/include/asm/paravirt.h:306:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 306 | { | ^ ./arch/x86/include/asm/rwsem.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_trylock’: ./arch/x86/include/asm/rwsem.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_iopl_mask’: ./arch/x86/include/asm/paravirt.h:310:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 310 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_read’: ./arch/x86/include/asm/rwsem.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_write’: ./arch/x86/include/asm/rwsem.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_activate_mm’: ./arch/x86/include/asm/paravirt.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__downgrade_write’: In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/apic.h: In function ‘read_apic_id’: ./arch/x86/include/asm/rwsem.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./arch/x86/include/asm/apic.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/apic.h: In function ‘read_apic_id’: ./arch/x86/include/asm/apic.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ In file included from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rwsem.h: In function ‘rwsem_is_locked’: ./include/linux/rwsem.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_irq’: ./arch/x86/include/asm/apic.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_irq’: ./include/linux/rwsem.h: In function ‘rwsem_is_contended’: ./arch/x86/include/asm/apic.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_ack_irq’: ./include/linux/rwsem.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/apic.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_ack_irq’: ./arch/x86/include/asm/apic.h: In function ‘ipi_entering_ack_irq’: ./arch/x86/include/asm/apic.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./arch/x86/include/asm/apic.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_irq’: ./arch/x86/include/asm/apic.h: In function ‘ipi_entering_ack_irq’: ./arch/x86/include/asm/apic.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./arch/x86/include/asm/apic.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_ack_irq’: ./arch/x86/include/asm/apic.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_irq’: In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcupdate.h: In function ‘__rcu_read_lock’: ./arch/x86/include/asm/apic.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/rcupdate.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_ack_irq’: ./arch/x86/include/asm/apic.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/rcupdate.h: In function ‘__rcu_read_unlock’: ./include/linux/rcupdate.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_preempt_depth’: ./include/linux/rcupdate.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_user_enter’: ./include/linux/rcupdate.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | static inline void rcu_user_enter(void) { } | ^~~~~~ ./include/linux/rcupdate.h: In function ‘rcu_user_exit’: ./include/linux/rcupdate.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | static inline void rcu_user_exit(void) { } | ^~~~~~ ./include/linux/rcupdate.h: In function ‘rcu_init_nohz’: ./include/linux/rcupdate.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | static inline void rcu_init_nohz(void) { } | ^~~~~~ In file included from ./arch/x86/include/asm/smp.h:15, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/io_apic.h: In function ‘io_apic_read’: In file included from ./include/linux/rcupdate.h:186, from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcutree.h: In function ‘rcu_virt_note_context_switch’: ./arch/x86/include/asm/io_apic.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/rcutree.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ In file included from ./arch/x86/include/asm/smp.h:15, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/io_apic.h: In function ‘io_apic_read’: In file included from ./arch/x86/include/asm/alternative.h:7, from ./arch/x86/include/asm/barrier.h:5, from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcupdate.h: In function ‘init_rcu_head’: ./arch/x86/include/asm/io_apic.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ In file included from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/smp.h: In function ‘cpu_llc_shared_mask’: ./arch/x86/include/asm/smp.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:207:41: note: in expansion of macro ‘rcu_head’ 207 | static inline void init_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:208:44: note: in expansion of macro ‘rcu_head’ 208 | static inline void destroy_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/rcupdate.h: In function ‘init_rcu_head_on_stack’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:209:50: note: in expansion of macro ‘rcu_head’ 209 | static inline void init_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ In file included from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/smp.h: In function ‘cpu_llc_shared_mask’: ./include/linux/rcupdate.h: In function ‘destroy_rcu_head_on_stack’: ./arch/x86/include/asm/smp.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:210:53: note: in expansion of macro ‘rcu_head’ 210 | static inline void destroy_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcupdate.h: In function ‘rcu_lockdep_current_cpu_online’: ./include/linux/rcupdate.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline bool rcu_lockdep_current_cpu_online(void) { return true; } | ^~~~~~ ./arch/x86/include/asm/smp.h: In function ‘smp_send_stop’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_held’: ./arch/x86/include/asm/smp.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/rcupdate.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh_held’: ./arch/x86/include/asm/smp.h: In function ‘stop_other_cpus’: ./include/linux/rcupdate.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./arch/x86/include/asm/smp.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_held’: ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_boot_cpu’: ./include/linux/rcupdate.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./arch/x86/include/asm/smp.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_cpus’: ./arch/x86/include/asm/smp.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_send_stop’: ./arch/x86/include/asm/smp.h: In function ‘smp_cpus_done’: ./arch/x86/include/asm/smp.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./arch/x86/include/asm/smp.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_up’: ./arch/x86/include/asm/smp.h: In function ‘stop_other_cpus’: ./arch/x86/include/asm/smp.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock’: ./arch/x86/include/asm/smp.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_disable’: ./include/linux/rcupdate.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./arch/x86/include/asm/smp.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_boot_cpu’: ./arch/x86/include/asm/smp.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_die’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock’: ./arch/x86/include/asm/smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_cpus’: ./include/linux/rcupdate.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./arch/x86/include/asm/smp.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘play_dead’: ./arch/x86/include/asm/smp.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh’: ./arch/x86/include/asm/smp.h: In function ‘smp_cpus_done’: ./include/linux/rcupdate.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./arch/x86/include/asm/smp.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_send_reschedule’: ./arch/x86/include/asm/smp.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_up’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_bh’: ./arch/x86/include/asm/smp.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_single_ipi’: ./include/linux/rcupdate.h:691:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | { | ^ ./arch/x86/include/asm/smp.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_disable’: ./arch/x86/include/asm/smp.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_ipi_mask’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched’: ./arch/x86/include/asm/smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_die’: ./include/linux/rcupdate.h:712:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 712 | { | ^ ./arch/x86/include/asm/smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘play_dead’: ./arch/x86/include/asm/smp.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_notrace’: ./include/linux/rcupdate.h:722:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 722 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_send_reschedule’: ./arch/x86/include/asm/smp.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched’: ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_single_ipi’: ./include/linux/rcupdate.h:733:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 733 | { | ^ ./arch/x86/include/asm/smp.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mmzone.h: In function ‘zonelist_zone’: ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_ipi_mask’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched_notrace’: ./arch/x86/include/asm/smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/rcupdate.h:743:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 743 | { | ^ ./include/linux/mmzone.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_zone_idx’: ./include/linux/rcupdate.h: In function ‘rcu_head_init’: ./include/linux/mmzone.h:966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 966 | { | ^ ./include/linux/rcupdate.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_node_idx’: ./include/linux/mmzone.h:971:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 971 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_head_after_call_rcu’: ./include/linux/rcupdate.h:892:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 892 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mmzone.h: In function ‘zonelist_zone’: ./include/linux/mmzone.h: In function ‘first_zones_zonelist’: ./include/linux/mmzone.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/mmzone.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_zone_idx’: ./include/linux/mmzone.h:966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 966 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_to_section_nr’: ./include/linux/mmzone.h: In function ‘zonelist_node_idx’: ./include/linux/mmzone.h:1101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1101 | { | ^ ./include/linux/mmzone.h:971:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 971 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh’: ./include/linux/mmzone.h: In function ‘section_nr_to_pfn’: ./include/linux/rcupdate.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/mmzone.h:1105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1105 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh_expedited’: In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/rcupdate.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/mmzone.h: In function ‘__nr_to_section’: ./include/linux/mmzone.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/rcupdate.h: In function ‘call_rcu_bh’: ./include/linux/rcupdate.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_bh’: ./include/linux/mmzone.h: In function ‘first_zones_zonelist’: ./include/linux/mmzone.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/rcupdate.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_sched’: ./include/linux/mmzone.h: In function ‘__section_mem_map_addr’: ./include/linux/rcupdate.h:925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 925 | { | ^ ./include/linux/mmzone.h:1195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1195 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_to_section_nr’: ./include/linux/rcupdate.h: In function ‘synchronize_sched_expedited’: ./include/linux/mmzone.h:1101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1101 | { | ^ ./include/linux/rcupdate.h:930:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 930 | { | ^ ./include/linux/mmzone.h: In function ‘present_section’: ./include/linux/mmzone.h: In function ‘section_nr_to_pfn’: ./include/linux/rcupdate.h: In function ‘call_rcu_sched’: ./include/linux/mmzone.h:1202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1202 | { | ^ ./include/linux/mmzone.h:1105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1105 | { | ^ ./include/linux/rcupdate.h:935:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 935 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_sched’: ./include/linux/mmzone.h: In function ‘present_section_nr’: ./include/linux/mmzone.h: In function ‘__nr_to_section’: ./include/linux/mmzone.h:1207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1207 | { | ^ ./include/linux/rcupdate.h:940:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 940 | { | ^ ./include/linux/mmzone.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/rcupdate.h: In function ‘get_state_synchronize_sched’: ./include/linux/mmzone.h: In function ‘valid_section’: ./include/linux/mmzone.h:1212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1212 | { | ^ ./include/linux/rcupdate.h:945:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 945 | { | ^ ./include/linux/rcupdate.h: In function ‘cond_synchronize_sched’: ./include/linux/mmzone.h: In function ‘valid_section_nr’: ./include/linux/mmzone.h:1217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1217 | { | ^ ./include/linux/rcupdate.h:950:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | { | ^ ./include/linux/mmzone.h: In function ‘online_section’: ./include/linux/mmzone.h: In function ‘__section_mem_map_addr’: ./include/linux/mmzone.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/mmzone.h:1195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1195 | { | ^ ./include/linux/mmzone.h: In function ‘online_section_nr’: ./include/linux/mmzone.h:1227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1227 | { | ^ ./include/linux/mmzone.h: In function ‘present_section’: ./include/linux/mmzone.h:1202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1202 | { | ^ ./include/linux/mmzone.h: In function ‘__pfn_to_section’: ./include/linux/mmzone.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/mmzone.h: In function ‘present_section_nr’: ./include/linux/mmzone.h:1207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1207 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_valid’: ./include/linux/mmzone.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/mmzone.h: In function ‘valid_section’: ./include/linux/mmzone.h:1212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1212 | { | ^ In file included from ./include/linux/time.h:73, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/time32.h: In function ‘timespec64_to_timespec’: ./include/linux/mmzone.h: In function ‘valid_section_nr’: ./include/linux/mmzone.h: In function ‘pfn_present’: ./include/linux/mmzone.h:1217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1217 | { | ^ ./include/linux/time32.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/mmzone.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/mmzone.h: In function ‘online_section’: ./include/linux/time32.h: In function ‘timespec_to_timespec64’: ./include/linux/mmzone.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/time32.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/mmzone.h: In function ‘online_section_nr’: ./include/linux/time32.h: In function ‘timespec_equal’: ./include/linux/mmzone.h:1227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1227 | { | ^ ./include/linux/time32.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/mmzone.h: In function ‘memmap_valid_within’: ./include/linux/mmzone.h: In function ‘__pfn_to_section’: ./include/linux/mmzone.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/mmzone.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/time32.h: In function ‘timespec_compare’: ./include/linux/time32.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_valid’: ./include/linux/mmzone.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/time32.h: In function ‘timespec_valid’: ./include/linux/time32.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_present’: ./include/linux/mmzone.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/time32.h: In function ‘timespec_to_ns’: ./include/linux/time32.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/time32.h: In function ‘timespec_add_ns’: ./include/linux/time32.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ In file included from ./include/linux/topology.h:33, from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/smp.h: In function ‘get_boot_cpu_id’: ./include/linux/mmzone.h: In function ‘memmap_valid_within’: ./include/linux/mmzone.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/smp.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/time32.h: In function ‘mktime’: ./include/linux/time32.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/time32.h: In function ‘timeval_valid’: ./include/linux/time32.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/time32.h: In function ‘timeval_to_ns’: ./include/linux/time32.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ In file included from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/time.h: In function ‘itimerspec64_valid’: ./include/linux/time.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ In file included from ./include/linux/topology.h:33, from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/smp.h: In function ‘get_boot_cpu_id’: ./include/linux/smp.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ In file included from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/topology.h: In function ‘numa_node_id’: ./include/linux/topology.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:65, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/tsc.h: In function ‘get_cycles’: ./arch/x86/include/asm/tsc.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | { | ^ In file included from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/topology.h: In function ‘numa_node_id’: ./include/linux/topology.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/topology.h: In function ‘cpu_to_node’: ./include/linux/topology.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/topology.h: In function ‘set_numa_node’: ./include/linux/topology.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ In file included from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/jiffies.h: In function ‘get_jiffies_64’: ./include/linux/jiffies.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_to_nsecs’: ./include/linux/jiffies.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/jiffies.h: In function ‘_msecs_to_jiffies’: ./include/linux/jiffies.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/linux/topology.h: In function ‘cpu_to_node’: ./include/linux/jiffies.h: In function ‘msecs_to_jiffies’: ./include/linux/topology.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/jiffies.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/topology.h: In function ‘set_cpu_numa_node’: ./include/linux/jiffies.h: In function ‘_usecs_to_jiffies’: ./include/linux/topology.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/jiffies.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/topology.h: In function ‘set_numa_node’: ./include/linux/topology.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/jiffies.h: In function ‘usecs_to_jiffies’: ./include/linux/jiffies.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/topology.h: In function ‘numa_mem_id’: ./include/linux/topology.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/topology.h: In function ‘node_to_mem_node’: ./include/linux/topology.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/jiffies.h: In function ‘timespec_to_jiffies’: ./include/linux/topology.h: In function ‘cpu_to_mem’: ./include/linux/jiffies.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/topology.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_to_timespec’: ./include/linux/topology.h: In function ‘cpu_smt_mask’: ./include/linux/jiffies.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./include/linux/topology.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_clock_t’: ./include/linux/jiffies.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/topology.h: In function ‘cpu_cpu_mask’: ./include/linux/topology.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_msecs’: ./include/linux/jiffies.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ In file included from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/gfp.h: In function ‘gfpflags_to_migratetype’: ./include/linux/topology.h: In function ‘set_cpu_numa_node’: ./include/linux/gfp.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/linux/topology.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ In file included from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ktime.h: In function ‘ktime_set’: ./include/linux/topology.h: In function ‘numa_mem_id’: ./include/linux/ktime.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/topology.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/topology.h: In function ‘node_to_mem_node’: ./include/linux/topology.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/gfp.h: In function ‘gfpflags_allow_blocking’: ./include/linux/topology.h: In function ‘cpu_to_mem’: ./include/linux/gfp.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/topology.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/ktime.h: In function ‘timespec_to_ktime’: ./include/linux/ktime.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/topology.h: In function ‘cpu_smt_mask’: ./include/linux/topology.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/ktime.h: In function ‘timespec64_to_ktime’: ./include/linux/ktime.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zone’: ./include/linux/gfp.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/ktime.h: In function ‘timeval_to_ktime’: ./include/linux/ktime.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/topology.h: In function ‘cpu_cpu_mask’: ./include/linux/ktime.h: In function ‘ktime_to_ns’: ./include/linux/topology.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/ktime.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/ktime.h: In function ‘ktime_compare’: ./include/linux/ktime.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zonelist’: ./include/linux/gfp.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/ktime.h: In function ‘ktime_after’: ./include/linux/ktime.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/gfp.h: In function ‘node_zonelist’: ./include/linux/gfp.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/ktime.h: In function ‘ktime_before’: In file included from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/gfp.h: In function ‘gfpflags_to_migratetype’: ./include/linux/ktime.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/gfp.h: In function ‘arch_free_page’: ./include/linux/gfp.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/linux/ktime.h: In function ‘ktime_divns’: ./include/linux/gfp.h:460:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | static inline void arch_free_page(struct page *page, int order) { } | ^~~~ ./include/linux/ktime.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/gfp.h: In function ‘arch_alloc_page’: ./include/linux/gfp.h:463:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 463 | static inline void arch_alloc_page(struct page *page, int order) { } | ^~~~ ./include/linux/gfp.h: In function ‘__alloc_pages’: ./include/linux/gfp.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/gfp.h: In function ‘__alloc_pages_node’: ./include/linux/ktime.h: In function ‘ktime_to_us’: ./include/linux/gfp.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/ktime.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/ktime.h: In function ‘ktime_to_ms’: ./include/linux/ktime.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/gfp.h: In function ‘gfpflags_allow_blocking’: ./include/linux/gfp.h: In function ‘alloc_pages_node’: ./include/linux/ktime.h: In function ‘ktime_us_delta’: ./include/linux/gfp.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/gfp.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/ktime.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 187 | { | ^ ./include/linux/ktime.h: In function ‘ktime_ms_delta’: ./include/linux/ktime.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages’: ./include/linux/gfp.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zone’: ./include/linux/ktime.h: In function ‘ktime_add_us’: ./include/linux/gfp.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/ktime.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/ktime.h: In function ‘ktime_add_ms’: ./include/linux/ktime.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_us’: ./include/linux/ktime.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_ms’: ./include/linux/gfp.h: In function ‘gfp_zonelist’: ./include/linux/ktime.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/gfp.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/ktime.h: In function ‘ktime_to_timespec_cond’: ./include/linux/ktime.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/gfp.h: In function ‘node_zonelist’: ./include/linux/gfp.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ In file included from ./include/linux/mm.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_kill’: ./include/linux/ktime.h: In function ‘ktime_to_timespec64_cond’: ./include/linux/ktime.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/gfp.h: In function ‘arch_free_page’: ./include/linux/percpu-refcount.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/gfp.h:460:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | static inline void arch_free_page(struct page *page, int order) { } | ^~~~ ./include/linux/ktime.h: In function ‘ns_to_ktime’: ./include/linux/percpu-refcount.h: In function ‘__ref_is_percpu’: ./include/linux/gfp.h: In function ‘arch_alloc_page’: ./include/linux/ktime.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/percpu-refcount.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/gfp.h:463:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 463 | static inline void arch_alloc_page(struct page *page, int order) { } | ^~~~ ./include/linux/ktime.h: In function ‘ms_to_ktime’: ./include/linux/ktime.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/gfp.h: In function ‘__alloc_pages’: ./include/linux/gfp.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./include/linux/gfp.h: In function ‘__alloc_pages_node’: ./include/linux/percpu-refcount.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/gfp.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ In file included from ./include/linux/ktime.h:275, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/timekeeping.h: In function ‘ktime_get_real’: ./include/linux/timekeeping.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages_node’: ./include/linux/gfp.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_real’: ./include/linux/timekeeping.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime’: ./include/linux/timekeeping.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages’: ./include/linux/gfp.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime’: ./include/linux/timekeeping.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai’: ./include/linux/timekeeping.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai’: ./include/linux/timekeeping.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_mono_to_real’: ./include/linux/timekeeping.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_ns’: ./include/linux/timekeeping.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_real_ns’: ./include/linux/timekeeping.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boot_ns’: ./include/linux/timekeeping.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_tai_ns’: ./include/linux/timekeeping.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from ./include/linux/mm.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_kill’: ./include/linux/timekeeping.h: In function ‘ktime_get_raw_ns’: ./include/linux/timekeeping.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/percpu-refcount.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_ts64’: ./include/linux/timekeeping.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/percpu-refcount.h: In function ‘__ref_is_percpu’: ./include/linux/percpu-refcount.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime_ts64’: ./include/linux/timekeeping.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_seconds’: ./include/linux/timekeeping.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_ts64’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./include/linux/timekeeping.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/percpu-refcount.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai_ts64’: ./include/linux/timekeeping.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_seconds’: ./include/linux/timekeeping.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ In file included from ./include/linux/ktime.h:276, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/timekeeping32.h: In function ‘get_seconds’: ./include/linux/timekeeping32.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/timekeeping32.h: In function ‘getnstimeofday’: ./include/linux/timekeeping32.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/timekeeping32.h: In function ‘ktime_get_ts’: ./include/linux/timekeeping32.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get’: ./include/linux/percpu-refcount.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/timekeeping32.h: In function ‘getrawmonotonic’: ./include/linux/timekeeping32.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget’: ./include/linux/percpu-refcount.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/timekeeping32.h: In function ‘getboottime’: ./include/linux/timekeeping32.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ In file included from ./include/linux/timer.h:8, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/debugobjects.h: In function ‘debug_object_init’: ./include/linux/debugobjects.h:89:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | debug_object_init (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_init_on_stack’: ./include/linux/debugobjects.h:91:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_activate’: ./include/linux/debugobjects.h:93:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | debug_object_activate (void *addr, struct debug_obj_descr *descr) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_deactivate’: ./include/linux/debugobjects.h:95:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | debug_object_deactivate(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_destroy’: ./include/linux/debugobjects.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | debug_object_destroy (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_free’: ./include/linux/debugobjects.h:99:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | debug_object_free (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_assert_init’: ./include/linux/debugobjects.h:101:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | debug_object_assert_init(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_objects_early_init’: ./include/linux/debugobjects.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void debug_objects_early_init(void) { } | ^~~~~~ ./include/linux/debugobjects.h: In function ‘debug_objects_mem_init’: ./include/linux/debugobjects.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | static inline void debug_objects_mem_init(void) { } | ^~~~~~ ./include/linux/debugobjects.h: In function ‘debug_check_no_obj_freed’: ./include/linux/debugobjects.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | debug_check_no_obj_freed(const void *address, unsigned long size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/timer.h: In function ‘init_timer_on_stack_key’: ./include/linux/timer.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/timer.h: In function ‘destroy_timer_on_stack’: ./include/linux/timer.h:138:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | static inline void destroy_timer_on_stack(struct timer_list *timer) { } | ^~~~~~~~~~ ./include/linux/timer.h: In function ‘timer_pending’: ./include/linux/timer.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get’: ./include/linux/percpu-refcount.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget’: ./include/linux/percpu-refcount.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_live’: ./include/linux/percpu-refcount.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ In file included from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/workqueue.h: In function ‘to_delayed_work’: ./include/linux/workqueue.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/workqueue.h: In function ‘to_rcu_work’: ./include/linux/workqueue.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/workqueue.h: In function ‘__init_work’: ./include/linux/workqueue.h:215:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | static inline void __init_work(struct work_struct *work, int onstack) { } | ^~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘destroy_work_on_stack’: ./include/linux/workqueue.h:216:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline void destroy_work_on_stack(struct work_struct *work) { } | ^~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘destroy_delayed_work_on_stack’: ./include/linux/workqueue.h:217:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } | ^~~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘work_static’: ./include/linux/workqueue.h:218:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | static inline unsigned int work_static(struct work_struct *work) { return 0; } | ^~~~~~~~~~~ ./include/linux/workqueue.h: In function ‘queue_work’: ./include/linux/workqueue.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/workqueue.h: In function ‘queue_delayed_work’: ./include/linux/workqueue.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/workqueue.h: In function ‘mod_delayed_work’: ./include/linux/workqueue.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work_on’: ./include/linux/workqueue.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work’: ./include/linux/workqueue.h:569:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 569 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_live’: ./include/linux/workqueue.h: In function ‘flush_scheduled_work’: ./include/linux/percpu-refcount.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./include/linux/workqueue.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/percpu-refcount.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work_on’: ./include/linux/workqueue.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work’: ./include/linux/workqueue.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/workqueue.h: In function ‘wq_watchdog_touch’: ./include/linux/workqueue.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | static inline void wq_watchdog_touch(int cpu) { } | ^~~~~~ In file included from ./include/linux/srcutree.h:28, from ./include/linux/srcu.h:62, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/completion.h: In function ‘complete_acquire’: ./include/linux/completion.h:33:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | static inline void complete_acquire(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/completion.h: In function ‘complete_release’: ./include/linux/completion.h:34:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | static inline void complete_release(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/completion.h: In function ‘__init_completion’: ./include/linux/completion.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/completion.h: In function ‘reinit_completion’: ./include/linux/completion.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ In file included from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct’: ./include/linux/srcu.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/srcu.h: In function ‘cleanup_srcu_struct_quiesced’: ./include/linux/srcu.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock_held’: ./include/linux/srcu.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock’: ./include/linux/srcu.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./include/linux/percpu-refcount.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_lock_notrace’: ./include/linux/srcu.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock’: ./include/linux/srcu.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock_notrace’: ./include/linux/srcu.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/srcu.h: In function ‘smp_mb__after_srcu_read_unlock’: ./include/linux/srcu.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ In file included from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/notifier.h: In function ‘notifier_from_errno’: ./include/linux/notifier.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put’: ./include/linux/percpu-refcount.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/notifier.h: In function ‘notifier_to_errno’: ./include/linux/notifier.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_dying’: ./include/linux/percpu-refcount.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_zero’: ./include/linux/percpu-refcount.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ In file included from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqbegin’: ./include/linux/memory_hotplug.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ In file included from ./include/linux/mm.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/bit_spinlock.h: In function ‘bit_spin_lock’: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqretry’: ./include/linux/memory_hotplug.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/bit_spinlock.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writelock’: ./include/linux/memory_hotplug.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_span_writeunlock’: ./include/linux/memory_hotplug.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/memory_hotplug.h: In function ‘zone_seqlock_init’: ./include/linux/memory_hotplug.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_trylock’: ./include/linux/bit_spinlock.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_unlock’: ./include/linux/bit_spinlock.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/bit_spinlock.h: In function ‘__bit_spin_unlock’: ./include/linux/bit_spinlock.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/memory_hotplug.h: In function ‘movable_node_is_enabled’: ./include/linux/memory_hotplug.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_is_locked’: ./include/linux/bit_spinlock.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/memory_hotplug.h: In function ‘arch_refresh_nodedata’: ./include/linux/memory_hotplug.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_lock’: ./include/linux/memory_hotplug.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_unlock’: ./include/linux/memory_hotplug.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ In file included from ./include/linux/mm.h:24, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/page_ext.h: In function ‘pgdat_page_ext_init’: ./include/linux/page_ext.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/page_ext.h: In function ‘lookup_page_ext’: ./include/linux/page_ext.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init’: ./include/linux/page_ext.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init_flatmem’: ./include/linux/page_ext.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put’: ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_init’: ./include/linux/memory_hotplug.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./include/linux/percpu-refcount.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_dying’: ./include/linux/percpu-refcount.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ In file included from ./include/linux/page_ref.h:7, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/page-flags.h: In function ‘compound_head’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_zero’: ./include/linux/page-flags.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/percpu-refcount.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./include/linux/page-flags.h: In function ‘PageTail’: In file included from ./include/linux/mm.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/bit_spinlock.h: In function ‘bit_spin_lock’: ./include/linux/page-flags.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/bit_spinlock.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/page-flags.h: In function ‘PageCompound’: ./include/linux/page-flags.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_trylock’: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/bit_spinlock.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/page-flags.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/page-flags.h: In function ‘page_init_poison’: ./include/linux/page-flags.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_unlock’: ./include/linux/bit_spinlock.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/bit_spinlock.h: In function ‘__bit_spin_unlock’: ./include/linux/bit_spinlock.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/page-flags.h: In function ‘PageLocked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/bit_spinlock.h: In function ‘bit_spin_is_locked’: ./include/linux/bit_spinlock.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageLocked’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mmzone.h: In function ‘lruvec_pgdat’: ./include/linux/mmzone.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageLocked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mmzone.h: In function ‘local_memory_node’: ./include/linux/mmzone.h:799:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 799 | static inline int local_memory_node(int node_id) { return node_id; }; | ^~~~~~ ./include/linux/mmzone.h: In function ‘is_dev_zone’: ./include/linux/mmzone.h:809:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 809 | { | ^ ./include/linux/page-flags.h: In function ‘PageWaiters’: ./include/linux/mmzone.h: In function ‘managed_zone’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/mmzone.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/mmzone.h: In function ‘populated_zone’: ./include/linux/mmzone.h:832:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 832 | { | ^ ./include/linux/mmzone.h: In function ‘zone_to_nid’: ./include/linux/mmzone.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageWaiters’: ./include/linux/mmzone.h: In function ‘zone_set_nid’: ./include/linux/mmzone.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/mmzone.h: In function ‘is_highmem_idx’: ./include/linux/mmzone.h:869:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 869 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem’: In file included from ./include/linux/mm.h:24, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/page_ext.h: In function ‘pgdat_page_ext_init’: ./include/linux/page-flags.h: In function ‘ClearPageWaiters’: ./include/linux/mmzone.h:885:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 885 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/page_ext.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/page_ext.h: In function ‘lookup_page_ext’: ./include/linux/page_ext.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageWaiters’: ./include/linux/page_ext.h: In function ‘page_ext_init’: ./include/linux/page_ext.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:282:42: note: in expansion of macro ‘__CLEARPAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/page_ext.h: In function ‘page_ext_init_flatmem’: ./include/linux/page_ext.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/page-flags.h: In function ‘PageError’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ In file included from ./include/linux/page_ref.h:7, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/page-flags.h: In function ‘compound_head’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_arch_dup_mmap’: ./arch/x86/include/asm/paravirt.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./include/linux/page-flags.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageError’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageTail’: ./include/linux/page-flags.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_alloc’: ./include/linux/page-flags.h: In function ‘ClearPageError’: ./arch/x86/include/asm/paravirt.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageCompound’: ./include/linux/page-flags.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageError’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:283:40: note: in expansion of macro ‘TESTCLEARFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/page-flags.h: In function ‘page_init_poison’: ./include/linux/page-flags.h: In function ‘PageReferenced’: ./include/linux/page-flags.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_pgd_free’: ./arch/x86/include/asm/paravirt.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/page-flags.h: In function ‘PageLocked’: ./include/linux/page-flags.h: In function ‘SetPageReferenced’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageReferenced’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pte’: ./arch/x86/include/asm/paravirt.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageLocked’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageReferenced’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:285:2: note: in expansion of macro ‘TESTCLEARFLAG’ 285 | TESTCLEARFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pte’: ./arch/x86/include/asm/paravirt.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageLocked’: ./include/linux/page-flags.h: In function ‘__SetPageReferenced’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:286:2: note: in expansion of macro ‘__SETPAGEFLAG’ 286 | __SETPAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageDirty’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pmd’: ./include/linux/page-flags.h: In function ‘PageWaiters’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageDirty’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pmd’: ./arch/x86/include/asm/paravirt.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageWaiters’: ./include/linux/page-flags.h: In function ‘ClearPageDirty’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/mpspec.h: In function ‘get_smp_config’: ./arch/x86/include/asm/mpspec.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageWaiters’: ./include/linux/page-flags.h: In function ‘TestSetPageDirty’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_pud’: ./arch/x86/include/asm/mpspec.h: In function ‘early_get_smp_config’: ./arch/x86/include/asm/paravirt.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/mpspec.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./arch/x86/include/asm/mpspec.h: In function ‘find_smp_config’: ./arch/x86/include/asm/mpspec.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageWaiters’: ./include/linux/page-flags.h: In function ‘TestClearPageDirty’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:282:42: note: in expansion of macro ‘__CLEARPAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_pud’: ./arch/x86/include/asm/paravirt.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageDirty’: ./arch/x86/include/asm/mpspec.h: In function ‘physids_coerce’: ./include/linux/page-flags.h: In function ‘PageError’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:288:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 288 | __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/mpspec.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_promote’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/mpspec.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/page-flags.h: In function ‘PageLRU’: ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_alloc_p4d’: ./arch/x86/include/asm/paravirt.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/mpspec.h: In function ‘physid_set_mask_of_physid’: ./arch/x86/include/asm/mpspec.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageError’: ./include/linux/page-flags.h: In function ‘SetPageLRU’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘paravirt_release_p4d’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h:370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 370 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageError’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/topology.h: In function ‘early_cpu_to_node’: ./arch/x86/include/asm/topology.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__pte’: ./arch/x86/include/asm/paravirt.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageError’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:283:40: note: in expansion of macro ‘TESTCLEARFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/topology.h: In function ‘cpumask_of_node’: ./include/linux/page-flags.h: In function ‘PageReferenced’: ./arch/x86/include/asm/topology.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReferenced’: In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/topology.h: In function ‘topology_max_smt_threads’: ./arch/x86/include/asm/topology.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageLRU’: ./arch/x86/include/asm/topology.h: In function ‘arch_fix_phys_package_id’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageReferenced’: ./arch/x86/include/asm/topology.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageLRU’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:289:29: note: in expansion of macro ‘__CLEARPAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageReferenced’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:285:2: note: in expansion of macro ‘TESTCLEARFLAG’ 285 | TESTCLEARFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/numa.h: In function ‘set_apicid_to_node’: ./include/linux/page-flags.h: In function ‘PageActive’: ./arch/x86/include/asm/numa.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageReferenced’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:286:2: note: in expansion of macro ‘__SETPAGEFLAG’ 286 | __SETPAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageDirty’: ./include/linux/page-flags.h: In function ‘SetPageActive’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageActive’: ./arch/x86/include/asm/paravirt.h: In function ‘pte_val’: ./arch/x86/include/asm/paravirt.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageDirty’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageActive’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:290:35: note: in expansion of macro ‘__CLEARPAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageDirty’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageActive’: In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/io.h: In function ‘readb’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:291:2: note: in expansion of macro ‘TESTCLEARFLAG’ 291 | TESTCLEARFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/io.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | build_mmio_read(readb, "b", unsigned char, "=q", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageDirty’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘readw’: ./include/linux/page-flags.h: In function ‘PageWorkingset’: ./arch/x86/include/asm/io.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | build_mmio_read(readw, "w", unsigned short, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageDirty’: ./arch/x86/include/asm/io.h: In function ‘readl’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readb’: ./include/linux/page-flags.h: In function ‘SetPageWorkingset’: ./arch/x86/include/asm/io.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | build_mmio_read(__readb, "b", unsigned char, "=q", ) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageDirty’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:288:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 288 | __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readw’: ./arch/x86/include/asm/io.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | build_mmio_read(__readw, "w", unsigned short, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageWorkingset’: ./arch/x86/include/asm/io.h: In function ‘__readl’: ./include/linux/page-flags.h: In function ‘PageLRU’: ./arch/x86/include/asm/paravirt.h: In function ‘__pgd’: ./arch/x86/include/asm/io.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | build_mmio_read(__readl, "l", unsigned int, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writeb’: ./arch/x86/include/asm/io.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | build_mmio_write(writeb, "b", unsigned char, "q", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageWorkingset’: ./arch/x86/include/asm/io.h: In function ‘writew’: ./arch/x86/include/asm/io.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | build_mmio_write(writew, "w", unsigned short, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:293:2: note: in expansion of macro ‘TESTCLEARFLAG’ 293 | TESTCLEARFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageLRU’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writel’: ./arch/x86/include/asm/io.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | build_mmio_write(writel, "l", unsigned int, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSlab’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writeb’: ./arch/x86/include/asm/io.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | build_mmio_write(__writeb, "b", unsigned char, "q", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writew’: ./arch/x86/include/asm/io.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | build_mmio_write(__writew, "w", unsigned short, "r", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writel’: ./arch/x86/include/asm/io.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | build_mmio_write(__writel, "l", unsigned int, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageSlab’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘readq’: ./arch/x86/include/asm/io.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | build_mmio_read(readq, "q", u64, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageSlab’: ./arch/x86/include/asm/io.h: In function ‘__readq’: ./arch/x86/include/asm/io.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | build_mmio_read(__readq, "q", u64, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writeq’: ./arch/x86/include/asm/io.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | build_mmio_write(writeq, "q", u64, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSlobFree’: ./arch/x86/include/asm/io.h: In function ‘__writeq’: ./arch/x86/include/asm/io.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | build_mmio_write(__writeq, "q", u64, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageLRU’: ./arch/x86/include/asm/io.h: In function ‘virt_to_phys’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/io.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSlobFree’: ./arch/x86/include/asm/io.h: In function ‘phys_to_virt’: ./arch/x86/include/asm/io.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageLRU’: ./arch/x86/include/asm/io.h: In function ‘isa_virt_to_bus’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:289:29: note: in expansion of macro ‘__CLEARPAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlobFree’: ./include/linux/page-flags.h: In function ‘PageActive’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘ioremap’: ./arch/x86/include/asm/io.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageChecked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageActive’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageChecked’: ./include/linux/page-flags.h: In function ‘ClearPageActive’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/io.h: In function ‘sev_key_active’: ./arch/x86/include/asm/io.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageActive’: ./include/linux/page-flags.h: In function ‘ClearPageChecked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:290:35: note: in expansion of macro ‘__CLEARPAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageActive’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:291:2: note: in expansion of macro ‘TESTCLEARFLAG’ 291 | TESTCLEARFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePinned’: ./arch/x86/include/asm/io.h: In function ‘outb’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | BUILDIO(b, b, char) | ^~~~~~~ ./arch/x86/include/asm/io.h: In function ‘inb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘PageWorkingset’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘SetPagePinned’: ./arch/x86/include/asm/io.h: In function ‘inb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outsb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘SetPageWorkingset’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePinned’: ./arch/x86/include/asm/io.h: In function ‘insb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageWorkingset’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outw’: ./include/linux/page-flags.h: In function ‘TestSetPagePinned’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | BUILDIO(w, w, short) | ^~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘inw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘TestClearPageWorkingset’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:293:2: note: in expansion of macro ‘TESTCLEARFLAG’ 293 | TESTCLEARFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outw_p’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘TestClearPagePinned’: ./arch/x86/include/asm/io.h: In function ‘inw_p’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘PageSlab’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outsw’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘PageSavePinned’: ./arch/x86/include/asm/io.h: In function ‘insw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageSlab’: ./arch/x86/include/asm/io.h: In function ‘outl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | BUILDIO(l, , int) | ^~~~~~~ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘inl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘SetPageSavePinned’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘outl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘inl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘__ClearPageSlab’: ./include/linux/page-flags.h: In function ‘ClearPageSavePinned’: ./arch/x86/include/asm/io.h: In function ‘outsl’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘insl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/page-flags.h: In function ‘PageForeign’: ./include/linux/page-flags.h: In function ‘PageSlobFree’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageForeign’: ./include/linux/page-flags.h: In function ‘__SetPageSlobFree’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/io.h: In function ‘readsb’: ./include/linux/page-flags.h: In function ‘ClearPageForeign’: ./include/asm-generic/io.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageSlobFree’: ./include/asm-generic/io.h: In function ‘readsw’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/asm-generic/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/page-flags.h: In function ‘PageReserved’: ./include/asm-generic/io.h: In function ‘readsl’: ./include/asm-generic/io.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageChecked’: ./include/asm-generic/io.h: In function ‘readsq’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/asm-generic/io.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/asm-generic/io.h: In function ‘writesb’: ./include/linux/page-flags.h: In function ‘SetPageReserved’: ./include/asm-generic/io.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/asm-generic/io.h: In function ‘writesw’: ./include/asm-generic/io.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageChecked’: ./include/linux/page-flags.h: In function ‘ClearPageReserved’: ./include/asm-generic/io.h: In function ‘writesl’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/asm-generic/io.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./include/asm-generic/io.h: In function ‘writesq’: ./include/asm-generic/io.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageReserved’: ./include/linux/page-flags.h: In function ‘ClearPageChecked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:305:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 305 | __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageReserved’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:306:2: note: in expansion of macro ‘__SETPAGEFLAG’ 306 | __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePinned’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapBacked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPagePinned’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageSwapBacked’: ./include/linux/page-flags.h: In function ‘ClearPagePinned’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/io.h: In function ‘insb_p’: ./include/asm-generic/io.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSwapBacked’: ./include/asm-generic/io.h: In function ‘insw_p’: ./include/asm-generic/io.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPagePinned’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./include/asm-generic/io.h: In function ‘insl_p’: ./include/asm-generic/io.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/asm-generic/io.h: In function ‘outsb_p’: ./include/linux/page-flags.h: In function ‘__ClearPageSwapBacked’: ./include/asm-generic/io.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPagePinned’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:308:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 308 | __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/asm-generic/io.h: In function ‘outsw_p’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./include/asm-generic/io.h:676:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 676 | { | ^ ./include/asm-generic/io.h: In function ‘outsl_p’: ./include/asm-generic/io.h:685:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 685 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSwapBacked’: ./include/linux/page-flags.h: In function ‘PageSavePinned’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:309:2: note: in expansion of macro ‘__SETPAGEFLAG’ 309 | __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePrivate’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ In file included from ./include/linux/vmalloc.h:8, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/llist.h: In function ‘init_llist_head’: ./include/linux/page-flags.h: In function ‘SetPageSavePinned’: ./include/linux/llist.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPagePrivate’: ./include/linux/llist.h: In function ‘llist_empty’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/llist.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSavePinned’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePrivate’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/llist.h: In function ‘llist_next’: ./include/linux/llist.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/page-flags.h: In function ‘PageForeign’: ./include/linux/page-flags.h: In function ‘__SetPagePrivate’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/llist.h: In function ‘llist_add’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:316:36: note: in expansion of macro ‘__SETPAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/llist.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/llist.h: In function ‘llist_del_all’: ./include/linux/llist.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPagePrivate’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:317:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 317 | __CLEARPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageForeign’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePrivate2’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageForeign’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPagePrivate2’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageReserved’: In file included from ./include/linux/vmalloc.h:10, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rbtree.h: In function ‘rb_link_node’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePrivate2’: ./include/linux/rbtree.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/rbtree.h: In function ‘rb_link_node_rcu’: ./include/linux/rbtree.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 116 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPagePrivate2’: ./include/linux/page-flags.h: In function ‘SetPageReserved’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPagePrivate2’: ./include/linux/page-flags.h: In function ‘ClearPageReserved’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageOwnerPriv1’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageReserved’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:305:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 305 | __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageOwnerPriv1’: ./include/linux/page-flags.h: In function ‘__SetPageReserved’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ In file included from ./include/linux/vmalloc.h:11, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/overflow.h: In function ‘array_size’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:306:2: note: in expansion of macro ‘__SETPAGEFLAG’ 306 | __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageOwnerPriv1’: ./include/linux/overflow.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapBacked’: ./include/linux/page-flags.h: In function ‘TestClearPageOwnerPriv1’: ./include/linux/overflow.h: In function ‘array3_size’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:320:2: note: in expansion of macro ‘TESTCLEARFLAG’ 320 | TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/overflow.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/page-flags.h: In function ‘PageWriteback’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:326:1: note: in expansion of macro ‘TESTPAGEFLAG’ 326 | TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~~~ ./include/linux/overflow.h: In function ‘__ab_c_size’: ./include/linux/page-flags.h: In function ‘SetPageSwapBacked’: ./include/linux/overflow.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageWriteback’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageSwapBacked’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageWriteback’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageSwapBacked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:308:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 308 | __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMappedToDisk’: In file included from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/vmalloc.h: In function ‘get_vm_area_size’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/vmalloc.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSwapBacked’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:309:2: note: in expansion of macro ‘__SETPAGEFLAG’ 309 | __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageMappedToDisk’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePrivate’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageMappedToDisk’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPagePrivate’: In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/io.h: In function ‘xlate_dev_kmem_ptr’: ./include/asm-generic/io.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageReclaim’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePrivate’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ In file included from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: ./include/linux/page-flags.h: In function ‘SetPageReclaim’: ./include/linux/page-flags.h: In function ‘__SetPagePrivate’: ./arch/x86/include/asm/realmode.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:316:36: note: in expansion of macro ‘__SETPAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPagePrivate’: ./include/linux/page-flags.h: In function ‘ClearPageReclaim’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:317:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 317 | __CLEARPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ In file included from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/acpi.h: In function ‘disable_acpi’: ./arch/x86/include/asm/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page-flags.h: In function ‘PagePrivate2’: ./arch/x86/include/asm/acpi.h: In function ‘acpi_noirq_set’: ./include/linux/page-flags.h: In function ‘TestClearPageReclaim’: ./arch/x86/include/asm/acpi.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | ^~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:332:2: note: in expansion of macro ‘TESTCLEARFLAG’ 332 | TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/acpi.h: In function ‘acpi_disable_pci’: ./arch/x86/include/asm/acpi.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_processor_cstate_check’: ./arch/x86/include/asm/acpi.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/page-flags.h: In function ‘PageReadahead’: ./include/linux/page-flags.h: In function ‘SetPagePrivate2’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePrivate2’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReadahead’: ./include/linux/page-flags.h: In function ‘TestSetPagePrivate2’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageReadahead’: ./include/linux/page-flags.h: In function ‘TestClearPagePrivate2’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageReadahead’: ./include/linux/page-flags.h: In function ‘PageOwnerPriv1’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:334:2: note: in expansion of macro ‘TESTCLEARFLAG’ 334 | TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/acpi.h: In function ‘arch_has_acpi_pdc’: ./arch/x86/include/asm/acpi.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/page-flags.h: In function ‘PageHighMem’: ./include/linux/page-flags.h: In function ‘SetPageOwnerPriv1’: ./include/linux/page-flags.h:258:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | static inline int Page##uname(const struct page *page) { return 0; } | ^~~~ ./include/linux/page-flags.h:275:31: note: in expansion of macro ‘TESTPAGEFLAG_FALSE’ 275 | #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname) \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageHighMem’: ./arch/x86/include/asm/acpi.h: In function ‘arch_acpi_set_pdc_bits’: ./include/linux/page-flags.h:261:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | static inline void SetPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:2: note: in expansion of macro ‘SETPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/acpi.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageOwnerPriv1’: ./include/linux/page-flags.h: In function ‘ClearPageHighMem’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h:264:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | static inline void ClearPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:26: note: in expansion of macro ‘CLEARPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapCache’: ./include/linux/page-flags.h:348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 348 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageOwnerPriv1’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:320:2: note: in expansion of macro ‘TESTCLEARFLAG’ 320 | TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageSwapCache’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:355:1: note: in expansion of macro ‘SETPAGEFLAG’ 355 | SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageWriteback’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:326:1: note: in expansion of macro ‘TESTPAGEFLAG’ 326 | TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageSwapCache’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:356:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 356 | CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageWriteback’: ./include/linux/page-flags.h: In function ‘PageUnevictable’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageWriteback’: ./include/linux/page-flags.h: In function ‘SetPageUnevictable’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUnevictable’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMappedToDisk’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageUnevictable’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:362:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 362 | __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageUnevictable’: ./include/linux/page-flags.h: In function ‘SetPageMappedToDisk’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:363:2: note: in expansion of macro ‘TESTCLEARFLAG’ 363 | TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMlocked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageMappedToDisk’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageMlocked’: ./include/linux/page-flags.h: In function ‘PageReclaim’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/acpi.h: In function ‘acpi_has_cpu_in_madt’: ./arch/x86/include/asm/acpi.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageMlocked’: ./arch/x86/include/asm/acpi.h: In function ‘acpi_arch_get_root_pointer’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReclaim’: ./arch/x86/include/asm/acpi.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/acpi.h: In function ‘arch_apei_get_mem_attribute’: ./arch/x86/include/asm/acpi.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageMlocked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:367:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 367 | __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageReclaim’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageMlocked’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageReclaim’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:332:2: note: in expansion of macro ‘TESTCLEARFLAG’ 332 | TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageMlocked’: ./include/linux/page-flags.h: In function ‘PageReadahead’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageUncached’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReadahead’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageUncached’: ./include/linux/page-flags.h: In function ‘ClearPageReadahead’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUncached’: ./include/linux/page-flags.h: In function ‘TestClearPageReadahead’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:334:2: note: in expansion of macro ‘TESTCLEARFLAG’ 334 | TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageHighMem’: ./include/linux/page-flags.h: In function ‘PageHWPoison’: ./include/linux/page-flags.h:258:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | static inline int Page##uname(const struct page *page) { return 0; } | ^~~~ ./include/linux/page-flags.h:275:31: note: in expansion of macro ‘TESTPAGEFLAG_FALSE’ 275 | #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname) \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageHighMem’: ./include/linux/page-flags.h:261:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | static inline void SetPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:2: note: in expansion of macro ‘SETPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageHighMem’: ./include/linux/page-flags.h: In function ‘SetPageHWPoison’: ./include/linux/page-flags.h:264:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | static inline void ClearPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:26: note: in expansion of macro ‘CLEARPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapCache’: ./include/linux/page-flags.h:348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 348 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageHWPoison’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageSwapCache’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:355:1: note: in expansion of macro ‘SETPAGEFLAG’ 355 | SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageHWPoison’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageSwapCache’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:356:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 356 | CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageHWPoison’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageUnevictable’: ./include/linux/page-flags.h: In function ‘PageYoung’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:395:1: note: in expansion of macro ‘TESTPAGEFLAG’ 395 | TESTPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageYoung’: ./include/linux/page-flags.h: In function ‘SetPageUnevictable’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:396:1: note: in expansion of macro ‘SETPAGEFLAG’ 396 | SETPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~ In file included from ./include/asm-generic/fixmap.h:19, from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm_types.h: In function ‘mm_init_cpumask’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageYoung’: ./include/linux/mm_types.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageUnevictable’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:397:1: note: in expansion of macro ‘TESTCLEARFLAG’ 397 | TESTCLEARFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/mm_types.h: In function ‘mm_cpumask’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/mm_types.h:523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 523 | { | ^ ./include/linux/page-flags.h: In function ‘PageIdle’: ./include/linux/mm_types.h: In function ‘init_tlb_flush_pending’: ./include/linux/page-flags.h: In function ‘__ClearPageUnevictable’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/mm_types.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:362:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 362 | __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/mm_types.h: In function ‘inc_tlb_flush_pending’: ./include/linux/mm_types.h:539:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 539 | { | ^ ./include/linux/mm_types.h: In function ‘dec_tlb_flush_pending’: ./include/linux/page-flags.h: In function ‘SetPageIdle’: ./include/linux/mm_types.h:580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 580 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageUnevictable’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_pending’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:363:2: note: in expansion of macro ‘TESTCLEARFLAG’ 363 | TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/mm_types.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageIdle’: ./include/linux/mm_types.h: In function ‘mm_tlb_flush_nested’: ./include/linux/mm_types.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMlocked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMappingFlags’: ./include/linux/page-flags.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ In file included from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/fixmap.h: In function ‘fix_to_virt’: ./include/asm-generic/fixmap.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/page-flags.h: In function ‘PageAnon’: ./include/linux/page-flags.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/page-flags.h: In function ‘__PageMovable’: ./include/linux/page-flags.h: In function ‘SetPageMlocked’: ./include/linux/page-flags.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/asm-generic/fixmap.h: In function ‘virt_to_fix’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/asm-generic/fixmap.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/page-flags.h: In function ‘PageKsm’: ./include/linux/page-flags.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/page-flags.h: In function ‘PageUptodate’: ./include/linux/page-flags.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageMlocked’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageUptodate’: ./include/linux/page-flags.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageMlocked’: ./include/linux/page-flags.h: In function ‘SetPageUptodate’: ./include/linux/page-flags.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:367:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 367 | __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUptodate’: ./include/linux/page-flags.h: In function ‘TestSetPageMlocked’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:497:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 497 | CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘set_page_writeback’: ./include/linux/page-flags.h: In function ‘TestClearPageMlocked’: ./include/linux/page-flags.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ In file included from ./arch/x86/include/asm/apic.h:13, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_set_cpu_l1tf_flush_l1d’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/hardirq.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback_keepwrite’: ./include/linux/page-flags.h:513:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 513 | { | ^ ./include/linux/page-flags.h: In function ‘PageHead’: ./include/linux/page-flags.h: In function ‘PageUncached’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageHead’: ./arch/x86/include/asm/paravirt.h: In function ‘pgd_val’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageUncached’: ./arch/x86/include/asm/paravirt.h:412:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 412 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageHead’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUncached’: ./include/linux/page-flags.h: In function ‘ClearPageHead’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:517:32: note: in expansion of macro ‘CLEARPAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘set_compound_head’: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_clear_cpu_l1tf_flush_l1d’: ./include/linux/page-flags.h: In function ‘PageHWPoison’: ./arch/x86/include/asm/hardirq.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page-flags.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘clear_compound_head’: ./include/linux/page-flags.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageHWPoison’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageCompound’: ./include/linux/page-flags.h:531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 531 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageHWPoison’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_start’: ./arch/x86/include/asm/paravirt.h:427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 427 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageHWPoison’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageTransHuge’: ./include/linux/page-flags.h:564:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 564 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageHWPoison’: ./include/linux/page-flags.h: In function ‘PageTransCompound’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ ./arch/x86/include/asm/hardirq.h: In function ‘kvm_get_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompoundMap’: ./include/linux/page-flags.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./include/linux/page-flags.h: In function ‘PageYoung’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:395:1: note: in expansion of macro ‘TESTPAGEFLAG’ 395 | TESTPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageTransTail’: ./include/linux/page-flags.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘ptep_modify_prot_commit’: ./include/linux/page-flags.h: In function ‘PageDoubleMap’: ./arch/x86/include/asm/paravirt.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/page-flags.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageYoung’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:396:1: note: in expansion of macro ‘SETPAGEFLAG’ 396 | SETPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageDoubleMap’: ./include/linux/page-flags.h:629:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 629 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageYoung’: ./include/linux/page-flags.h: In function ‘ClearPageDoubleMap’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte’: ./include/linux/page-flags.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:397:1: note: in expansion of macro ‘TESTCLEARFLAG’ 397 | TESTCLEARFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/paravirt.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDoubleMap’: ./include/linux/page-flags.h: In function ‘PageIdle’: ./include/linux/page-flags.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageDoubleMap’: In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/apic.h: In function ‘generic_apic_probe’: ./include/linux/page-flags.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./arch/x86/include/asm/apic.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageIdle’: ./arch/x86/include/asm/apic.h: In function ‘default_inquire_remote_apic’: ./include/linux/page-flags.h: In function ‘page_has_type’: ./arch/x86/include/asm/apic.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_from_smp_config’: ./arch/x86/include/asm/apic.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_at’: ./arch/x86/include/asm/paravirt.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/page-flags.h: In function ‘PageBuddy’: ./include/linux/page-flags.h: In function ‘ClearPageIdle’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_write’: ./arch/x86/include/asm/apic.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageBuddy’: ./include/linux/page-flags.h: In function ‘PageMappingFlags’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_read’: ./include/linux/page-flags.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘set_pmd’: ./arch/x86/include/asm/paravirt.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/page-flags.h: In function ‘PageAnon’: ./include/linux/page-flags.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBuddy’: ./arch/x86/include/asm/apic.h: In function ‘apic_is_x2apic_enabled’: ./arch/x86/include/asm/apic.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__PageMovable’: ./include/linux/page-flags.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/page-flags.h: In function ‘PageBalloon’: ./arch/x86/include/asm/apic.h: In function ‘apic_force_enable’: ./include/linux/page-flags.h: In function ‘PageKsm’: ./arch/x86/include/asm/apic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/page-flags.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h: In function ‘x2apic_wrmsr_fence’: ./include/linux/page-flags.h: In function ‘__SetPageBalloon’: ./arch/x86/include/asm/apic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/page-flags.h: In function ‘PageUptodate’: ./include/linux/page-flags.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_write’: ./arch/x86/include/asm/paravirt.h: In function ‘__pmd’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/paravirt.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageUptodate’: ./include/linux/page-flags.h: In function ‘__ClearPageBalloon’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_eoi_write’: ./include/linux/page-flags.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./arch/x86/include/asm/apic.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_read’: ./include/linux/page-flags.h: In function ‘SetPageUptodate’: ./arch/x86/include/asm/apic.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./include/linux/page-flags.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/page-flags.h: In function ‘PageKmemcg’: ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUptodate’: ./arch/x86/include/asm/apic.h: In function ‘native_safe_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:497:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 497 | CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageKmemcg’: ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_write’: ./arch/x86/include/asm/apic.h:241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 241 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_read’: ./arch/x86/include/asm/apic.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback’: ./include/linux/page-flags.h: In function ‘__ClearPageKmemcg’: ./include/linux/page-flags.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_enabled’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘set_page_writeback_keepwrite’: ./arch/x86/include/asm/apic.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/page-flags.h:513:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 513 | { | ^ ./include/linux/page-flags.h: In function ‘PageTable’: ./include/linux/page-flags.h: In function ‘PageHead’: ./arch/x86/include/asm/paravirt.h: In function ‘pmd_val’: ./arch/x86/include/asm/paravirt.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageTable’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageHead’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageTable’: ./include/linux/page-flags.h: In function ‘__ClearPageHead’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageIsolated’: ./include/linux/page-flags.h: In function ‘ClearPageHead’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:517:32: note: in expansion of macro ‘CLEARPAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘set_compound_head’: ./include/linux/page-flags.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageIsolated’: ./arch/x86/include/asm/apic.h: In function ‘apic_read’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pud’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./arch/x86/include/asm/apic.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/paravirt.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/page-flags.h: In function ‘clear_compound_head’: ./arch/x86/include/asm/apic.h: In function ‘apic_write’: ./include/linux/page-flags.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageIsolated’: ./arch/x86/include/asm/apic.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_eoi’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./arch/x86/include/asm/apic.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageCompound’: ./include/linux/page-flags.h:531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 531 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_icr_read’: ./include/linux/page-flags.h: In function ‘PageSlabPfmemalloc’: ./arch/x86/include/asm/apic.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./include/linux/page-flags.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_icr_write’: ./arch/x86/include/asm/apic.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSlabPfmemalloc’: ./arch/x86/include/asm/apic.h: In function ‘apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/page-flags.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘safe_apic_wait_icr_idle’: ./include/linux/page-flags.h: In function ‘PageTransHuge’: ./arch/x86/include/asm/paravirt.h: In function ‘__pud’: ./arch/x86/include/asm/apic.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlabPfmemalloc’: ./include/linux/page-flags.h:564:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 564 | { | ^ ./arch/x86/include/asm/paravirt.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/page-flags.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompound’: ./arch/x86/include/asm/apic.h: In function ‘ack_APIC_irq’: ./include/linux/page-flags.h: In function ‘ClearPageSlabPfmemalloc’: ./include/linux/page-flags.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ ./arch/x86/include/asm/apic.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/page-flags.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompoundMap’: ./arch/x86/include/asm/apic.h: In function ‘default_get_apic_id’: ./include/linux/page-flags.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./arch/x86/include/asm/apic.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_private’: ./include/linux/page-flags.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransTail’: ./include/linux/page-flags.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/page-flags.h: In function ‘PageDoubleMap’: ./include/linux/page-flags.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ In file included from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/page_ref.h: In function ‘__page_ref_set’: ./include/linux/page_ref.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod’: ./include/linux/page-flags.h: In function ‘SetPageDoubleMap’: ./include/linux/page_ref.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_test’: ./include/linux/page-flags.h:629:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 629 | { | ^ ./include/linux/page_ref.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_return’: ./include/linux/page_ref.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageDoubleMap’: ./include/linux/page_ref.h: In function ‘__page_ref_mod_unless’: ./include/linux/page_ref.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/page-flags.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_freeze’: ./include/linux/page_ref.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDoubleMap’: ./include/linux/page_ref.h: In function ‘__page_ref_unfreeze’: ./include/linux/page_ref.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/page-flags.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_count’: ./include/linux/page_ref.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageDoubleMap’: ./include/linux/page_ref.h: In function ‘page_count’: ./include/linux/page_ref.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page-flags.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/page_ref.h: In function ‘set_page_count’: ./include/linux/page_ref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_type’: ./include/linux/page_ref.h: In function ‘init_page_count’: ./include/linux/page_ref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/page-flags.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add’: ./include/linux/page_ref.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/page-flags.h: In function ‘PageBuddy’: ./include/linux/page_ref.h: In function ‘page_ref_sub’: In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/apic.h: In function ‘read_apic_id’: ./include/linux/page_ref.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./arch/x86/include/asm/apic.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./include/linux/page_ref.h: In function ‘page_ref_inc’: ./include/linux/page_ref.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageBuddy’: ./include/linux/page_ref.h: In function ‘page_ref_dec’: ./arch/x86/include/asm/apic.h: In function ‘entering_irq’: ./include/linux/page_ref.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub_and_test’: ./arch/x86/include/asm/apic.h: In function ‘entering_ack_irq’: ./include/linux/page_ref.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/apic.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBuddy’: ./arch/x86/include/asm/apic.h: In function ‘ipi_entering_ack_irq’: ./include/linux/page_ref.h: In function ‘page_ref_inc_return’: ./arch/x86/include/asm/apic.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/page_ref.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_irq’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/apic.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_and_test’: ./arch/x86/include/asm/apic.h: In function ‘exiting_ack_irq’: ./include/linux/page_ref.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/apic.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/page-flags.h: In function ‘PageBalloon’: ./include/linux/page_ref.h: In function ‘page_ref_dec_return’: ./include/linux/page_ref.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/page_ref.h: In function ‘page_ref_add_unless’: ./include/linux/page-flags.h: In function ‘__SetPageBalloon’: ./include/linux/page_ref.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/page_ref.h: In function ‘page_ref_freeze’: ./include/linux/page_ref.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBalloon’: ./include/linux/page_ref.h: In function ‘page_ref_unfreeze’: ./include/linux/page_ref.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageKmemcg’: ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/smp.h:15, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/io_apic.h: In function ‘io_apic_read’: ./arch/x86/include/asm/io_apic.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageKmemcg’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/smp.h: In function ‘cpu_llc_shared_mask’: ./include/linux/page-flags.h: In function ‘__ClearPageKmemcg’: ./arch/x86/include/asm/smp.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ In file included from ./include/linux/memremap.h:4, from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ioport.h: In function ‘resource_size’: ./include/linux/page-flags.h: In function ‘PageTable’: ./include/linux/ioport.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/ioport.h: In function ‘resource_type’: ./include/linux/ioport.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/ioport.h: In function ‘resource_ext_type’: ./arch/x86/include/asm/smp.h: In function ‘smp_send_stop’: ./include/linux/page-flags.h: In function ‘__SetPageTable’: ./include/linux/ioport.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./arch/x86/include/asm/smp.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘stop_other_cpus’: ./include/linux/ioport.h: In function ‘resource_contains’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/smp.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/ioport.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_boot_cpu’: ./arch/x86/include/asm/smp.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_cpus’: ./arch/x86/include/asm/smp.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageTable’: ./arch/x86/include/asm/smp.h: In function ‘smp_cpus_done’: ./arch/x86/include/asm/smp.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/smp.h: In function ‘__cpu_up’: ./arch/x86/include/asm/smp.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_disable’: ./arch/x86/include/asm/smp.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/ioport.h: In function ‘resource_overlaps’: ./arch/x86/include/asm/smp.h: In function ‘__cpu_die’: ./include/linux/page-flags.h: In function ‘PageIsolated’: ./include/linux/ioport.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./arch/x86/include/asm/smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘play_dead’: ./arch/x86/include/asm/smp.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./arch/x86/include/asm/smp.h: In function ‘smp_send_reschedule’: ./arch/x86/include/asm/smp.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_single_ipi’: ./arch/x86/include/asm/smp.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_ipi_mask’: In file included from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/memremap.h: In function ‘put_dev_pagemap’: ./arch/x86/include/asm/smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageIsolated’: ./include/linux/memremap.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm.h: In function ‘set_max_mapnr’: ./include/linux/page-flags.h: In function ‘__ClearPageIsolated’: ./include/linux/mm.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | static inline void set_max_mapnr(unsigned long limit) { } | ^~~~~~ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mmzone.h: In function ‘zonelist_zone’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/linux/mm.h: In function ‘totalram_pages’: ./include/linux/mm.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_inc’: ./include/linux/mm.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/page-flags.h: In function ‘PageSlabPfmemalloc’: ./include/linux/mmzone.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_dec’: ./include/linux/page-flags.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/mm.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_zone_idx’: ./include/linux/mmzone.h:966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 966 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_add’: ./include/linux/mmzone.h: In function ‘zonelist_node_idx’: ./include/linux/mm.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSlabPfmemalloc’: ./include/linux/mmzone.h:971:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 971 | { | ^ ./include/linux/page-flags.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_set’: ./include/linux/mm.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/page-flags.h: In function ‘__ClearPageSlabPfmemalloc’: ./include/linux/mmzone.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/page-flags.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSlabPfmemalloc’: ./include/linux/mmzone.h: In function ‘first_zones_zonelist’: ./include/linux/page-flags.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/mmzone.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_private’: ./include/linux/page-flags.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_to_section_nr’: ./include/linux/mmzone.h:1101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1101 | { | ^ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_dirty’: ./include/linux/mmzone.h: In function ‘section_nr_to_pfn’: ./include/linux/mmzone.h:1105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1105 | { | ^ In file included from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/page_ref.h: In function ‘__page_ref_set’: ./arch/x86/include/asm/pgtable.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/page_ref.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/mmzone.h: In function ‘__nr_to_section’: ./arch/x86/include/asm/pgtable.h: In function ‘read_pkru’: ./include/linux/mmzone.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./arch/x86/include/asm/pgtable.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod’: ./include/linux/page_ref.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_test’: ./include/linux/page_ref.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_return’: ./include/linux/page_ref.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_unless’: ./include/linux/page_ref.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/mmzone.h: In function ‘__section_mem_map_addr’: ./include/linux/mmzone.h:1195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1195 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_freeze’: ./include/linux/page_ref.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/mmzone.h: In function ‘present_section’: ./include/linux/page_ref.h: In function ‘__page_ref_unfreeze’: ./include/linux/page_ref.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/mmzone.h:1202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1202 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_count’: ./include/linux/page_ref.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/mmzone.h: In function ‘present_section_nr’: ./include/linux/mmzone.h:1207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1207 | { | ^ ./include/linux/page_ref.h: In function ‘page_count’: ./include/linux/mmzone.h: In function ‘valid_section’: ./include/linux/page_ref.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/mmzone.h:1212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1212 | { | ^ ./include/linux/mmzone.h: In function ‘valid_section_nr’: ./include/linux/page_ref.h: In function ‘set_page_count’: ./include/linux/page_ref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/mmzone.h:1217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1217 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘write_pkru’: ./arch/x86/include/asm/pgtable.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/mmzone.h: In function ‘online_section’: ./include/linux/page_ref.h: In function ‘init_page_count’: ./include/linux/mmzone.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/page_ref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/mmzone.h: In function ‘online_section_nr’: ./include/linux/mmzone.h:1227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1227 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add’: ./include/linux/page_ref.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/mmzone.h: In function ‘__pfn_to_section’: ./include/linux/mmzone.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub’: ./include/linux/page_ref.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_valid’: ./include/linux/mmzone.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_inc’: ./include/linux/page_ref.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_present’: ./include/linux/page_ref.h: In function ‘page_ref_dec’: ./include/linux/page_ref.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/mmzone.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub_and_test’: ./include/linux/page_ref.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_young’: ./include/linux/mmzone.h: In function ‘memmap_valid_within’: ./arch/x86/include/asm/pgtable.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_inc_return’: ./include/linux/mmzone.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/page_ref.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_dirty’: ./arch/x86/include/asm/pgtable.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_and_test’: ./include/linux/page_ref.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_return’: ./include/linux/page_ref.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add_unless’: ./include/linux/page_ref.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ In file included from ./include/linux/topology.h:33, from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/smp.h: In function ‘get_boot_cpu_id’: ./include/linux/smp.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_freeze’: ./include/linux/page_ref.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_unfreeze’: ./include/linux/page_ref.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ In file included from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/topology.h: In function ‘numa_node_id’: ./include/linux/topology.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./include/linux/memremap.h:4, from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ioport.h: In function ‘resource_size’: ./include/linux/ioport.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/ioport.h: In function ‘resource_type’: ./include/linux/ioport.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/ioport.h: In function ‘resource_ext_type’: ./include/linux/ioport.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/ioport.h: In function ‘resource_contains’: ./include/linux/ioport.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/topology.h: In function ‘cpu_to_node’: ./include/linux/topology.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/topology.h: In function ‘set_numa_node’: ./include/linux/topology.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/ioport.h: In function ‘resource_overlaps’: ./include/linux/ioport.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ In file included from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/memremap.h: In function ‘put_dev_pagemap’: ./include/linux/memremap.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm.h: In function ‘set_max_mapnr’: ./include/linux/mm.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | static inline void set_max_mapnr(unsigned long limit) { } | ^~~~~~ ./include/linux/topology.h: In function ‘set_cpu_numa_node’: ./include/linux/topology.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages’: ./include/linux/mm.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_inc’: ./include/linux/mm.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_dec’: ./include/linux/mm.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/topology.h: In function ‘numa_mem_id’: ./include/linux/topology.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_add’: ./include/linux/mm.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/topology.h: In function ‘node_to_mem_node’: ./include/linux/topology.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_set’: ./include/linux/topology.h: In function ‘cpu_to_mem’: ./include/linux/mm.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/topology.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/topology.h: In function ‘cpu_smt_mask’: ./include/linux/topology.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/topology.h: In function ‘cpu_cpu_mask’: ./include/linux/topology.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_dirty’: In file included from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/gfp.h: In function ‘gfpflags_to_migratetype’: ./arch/x86/include/asm/pgtable.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/gfp.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘read_pkru’: ./arch/x86/include/asm/pgtable.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./include/linux/gfp.h: In function ‘gfpflags_allow_blocking’: ./include/linux/gfp.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zone’: ./include/linux/gfp.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zonelist’: ./include/linux/gfp.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘write_pkru’: ./include/linux/gfp.h: In function ‘node_zonelist’: ./arch/x86/include/asm/pgtable.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/gfp.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/gfp.h: In function ‘arch_free_page’: ./include/linux/gfp.h:460:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | static inline void arch_free_page(struct page *page, int order) { } | ^~~~ ./include/linux/gfp.h: In function ‘arch_alloc_page’: ./include/linux/gfp.h:463:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 463 | static inline void arch_alloc_page(struct page *page, int order) { } | ^~~~ ./include/linux/gfp.h: In function ‘__alloc_pages’: ./include/linux/gfp.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/gfp.h: In function ‘__alloc_pages_node’: ./include/linux/gfp.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages_node’: ./include/linux/gfp.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages’: ./include/linux/gfp.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_young’: ./arch/x86/include/asm/pgtable.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_dirty’: ./arch/x86/include/asm/pgtable.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_young’: ./arch/x86/include/asm/pgtable.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_dirty’: ./arch/x86/include/asm/pgtable.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_young’: ./arch/x86/include/asm/pgtable.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ In file included from ./include/linux/mm.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_kill’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_write’: ./arch/x86/include/asm/pgtable.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/percpu-refcount.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/percpu-refcount.h: In function ‘__ref_is_percpu’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_huge’: ./include/linux/percpu-refcount.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./arch/x86/include/asm/pgtable.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_global’: ./arch/x86/include/asm/pgtable.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_exec’: ./arch/x86/include/asm/pgtable.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./include/linux/percpu-refcount.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_special’: ./arch/x86/include/asm/pgtable.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_pfn’: ./arch/x86/include/asm/pgtable.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_pfn’: ./arch/x86/include/asm/pgtable.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_pfn’: ./arch/x86/include/asm/pgtable.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_pfn’: ./arch/x86/include/asm/pgtable.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_pfn’: ./arch/x86/include/asm/pgtable.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_large’: ./arch/x86/include/asm/pgtable.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_large’: ./arch/x86/include/asm/pgtable.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_trans_huge’: ./arch/x86/include/asm/pgtable.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_trans_huge’: ./arch/x86/include/asm/pgtable.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘has_transparent_hugepage’: ./arch/x86/include/asm/pgtable.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get’: ./include/linux/percpu-refcount.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget’: ./include/linux/percpu-refcount.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_devmap’: ./arch/x86/include/asm/pgtable.h:259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 259 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_devmap’: ./arch/x86/include/asm/pgtable.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_devmap’: ./arch/x86/include/asm/pgtable.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_set_flags’: ./arch/x86/include/asm/pgtable.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_flags’: ./arch/x86/include/asm/pgtable.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkclean’: ./arch/x86/include/asm/pgtable.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkold’: ./arch/x86/include/asm/pgtable.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_wrprotect’: ./arch/x86/include/asm/pgtable.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkexec’: ./arch/x86/include/asm/pgtable.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdirty’: ./arch/x86/include/asm/pgtable.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkyoung’: ./arch/x86/include/asm/pgtable.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkwrite’: ./arch/x86/include/asm/pgtable.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkhuge’: ./arch/x86/include/asm/pgtable.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrhuge’: ./arch/x86/include/asm/pgtable.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkglobal’: ./arch/x86/include/asm/pgtable.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrglobal’: ./arch/x86/include/asm/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkspecial’: ./arch/x86/include/asm/pgtable.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdevmap’: ./arch/x86/include/asm/pgtable.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_set_flags’: ./arch/x86/include/asm/pgtable.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_live’: ./include/linux/percpu-refcount.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_flags’: ./arch/x86/include/asm/pgtable.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkold’: ./arch/x86/include/asm/pgtable.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkclean’: ./arch/x86/include/asm/pgtable.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_wrprotect’: ./arch/x86/include/asm/pgtable.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pud_val’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdirty’: ./arch/x86/include/asm/paravirt.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./arch/x86/include/asm/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdevmap’: ./arch/x86/include/asm/pgtable.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkhuge’: ./arch/x86/include/asm/pgtable.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkyoung’: ./arch/x86/include/asm/pgtable.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkwrite’: ./arch/x86/include/asm/pgtable.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pud_clear’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_set_flags’: ./arch/x86/include/asm/pgtable.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/paravirt.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_flags’: ./arch/x86/include/asm/paravirt.h: In function ‘set_p4d’: ./arch/x86/include/asm/pgtable.h:423:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 423 | { | ^ ./arch/x86/include/asm/paravirt.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkold’: ./arch/x86/include/asm/pgtable.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkclean’: ./arch/x86/include/asm/pgtable.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_wrprotect’: ./arch/x86/include/asm/pgtable.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘p4d_clear’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdirty’: ./arch/x86/include/asm/paravirt.h:570:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 570 | { | ^ ./arch/x86/include/asm/pgtable.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdevmap’: ./arch/x86/include/asm/paravirt.h: In function ‘set_pte_atomic’: ./arch/x86/include/asm/pgtable.h:450:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 450 | { | ^ ./arch/x86/include/asm/paravirt.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pte_clear’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkhuge’: ./arch/x86/include/asm/pgtable.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./arch/x86/include/asm/paravirt.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkyoung’: ./arch/x86/include/asm/paravirt.h: In function ‘pmd_clear’: ./arch/x86/include/asm/pgtable.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./arch/x86/include/asm/paravirt.h:609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 609 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkwrite’: ./arch/x86/include/asm/pgtable.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_start_context_switch’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/paravirt.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/percpu-refcount.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_soft_dirty’: ./arch/x86/include/asm/pgtable.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_soft_dirty’: ./arch/x86/include/asm/pgtable.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_end_context_switch’: ./arch/x86/include/asm/paravirt.h:621:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 621 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_soft_dirty’: ./arch/x86/include/asm/pgtable.h:481:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 481 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_enter_lazy_mmu_mode’: ./arch/x86/include/asm/paravirt.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_young’: ./arch/x86/include/asm/pgtable.h: In function ‘massage_pgprot’: ./arch/x86/include/asm/pgtable.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_leave_lazy_mmu_mode’: ./arch/x86/include/asm/paravirt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_dirty’: ./arch/x86/include/asm/pgtable.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘check_pgprot’: ./arch/x86/include/asm/pgtable.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_young’: ./arch/x86/include/asm/pgtable.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_flush_lazy_mmu_mode’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pte’: ./arch/x86/include/asm/paravirt.h:637:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 637 | { | ^ ./arch/x86/include/asm/pgtable.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_write’: ./arch/x86/include/asm/pgtable.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_huge’: ./arch/x86/include/asm/pgtable.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pmd’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_global’: ./arch/x86/include/asm/pgtable.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./arch/x86/include/asm/pgtable.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘__set_fixmap’: ./arch/x86/include/asm/paravirt.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_exec’: ./arch/x86/include/asm/pgtable.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_lock_slowpath’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pud’: ./arch/x86/include/asm/paravirt.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_special’: ./arch/x86/include/asm/pgtable.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./arch/x86/include/asm/pgtable.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_pfn’: ./arch/x86/include/asm/pgtable.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mknotpresent’: ./arch/x86/include/asm/pgtable.h:573:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 573 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_queued_spin_unlock’: ./arch/x86/include/asm/paravirt.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_pfn’: ./arch/x86/include/asm/pgtable.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mknotpresent’: ./arch/x86/include/asm/pgtable.h:579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 579 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_pfn’: ./arch/x86/include/asm/pgtable.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_wait’: ./arch/x86/include/asm/paravirt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_pfn’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_modify’: ./arch/x86/include/asm/pgtable.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/pgtable.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_pfn’: ./arch/x86/include/asm/pgtable.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_kick’: ./arch/x86/include/asm/pgtable.h: In function ‘p4d_large’: ./arch/x86/include/asm/paravirt.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./arch/x86/include/asm/pgtable.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_large’: ./arch/x86/include/asm/pgtable.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_trans_huge’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_modify’: ./arch/x86/include/asm/pgtable.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./arch/x86/include/asm/pgtable.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘pv_vcpu_is_preempted’: ./arch/x86/include/asm/paravirt.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_trans_huge’: ./arch/x86/include/asm/pgtable.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put’: ./include/linux/percpu-refcount.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘has_transparent_hugepage’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_dying’: ./arch/x86/include/asm/pgtable.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/percpu-refcount.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_zero’: ./include/linux/percpu-refcount.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgprot_modify’: ./arch/x86/include/asm/pgtable.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ In file included from ./include/linux/mm.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/bit_spinlock.h: In function ‘bit_spin_lock’: ./include/linux/bit_spinlock.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_save_flags’: ./arch/x86/include/asm/paravirt.h:760:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 760 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘arch_filter_pgprot’: ./arch/x86/include/asm/pgtable.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_trylock’: ./include/linux/bit_spinlock.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘is_new_memtype_allowed’: ./arch/x86/include/asm/pgtable.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_unlock’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_devmap’: ./include/linux/bit_spinlock.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/pgtable.h:259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 259 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_restore’: ./include/linux/bit_spinlock.h: In function ‘__bit_spin_unlock’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_devmap’: ./include/linux/bit_spinlock.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./arch/x86/include/asm/paravirt.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./arch/x86/include/asm/pgtable.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pti_set_user_pgtbl’: ./arch/x86/include/asm/pgtable.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_is_locked’: ./arch/x86/include/asm/pgtable.h: In function ‘pgd_devmap’: ./include/linux/bit_spinlock.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./arch/x86/include/asm/pgtable.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_set_flags’: ./arch/x86/include/asm/pgtable.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_disable’: ./arch/x86/include/asm/paravirt.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_flags’: ./arch/x86/include/asm/pgtable.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkclean’: ./arch/x86/include/asm/pgtable.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkold’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_enable’: ./arch/x86/include/asm/pgtable.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./arch/x86/include/asm/paravirt.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_wrprotect’: ./arch/x86/include/asm/pgtable.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkexec’: ./arch/x86/include/asm/pgtable.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdirty’: ./arch/x86/include/asm/paravirt.h: In function ‘arch_local_irq_save’: ./arch/x86/include/asm/pgtable.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./arch/x86/include/asm/paravirt.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkyoung’: ./arch/x86/include/asm/pgtable.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkwrite’: ./arch/x86/include/asm/pgtable.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkhuge’: ./arch/x86/include/asm/pgtable.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ In file included from ./include/linux/mm.h:24, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/page_ext.h: In function ‘pgdat_page_ext_init’: In file included from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/msr.h: In function ‘wrmsrl_safe’: ./include/linux/page_ext.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/msr.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrhuge’: ./include/linux/page_ext.h: In function ‘lookup_page_ext’: ./arch/x86/include/asm/pgtable.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/page_ext.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkglobal’: ./include/linux/page_ext.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./arch/x86/include/asm/pgtable.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init_flatmem’: ./include/linux/page_ext.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrglobal’: ./arch/x86/include/asm/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkspecial’: ./arch/x86/include/asm/pgtable.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ In file included from ./arch/x86/include/asm/processor.h:24, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr0’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdevmap’: In file included from ./include/linux/page_ref.h:7, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/page-flags.h: In function ‘compound_head’: ./arch/x86/include/asm/pgtable.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./arch/x86/include/asm/special_insns.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/page-flags.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr0’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_set_flags’: ./arch/x86/include/asm/special_insns.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./arch/x86/include/asm/pgtable.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr2’: In file included from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable_64.h: In function ‘sync_initial_page_table’: ./arch/x86/include/asm/special_insns.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_flags’: ./arch/x86/include/asm/pgtable_64.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | static inline void sync_initial_page_table(void) { } | ^~~~~~ ./arch/x86/include/asm/pgtable.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr2’: ./include/linux/page-flags.h: In function ‘PageTail’: ./arch/x86/include/asm/special_insns.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/page-flags.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkold’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte’: ./arch/x86/include/asm/pgtable.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__native_read_cr3’: ./arch/x86/include/asm/pgtable_64.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./arch/x86/include/asm/special_insns.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkclean’: ./arch/x86/include/asm/pgtable.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr3’: ./arch/x86/include/asm/special_insns.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page-flags.h: In function ‘PageCompound’: ./include/linux/page-flags.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_wrprotect’: ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr4’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pte_clear’: ./arch/x86/include/asm/pgtable.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./arch/x86/include/asm/special_insns.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/pgtable_64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdirty’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte_atomic’: ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr4’: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./arch/x86/include/asm/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/pgtable_64.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/special_insns.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_read_cr8’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdevmap’: ./arch/x86/include/asm/special_insns.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pmd’: ./include/linux/page-flags.h: In function ‘page_init_poison’: ./arch/x86/include/asm/pgtable.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/pgtable_64.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘native_write_cr8’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkhuge’: ./arch/x86/include/asm/special_insns.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./arch/x86/include/asm/pgtable.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_pkru’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmd_clear’: ./arch/x86/include/asm/special_insns.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkyoung’: ./arch/x86/include/asm/pgtable_64.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./arch/x86/include/asm/pgtable.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./include/linux/page-flags.h: In function ‘PageLocked’: ./arch/x86/include/asm/special_insns.h: In function ‘__write_pkru’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_ptep_get_and_clear’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkwrite’: ./arch/x86/include/asm/special_insns.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./arch/x86/include/asm/pgtable.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_set_flags’: ./arch/x86/include/asm/special_insns.h: In function ‘native_wbinvd’: ./arch/x86/include/asm/pgtable.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./arch/x86/include/asm/special_insns.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘__read_cr4’: ./arch/x86/include/asm/special_insns.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_flags’: ./arch/x86/include/asm/pgtable.h:423:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 423 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmdp_get_and_clear’: ./include/linux/page-flags.h: In function ‘__SetPageLocked’: ./arch/x86/include/asm/special_insns.h: In function ‘clflush’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkold’: ./arch/x86/include/asm/pgtable_64.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./arch/x86/include/asm/special_insns.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/pgtable.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/special_insns.h: In function ‘clflushopt’: ./arch/x86/include/asm/special_insns.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkclean’: ./arch/x86/include/asm/pgtable.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_wrprotect’: ./include/linux/page-flags.h: In function ‘__ClearPageLocked’: ./arch/x86/include/asm/pgtable.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./arch/x86/include/asm/special_insns.h: In function ‘clwb’: ./arch/x86/include/asm/special_insns.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdirty’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pud’: ./arch/x86/include/asm/pgtable.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./arch/x86/include/asm/pgtable_64.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdevmap’: ./include/linux/page-flags.h: In function ‘PageWaiters’: ./arch/x86/include/asm/pgtable.h:450:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 450 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pud_clear’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkhuge’: ./arch/x86/include/asm/pgtable.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable_64.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageWaiters’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_p4d’: ./arch/x86/include/asm/pgtable_64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageWaiters’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageWaiters’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:282:42: note: in expansion of macro ‘__CLEARPAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_p4d_clear’: ./arch/x86/include/asm/pgtable_64.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/page-flags.h: In function ‘PageError’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pgd’: ./arch/x86/include/asm/pgtable_64.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageError’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pgd_clear’: ./arch/x86/include/asm/pgtable_64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageError’: ./arch/x86/include/asm/pgtable_64.h: In function ‘gup_fast_permitted’: ./arch/x86/include/asm/pgtable_64.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageError’: In file included from ./arch/x86/include/asm/pgtable_64.h:275, from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable-invert.h: In function ‘__pte_needs_invert’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:283:40: note: in expansion of macro ‘TESTCLEARFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable-invert.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./arch/x86/include/asm/pgtable-invert.h: In function ‘protnone_mask’: ./arch/x86/include/asm/pgtable-invert.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/page-flags.h: In function ‘PageReferenced’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable-invert.h: In function ‘flip_protnone_guard’: ./arch/x86/include/asm/pgtable-invert.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageReferenced’: In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_none’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:703:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 703 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReferenced’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_same’: ./arch/x86/include/asm/pgtable.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_present’: ./arch/x86/include/asm/pgtable.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageReferenced’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:285:2: note: in expansion of macro ‘TESTCLEARFLAG’ 285 | TESTCLEARFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_devmap’: ./arch/x86/include/asm/pgtable.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageReferenced’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:286:2: note: in expansion of macro ‘__SETPAGEFLAG’ 286 | __SETPAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_accessible’: ./arch/x86/include/asm/pgtable.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/page-flags.h: In function ‘PageDirty’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_present’: ./include/linux/page-flags.h: In function ‘SetPageDirty’: ./arch/x86/include/asm/pgtable.h:739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 739 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_protnone’: ./include/linux/page-flags.h: In function ‘ClearPageDirty’: ./arch/x86/include/asm/pgtable.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_protnone’: ./arch/x86/include/asm/pgtable.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDirty’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_none’: ./arch/x86/include/asm/pgtable.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageDirty’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_page_vaddr’: ./arch/x86/include/asm/pgtable.h:776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 776 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageDirty’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:288:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 288 | __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_index’: ./arch/x86/include/asm/pgtable.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_index’: ./arch/x86/include/asm/pgtable.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_offset_kernel’: ./arch/x86/include/asm/pgtable.h:818:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 818 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_bad’: ./arch/x86/include/asm/pgtable.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pages_to_mb’: ./arch/x86/include/asm/pgtable.h:828:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 828 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_none’: ./arch/x86/include/asm/pgtable.h:834:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 834 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_present’: ./arch/x86/include/asm/pgtable.h:839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 839 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_page_vaddr’: ./arch/x86/include/asm/pgtable.h:844:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 844 | { | ^ ./include/linux/page-flags.h: In function ‘PageLRU’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_offset’: ./arch/x86/include/asm/pgtable.h:856:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 856 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_large’: ./arch/x86/include/asm/pgtable.h:861:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 861 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageLRU’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_bad’: ./arch/x86/include/asm/pgtable.h:867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 867 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageLRU’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_index’: ./arch/x86/include/asm/pgtable.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_none’: ./arch/x86/include/asm/pgtable.h:884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 884 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_present’: ./arch/x86/include/asm/pgtable.h:889:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 889 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_page_vaddr’: ./arch/x86/include/asm/pgtable.h:894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 894 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_offset’: ./arch/x86/include/asm/pgtable.h:906:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 906 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_bad’: ./arch/x86/include/asm/pgtable.h:911:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 911 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageLRU’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:289:29: note: in expansion of macro ‘__CLEARPAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_index’: ./include/linux/page-flags.h: In function ‘PageActive’: ./arch/x86/include/asm/pgtable.h:922:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 922 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘init_trampoline_default’: ./include/linux/page-flags.h: In function ‘SetPageActive’: ./arch/x86/include/asm/pgtable.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_ptep_get_and_clear’: ./include/linux/page-flags.h: In function ‘ClearPageActive’: ./arch/x86/include/asm/pgtable.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pmdp_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageActive’: ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pudp_get_and_clear’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:290:35: note: in expansion of macro ‘__CLEARPAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageActive’: ./arch/x86/include/asm/pgtable.h: In function ‘native_set_pte_at’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:291:2: note: in expansion of macro ‘TESTCLEARFLAG’ 291 | TESTCLEARFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1061 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘set_pmd_at’: ./include/linux/page-flags.h: In function ‘PageWorkingset’: ./arch/x86/include/asm/pgtable.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘set_pud_at’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkyoung’: ./arch/x86/include/asm/pgtable.h:1073:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1073 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageWorkingset’: ./arch/x86/include/asm/pgtable.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1102 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkwrite’: ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear_full’: ./arch/x86/include/asm/pgtable.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./arch/x86/include/asm/pgtable.h:1111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1111 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_soft_dirty’: ./arch/x86/include/asm/pgtable.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_set_wrprotect’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_soft_dirty’: ./arch/x86/include/asm/pgtable.h:1128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1128 | { | ^ ./arch/x86/include/asm/pgtable.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageWorkingset’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_soft_dirty’: ./arch/x86/include/asm/pgtable.h:481:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 481 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_write’: ./include/linux/page-flags.h: In function ‘TestClearPageWorkingset’: ./arch/x86/include/asm/pgtable.h:1157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1157 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mksoft_dirty’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:293:2: note: in expansion of macro ‘TESTCLEARFLAG’ 293 | TESTCLEARFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_huge_get_and_clear’: ./include/linux/page-flags.h: In function ‘PageSlab’: ./arch/x86/include/asm/pgtable.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./arch/x86/include/asm/pgtable.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pudp_huge_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1171 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_set_wrprotect’: ./include/linux/page-flags.h: In function ‘__SetPageSlab’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_soft_dirty’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1178 | { | ^ ./arch/x86/include/asm/pgtable.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_write’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlab’: ./arch/x86/include/asm/pgtable.h:1184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1184 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘massage_pgprot’: ./arch/x86/include/asm/pgtable.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_establish’: ./arch/x86/include/asm/pgtable.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/page-flags.h: In function ‘PageSlobFree’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘check_pgprot’: ./arch/x86/include/asm/pgtable.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pte’: ./arch/x86/include/asm/pgtable.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSlobFree’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pgdp_maps_userspace’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pmd’: ./arch/x86/include/asm/pgtable.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./arch/x86/include/asm/pgtable.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlobFree’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_large’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pud’: ./arch/x86/include/asm/pgtable.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./arch/x86/include/asm/pgtable.h:1216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1216 | static inline int pgd_large(pgd_t pgd) { return 0; } | ^~~~~~ ./include/linux/page-flags.h: In function ‘PageChecked’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘ptr_set_bit’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mknotpresent’: ./arch/x86/include/asm/pgtable.h:1232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1232 | { | ^ ./arch/x86/include/asm/pgtable.h:573:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 573 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageChecked’: ./arch/x86/include/asm/pgtable.h: In function ‘ptr_clear_bit’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mknotpresent’: ./arch/x86/include/asm/pgtable.h:579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 579 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_pgdp’: ./include/linux/page-flags.h: In function ‘ClearPageChecked’: ./arch/x86/include/asm/pgtable.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_modify’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_pgdp’: ./arch/x86/include/asm/pgtable.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./arch/x86/include/asm/pgtable.h:1252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1252 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_p4dp’: ./include/linux/page-flags.h: In function ‘PagePinned’: ./arch/x86/include/asm/pgtable.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_p4dp’: ./arch/x86/include/asm/pgtable.h:1262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1262 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘clone_pgd_range’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_modify’: ./include/linux/page-flags.h: In function ‘SetPagePinned’: ./arch/x86/include/asm/pgtable.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./arch/x86/include/asm/pgtable.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePinned’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPagePinned’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pgprot_modify’: ./arch/x86/include/asm/pgtable.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPagePinned’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘arch_filter_pgprot’: ./arch/x86/include/asm/pgtable.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/page-flags.h: In function ‘PageSavePinned’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘is_new_memtype_allowed’: ./arch/x86/include/asm/pgtable.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSavePinned’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pti_set_user_pgtbl’: ./arch/x86/include/asm/pgtable.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSavePinned’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageForeign’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_shift’: ./include/linux/page-flags.h: In function ‘SetPageForeign’: ./arch/x86/include/asm/pgtable.h:1291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1291 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageForeign’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageReserved’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReserved’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_size’: ./arch/x86/include/asm/pgtable.h:1295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1295 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReserved’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageReserved’: ./arch/x86/include/asm/pgtable.h: In function ‘page_level_mask’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:305:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 305 | __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache’: ./include/linux/page-flags.h: In function ‘__SetPageReserved’: In file included from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable_64.h: In function ‘sync_initial_page_table’: ./arch/x86/include/asm/pgtable.h:1309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1309 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:306:2: note: in expansion of macro ‘__SETPAGEFLAG’ 306 | __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | static inline void sync_initial_page_table(void) { } | ^~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pmd’: ./arch/x86/include/asm/pgtable.h:1313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1313 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte’: ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pud’: ./arch/x86/include/asm/pgtable_64.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/page-flags.h: In function ‘PageSwapBacked’: ./arch/x86/include/asm/pgtable.h:1317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1317 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_mksoft_dirty’: ./arch/x86/include/asm/pgtable.h:1322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1322 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pte_clear’: ./arch/x86/include/asm/pgtable_64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_soft_dirty’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte_atomic’: ./arch/x86/include/asm/pgtable_64.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/pgtable.h:1327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1327 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSwapBacked’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pmd’: ./arch/x86/include/asm/pgtable_64.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:1332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1332 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmd_clear’: ./arch/x86/include/asm/pgtable_64.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_mksoft_dirty’: ./include/linux/page-flags.h: In function ‘ClearPageSwapBacked’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_ptep_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./arch/x86/include/asm/pgtable_64.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_soft_dirty’: ./arch/x86/include/asm/pgtable.h:1343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1343 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSwapBacked’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:308:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 308 | __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_clear_soft_dirty’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmdp_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1348 | { | ^ ./arch/x86/include/asm/pgtable_64.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_read’: ./include/linux/page-flags.h: In function ‘__SetPageSwapBacked’: ./arch/x86/include/asm/pgtable.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:309:2: note: in expansion of macro ‘__SETPAGEFLAG’ 309 | __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_write’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pud’: ./include/linux/page-flags.h: In function ‘PagePrivate’: ./arch/x86/include/asm/pgtable.h:1365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1365 | { | ^ ./arch/x86/include/asm/pgtable_64.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_flags_pkey’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pud_clear’: ./arch/x86/include/asm/pgtable.h:1375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1375 | { | ^ ./arch/x86/include/asm/pgtable_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/page-flags.h: In function ‘SetPagePrivate’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable_64.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_pkey’: ./include/linux/page-flags.h: In function ‘ClearPagePrivate’: ./arch/x86/include/asm/pgtable.h:1385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1385 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPagePrivate’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_p4d’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:316:36: note: in expansion of macro ‘__SETPAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pte_access_permitted’: ./include/linux/page-flags.h: In function ‘__ClearPagePrivate’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:317:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 317 | __CLEARPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1402 | { | ^ ./include/linux/page-flags.h: In function ‘PagePrivate2’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_p4d_clear’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pgd’: ./arch/x86/include/asm/pgtable_64.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/page-flags.h: In function ‘SetPagePrivate2’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_access_permitted’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:1416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1416 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pgd_clear’: ./arch/x86/include/asm/pgtable_64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPagePrivate2’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_access_permitted’: ./arch/x86/include/asm/pgtable.h:1422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1422 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_access_permitted’: ./include/linux/page-flags.h: In function ‘TestSetPagePrivate2’: ./arch/x86/include/asm/pgtable_64.h: In function ‘gup_fast_permitted’: ./arch/x86/include/asm/pgtable.h:1428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1428 | { | ^ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable_64.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘arch_has_pfn_modify_check’: ./include/linux/page-flags.h: In function ‘TestClearPagePrivate2’: ./arch/x86/include/asm/pgtable.h:1436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1436 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ In file included from ./arch/x86/include/asm/pgtable_64.h:275, from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable-invert.h: In function ‘__pte_needs_invert’: ./include/linux/page-flags.h: In function ‘PageOwnerPriv1’: ./arch/x86/include/asm/pgtable-invert.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable-invert.h: In function ‘protnone_mask’: ./arch/x86/include/asm/pgtable-invert.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageOwnerPriv1’: ./arch/x86/include/asm/pgtable-invert.h: In function ‘flip_protnone_guard’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable-invert.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageOwnerPriv1’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_none’: ./arch/x86/include/asm/pgtable.h:703:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 703 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageOwnerPriv1’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:320:2: note: in expansion of macro ‘TESTCLEARFLAG’ 320 | TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_same’: ./arch/x86/include/asm/pgtable.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/page-flags.h: In function ‘PageWriteback’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:326:1: note: in expansion of macro ‘TESTPAGEFLAG’ 326 | TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_present’: ./arch/x86/include/asm/pgtable.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_devmap’: ./arch/x86/include/asm/pgtable.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageWriteback’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_accessible’: In file included from ./arch/x86/include/asm/pgtable.h:1440, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/pgtable.h: In function ‘pmdp_huge_get_and_clear_full’: ./arch/x86/include/asm/pgtable.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/asm-generic/pgtable.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ In file included from ./arch/x86/include/asm/processor.h:32, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/err.h: In function ‘ERR_PTR’: ./include/linux/page-flags.h: In function ‘TestClearPageWriteback’: ./include/linux/err.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pudp_huge_get_and_clear_full’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/asm-generic/pgtable.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/err.h: In function ‘PTR_ERR’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_present’: ./include/linux/err.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_clear_not_present_full’: ./arch/x86/include/asm/pgtable.h:739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 739 | { | ^ ./include/asm-generic/pgtable.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/err.h: In function ‘IS_ERR’: ./include/linux/err.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/page-flags.h: In function ‘PageMappedToDisk’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_protnone’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/asm-generic/pgtable.h: In function ‘pudp_set_wrprotect’: ./include/linux/err.h: In function ‘IS_ERR_OR_NULL’: ./arch/x86/include/asm/pgtable.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/asm-generic/pgtable.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/err.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_protnone’: ./arch/x86/include/asm/pgtable.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/err.h: In function ‘ERR_CAST’: ./include/asm-generic/pgtable.h: In function ‘generic_pmdp_establish’: ./include/linux/err.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/asm-generic/pgtable.h:320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 320 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageMappedToDisk’: ./include/linux/err.h: In function ‘PTR_ERR_OR_ZERO’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_none’: ./include/linux/err.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_unused’: ./include/asm-generic/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_page_vaddr’: ./include/asm-generic/pgtable.h: In function ‘pmd_same’: ./arch/x86/include/asm/pgtable.h:776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 776 | { | ^ ./include/asm-generic/pgtable.h:379:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 379 | { | ^ In file included from ./include/linux/irqflags.h:16, from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/irqflags.h: In function ‘native_save_fl’: ./include/linux/page-flags.h: In function ‘ClearPageMappedToDisk’: ./arch/x86/include/asm/irqflags.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pud_same’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/asm-generic/pgtable.h:384:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 384 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_index’: ./arch/x86/include/asm/irqflags.h: In function ‘native_restore_fl’: ./arch/x86/include/asm/pgtable.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./arch/x86/include/asm/irqflags.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_same’: ./include/asm-generic/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./include/linux/page-flags.h: In function ‘PageReclaim’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_index’: ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_disable’: ./arch/x86/include/asm/irqflags.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_same’: ./arch/x86/include/asm/irqflags.h: In function ‘native_irq_enable’: ./include/asm-generic/pgtable.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./arch/x86/include/asm/irqflags.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_offset_kernel’: ./arch/x86/include/asm/irqflags.h: In function ‘native_safe_halt’: ./arch/x86/include/asm/pgtable.h:818:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 818 | { | ^ ./arch/x86/include/asm/irqflags.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/irqflags.h: In function ‘native_halt’: ./arch/x86/include/asm/irqflags.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageReclaim’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_bad’: ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled_flags’: ./arch/x86/include/asm/irqflags.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./arch/x86/include/asm/pgtable.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReclaim’: ./arch/x86/include/asm/irqflags.h: In function ‘arch_irqs_disabled’: ./arch/x86/include/asm/irqflags.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pages_to_mb’: ./arch/x86/include/asm/pgtable.h:828:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 828 | { | ^ In file included from ./arch/x86/include/asm/processor.h:33, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/irqflags.h: In function ‘trace_softirqs_on’: ./include/linux/irqflags.h:25:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | static inline void trace_softirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageReclaim’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_none’: ./include/linux/irqflags.h: In function ‘trace_softirqs_off’: ./include/linux/irqflags.h:26:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | static inline void trace_softirqs_off(unsigned long ip) { } | ^~~~~~ ./arch/x86/include/asm/pgtable.h:834:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 834 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:332:2: note: in expansion of macro ‘TESTCLEARFLAG’ 332 | TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_on’: ./include/linux/irqflags.h:27:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | static inline void lockdep_hardirqs_on(unsigned long ip) { } | ^~~~~~ ./include/linux/irqflags.h: In function ‘lockdep_hardirqs_off’: ./include/linux/irqflags.h:28:3: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | static inline void lockdep_hardirqs_off(unsigned long ip) { } | ^~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_present’: ./arch/x86/include/asm/pgtable.h:839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 839 | { | ^ ./include/linux/page-flags.h: In function ‘PageReadahead’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_page_vaddr’: ./arch/x86/include/asm/pgtable.h:844:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 844 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_offset’: ./include/linux/page-flags.h: In function ‘SetPageReadahead’: ./arch/x86/include/asm/pgtable.h:856:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 856 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_large’: ./arch/x86/include/asm/pgtable.h:861:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 861 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReadahead’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_bad’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ In file included from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/processor.h: In function ‘l1tf_pfn_limit’: ./arch/x86/include/asm/pgtable.h:867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 867 | { | ^ ./arch/x86/include/asm/processor.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageReadahead’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:334:2: note: in expansion of macro ‘TESTCLEARFLAG’ 334 | TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_index’: ./arch/x86/include/asm/processor.h: In function ‘have_cpuid_p’: ./arch/x86/include/asm/processor.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./arch/x86/include/asm/pgtable.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid’: ./arch/x86/include/asm/processor.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/page-flags.h: In function ‘PageHighMem’: ./arch/x86/include/asm/pgtable.h: In function ‘p4d_none’: ./arch/x86/include/asm/pgtable.h:884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 884 | { | ^ ./include/linux/page-flags.h:258:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | static inline int Page##uname(const struct page *page) { return 0; } | ^~~~ ./include/linux/page-flags.h:275:31: note: in expansion of macro ‘TESTPAGEFLAG_FALSE’ 275 | #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname) \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_eax’: ./arch/x86/include/asm/processor.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | native_cpuid_reg(eax) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageHighMem’: ./arch/x86/include/asm/pgtable.h: In function ‘p4d_present’: ./arch/x86/include/asm/pgtable.h:889:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 889 | { | ^ ./include/linux/page-flags.h:261:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | static inline void SetPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:2: note: in expansion of macro ‘SETPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ebx’: ./arch/x86/include/asm/processor.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | native_cpuid_reg(ebx) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageHighMem’: ./arch/x86/include/asm/pgtable.h: In function ‘p4d_page_vaddr’: ./include/linux/page-flags.h:264:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | static inline void ClearPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:26: note: in expansion of macro ‘CLEARPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 894 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_ecx’: ./arch/x86/include/asm/processor.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | native_cpuid_reg(ecx) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapCache’: ./include/linux/page-flags.h:348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 348 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_cpuid_edx’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_offset’: ./arch/x86/include/asm/processor.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | native_cpuid_reg(edx) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:906:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 906 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘read_cr3_pa’: ./include/linux/page-flags.h: In function ‘SetPageSwapCache’: ./arch/x86/include/asm/processor.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_bad’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:355:1: note: in expansion of macro ‘SETPAGEFLAG’ 355 | SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:911:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 911 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘native_read_cr3_pa’: ./arch/x86/include/asm/processor.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘load_cr3’: ./include/linux/page-flags.h: In function ‘ClearPageSwapCache’: ./arch/x86/include/asm/processor.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:356:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 356 | CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_index’: ./arch/x86/include/asm/pgtable.h:922:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 922 | { | ^ ./include/linux/page-flags.h: In function ‘PageUnevictable’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘init_trampoline_default’: ./arch/x86/include/asm/pgtable.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageUnevictable’: ./arch/x86/include/asm/pgtable.h: In function ‘native_local_ptep_get_and_clear’: ./arch/x86/include/asm/processor.h: In function ‘cpu_kernelmode_gs_base’: ./arch/x86/include/asm/pgtable.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/processor.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pmdp_get_and_clear’: ./include/linux/page-flags.h: In function ‘ClearPageUnevictable’: ./arch/x86/include/asm/pgtable.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageUnevictable’: ./arch/x86/include/asm/pgtable.h: In function ‘native_set_pte_at’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:362:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 362 | __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1061 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘set_pmd_at’: ./include/linux/page-flags.h: In function ‘TestClearPageUnevictable’: ./arch/x86/include/asm/pgtable.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘arch_thread_struct_whitelist’: ./include/asm-generic/pgtable.h: In function ‘arch_do_swap_page’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:363:2: note: in expansion of macro ‘TESTCLEARFLAG’ 363 | TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘set_pud_at’: ./arch/x86/include/asm/processor.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/asm-generic/pgtable.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./arch/x86/include/asm/pgtable.h:1073:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1073 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_unmap_one’: ./arch/x86/include/asm/processor.h: In function ‘native_set_iopl_mask’: ./include/asm-generic/pgtable.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/page-flags.h: In function ‘PageMlocked’: ./arch/x86/include/asm/processor.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘native_load_sp0’: ./arch/x86/include/asm/pgtable.h:1102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1102 | { | ^ ./arch/x86/include/asm/processor.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_none_or_clear_bad’: ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear_full’: ./include/asm-generic/pgtable.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/pgtable.h:1111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1111 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageMlocked’: ./include/asm-generic/pgtable.h: In function ‘p4d_none_or_clear_bad’: ./arch/x86/include/asm/pgtable.h: In function ‘ptep_set_wrprotect’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/asm-generic/pgtable.h:577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 577 | { | ^ ./arch/x86/include/asm/pgtable.h:1128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1128 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageMlocked’: ./include/asm-generic/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_write’: ./include/asm-generic/pgtable.h:588:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 588 | { | ^ ./arch/x86/include/asm/pgtable.h:1157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1157 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageMlocked’: ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_huge_get_and_clear’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:367:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 367 | __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/asm-generic/pgtable.h:599:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 599 | { | ^ ./arch/x86/include/asm/pgtable.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageMlocked’: ./arch/x86/include/asm/pgtable.h: In function ‘pudp_huge_get_and_clear’: ./arch/x86/include/asm/processor.h: In function ‘native_swapgs’: ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_start’: ./arch/x86/include/asm/processor.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./arch/x86/include/asm/pgtable.h:1171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1171 | { | ^ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/asm-generic/pgtable.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘current_top_of_stack’: ./arch/x86/include/asm/processor.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_set_wrprotect’: ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_commit’: ./include/asm-generic/pgtable.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageMlocked’: ./arch/x86/include/asm/pgtable.h:1178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1178 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pud_write’: ./arch/x86/include/asm/pgtable.h:1184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1184 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘on_thread_stack’: ./arch/x86/include/asm/processor.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./include/asm-generic/pgtable.h: In function ‘is_zero_pfn’: ./include/linux/page-flags.h: In function ‘PageUncached’: ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_establish’: ./include/asm-generic/pgtable.h:870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 870 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid’: ./include/asm-generic/pgtable.h: In function ‘my_zero_pfn’: ./arch/x86/include/asm/processor.h:602:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 602 | { | ^ ./include/asm-generic/pgtable.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpuid_count’: ./arch/x86/include/asm/processor.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageUncached’: ./include/asm-generic/pgtable.h: In function ‘pmd_read_atomic’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_eax’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/processor.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/asm-generic/pgtable.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ebx’: ./include/asm-generic/pgtable.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageUncached’: ./arch/x86/include/asm/processor.h:631:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 631 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pgdp_maps_userspace’: ./arch/x86/include/asm/pgtable.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/page-flags.h: In function ‘PageHWPoison’: ./include/asm-generic/pgtable.h: In function ‘pmd_trans_unstable’: ./arch/x86/include/asm/pgtable.h: In function ‘pgd_large’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/asm-generic/pgtable.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./arch/x86/include/asm/pgtable.h:1216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1216 | static inline int pgd_large(pgd_t pgd) { return 0; } | ^~~~~~ ./include/asm-generic/pgtable.h: In function ‘p4d_set_huge’: ./include/asm-generic/pgtable.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageHWPoison’: ./arch/x86/include/asm/pgtable.h: In function ‘ptr_set_bit’: ./include/asm-generic/pgtable.h: In function ‘p4d_clear_huge’: ./arch/x86/include/asm/pgtable.h:1232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1232 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/asm-generic/pgtable.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptr_clear_bit’: ./include/linux/page-flags.h: In function ‘ClearPageHWPoison’: ./arch/x86/include/asm/pgtable.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_pgdp’: ./include/linux/page-flags.h: In function ‘TestSetPageHWPoison’: ./arch/x86/include/asm/pgtable.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_pgdp’: ./include/linux/page-flags.h: In function ‘TestClearPageHWPoison’: ./arch/x86/include/asm/pgtable.h:1252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1252 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_p4dp’: ./arch/x86/include/asm/pgtable.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/page-flags.h: In function ‘PageYoung’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:395:1: note: in expansion of macro ‘TESTPAGEFLAG’ 395 | TESTPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_p4dp’: ./arch/x86/include/asm/pgtable.h:1262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1262 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm.h: In function ‘vma_init’: ./arch/x86/include/asm/pgtable.h: In function ‘clone_pgd_range’: ./include/linux/page-flags.h: In function ‘SetPageYoung’: ./include/linux/mm.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./arch/x86/include/asm/pgtable.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:396:1: note: in expansion of macro ‘SETPAGEFLAG’ 396 | SETPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~ ./include/linux/mm.h: In function ‘vma_set_anonymous’: ./include/linux/page-flags.h: In function ‘TestClearPageYoung’: ./include/linux/mm.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:397:1: note: in expansion of macro ‘TESTCLEARFLAG’ 397 | TESTCLEARFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageIdle’: In file included from ./include/linux/huge_mm.h:5, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/coredump.h: In function ‘__get_dumpable’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/sched/coredump.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/sched/coredump.h: In function ‘get_dumpable’: ./include/linux/sched/coredump.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageIdle’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageIdle’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMappingFlags’: ./include/linux/page-flags.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ In file included from ./include/linux/fs.h:6, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/wait_bit.h: In function ‘wait_on_bit’: ./include/linux/page-flags.h: In function ‘PageAnon’: ./include/linux/wait_bit.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/page-flags.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/page-flags.h: In function ‘__PageMovable’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_io’: ./include/linux/page-flags.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/wait_bit.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/page-flags.h: In function ‘PageKsm’: ./include/linux/page-flags.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_timeout’: ./include/linux/wait_bit.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/page-flags.h: In function ‘PageUptodate’: ./include/linux/page-flags.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_action’: ./include/linux/wait_bit.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageUptodate’: ./include/linux/page-flags.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_shift’: ./arch/x86/include/asm/pgtable.h:1291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1291 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageUptodate’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock’: ./include/linux/page-flags.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/wait_bit.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageUptodate’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_io’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:497:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 497 | CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/wait_bit.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_action’: ./include/linux/wait_bit.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback’: ./include/linux/page-flags.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback_keepwrite’: ./include/linux/page-flags.h:513:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 513 | { | ^ ./include/linux/wait_bit.h: In function ‘clear_and_wake_up_bit’: ./include/linux/wait_bit.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/page-flags.h: In function ‘PageHead’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_size’: In file included from ./include/linux/fs.h:7, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kdev_t.h: In function ‘old_valid_dev’: ./include/linux/page-flags.h: In function ‘__SetPageHead’: ./include/linux/kdev_t.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/pgtable.h:1295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1295 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageHead’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_mask’: ./include/linux/kdev_t.h: In function ‘old_encode_dev’: ./include/linux/page-flags.h: In function ‘ClearPageHead’: ./include/linux/kdev_t.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./arch/x86/include/asm/pgtable.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:517:32: note: in expansion of macro ‘CLEARPAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache’: ./include/linux/kdev_t.h: In function ‘old_decode_dev’: ./include/linux/kdev_t.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/pgtable.h:1309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1309 | { | ^ ./include/linux/page-flags.h: In function ‘set_compound_head’: ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pmd’: ./include/linux/page-flags.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ ./include/linux/kdev_t.h: In function ‘new_encode_dev’: ./arch/x86/include/asm/pgtable.h:1313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1313 | { | ^ ./include/linux/kdev_t.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pud’: ./arch/x86/include/asm/pgtable.h:1317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1317 | { | ^ ./include/linux/page-flags.h: In function ‘clear_compound_head’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_mksoft_dirty’: ./include/linux/page-flags.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./include/linux/kdev_t.h: In function ‘new_decode_dev’: ./include/linux/kdev_t.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./arch/x86/include/asm/pgtable.h:1322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1322 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_soft_dirty’: ./include/linux/kdev_t.h: In function ‘huge_encode_dev’: ./include/linux/page-flags.h: In function ‘ClearPageCompound’: ./include/linux/kdev_t.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/pgtable.h:1327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1327 | { | ^ ./include/linux/page-flags.h:531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 531 | { | ^ ./include/linux/kdev_t.h: In function ‘huge_decode_dev’: ./include/linux/kdev_t.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_clear_soft_dirty’: ./include/linux/kdev_t.h: In function ‘sysv_valid_dev’: ./include/linux/kdev_t.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./arch/x86/include/asm/pgtable.h:1332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1332 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_mksoft_dirty’: ./include/linux/kdev_t.h: In function ‘sysv_encode_dev’: ./include/linux/kdev_t.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransHuge’: ./arch/x86/include/asm/pgtable.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/page-flags.h:564:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 564 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_major’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_soft_dirty’: ./include/linux/kdev_t.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompound’: ./include/linux/page-flags.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ ./arch/x86/include/asm/pgtable.h:1343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1343 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_minor’: ./include/linux/kdev_t.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompoundMap’: ./include/linux/page-flags.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:1348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1348 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransTail’: In file included from ./include/linux/dcache.h:7, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rculist.h: In function ‘INIT_LIST_HEAD_RCU’: ./include/linux/page-flags.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_read’: ./include/linux/rculist.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./arch/x86/include/asm/pgtable.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/linux/page-flags.h: In function ‘PageDoubleMap’: ./include/linux/page-flags.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_write’: ./arch/x86/include/asm/pgtable.h:1365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1365 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageDoubleMap’: ./include/linux/page-flags.h:629:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 629 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_flags_pkey’: ./include/linux/page-flags.h: In function ‘ClearPageDoubleMap’: ./arch/x86/include/asm/pgtable.h:1375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1375 | { | ^ ./include/linux/page-flags.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDoubleMap’: ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_pkey’: ./include/linux/page-flags.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./arch/x86/include/asm/pgtable.h:1385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1385 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageDoubleMap’: ./include/linux/rculist.h: In function ‘__list_add_rcu’: ./include/linux/page-flags.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/rculist.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_type’: ./include/linux/page-flags.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pte_access_permitted’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_ecx’: ./arch/x86/include/asm/pgtable.h:1402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1402 | { | ^ ./arch/x86/include/asm/processor.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/linux/page-flags.h: In function ‘PageBuddy’: ./arch/x86/include/asm/processor.h: In function ‘cpuid_edx’: ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘rep_nop’: ./include/linux/page-flags.h: In function ‘__SetPageBuddy’: ./arch/x86/include/asm/processor.h:659:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 659 | { | ^ ./arch/x86/include/asm/processor.h: In function ‘cpu_relax’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_access_permitted’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h:1416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1416 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBuddy’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_access_permitted’: ./arch/x86/include/asm/processor.h:664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 664 | { | ^ ./arch/x86/include/asm/pgtable.h:1422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1422 | { | ^ ./include/linux/rculist.h: In function ‘list_add_rcu’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/processor.h: In function ‘sync_core’: ./include/linux/rculist.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/processor.h:683:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 683 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_access_permitted’: ./include/linux/page-flags.h: In function ‘PageBalloon’: ./arch/x86/include/asm/pgtable.h:1428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1428 | { | ^ ./include/linux/rculist.h: In function ‘list_add_tail_rcu’: ./include/linux/rculist.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘arch_has_pfn_modify_check’: ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/rculist.h: In function ‘list_del_rcu’: ./arch/x86/include/asm/pgtable.h:1436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1436 | { | ^ ./include/linux/rculist.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageBalloon’: ./arch/x86/include/asm/processor.h: In function ‘get_debugctlmsr’: ./arch/x86/include/asm/processor.h:757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 757 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/rculist.h: In function ‘hlist_del_init_rcu’: ./arch/x86/include/asm/processor.h: In function ‘update_debugctlmsr’: ./include/linux/rculist.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./arch/x86/include/asm/processor.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBalloon’: ./arch/x86/include/asm/processor.h: In function ‘prefetch’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/rculist.h: In function ‘list_replace_rcu’: ./arch/x86/include/asm/processor.h:804:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 804 | { | ^ ./include/linux/rculist.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/page-flags.h: In function ‘PageKmemcg’: ./arch/x86/include/asm/processor.h: In function ‘prefetchw’: ./arch/x86/include/asm/processor.h:816:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 816 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageKmemcg’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageKmemcg’: ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageTable’: In file included from ./arch/x86/include/asm/pgtable.h:1440, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/pgtable.h: In function ‘pmdp_huge_get_and_clear_full’: ./include/asm-generic/pgtable.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/asm-generic/pgtable.h: In function ‘pudp_huge_get_and_clear_full’: ./include/linux/page-flags.h: In function ‘__SetPageTable’: ./include/asm-generic/pgtable.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_clear_not_present_full’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/asm-generic/pgtable.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/rculist.h: In function ‘__list_splice_init_rcu’: ./include/linux/rculist.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageTable’: ./include/asm-generic/pgtable.h: In function ‘pudp_set_wrprotect’: ./include/asm-generic/pgtable.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/asm-generic/pgtable.h: In function ‘generic_pmdp_establish’: ./include/linux/page-flags.h: In function ‘PageIsolated’: ./include/asm-generic/pgtable.h:320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 320 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/asm-generic/pgtable.h: In function ‘pte_unused’: ./include/asm-generic/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_same’: ./include/asm-generic/pgtable.h:379:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 379 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageIsolated’: ./include/asm-generic/pgtable.h: In function ‘pud_same’: ./include/asm-generic/pgtable.h:384:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 384 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/asm-generic/pgtable.h: In function ‘p4d_same’: ./include/asm-generic/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageIsolated’: ./include/linux/rculist.h: In function ‘list_splice_init_rcu’: ./include/linux/rculist.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_same’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/asm-generic/pgtable.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/linux/page-flags.h: In function ‘PageSlabPfmemalloc’: ./include/linux/rculist.h: In function ‘list_splice_tail_init_rcu’: ./include/linux/rculist.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/page-flags.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSlabPfmemalloc’: ./include/linux/page-flags.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_rcu’: ./include/linux/rculist.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlabPfmemalloc’: ./include/linux/page-flags.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./include/linux/rculist.h: In function ‘hlist_replace_rcu’: ./include/linux/rculist.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSlabPfmemalloc’: ./include/linux/page-flags.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_private’: ./include/linux/page-flags.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ In file included from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/page_ref.h: In function ‘__page_ref_set’: ./include/linux/page_ref.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod’: ./include/linux/page_ref.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_test’: ./include/linux/page_ref.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_return’: ./include/linux/page_ref.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_unless’: ./include/linux/page_ref.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_freeze’: ./include/linux/page_ref.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_unfreeze’: ./include/linux/page_ref.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_head_rcu’: ./include/linux/rculist.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_count’: ./include/linux/page_ref.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/page_ref.h: In function ‘page_count’: ./include/linux/page_ref.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page_ref.h: In function ‘set_page_count’: ./include/linux/page_ref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page_ref.h: In function ‘init_page_count’: ./include/linux/page_ref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add’: ./include/linux/page_ref.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub’: ./include/linux/page_ref.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_inc’: ./include/linux/page_ref.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec’: ./include/linux/page_ref.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub_and_test’: ./include/linux/page_ref.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_tail_rcu’: ./include/linux/page_ref.h: In function ‘page_ref_inc_return’: ./include/linux/page_ref.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/rculist.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_and_test’: ./include/linux/page_ref.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_return’: ./include/linux/page_ref.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add_unless’: ./include/linux/page_ref.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_freeze’: ./include/linux/page_ref.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_unfreeze’: ./include/linux/page_ref.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_before_rcu’: ./include/linux/rculist.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_do_swap_page’: ./include/asm-generic/pgtable.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_unmap_one’: ./include/asm-generic/pgtable.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ In file included from ./include/linux/memremap.h:4, from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ioport.h: In function ‘resource_size’: ./include/asm-generic/pgtable.h: In function ‘pgd_none_or_clear_bad’: ./include/asm-generic/pgtable.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/ioport.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/ioport.h: In function ‘resource_type’: ./include/linux/rculist.h: In function ‘hlist_add_behind_rcu’: ./include/asm-generic/pgtable.h: In function ‘p4d_none_or_clear_bad’: ./include/linux/ioport.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/rculist.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./include/asm-generic/pgtable.h:577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 577 | { | ^ ./include/linux/ioport.h: In function ‘resource_ext_type’: ./arch/x86/include/asm/processor.h: In function ‘spin_lock_prefetch’: ./include/linux/ioport.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./arch/x86/include/asm/processor.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/ioport.h: In function ‘resource_contains’: ./include/linux/ioport.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/asm-generic/pgtable.h:588:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 588 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./arch/x86/include/asm/processor.h: In function ‘hypervisor_cpuid_base’: ./include/asm-generic/pgtable.h:599:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 599 | { | ^ ./arch/x86/include/asm/processor.h:955:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 955 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_start’: ./include/linux/ioport.h: In function ‘resource_overlaps’: ./include/asm-generic/pgtable.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./include/linux/ioport.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_commit’: ./include/asm-generic/pgtable.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ In file included from ./include/linux/rculist_bl.h:8, from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/list_bl.h: In function ‘INIT_HLIST_BL_NODE’: In file included from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/memremap.h: In function ‘put_dev_pagemap’: ./include/asm-generic/pgtable.h: In function ‘is_zero_pfn’: ./include/linux/list_bl.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/memremap.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/asm-generic/pgtable.h:870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 870 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unhashed’: ./include/asm-generic/pgtable.h: In function ‘my_zero_pfn’: ./include/linux/list_bl.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h: In function ‘set_max_mapnr’: ./include/asm-generic/pgtable.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ In file included from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/cpufeature.h: In function ‘_static_cpu_has’: ./include/linux/list_bl.h: In function ‘hlist_bl_first’: ./include/linux/list_bl.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/cpufeature.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_read_atomic’: ./include/linux/mm.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | static inline void set_max_mapnr(unsigned long limit) { } | ^~~~~~ ./include/asm-generic/pgtable.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_set_first’: ./include/linux/list_bl.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages’: ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./include/linux/mm.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/asm-generic/pgtable.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_empty’: ./include/linux/list_bl.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_inc’: ./include/linux/mm.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_dec’: ./include/linux/mm.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_add’: ./include/linux/mm.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_add_head’: In file included from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/thread_info.h: In function ‘arch_within_stack_frames’: ./include/linux/list_bl.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_set’: ./include/linux/mm.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_trans_unstable’: ./arch/x86/include/asm/thread_info.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/asm-generic/pgtable.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/list_bl.h: In function ‘__hlist_bl_del’: ./include/linux/list_bl.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_set_huge’: ./include/asm-generic/pgtable.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_clear_huge’: ./include/asm-generic/pgtable.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del’: In file included from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/thread_info.h: In function ‘set_ti_thread_flag’: ./include/linux/list_bl.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/thread_info.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del_init’: In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable.h: In function ‘pte_dirty’: ./include/linux/thread_info.h: In function ‘clear_ti_thread_flag’: ./include/linux/list_bl.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/thread_info.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_lock’: ./arch/x86/include/asm/pgtable.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/thread_info.h: In function ‘update_ti_thread_flag’: ./include/linux/list_bl.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/thread_info.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unlock’: ./arch/x86/include/asm/pgtable.h: In function ‘read_pkru’: ./include/linux/list_bl.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/thread_info.h: In function ‘test_and_set_ti_thread_flag’: ./arch/x86/include/asm/pgtable.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ ./include/linux/thread_info.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_is_locked’: ./include/linux/list_bl.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/thread_info.h: In function ‘test_and_clear_ti_thread_flag’: ./include/linux/thread_info.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/thread_info.h: In function ‘test_ti_thread_flag’: ./include/linux/thread_info.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ In file included from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rculist_bl.h: In function ‘hlist_bl_set_first_rcu’: ./include/linux/rculist_bl.h:13:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 13 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm.h: In function ‘vma_init’: ./include/linux/thread_info.h: In function ‘check_object_size’: ./include/linux/thread_info.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/mm.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/thread_info.h: In function ‘copy_overflow’: ./include/linux/mm.h: In function ‘vma_set_anonymous’: ./include/linux/thread_info.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/mm.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ In file included from ./include/linux/huge_mm.h:5, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/coredump.h: In function ‘__get_dumpable’: ./arch/x86/include/asm/pgtable.h: In function ‘write_pkru’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_first_rcu’: ./arch/x86/include/asm/pgtable.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/rculist_bl.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/sched/coredump.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/sched/coredump.h: In function ‘get_dumpable’: ./include/linux/sched/coredump.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_init_rcu’: ./include/linux/rculist_bl.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/preempt.h: In function ‘preempt_count’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’: ./include/linux/rculist_bl.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./arch/x86/include/asm/preempt.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_add_head_rcu’: ./include/linux/rculist_bl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/fs.h:6, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/wait_bit.h: In function ‘wait_on_bit’: ./arch/x86/include/asm/preempt.h: In function ‘preempt_count_set’: ./arch/x86/include/asm/preempt.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/wait_bit.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_young’: ./arch/x86/include/asm/pgtable.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_io’: ./include/linux/wait_bit.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_dirty’: ./arch/x86/include/asm/pgtable.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ In file included from ./include/linux/dcache.h:13, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/lockref.h: In function ‘__lockref_is_dead’: ./include/linux/lockref.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_young’: ./arch/x86/include/asm/pgtable.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_timeout’: ./include/linux/wait_bit.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_dirty’: ./arch/x86/include/asm/pgtable.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘set_preempt_need_resched’: ./arch/x86/include/asm/preempt.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ In file included from ./include/linux/stringhash.h:7, from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/hash.h: In function ‘__hash_32_generic’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_young’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_action’: ./arch/x86/include/asm/pgtable.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/hash.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/wait_bit.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/hash.h: In function ‘hash_32_generic’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_write’: ./include/linux/hash.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./arch/x86/include/asm/pgtable.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock’: ./include/linux/hash.h: In function ‘hash_64_generic’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_huge’: ./include/linux/wait_bit.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/hash.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘clear_preempt_need_resched’: ./arch/x86/include/asm/pgtable.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./arch/x86/include/asm/preempt.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/hash.h: In function ‘hash_ptr’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_io’: ./include/linux/hash.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_global’: ./include/linux/wait_bit.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./arch/x86/include/asm/pgtable.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/hash.h: In function ‘hash32_ptr’: ./include/linux/hash.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_exec’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_action’: ./arch/x86/include/asm/pgtable.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘test_preempt_need_resched’: ./include/linux/wait_bit.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./arch/x86/include/asm/preempt.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ In file included from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/stringhash.h: In function ‘partial_name_hash’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_special’: ./arch/x86/include/asm/pgtable.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./include/linux/stringhash.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_pfn’: ./include/linux/stringhash.h: In function ‘end_name_hash’: ./include/linux/wait_bit.h: In function ‘clear_and_wake_up_bit’: ./arch/x86/include/asm/pgtable.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/stringhash.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_add’: ./include/linux/wait_bit.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/preempt.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_pfn’: ./arch/x86/include/asm/pgtable.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ In file included from ./include/linux/fs.h:7, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kdev_t.h: In function ‘old_valid_dev’: ./include/linux/kdev_t.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_pfn’: ./arch/x86/include/asm/pgtable.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_pfn’: ./include/linux/kdev_t.h: In function ‘old_encode_dev’: ./arch/x86/include/asm/pgtable.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/kdev_t.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_pfn’: ./arch/x86/include/asm/pgtable.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/kdev_t.h: In function ‘old_decode_dev’: ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_sub’: ./include/linux/kdev_t.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./arch/x86/include/asm/preempt.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_large’: In file included from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dcache.h: In function ‘d_count’: ./arch/x86/include/asm/pgtable.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/kdev_t.h: In function ‘new_encode_dev’: ./include/linux/kdev_t.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/dcache.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_large’: ./arch/x86/include/asm/pgtable.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/kdev_t.h: In function ‘new_decode_dev’: ./include/linux/kdev_t.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_trans_huge’: ./arch/x86/include/asm/pgtable.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./include/linux/kdev_t.h: In function ‘huge_encode_dev’: ./include/linux/dcache.h: In function ‘dget_dlock’: ./include/linux/kdev_t.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_trans_huge’: ./include/linux/dcache.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./arch/x86/include/asm/pgtable.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/kdev_t.h: In function ‘huge_decode_dev’: ./include/linux/kdev_t.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/dcache.h: In function ‘dget’: ./include/linux/dcache.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_valid_dev’: ./arch/x86/include/asm/preempt.h: In function ‘__preempt_count_dec_and_test’: ./arch/x86/include/asm/pgtable.h: In function ‘has_transparent_hugepage’: ./include/linux/kdev_t.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./arch/x86/include/asm/preempt.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./arch/x86/include/asm/pgtable.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/dcache.h: In function ‘d_unhashed’: ./include/linux/dcache.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_encode_dev’: ./include/linux/dcache.h: In function ‘d_unlinked’: ./include/linux/kdev_t.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/dcache.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./arch/x86/include/asm/preempt.h: In function ‘should_resched’: ./arch/x86/include/asm/preempt.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_major’: ./include/linux/dcache.h: In function ‘cant_mount’: ./include/linux/kdev_t.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/dcache.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_minor’: ./include/linux/dcache.h: In function ‘dont_mount’: ./include/linux/kdev_t.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/dcache.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./include/linux/dcache.h: In function ‘d_in_lookup’: ./include/linux/dcache.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ In file included from ./include/linux/dcache.h:7, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rculist.h: In function ‘INIT_LIST_HEAD_RCU’: ./include/linux/dcache.h: In function ‘d_lookup_done’: ./include/linux/dcache.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/rculist.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ In file included from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/preempt.h: In function ‘preempt_notifier_init’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_devmap’: ./include/linux/preempt.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/pgtable.h:259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 259 | { | ^ ./include/linux/dcache.h: In function ‘d_managed’: ./include/linux/dcache.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/rculist.h: In function ‘__list_add_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_devmap’: ./include/linux/rculist.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./arch/x86/include/asm/pgtable.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ In file included from ./include/linux/spinlock.h:58, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/bottom_half.h: In function ‘__local_bh_disable_ip’: ./include/linux/dcache.h: In function ‘d_mountpoint’: ./include/linux/bottom_half.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | { | ^ ./include/linux/dcache.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_devmap’: ./arch/x86/include/asm/pgtable.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_disable’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_set_flags’: ./include/linux/bottom_half.h:18:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 18 | { | ^ ./arch/x86/include/asm/pgtable.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/dcache.h: In function ‘__d_entry_type’: ./include/linux/dcache.h:390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 390 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_flags’: ./include/linux/dcache.h: In function ‘d_is_miss’: ./arch/x86/include/asm/pgtable.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/bottom_half.h: In function ‘local_bh_enable_ip’: ./include/linux/dcache.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/bottom_half.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkclean’: ./include/linux/bottom_half.h: In function ‘local_bh_enable’: ./arch/x86/include/asm/pgtable.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./include/linux/bottom_half.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/dcache.h: In function ‘d_is_whiteout’: ./include/linux/dcache.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkold’: ./arch/x86/include/asm/pgtable.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/dcache.h: In function ‘d_can_lookup’: ./include/linux/dcache.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_wrprotect’: ./arch/x86/include/asm/pgtable.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./include/linux/dcache.h: In function ‘d_is_autodir’: ./include/linux/dcache.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/rculist.h: In function ‘list_add_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkexec’: ./include/linux/rculist.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./arch/x86/include/asm/pgtable.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/dcache.h: In function ‘d_is_dir’: ./include/linux/dcache.h:415:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 415 | { | ^ ./include/linux/rculist.h: In function ‘list_add_tail_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdirty’: ./include/linux/rculist.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/pgtable.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./include/linux/rculist.h: In function ‘list_del_rcu’: In file included from ./include/linux/spinlock_types.h:18, from ./include/linux/spinlock.h:82, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/lockdep.h: In function ‘lockdep_off’: ./include/linux/rculist.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkyoung’: ./include/linux/dcache.h: In function ‘d_is_symlink’: ./arch/x86/include/asm/pgtable.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./include/linux/dcache.h:420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 420 | { | ^ ./include/linux/lockdep.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_init_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkwrite’: ./include/linux/rculist.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_on’: ./arch/x86/include/asm/pgtable.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./include/linux/lockdep.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./include/linux/dcache.h: In function ‘d_is_reg’: ./include/linux/dcache.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/rculist.h: In function ‘list_replace_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkhuge’: ./include/linux/rculist.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/pgtable.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_invariant_state’: ./include/linux/dcache.h: In function ‘d_is_special’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrhuge’: ./include/linux/lockdep.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | static inline void lockdep_invariant_state(bool force) {} | ^~~~~~ ./include/linux/dcache.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./arch/x86/include/asm/pgtable.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_init_task’: ./include/linux/lockdep.h:472:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | static inline void lockdep_init_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkglobal’: ./arch/x86/include/asm/pgtable.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_free_task’: ./include/linux/lockdep.h:473:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | static inline void lockdep_free_task(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/dcache.h: In function ‘d_is_file’: ./include/linux/dcache.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrglobal’: ./arch/x86/include/asm/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/lockdep.h: In function ‘print_irqtrace_events’: ./include/linux/lockdep.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkspecial’: ./arch/x86/include/asm/pgtable.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./include/linux/dcache.h: In function ‘d_is_negative’: ./include/linux/dcache.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdevmap’: ./arch/x86/include/asm/pgtable.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/lockdep.h: In function ‘lockdep_rcu_suspicious’: ./include/linux/lockdep.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/dcache.h: In function ‘d_is_positive’: ./include/linux/dcache.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_set_flags’: ./arch/x86/include/asm/pgtable.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/rculist.h: In function ‘__list_splice_init_rcu’: ./include/linux/dcache.h: In function ‘d_really_is_negative’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_flags’: ./include/linux/rculist.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/linux/dcache.h:466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 466 | { | ^ ./arch/x86/include/asm/pgtable.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_positive’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkold’: ./include/linux/dcache.h:484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 484 | { | ^ In file included from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_fetch_set_pending_acquire’: ./arch/x86/include/asm/pgtable.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./arch/x86/include/asm/qspinlock.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/dcache.h: In function ‘simple_positive’: ./include/linux/dcache.h:489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 489 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkclean’: ./arch/x86/include/asm/pgtable.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/dcache.h: In function ‘d_is_fallthru’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_wrprotect’: ./include/linux/dcache.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./arch/x86/include/asm/pgtable.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/dcache.h: In function ‘vfs_pressure_ratio’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdirty’: ./include/linux/dcache.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./arch/x86/include/asm/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘native_queued_spin_unlock’: ./arch/x86/include/asm/qspinlock.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdevmap’: ./arch/x86/include/asm/pgtable.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./include/linux/dcache.h: In function ‘d_inode’: ./include/linux/dcache.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkhuge’: ./include/linux/rculist.h: In function ‘list_splice_init_rcu’: ./arch/x86/include/asm/pgtable.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./include/linux/dcache.h: In function ‘d_inode_rcu’: ./include/linux/rculist.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/dcache.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkyoung’: ./arch/x86/include/asm/pgtable.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./include/linux/rculist.h: In function ‘list_splice_tail_init_rcu’: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_lock_slowpath’: ./include/linux/rculist.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./arch/x86/include/asm/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkwrite’: ./arch/x86/include/asm/pgtable.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_inode’: ./arch/x86/include/asm/qspinlock.h: In function ‘queued_spin_unlock’: ./include/linux/dcache.h:543:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 543 | { | ^ ./arch/x86/include/asm/qspinlock.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_set_flags’: ./arch/x86/include/asm/pgtable.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_dentry’: ./arch/x86/include/asm/qspinlock.h: In function ‘vcpu_is_preempted’: ./include/linux/rculist.h: In function ‘hlist_del_rcu’: ./arch/x86/include/asm/qspinlock.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/dcache.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./include/linux/rculist.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_flags’: ./include/linux/dcache.h: In function ‘d_real’: ./arch/x86/include/asm/pgtable.h:423:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 423 | { | ^ ./include/linux/dcache.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./arch/x86/include/asm/qspinlock.h: In function ‘virt_spin_lock’: ./include/linux/rculist.h: In function ‘hlist_replace_rcu’: ./arch/x86/include/asm/qspinlock.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkold’: ./include/linux/rculist.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./arch/x86/include/asm/pgtable.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/dcache.h: In function ‘d_real_inode’: ./include/linux/dcache.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkclean’: ./arch/x86/include/asm/pgtable.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_wrprotect’: ./arch/x86/include/asm/pgtable.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ In file included from ./arch/x86/include/asm/qspinlock.h:95, from ./arch/x86/include/asm/spinlock.h:27, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_locked’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdirty’: In file included from ./include/linux/fs.h:9, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/path.h: In function ‘path_equal’: ./arch/x86/include/asm/pgtable.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/asm-generic/qspinlock.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/path.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdevmap’: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_value_unlocked’: ./include/linux/path.h: In function ‘path_put_init’: ./arch/x86/include/asm/pgtable.h:450:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 450 | { | ^ ./include/asm-generic/qspinlock.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/path.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/asm-generic/qspinlock.h: In function ‘queued_spin_is_contended’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkhuge’: ./include/asm-generic/qspinlock.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/pgtable.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkyoung’: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_trylock’: ./arch/x86/include/asm/pgtable.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/asm-generic/qspinlock.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_head_rcu’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkwrite’: ./include/linux/rculist.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./arch/x86/include/asm/pgtable.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_soft_dirty’: ./include/asm-generic/qspinlock.h: In function ‘queued_spin_lock’: ./arch/x86/include/asm/pgtable.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/asm-generic/qspinlock.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_soft_dirty’: ./arch/x86/include/asm/pgtable.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_soft_dirty’: ./arch/x86/include/asm/pgtable.h:481:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 481 | { | ^ In file included from ./arch/x86/include/asm/qrwlock.h:6, from ./arch/x86/include/asm/spinlock.h:43, from ./include/linux/spinlock.h:88, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/qrwlock.h: In function ‘queued_read_trylock’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mksoft_dirty’: ./include/asm-generic/qrwlock.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/pgtable.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mksoft_dirty’: In file included from ./include/linux/stat.h:20, from ./include/linux/fs.h:10, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/uidgid.h: In function ‘__kuid_val’: ./arch/x86/include/asm/pgtable.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/uidgid.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mksoft_dirty’: ./include/linux/rculist.h: In function ‘hlist_add_tail_rcu’: ./include/asm-generic/qrwlock.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/uidgid.h: In function ‘__kgid_val’: ./arch/x86/include/asm/pgtable.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/uidgid.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/rculist.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_soft_dirty’: ./include/linux/uidgid.h: In function ‘uid_eq’: ./include/linux/uidgid.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./arch/x86/include/asm/pgtable.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_read_lock’: ./include/linux/uidgid.h: In function ‘gid_eq’: ./include/asm-generic/qrwlock.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_soft_dirty’: ./include/linux/uidgid.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/pgtable.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gt’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_soft_dirty’: ./include/linux/uidgid.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./arch/x86/include/asm/pgtable.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_lock’: ./include/asm-generic/qrwlock.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gt’: ./include/linux/uidgid.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘massage_pgprot’: ./arch/x86/include/asm/pgtable.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gte’: ./include/linux/uidgid.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_read_unlock’: ./include/asm-generic/qrwlock.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gte’: ./arch/x86/include/asm/pgtable.h: In function ‘check_pgprot’: ./include/linux/uidgid.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/asm-generic/qrwlock.h: In function ‘queued_write_unlock’: ./arch/x86/include/asm/pgtable.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/asm-generic/qrwlock.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lt’: ./include/linux/uidgid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pte’: ./arch/x86/include/asm/pgtable.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lt’: ./include/linux/rculist.h: In function ‘hlist_add_before_rcu’: ./include/linux/rculist.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/linux/uidgid.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lte’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pmd’: ./include/linux/uidgid.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./arch/x86/include/asm/pgtable.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lte’: ./include/linux/uidgid.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pud’: ./include/linux/uidgid.h: In function ‘uid_valid’: ./arch/x86/include/asm/pgtable.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/linux/uidgid.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/uidgid.h: In function ‘gid_valid’: ./include/linux/uidgid.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mknotpresent’: ./arch/x86/include/asm/pgtable.h:573:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 573 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_behind_rcu’: ./include/linux/uidgid.h: In function ‘kuid_has_mapping’: ./include/linux/rculist.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mknotpresent’: ./include/linux/uidgid.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/pgtable.h:579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 579 | { | ^ ./include/linux/uidgid.h: In function ‘kgid_has_mapping’: ./include/linux/uidgid.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_modify’: ./arch/x86/include/asm/pgtable.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_modify’: ./arch/x86/include/asm/pgtable.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ In file included from ./include/linux/fs.h:13, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/list_lru.h: In function ‘list_lru_shrink_count’: ./include/linux/list_lru.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ In file included from ./include/linux/rculist_bl.h:8, from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/list_bl.h: In function ‘INIT_HLIST_BL_NODE’: ./include/linux/list_lru.h: In function ‘list_lru_count’: ./include/linux/list_bl.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/list_lru.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unhashed’: ./include/linux/list_bl.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgprot_modify’: ./include/linux/list_bl.h: In function ‘hlist_bl_first’: ./include/linux/list_bl.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/pgtable.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_set_first’: ./include/linux/list_bl.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_empty’: ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk’: ./include/linux/list_bl.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/list_lru.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘arch_filter_pgprot’: ./arch/x86/include/asm/pgtable.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk_irq’: ./include/linux/list_lru.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘is_new_memtype_allowed’: ./include/linux/list_bl.h: In function ‘hlist_bl_add_head’: ./arch/x86/include/asm/pgtable.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_walk’: ./include/linux/list_bl.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/list_lru.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/list_bl.h: In function ‘__hlist_bl_del’: ./include/linux/list_bl.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pti_set_user_pgtbl’: ./arch/x86/include/asm/pgtable.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del’: ./include/linux/list_bl.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del_init’: ./include/linux/list_bl.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_lock’: In file included from ./include/linux/radix-tree.h:31, from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/xarray.h: In function ‘xa_mk_value’: ./include/linux/list_bl.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/xarray.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unlock’: ./include/linux/list_bl.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_is_locked’: ./include/linux/list_bl.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ In file included from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rculist_bl.h: In function ‘hlist_bl_set_first_rcu’: ./include/linux/rculist_bl.h:13:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 13 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_value’: ./include/linux/xarray.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_value’: ./include/linux/xarray.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/xarray.h: In function ‘xa_tag_pointer’: ./include/linux/xarray.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/xarray.h: In function ‘xa_untag_pointer’: ./include/linux/xarray.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./include/linux/xarray.h: In function ‘xa_pointer_tag’: ./include/linux/xarray.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_first_rcu’: ./include/linux/rculist_bl.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_internal’: ./include/linux/xarray.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_internal’: ./include/linux/xarray.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_init_rcu’: ./include/linux/rculist_bl.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_internal’: ./include/linux/xarray.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’: ./include/linux/rculist_bl.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ In file included from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable_64.h: In function ‘sync_initial_page_table’: ./include/linux/xarray.h: In function ‘xa_is_err’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_add_head_rcu’: ./arch/x86/include/asm/pgtable_64.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | static inline void sync_initial_page_table(void) { } | ^~~~~~ ./include/linux/xarray.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/rculist_bl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte’: ./arch/x86/include/asm/pgtable_64.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/xarray.h: In function ‘xa_err’: ./include/linux/xarray.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pte_clear’: ./arch/x86/include/asm/pgtable_64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte_atomic’: In file included from ./include/linux/dcache.h:13, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/lockref.h: In function ‘__lockref_is_dead’: ./arch/x86/include/asm/pgtable_64.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/lockref.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pmd’: ./arch/x86/include/asm/pgtable_64.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmd_clear’: ./arch/x86/include/asm/pgtable_64.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ In file included from ./include/linux/stringhash.h:7, from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/hash.h: In function ‘__hash_32_generic’: ./include/linux/xarray.h: In function ‘xa_init_flags’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_ptep_get_and_clear’: ./include/linux/hash.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./arch/x86/include/asm/pgtable_64.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/xarray.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/hash.h: In function ‘hash_32_generic’: ./include/linux/hash.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/hash.h: In function ‘hash_64_generic’: ./include/linux/hash.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/hash.h: In function ‘hash_ptr’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmdp_get_and_clear’: ./include/linux/hash.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/xarray.h: In function ‘xa_init’: ./arch/x86/include/asm/pgtable_64.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/xarray.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/hash.h: In function ‘hash32_ptr’: ./include/linux/hash.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/xarray.h: In function ‘xa_empty’: ./include/linux/xarray.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ In file included from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/stringhash.h: In function ‘partial_name_hash’: ./include/linux/stringhash.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pud’: ./arch/x86/include/asm/pgtable_64.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/xarray.h: In function ‘xa_marked’: ./include/linux/xarray.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/stringhash.h: In function ‘end_name_hash’: ./include/linux/stringhash.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pud_clear’: ./arch/x86/include/asm/pgtable_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable_64.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/xarray.h: In function ‘xa_store_bh’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_p4d’: ./include/linux/xarray.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./arch/x86/include/asm/pgtable_64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/xarray.h: In function ‘xa_store_irq’: ./include/linux/xarray.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/xarray.h: In function ‘xa_erase_bh’: ./include/linux/xarray.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_p4d_clear’: ./arch/x86/include/asm/pgtable_64.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ In file included from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dcache.h: In function ‘d_count’: ./include/linux/xarray.h: In function ‘xa_erase_irq’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pgd’: ./arch/x86/include/asm/pgtable_64.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/dcache.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/xarray.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pgd_clear’: ./include/linux/xarray.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/dcache.h: In function ‘dget_dlock’: ./arch/x86/include/asm/pgtable_64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/dcache.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/dcache.h: In function ‘dget’: ./include/linux/xarray.h: In function ‘xa_cmpxchg_bh’: ./include/linux/dcache.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/xarray.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘gup_fast_permitted’: ./include/linux/dcache.h: In function ‘d_unhashed’: ./include/linux/dcache.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./arch/x86/include/asm/pgtable_64.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_irq’: ./include/linux/dcache.h: In function ‘d_unlinked’: ./include/linux/xarray.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/dcache.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/xarray.h: In function ‘xa_insert’: ./include/linux/dcache.h: In function ‘cant_mount’: In file included from ./arch/x86/include/asm/pgtable_64.h:275, from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable-invert.h: In function ‘__pte_needs_invert’: ./include/linux/dcache.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/xarray.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./arch/x86/include/asm/pgtable-invert.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/dcache.h: In function ‘dont_mount’: ./include/linux/xarray.h: In function ‘xa_insert_bh’: ./include/linux/dcache.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./arch/x86/include/asm/pgtable-invert.h: In function ‘protnone_mask’: ./arch/x86/include/asm/pgtable-invert.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/xarray.h:701:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 701 | { | ^ ./include/linux/dcache.h: In function ‘d_in_lookup’: ./include/linux/dcache.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./arch/x86/include/asm/pgtable-invert.h: In function ‘flip_protnone_guard’: ./arch/x86/include/asm/pgtable-invert.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/dcache.h: In function ‘d_lookup_done’: ./include/linux/xarray.h: In function ‘xa_insert_irq’: ./include/linux/dcache.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/xarray.h:730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 730 | { | ^ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pgtable.h: In function ‘pte_none’: ./arch/x86/include/asm/pgtable.h:703:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 703 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc’: ./include/linux/dcache.h: In function ‘d_managed’: ./include/linux/dcache.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/xarray.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_same’: ./include/linux/dcache.h: In function ‘d_mountpoint’: ./arch/x86/include/asm/pgtable.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/dcache.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_bh’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_present’: ./include/linux/dcache.h: In function ‘__d_entry_type’: ./include/linux/xarray.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./arch/x86/include/asm/pgtable.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/dcache.h:390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 390 | { | ^ ./include/linux/dcache.h: In function ‘d_is_miss’: ./include/linux/xarray.h: In function ‘xa_alloc_irq’: ./include/linux/dcache.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_devmap’: ./arch/x86/include/asm/pgtable.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/xarray.h:817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 817 | { | ^ ./include/linux/dcache.h: In function ‘d_is_whiteout’: ./include/linux/dcache.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_accessible’: ./include/linux/dcache.h: In function ‘d_can_lookup’: ./arch/x86/include/asm/pgtable.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/xarray.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/dcache.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/dcache.h: In function ‘d_is_autodir’: ./include/linux/dcache.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_bh’: ./include/linux/dcache.h: In function ‘d_is_dir’: ./include/linux/dcache.h:415:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 415 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_present’: ./include/linux/xarray.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./arch/x86/include/asm/pgtable.h:739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 739 | { | ^ ./include/linux/dcache.h: In function ‘d_is_symlink’: ./include/linux/dcache.h:420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 420 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_protnone’: ./include/linux/dcache.h: In function ‘d_is_reg’: ./include/linux/xarray.h: In function ‘xa_reserve_irq’: ./include/linux/dcache.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./arch/x86/include/asm/pgtable.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/xarray.h:895:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 895 | { | ^ ./include/linux/dcache.h: In function ‘d_is_special’: ./include/linux/dcache.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_protnone’: ./arch/x86/include/asm/pgtable.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dcache.h: In function ‘d_is_file’: ./include/linux/dcache.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/xarray.h: In function ‘xa_release’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_none’: ./include/linux/dcache.h: In function ‘d_is_negative’: ./include/linux/xarray.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./arch/x86/include/asm/pgtable.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dcache.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./include/linux/dcache.h: In function ‘d_is_positive’: ./include/linux/dcache.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_page_vaddr’: ./arch/x86/include/asm/pgtable.h:776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 776 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_negative’: ./include/linux/dcache.h:466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 466 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_index’: ./include/linux/dcache.h: In function ‘d_really_is_positive’: ./arch/x86/include/asm/pgtable.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./include/linux/dcache.h:484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 484 | { | ^ ./include/linux/dcache.h: In function ‘simple_positive’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_index’: ./include/linux/dcache.h:489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 489 | { | ^ ./include/linux/xarray.h: In function ‘xa_head’: ./arch/x86/include/asm/pgtable.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/xarray.h:987:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 987 | { | ^ ./include/linux/dcache.h: In function ‘d_is_fallthru’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_offset_kernel’: ./include/linux/dcache.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./arch/x86/include/asm/pgtable.h:818:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 818 | { | ^ ./include/linux/dcache.h: In function ‘vfs_pressure_ratio’: ./include/linux/dcache.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_bad’: ./arch/x86/include/asm/pgtable.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/xarray.h: In function ‘xa_head_locked’: ./include/linux/dcache.h: In function ‘d_inode’: ./include/linux/xarray.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/dcache.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pages_to_mb’: ./include/linux/dcache.h: In function ‘d_inode_rcu’: ./arch/x86/include/asm/pgtable.h:828:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 828 | { | ^ ./include/linux/dcache.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_none’: ./include/linux/xarray.h: In function ‘xa_entry’: ./arch/x86/include/asm/pgtable.h:834:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 834 | { | ^ ./include/linux/xarray.h:1002:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1002 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_inode’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_present’: ./include/linux/dcache.h:543:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 543 | { | ^ ./arch/x86/include/asm/pgtable.h:839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 839 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_dentry’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_page_vaddr’: ./include/linux/dcache.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./arch/x86/include/asm/pgtable.h:844:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 844 | { | ^ ./include/linux/dcache.h: In function ‘d_real’: ./include/linux/dcache.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_offset’: ./arch/x86/include/asm/pgtable.h:856:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 856 | { | ^ ./include/linux/dcache.h: In function ‘d_real_inode’: ./include/linux/dcache.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_large’: ./arch/x86/include/asm/pgtable.h:861:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 861 | { | ^ ./include/linux/xarray.h: In function ‘xa_entry_locked’: ./include/linux/xarray.h:1011:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1011 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_bad’: ./arch/x86/include/asm/pgtable.h:867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 867 | { | ^ In file included from ./include/linux/fs.h:9, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/path.h: In function ‘path_equal’: ./include/linux/path.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent’: ./include/linux/path.h: In function ‘path_put_init’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_index’: ./include/linux/path.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/xarray.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./arch/x86/include/asm/pgtable.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_none’: ./arch/x86/include/asm/pgtable.h:884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 884 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_present’: ./arch/x86/include/asm/pgtable.h:889:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 889 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent_locked’: ./include/linux/xarray.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_page_vaddr’: ./arch/x86/include/asm/pgtable.h:894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 894 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_node’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_offset’: ./arch/x86/include/asm/pgtable.h:906:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 906 | { | ^ ./include/linux/xarray.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_node’: ./arch/x86/include/asm/pgtable.h: In function ‘p4d_bad’: ./arch/x86/include/asm/pgtable.h:911:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 911 | { | ^ ./include/linux/xarray.h:1041:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1041 | { | ^ In file included from ./include/linux/stat.h:20, from ./include/linux/fs.h:10, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/uidgid.h: In function ‘__kuid_val’: ./include/linux/xarray.h: In function ‘xa_is_node’: ./include/linux/uidgid.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/spinlock.h: In function ‘do_raw_spin_lock’: ./include/linux/xarray.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/uidgid.h: In function ‘__kgid_val’: ./include/linux/uidgid.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/spinlock.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_index’: ./arch/x86/include/asm/pgtable.h:922:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 922 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_sibling’: ./include/linux/uidgid.h: In function ‘uid_eq’: ./include/linux/spinlock.h: In function ‘do_raw_spin_lock_flags’: ./include/linux/uidgid.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/spinlock.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/xarray.h:1053:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1053 | { | ^ ./include/linux/uidgid.h: In function ‘gid_eq’: ./include/linux/xarray.h: In function ‘xa_to_sibling’: ./include/linux/spinlock.h: In function ‘do_raw_spin_trylock’: ./include/linux/uidgid.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/spinlock.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘init_trampoline_default’: ./include/linux/xarray.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gt’: ./include/linux/spinlock.h: In function ‘do_raw_spin_unlock’: ./arch/x86/include/asm/pgtable.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/uidgid.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_sibling’: ./include/linux/spinlock.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/xarray.h:1070:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1070 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gt’: ./include/linux/uidgid.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_ptep_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gte’: ./include/linux/uidgid.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_zero’: ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pmdp_get_and_clear’: ./include/linux/uidgid.h: In function ‘gid_gte’: ./include/linux/xarray.h:1085:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1085 | { | ^ ./include/linux/uidgid.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/pgtable.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lt’: ./include/linux/uidgid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_retry’: ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/xarray.h:1096:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1096 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lt’: ./include/linux/uidgid.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_set_pte_at’: ./include/linux/uidgid.h: In function ‘uid_lte’: ./include/linux/xarray.h: In function ‘xa_is_advanced’: ./arch/x86/include/asm/pgtable.h:1061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1061 | { | ^ ./include/linux/uidgid.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/xarray.h:1107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1107 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lte’: ./arch/x86/include/asm/pgtable.h: In function ‘set_pmd_at’: ./include/linux/uidgid.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/pgtable.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/uidgid.h: In function ‘uid_valid’: ./include/linux/uidgid.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘set_pud_at’: In file included from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock’: ./arch/x86/include/asm/pgtable.h:1073:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1073 | { | ^ ./include/linux/uidgid.h: In function ‘gid_valid’: ./include/linux/spinlock_api_smp.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/uidgid.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/xarray.h: In function ‘xas_error’: ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irqsave’: ./include/linux/uidgid.h: In function ‘kuid_has_mapping’: ./arch/x86/include/asm/pgtable.h:1102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1102 | { | ^ ./include/linux/spinlock_api_smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/linux/uidgid.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/xarray.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear_full’: ./include/linux/uidgid.h: In function ‘kgid_has_mapping’: ./include/linux/uidgid.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./arch/x86/include/asm/pgtable.h:1111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1111 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irq’: ./include/linux/spinlock_api_smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_set_wrprotect’: ./include/linux/xarray.h: In function ‘xas_set_err’: ./arch/x86/include/asm/pgtable.h:1128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1128 | { | ^ ./include/linux/xarray.h:1236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1236 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_bh’: ./include/linux/spinlock_api_smp.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/xarray.h: In function ‘xas_invalid’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_write’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock’: ./include/linux/spinlock_api_smp.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./arch/x86/include/asm/pgtable.h:1157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1157 | { | ^ ./include/linux/xarray.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/xarray.h: In function ‘xas_valid’: ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_huge_get_and_clear’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock’: In file included from ./include/linux/fs.h:13, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/list_lru.h: In function ‘list_lru_shrink_count’: ./include/linux/spinlock_api_smp.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./arch/x86/include/asm/pgtable.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/list_lru.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/xarray.h:1258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1258 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irqrestore’: ./arch/x86/include/asm/pgtable.h: In function ‘pudp_huge_get_and_clear’: ./include/linux/spinlock_api_smp.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_count’: ./include/linux/list_lru.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./arch/x86/include/asm/pgtable.h:1171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1171 | { | ^ ./include/linux/xarray.h: In function ‘xas_is_node’: ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_set_wrprotect’: ./include/linux/xarray.h:1269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1269 | { | ^ ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_irq’: ./arch/x86/include/asm/pgtable.h:1178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1178 | { | ^ ./include/linux/spinlock_api_smp.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_write’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_unlock_bh’: ./include/linux/xarray.h: In function ‘xas_not_node’: ./arch/x86/include/asm/pgtable.h:1184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1184 | { | ^ ./include/linux/spinlock_api_smp.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk’: ./include/linux/list_lru.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/xarray.h:1275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1275 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_establish’: ./include/linux/spinlock_api_smp.h: In function ‘__raw_spin_trylock_bh’: ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk_irq’: ./include/linux/xarray.h: In function ‘xas_frozen’: ./include/linux/spinlock_api_smp.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/list_lru.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./arch/x86/include/asm/pgtable.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/xarray.h:1281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1281 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_walk’: ./include/linux/list_lru.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/xarray.h: In function ‘xas_top’: ./include/linux/xarray.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/xarray.h: In function ‘xas_reset’: ./include/linux/xarray.h:1302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1302 | { | ^ ./include/linux/xarray.h: In function ‘xas_retry’: In file included from ./include/linux/radix-tree.h:31, from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/xarray.h: In function ‘xa_mk_value’: ./arch/x86/include/asm/pgtable.h: In function ‘pgdp_maps_userspace’: ./include/linux/xarray.h:1319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1319 | { | ^ ./include/linux/xarray.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/pgtable.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ In file included from ./include/linux/spinlock_api_smp.h:190, from ./include/linux/spinlock.h:307, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_trylock’: ./include/linux/rwlock_api_smp.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_large’: ./arch/x86/include/asm/pgtable.h:1216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1216 | static inline int pgd_large(pgd_t pgd) { return 0; } | ^~~~~~ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_trylock’: ./include/linux/rwlock_api_smp.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptr_set_bit’: ./include/linux/xarray.h: In function ‘xa_to_value’: ./arch/x86/include/asm/pgtable.h:1232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1232 | { | ^ ./include/linux/xarray.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/xarray.h: In function ‘xas_reload’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock’: ./include/linux/rwlock_api_smp.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_value’: ./arch/x86/include/asm/pgtable.h: In function ‘ptr_clear_bit’: ./include/linux/xarray.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/xarray.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./arch/x86/include/asm/pgtable.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/xarray.h: In function ‘xa_tag_pointer’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irqsave’: ./include/linux/xarray.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/rwlock_api_smp.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_pgdp’: ./include/linux/xarray.h: In function ‘xa_untag_pointer’: ./arch/x86/include/asm/pgtable.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/xarray.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./include/linux/xarray.h: In function ‘xas_set’: ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_pgdp’: ./include/linux/xarray.h: In function ‘xa_pointer_tag’: ./include/linux/xarray.h:1377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1377 | { | ^ ./include/linux/xarray.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_irq’: ./arch/x86/include/asm/pgtable.h:1252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1252 | { | ^ ./include/linux/rwlock_api_smp.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_internal’: ./include/linux/xarray.h: In function ‘xas_set_order’: ./include/linux/xarray.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_p4dp’: ./include/linux/xarray.h:1390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1390 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_internal’: ./arch/x86/include/asm/pgtable.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/xarray.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_lock_bh’: ./include/linux/rwlock_api_smp.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_p4dp’: ./include/linux/xarray.h: In function ‘xa_is_internal’: ./include/linux/xarray.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./arch/x86/include/asm/pgtable.h:1262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1262 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_update’: ./include/linux/xarray.h: In function ‘xa_is_err’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irqsave’: ./arch/x86/include/asm/pgtable.h: In function ‘clone_pgd_range’: ./include/linux/xarray.h:1411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1411 | { | ^ ./include/linux/xarray.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/rwlock_api_smp.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/pgtable.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_entry’: ./include/linux/xarray.h: In function ‘xa_err’: ./include/linux/xarray.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/xarray.h:1427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1427 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_irq’: ./include/linux/rwlock_api_smp.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock_bh’: ./include/linux/rwlock_api_smp.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/xarray.h: In function ‘xa_init_flags’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_lock’: ./include/linux/rwlock_api_smp.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/xarray.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock’: ./include/linux/rwlock_api_smp.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/xarray.h: In function ‘xa_init’: ./include/linux/xarray.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/xarray.h: In function ‘xa_empty’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock’: ./include/linux/xarray.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/rwlock_api_smp.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/linux/xarray.h: In function ‘xa_marked’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irqrestore’: ./include/linux/xarray.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/rwlock_api_smp.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/linux/xarray.h: In function ‘xas_find_chunk’: ./include/linux/xarray.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_irq’: ./include/linux/rwlock_api_smp.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_read_unlock_bh’: ./include/linux/xarray.h: In function ‘xa_store_bh’: ./include/linux/rwlock_api_smp.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/xarray.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/xarray.h: In function ‘xa_store_irq’: ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irqrestore’: ./include/linux/rwlock_api_smp.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./include/linux/xarray.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_marked’: ./include/linux/xarray.h: In function ‘xa_erase_bh’: ./include/linux/xarray.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_irq’: ./include/linux/rwlock_api_smp.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/xarray.h:1485:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1485 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_shift’: ./include/linux/xarray.h: In function ‘xa_erase_irq’: ./arch/x86/include/asm/pgtable.h:1291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1291 | { | ^ ./include/linux/xarray.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/rwlock_api_smp.h: In function ‘__raw_write_unlock_bh’: ./include/linux/rwlock_api_smp.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg’: ./include/linux/xarray.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/spinlock.h: In function ‘spinlock_check’: ./include/linux/spinlock.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_bh’: ./include/linux/spinlock.h: In function ‘spin_lock’: ./include/linux/xarray.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/spinlock.h:328:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 328 | { | ^ ./include/linux/spinlock.h: In function ‘spin_lock_bh’: ./include/linux/spinlock.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_irq’: ./include/linux/xarray.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock’: ./include/linux/spinlock.h:338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 338 | { | ^ ./include/linux/xarray.h: In function ‘xa_insert’: ./include/linux/spinlock.h: In function ‘spin_lock_irq’: ./include/linux/xarray.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/spinlock.h:353:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 353 | { | ^ ./include/linux/spinlock.h: In function ‘spin_unlock’: ./include/linux/xarray.h: In function ‘xa_insert_bh’: ./include/linux/spinlock.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/xarray.h:701:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 701 | { | ^ ./include/linux/xarray.h: In function ‘xas_prev’: ./include/linux/spinlock.h: In function ‘spin_unlock_bh’: ./include/linux/spinlock.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./include/linux/xarray.h: In function ‘xa_insert_irq’: ./include/linux/spinlock.h: In function ‘spin_unlock_irq’: ./include/linux/xarray.h:730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 730 | { | ^ ./include/linux/spinlock.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/xarray.h:1580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1580 | { | ^ ./include/linux/spinlock.h: In function ‘spin_unlock_irqrestore’: ./include/linux/xarray.h: In function ‘xa_alloc’: ./include/linux/spinlock.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/xarray.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/spinlock.h: In function ‘spin_trylock_bh’: ./include/linux/spinlock.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_bh’: ./include/linux/spinlock.h: In function ‘spin_trylock_irq’: ./include/linux/xarray.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/spinlock.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_irq’: ./include/linux/xarray.h: In function ‘xas_next’: ./include/linux/spinlock.h: In function ‘spin_is_locked’: ./include/linux/xarray.h:817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 817 | { | ^ ./include/linux/spinlock.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/xarray.h:1609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1609 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve’: ./include/linux/spinlock.h: In function ‘spin_is_contended’: ./include/linux/spinlock.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./include/linux/xarray.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_bh’: ./include/linux/xarray.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_irq’: ./include/linux/xarray.h:895:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 895 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/semaphore.h: In function ‘sema_init’: ./include/linux/xarray.h: In function ‘xa_release’: ./include/linux/semaphore.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ In file included from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/radix-tree.h: In function ‘radix_tree_is_internal_node’: ./include/linux/xarray.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/radix-tree.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_empty’: ./include/linux/radix-tree.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/xarray.h: In function ‘xa_head’: ./include/linux/xarray.h:987:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 987 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot’: ./include/linux/radix-tree.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/xarray.h: In function ‘xa_head_locked’: ./include/linux/xarray.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/xarray.h: In function ‘xa_entry’: ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot_protected’: ./arch/x86/include/asm/pgtable.h: In function ‘page_level_size’: ./include/linux/radix-tree.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ ./include/linux/xarray.h:1002:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1002 | { | ^ ./arch/x86/include/asm/pgtable.h:1295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1295 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_retry’: ./arch/x86/include/asm/pgtable.h: In function ‘page_level_mask’: ./include/linux/radix-tree.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./arch/x86/include/asm/pgtable.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_exception’: In file included from ./include/linux/mmzone.h:10, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/wait.h: In function ‘init_waitqueue_entry’: ./include/linux/radix-tree.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache’: ./include/linux/xarray.h: In function ‘xa_entry_locked’: ./arch/x86/include/asm/pgtable.h:1309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1309 | { | ^ ./include/linux/wait.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/xarray.h:1011:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1011 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pmd’: ./include/linux/wait.h: In function ‘init_waitqueue_func_entry’: ./arch/x86/include/asm/pgtable.h:1313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1313 | { | ^ ./include/linux/wait.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pud’: ./include/linux/xarray.h: In function ‘xa_parent’: ./include/linux/wait.h: In function ‘waitqueue_active’: ./include/linux/wait.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./arch/x86/include/asm/pgtable.h:1317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1317 | { | ^ ./include/linux/xarray.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_preload_end’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_mksoft_dirty’: ./include/linux/wait.h: In function ‘wq_has_sleeper’: ./include/linux/radix-tree.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/wait.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/pgtable.h:1322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1322 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_soft_dirty’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_init’: ./include/linux/wait.h: In function ‘__add_wait_queue’: ./include/linux/radix-tree.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/wait.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent_locked’: ./arch/x86/include/asm/pgtable.h:1327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1327 | { | ^ ./include/linux/wait.h: In function ‘__add_wait_queue_exclusive’: ./include/linux/xarray.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/wait.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_clear_soft_dirty’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_lookup’: ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail’: ./arch/x86/include/asm/pgtable.h:1332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1332 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_node’: ./include/linux/radix-tree.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/wait.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/xarray.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_mksoft_dirty’: ./include/linux/wait.h: In function ‘__add_wait_queue_entry_tail_exclusive’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_find’: ./include/linux/wait.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/pgtable.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_node’: ./include/linux/radix-tree.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/wait.h: In function ‘__remove_wait_queue’: ./include/linux/xarray.h:1041:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1041 | { | ^ ./include/linux/wait.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_soft_dirty’: ./include/linux/xarray.h: In function ‘xa_is_node’: ./arch/x86/include/asm/pgtable.h:1343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1343 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_retry’: ./include/linux/radix-tree.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/xarray.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_clear_soft_dirty’: ./arch/x86/include/asm/pgtable.h:1348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1348 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_sibling’: ./include/linux/radix-tree.h: In function ‘__radix_tree_iter_add’: ./include/linux/xarray.h:1053:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1053 | { | ^ ./include/linux/radix-tree.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_read’: ./include/linux/xarray.h: In function ‘xa_to_sibling’: ./arch/x86/include/asm/pgtable.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_chunk_size’: ./include/linux/radix-tree.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/xarray.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_write’: ./include/linux/xarray.h: In function ‘xa_is_sibling’: ./include/linux/radix-tree.h: In function ‘radix_tree_next_slot’: ./arch/x86/include/asm/pgtable.h:1365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1365 | { | ^ ./include/linux/xarray.h:1070:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1070 | { | ^ ./include/linux/radix-tree.h:418:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 418 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_flags_pkey’: ./include/linux/xarray.h: In function ‘xa_is_zero’: ./arch/x86/include/asm/pgtable.h:1375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1375 | { | ^ ./include/linux/xarray.h:1085:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1085 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_retry’: ./include/linux/xarray.h:1096:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1096 | { | ^ In file included from ./include/linux/mmzone.h:16, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/seqlock.h: In function ‘__seqcount_init’: ./include/linux/seqlock.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_advanced’: ./include/linux/xarray.h:1107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1107 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqcount_begin’: ./include/linux/seqlock.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | { | ^ In file included from ./include/linux/fs.h:19, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pid.h: In function ‘get_pid’: ./include/linux/pid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/xarray.h: In function ‘xas_error’: ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_pkey’: ./include/linux/xarray.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./arch/x86/include/asm/pgtable.h:1385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1385 | { | ^ ./include/linux/pid.h: In function ‘ns_of_pid’: ./include/linux/xarray.h: In function ‘xas_set_err’: ./include/linux/pid.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/xarray.h:1236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1236 | { | ^ ./include/linux/pid.h: In function ‘is_child_reaper’: ./include/linux/pid.h:143:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | { | ^ ./include/linux/xarray.h: In function ‘xas_invalid’: ./include/linux/xarray.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/pid.h: In function ‘pid_nr’: ./include/linux/pid.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pte_access_permitted’: ./include/linux/xarray.h: In function ‘xas_valid’: ./arch/x86/include/asm/pgtable.h:1402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1402 | { | ^ ./include/linux/xarray.h:1258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1258 | { | ^ ./include/linux/xarray.h: In function ‘xas_is_node’: ./include/linux/xarray.h:1269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1269 | { | ^ ./include/linux/xarray.h: In function ‘xas_not_node’: ./include/linux/xarray.h:1275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1275 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_access_permitted’: ./arch/x86/include/asm/pgtable.h:1416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1416 | { | ^ ./include/linux/xarray.h: In function ‘xas_frozen’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_access_permitted’: ./include/linux/xarray.h:1281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1281 | { | ^ ./arch/x86/include/asm/pgtable.h:1422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1422 | { | ^ ./include/linux/xarray.h: In function ‘xas_top’: In file included from ./include/linux/fs.h:24, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/capability.h: In function ‘cap_combine’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_access_permitted’: ./include/linux/capability.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/xarray.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./arch/x86/include/asm/pgtable.h:1428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1428 | { | ^ ./include/linux/xarray.h: In function ‘xas_reset’: ./include/linux/xarray.h:1302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1302 | { | ^ ./include/linux/capability.h: In function ‘cap_intersect’: ./include/linux/capability.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘arch_has_pfn_modify_check’: ./include/linux/xarray.h: In function ‘xas_retry’: ./arch/x86/include/asm/pgtable.h:1436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1436 | { | ^ ./include/linux/xarray.h:1319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1319 | { | ^ ./include/linux/capability.h: In function ‘cap_drop’: ./include/linux/capability.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/capability.h: In function ‘cap_invert’: ./include/linux/capability.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/capability.h: In function ‘cap_isclear’: ./include/linux/capability.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/xarray.h: In function ‘xas_reload’: ./include/linux/xarray.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/linux/capability.h: In function ‘cap_issubset’: ./include/linux/capability.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/capability.h: In function ‘cap_drop_fs_set’: ./include/linux/capability.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/xarray.h: In function ‘xas_set’: ./include/linux/xarray.h:1377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1377 | { | ^ ./include/linux/capability.h: In function ‘cap_raise_fs_set’: ./include/linux/capability.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_order’: ./include/linux/xarray.h:1390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1390 | { | ^ ./include/linux/capability.h: In function ‘cap_drop_nfsd_set’: ./include/linux/capability.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_update’: In file included from ./arch/x86/include/asm/pgtable.h:1440, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/pgtable.h: In function ‘pmdp_huge_get_and_clear_full’: ./include/linux/capability.h: In function ‘cap_raise_nfsd_set’: ./include/linux/xarray.h:1411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1411 | { | ^ ./include/linux/capability.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/asm-generic/pgtable.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_entry’: ./include/asm-generic/pgtable.h: In function ‘pudp_huge_get_and_clear_full’: ./include/asm-generic/pgtable.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/xarray.h:1427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1427 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_clear_not_present_full’: ./include/asm-generic/pgtable.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pudp_set_wrprotect’: ./include/asm-generic/pgtable.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/asm-generic/pgtable.h: In function ‘generic_pmdp_establish’: ./include/asm-generic/pgtable.h:320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 320 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_unused’: ./include/asm-generic/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_same’: ./include/asm-generic/pgtable.h:379:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 379 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pud_same’: ./include/asm-generic/pgtable.h:384:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 384 | { | ^ ./include/linux/xarray.h: In function ‘xas_find_chunk’: ./include/asm-generic/pgtable.h: In function ‘p4d_same’: ./include/linux/xarray.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/asm-generic/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_same’: ./include/asm-generic/pgtable.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_do_swap_page’: ./include/asm-generic/pgtable.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_unmap_one’: ./include/linux/xarray.h: In function ‘xas_next_marked’: ./include/asm-generic/pgtable.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/xarray.h:1485:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1485 | { | ^ In file included from ./include/linux/percpu-rwsem.h:8, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcuwait.h: In function ‘rcuwait_init’: ./include/linux/rcuwait.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_none_or_clear_bad’: ./include/asm-generic/pgtable.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_none_or_clear_bad’: ./include/asm-generic/pgtable.h:577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 577 | { | ^ In file included from ./include/linux/percpu-rwsem.h:9, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rcu_sync.h: In function ‘rcu_sync_is_idle’: ./include/asm-generic/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/asm-generic/pgtable.h:588:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 588 | { | ^ ./include/linux/rcu_sync.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./include/linux/xarray.h: In function ‘xas_prev’: ./include/asm-generic/pgtable.h:599:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 599 | { | ^ ./include/linux/xarray.h:1580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1580 | { | ^ In file included from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_preempt_disable’: ./include/linux/percpu-rwsem.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_start’: ./include/asm-generic/pgtable.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_commit’: ./include/asm-generic/pgtable.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./include/linux/xarray.h: In function ‘xas_next’: ./include/linux/xarray.h:1609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1609 | { | ^ ./include/asm-generic/pgtable.h: In function ‘is_zero_pfn’: ./include/asm-generic/pgtable.h:870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 870 | { | ^ ./include/asm-generic/pgtable.h: In function ‘my_zero_pfn’: ./include/asm-generic/pgtable.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_read_atomic’: ./include/asm-generic/pgtable.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ In file included from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/radix-tree.h: In function ‘radix_tree_is_internal_node’: ./include/linux/radix-tree.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./include/asm-generic/pgtable.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_empty’: ./include/linux/radix-tree.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot’: ./include/linux/radix-tree.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_trans_unstable’: ./include/asm-generic/pgtable.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_set_huge’: ./include/asm-generic/pgtable.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot_protected’: ./include/asm-generic/pgtable.h: In function ‘p4d_clear_huge’: ./include/linux/radix-tree.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ ./include/asm-generic/pgtable.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_retry’: ./include/linux/radix-tree.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_exception’: ./include/linux/radix-tree.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_preload_end’: ./include/linux/radix-tree.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_init’: ./include/linux/radix-tree.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_lookup’: ./include/linux/radix-tree.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_find’: ./include/linux/radix-tree.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_retry’: ./include/linux/radix-tree.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/radix-tree.h: In function ‘__radix_tree_iter_add’: ./include/linux/radix-tree.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_chunk_size’: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read’: ./include/linux/radix-tree.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/percpu-rwsem.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_trylock’: ./include/linux/radix-tree.h: In function ‘radix_tree_next_slot’: ./include/linux/percpu-rwsem.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/radix-tree.h:418:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 418 | { | ^ In file included from ./include/linux/fs.h:19, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pid.h: In function ‘get_pid’: ./include/linux/pid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/pid.h: In function ‘ns_of_pid’: ./include/linux/pid.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/pid.h: In function ‘is_child_reaper’: ./include/linux/pid.h:143:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | { | ^ ./include/linux/pid.h: In function ‘pid_nr’: ./include/linux/pid.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ In file included from ./include/linux/fs.h:24, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/capability.h: In function ‘cap_combine’: ./include/linux/capability.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/capability.h: In function ‘cap_intersect’: ./include/linux/capability.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/capability.h: In function ‘cap_drop’: ./include/linux/capability.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/capability.h: In function ‘cap_invert’: ./include/linux/capability.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/capability.h: In function ‘cap_isclear’: ./include/linux/capability.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/capability.h: In function ‘cap_issubset’: ./include/linux/capability.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h: In function ‘vma_init’: ./include/linux/mm.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/capability.h: In function ‘cap_drop_fs_set’: ./include/linux/capability.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/mm.h: In function ‘vma_set_anonymous’: ./include/linux/mm.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/capability.h: In function ‘cap_raise_fs_set’: ./include/linux/capability.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ In file included from ./include/linux/huge_mm.h:5, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/coredump.h: In function ‘__get_dumpable’: ./include/linux/capability.h: In function ‘cap_drop_nfsd_set’: ./include/linux/sched/coredump.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/capability.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/sched/coredump.h: In function ‘get_dumpable’: ./include/linux/sched/coredump.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/capability.h: In function ‘cap_raise_nfsd_set’: ./include/linux/capability.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ In file included from ./include/linux/fs.h:6, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/wait_bit.h: In function ‘wait_on_bit’: ./include/linux/wait_bit.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount’: ./include/linux/seqlock.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_io’: ./include/linux/wait_bit.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_begin’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_timeout’: ./include/linux/seqlock.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/wait_bit.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_begin’: ./include/linux/seqlock.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seqlock.h: In function ‘raw_seqcount_begin’: ./include/linux/seqlock.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ In file included from ./include/linux/percpu-rwsem.h:8, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcuwait.h: In function ‘rcuwait_init’: ./include/linux/rcuwait.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqcount_retry’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_action’: ./include/linux/seqlock.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/wait_bit.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqcount_retry’: ./include/linux/seqlock.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ In file included from ./include/linux/percpu-rwsem.h:9, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rcu_sync.h: In function ‘rcu_sync_is_idle’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock’: ./include/linux/wait_bit.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/rcu_sync.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_begin’: ./include/linux/seqlock.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_end’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_io’: ./include/linux/seqlock.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/wait_bit.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ In file included from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_preempt_disable’: ./include/linux/seqlock.h: In function ‘raw_write_seqcount_barrier’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_action’: ./include/linux/seqlock.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/percpu-rwsem.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/wait_bit.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./include/linux/seqlock.h: In function ‘raw_read_seqcount_latch’: ./include/linux/seqlock.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./include/linux/wait_bit.h: In function ‘clear_and_wake_up_bit’: ./include/linux/wait_bit.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/seqlock.h: In function ‘raw_write_seqcount_latch’: ./include/linux/percpu-rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/seqlock.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_begin_nested’: ./include/linux/seqlock.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ In file included from ./include/linux/fs.h:7, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kdev_t.h: In function ‘old_valid_dev’: ./include/linux/seqlock.h: In function ‘write_seqcount_begin’: ./include/linux/kdev_t.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/seqlock.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_end’: ./include/linux/seqlock.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/kdev_t.h: In function ‘old_encode_dev’: ./include/linux/kdev_t.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqcount_invalidate’: ./include/linux/seqlock.h:399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 399 | { | ^ ./include/linux/kdev_t.h: In function ‘old_decode_dev’: ./include/linux/kdev_t.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin’: ./include/linux/seqlock.h:432:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 432 | { | ^ ./include/linux/kdev_t.h: In function ‘new_encode_dev’: ./include/linux/kdev_t.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqretry’: ./include/linux/seqlock.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/kdev_t.h: In function ‘new_decode_dev’: ./include/linux/seqlock.h: In function ‘write_seqlock’: ./include/linux/kdev_t.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/seqlock.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock’: ./include/linux/kdev_t.h: In function ‘huge_encode_dev’: ./include/linux/seqlock.h:453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 453 | { | ^ ./include/linux/kdev_t.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_bh’: ./include/linux/kdev_t.h: In function ‘huge_decode_dev’: ./include/linux/kdev_t.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/seqlock.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_valid_dev’: ./include/linux/kdev_t.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/seqlock.h: In function ‘write_sequnlock_bh’: ./include/linux/seqlock.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_encode_dev’: ./include/linux/kdev_t.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/seqlock.h: In function ‘write_seqlock_irq’: ./include/linux/seqlock.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_major’: ./include/linux/seqlock.h: In function ‘write_sequnlock_irq’: ./include/linux/kdev_t.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/seqlock.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_minor’: ./include/linux/seqlock.h: In function ‘__write_seqlock_irqsave’: ./include/linux/kdev_t.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/seqlock.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ In file included from ./include/linux/dcache.h:7, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rculist.h: In function ‘INIT_LIST_HEAD_RCU’: ./include/linux/seqlock.h: In function ‘write_sequnlock_irqrestore’: ./include/linux/rculist.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/seqlock.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl’: ./include/linux/seqlock.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read’: ./include/linux/seqlock.h: In function ‘read_sequnlock_excl’: ./include/linux/percpu-rwsem.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/seqlock.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/rculist.h: In function ‘__list_add_rcu’: ./include/linux/rculist.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_trylock’: ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock’: ./include/linux/percpu-rwsem.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/seqlock.h:527:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 527 | { | ^ ./include/linux/seqlock.h: In function ‘need_seqretry’: ./include/linux/seqlock.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/seqlock.h: In function ‘done_seqretry’: ./include/linux/seqlock.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl_bh’: ./include/linux/seqlock.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_bh’: ./include/linux/seqlock.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqlock_excl_irq’: ./include/linux/seqlock.h:556:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 556 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irq’: ./include/linux/rculist.h: In function ‘list_add_rcu’: ./include/linux/seqlock.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/rculist.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/seqlock.h: In function ‘__read_seqlock_excl_irqsave’: ./include/linux/rculist.h: In function ‘list_add_tail_rcu’: ./include/linux/seqlock.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: ./include/linux/rculist.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/percpu-rwsem.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/rculist.h: In function ‘list_del_rcu’: ./include/linux/rculist.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/seqlock.h: In function ‘read_sequnlock_excl_irqrestore’: ./include/linux/seqlock.h:578:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 578 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_init_rcu’: ./include/linux/rculist.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/seqlock.h: In function ‘read_seqbegin_or_lock_irqsave’: ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_release’: ./include/linux/percpu-rwsem.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/seqlock.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/rculist.h: In function ‘list_replace_rcu’: ./include/linux/rculist.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_acquire’: ./include/linux/percpu-rwsem.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ In file included from ./include/linux/fs.h:36, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/delayed_call.h: In function ‘set_delayed_call’: ./include/linux/delayed_call.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/delayed_call.h: In function ‘do_delayed_call’: ./include/linux/delayed_call.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/delayed_call.h: In function ‘clear_delayed_call’: ./include/linux/delayed_call.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/rculist.h: In function ‘__list_splice_init_rcu’: ./include/linux/rculist.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ In file included from ./include/linux/fs.h:37, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/uuid.h: In function ‘guid_equal’: ./include/linux/uuid.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/uuid.h: In function ‘guid_copy’: ./include/linux/uuid.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/uuid.h: In function ‘guid_is_null’: ./include/linux/uuid.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/rculist.h: In function ‘list_splice_init_rcu’: ./include/linux/uuid.h: In function ‘uuid_equal’: ./include/linux/uuid.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/rculist.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/uuid.h: In function ‘uuid_copy’: ./include/linux/uuid.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/rculist.h: In function ‘list_splice_tail_init_rcu’: ./include/linux/rculist.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/uuid.h: In function ‘uuid_is_null’: ./include/linux/uuid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_rcu’: ./include/linux/uuid.h: In function ‘uuid_le_cmp’: ./include/linux/rculist.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/uuid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/rculist.h: In function ‘hlist_replace_rcu’: ./include/linux/rculist.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_head_rcu’: ./include/linux/rculist.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ In file included from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/refcount.h: In function ‘refcount_set’: ./include/linux/rculist.h: In function ‘hlist_add_tail_rcu’: ./include/linux/refcount.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/refcount.h: In function ‘refcount_read’: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./include/linux/refcount.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/percpu-rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ In file included from ./include/linux/refcount.h:72, from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add’: ./arch/x86/include/asm/refcount.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc’: ./arch/x86/include/asm/refcount.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec’: ./arch/x86/include/asm/refcount.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_sub_and_test’: ./arch/x86/include/asm/refcount.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec_and_test’: ./arch/x86/include/asm/refcount.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_add_not_zero’: ./arch/x86/include/asm/refcount.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc_not_zero’: ./arch/x86/include/asm/refcount.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: ./include/linux/percpu-rwsem.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_release’: ./include/linux/percpu-rwsem.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_acquire’: ./include/linux/percpu-rwsem.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ In file included from ./include/linux/fs.h:36, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/delayed_call.h: In function ‘set_delayed_call’: ./include/linux/delayed_call.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ In file included from ./include/linux/sched.h:17, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kcov.h: In function ‘kcov_task_init’: ./include/linux/kcov.h:42:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | static inline void kcov_task_init(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/delayed_call.h: In function ‘do_delayed_call’: ./include/linux/delayed_call.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/kcov.h: In function ‘kcov_task_exit’: ./include/linux/kcov.h:43:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | static inline void kcov_task_exit(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/delayed_call.h: In function ‘clear_delayed_call’: ./include/linux/delayed_call.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/kcov.h: In function ‘kcov_prepare_switch’: ./include/linux/kcov.h:44:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline void kcov_prepare_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_finish_switch’: ./include/linux/kcov.h:45:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline void kcov_finish_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/seqlock.h: In function ‘done_seqretry_irqrestore’: ./include/linux/rculist.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/seqlock.h:597:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 597 | { | ^ In file included from ./include/linux/fs.h:37, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/uuid.h: In function ‘guid_equal’: In file included from ./include/linux/sched.h:19, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/plist.h: In function ‘plist_head_init’: ./include/linux/uuid.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/plist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/uuid.h: In function ‘guid_copy’: In file included from ./include/linux/mmzone.h:17, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/nodemask.h: In function ‘__nodemask_pr_numnodes’: ./include/linux/uuid.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/plist.h: In function ‘plist_node_init’: ./include/linux/plist.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/nodemask.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/uuid.h: In function ‘guid_is_null’: ./include/linux/uuid.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/nodemask.h: In function ‘__nodemask_pr_bits’: ./include/linux/uuid.h: In function ‘uuid_equal’: ./include/linux/nodemask.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/uuid.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/plist.h: In function ‘plist_head_empty’: ./include/linux/uuid.h: In function ‘uuid_copy’: ./include/linux/plist.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/nodemask.h: In function ‘__node_set’: ./include/linux/uuid.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/nodemask.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/plist.h: In function ‘plist_node_empty’: ./include/linux/uuid.h: In function ‘uuid_is_null’: ./include/linux/plist.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/uuid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/nodemask.h: In function ‘__node_clear’: ./include/linux/nodemask.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_setall’: ./include/linux/plist.h: In function ‘plist_first’: ./include/linux/nodemask.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/plist.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/uuid.h: In function ‘uuid_le_cmp’: ./include/linux/uuid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_clear’: ./include/linux/nodemask.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_before_rcu’: ./include/linux/nodemask.h: In function ‘__node_test_and_set’: ./include/linux/nodemask.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/linux/rculist.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_and’: ./include/linux/nodemask.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/plist.h: In function ‘plist_last’: ./include/linux/plist.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_or’: ./include/linux/nodemask.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_xor’: ./include/linux/nodemask.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_andnot’: ./include/linux/nodemask.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_complement’: ./include/linux/nodemask.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_equal’: ./include/linux/nodemask.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ In file included from ./include/linux/hrtimer.h:21, from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/timerqueue.h: In function ‘timerqueue_getnext’: ./include/linux/nodemask.h: In function ‘__nodes_intersects’: ./include/linux/timerqueue.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/nodemask.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_behind_rcu’: ./include/linux/timerqueue.h: In function ‘timerqueue_init’: ./include/linux/rculist.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_subset’: ./include/linux/timerqueue.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ In file included from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/refcount.h: In function ‘refcount_set’: ./include/linux/nodemask.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/refcount.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init_head’: ./include/linux/nodemask.h: In function ‘__nodes_empty’: ./include/linux/timerqueue.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/refcount.h: In function ‘refcount_read’: ./include/linux/nodemask.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/refcount.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_full’: ./include/linux/nodemask.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_weight’: ./include/linux/nodemask.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_right’: ./include/linux/nodemask.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ In file included from ./include/linux/refcount.h:72, from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add’: ./arch/x86/include/asm/refcount.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_shift_left’: ./include/linux/nodemask.h:255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 255 | { | ^ In file included from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires’: ./include/linux/nodemask.h: In function ‘__first_node’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc’: ./include/linux/nodemask.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./arch/x86/include/asm/refcount.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/hrtimer.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range’: ./arch/x86/include/asm/refcount.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/hrtimer.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range_ns’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_sub_and_test’: ./include/linux/hrtimer.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./arch/x86/include/asm/refcount.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ In file included from ./include/linux/rculist_bl.h:8, from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/list_bl.h: In function ‘INIT_HLIST_BL_NODE’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_tv64’: ./include/linux/hrtimer.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/list_bl.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec_and_test’: ./include/linux/nodemask.h: In function ‘__next_node’: ./arch/x86/include/asm/refcount.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/hrtimer.h:245:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 245 | { | ^ ./include/linux/nodemask.h:270:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 270 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unhashed’: ./include/linux/list_bl.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires_ns’: ./include/linux/hrtimer.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_first’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add_not_zero’: ./include/linux/list_bl.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/refcount.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires’: ./include/linux/list_bl.h: In function ‘hlist_bl_set_first’: ./include/linux/hrtimer.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/list_bl.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires’: ./include/linux/hrtimer.h:262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 262 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_empty’: ./include/linux/list_bl.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_tv64’: ./include/linux/hrtimer.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires_tv64’: ./include/linux/hrtimer.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/nodemask.h: In function ‘init_nodemask_of_node’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc_not_zero’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_ns’: ./include/linux/nodemask.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./arch/x86/include/asm/refcount.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/hrtimer.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_add_head’: ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining’: ./include/linux/list_bl.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/hrtimer.h:281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 281 | { | ^ ./include/linux/nodemask.h: In function ‘__first_unset_node’: ./include/linux/nodemask.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’: ./include/linux/list_bl.h: In function ‘__hlist_bl_del’: ./include/linux/hrtimer.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/list_bl.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_is_hres_active’: ./include/linux/hrtimer.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del’: ./include/linux/hrtimer.h: In function ‘__hrtimer_expires_remaining_adjusted’: ./include/linux/list_bl.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/hrtimer.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del_init’: ./include/linux/nodemask.h: In function ‘__nodemask_parse_user’: ./include/linux/list_bl.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/nodemask.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_lock’: ./include/linux/nodemask.h: In function ‘__nodelist_parse’: ./include/linux/nodemask.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/list_bl.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_init_on_stack’: ./include/linux/nodemask.h: In function ‘__node_remap’: ./include/linux/list_bl.h: In function ‘hlist_bl_unlock’: ./include/linux/hrtimer.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/nodemask.h:349:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 349 | { | ^ ./include/linux/list_bl.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/hrtimer.h: In function ‘destroy_hrtimer_on_stack’: ./include/linux/list_bl.h: In function ‘hlist_bl_is_locked’: ./include/linux/nodemask.h: In function ‘__nodes_remap’: ./include/linux/hrtimer.h:377:52: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } | ^~~~~~~ ./include/linux/list_bl.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ ./include/linux/nodemask.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_start’: ./include/linux/hrtimer.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_onto’: ./include/linux/nodemask.h:365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 365 | { | ^ In file included from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rculist_bl.h: In function ‘hlist_bl_set_first_rcu’: In file included from ./include/linux/sched.h:17, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kcov.h: In function ‘kcov_task_init’: ./include/linux/rculist_bl.h:13:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 13 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_start_expires’: ./include/linux/kcov.h:42:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | static inline void kcov_task_init(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/hrtimer.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/nodemask.h: In function ‘__nodes_fold’: ./include/linux/nodemask.h:373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 373 | { | ^ ./include/linux/kcov.h: In function ‘kcov_task_exit’: ./include/linux/kcov.h:43:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | static inline void kcov_task_exit(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_prepare_switch’: ./include/linux/kcov.h:44:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline void kcov_prepare_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/hrtimer.h: In function ‘hrtimer_restart’: ./include/linux/kcov.h: In function ‘kcov_finish_switch’: ./include/linux/nodemask.h: In function ‘node_state’: ./include/linux/hrtimer.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/kcov.h:45:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline void kcov_finish_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/nodemask.h:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_remaining’: ./include/linux/hrtimer.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_state’: In file included from ./include/linux/sched.h:19, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/plist.h: In function ‘plist_head_init’: ./include/linux/hrtimer.h: In function ‘hrtimer_is_queued’: ./include/linux/nodemask.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/plist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/hrtimer.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./include/linux/nodemask.h: In function ‘node_clear_state’: ./include/linux/plist.h: In function ‘plist_node_init’: ./include/linux/nodemask.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/plist.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_callback_running’: ./include/linux/hrtimer.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/nodemask.h: In function ‘num_node_state’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_first_rcu’: ./include/linux/nodemask.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/rculist_bl.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_forward_now’: ./include/linux/plist.h: In function ‘plist_head_empty’: ./include/linux/plist.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/hrtimer.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/linux/nodemask.h: In function ‘next_online_node’: ./include/linux/nodemask.h:439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 439 | { | ^ ./include/linux/plist.h: In function ‘plist_node_empty’: ./include/linux/plist.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/nodemask.h: In function ‘next_memory_node’: ./include/linux/nodemask.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/plist.h: In function ‘plist_first’: ./include/linux/plist.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_online’: ./include/linux/nodemask.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_init_rcu’: ./include/linux/rculist_bl.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/nodemask.h: In function ‘node_set_offline’: ./include/linux/nodemask.h:457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 457 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’: ./include/linux/rculist_bl.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/plist.h: In function ‘plist_last’: ./include/linux/plist.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_add_head_rcu’: ./include/linux/rculist_bl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mmzone.h: In function ‘is_migrate_movable’: In file included from ./include/linux/dcache.h:13, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/lockref.h: In function ‘__lockref_is_dead’: In file included from ./include/linux/hrtimer.h:21, from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/timerqueue.h: In function ‘timerqueue_getnext’: ./include/linux/lockref.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/timerqueue.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/mmzone.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init’: ./include/linux/timerqueue.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init_head’: ./include/linux/timerqueue.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ In file included from ./include/linux/stringhash.h:7, from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/hash.h: In function ‘__hash_32_generic’: ./include/linux/hash.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/hash.h: In function ‘hash_32_generic’: ./include/linux/hash.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/mmzone.h: In function ‘is_file_lru’: ./include/linux/hash.h: In function ‘hash_64_generic’: ./include/linux/hash.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/mmzone.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/hash.h: In function ‘hash_ptr’: ./include/linux/mmzone.h: In function ‘is_active_lru’: ./include/linux/hash.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/mmzone.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ In file included from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires’: In file included from ./arch/x86/include/asm/seccomp.h:19, from ./include/linux/seccomp.h:15, from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/seccomp.h: In function ‘get_compat_mode1_syscalls’: ./include/asm-generic/seccomp.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/hrtimer.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/hash.h: In function ‘hash32_ptr’: ./include/linux/hash.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range’: ./include/linux/hrtimer.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ In file included from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/stringhash.h: In function ‘partial_name_hash’: In file included from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/seccomp.h: In function ‘secure_computing’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range_ns’: ./include/linux/hrtimer.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/stringhash.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/seccomp.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/stringhash.h: In function ‘end_name_hash’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_tv64’: ./include/linux/stringhash.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/hrtimer.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/seccomp.h: In function ‘seccomp_mode’: ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires’: ./include/linux/seccomp.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/hrtimer.h:245:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 245 | { | ^ ./include/linux/mmzone.h: In function ‘zone_managed_pages’: ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires_ns’: ./include/linux/hrtimer.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/mmzone.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/mmzone.h: In function ‘zone_end_pfn’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires’: ./include/linux/mmzone.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/hrtimer.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ In file included from ./include/linux/sched.h:25, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/latencytop.h: In function ‘account_scheduler_latency’: ./include/linux/latencytop.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires’: ./include/linux/mmzone.h: In function ‘zone_spans_pfn’: ./include/linux/hrtimer.h:262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 262 | { | ^ ./include/linux/latencytop.h: In function ‘clear_all_latency_tracing’: ./include/linux/mmzone.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/latencytop.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_tv64’: ./include/linux/hrtimer.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/mmzone.h: In function ‘zone_is_initialized’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires_tv64’: ./include/linux/hrtimer.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/mmzone.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ In file included from ./include/linux/sched.h:26, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/prio.h: In function ‘nice_to_rlimit’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_ns’: ./include/linux/mmzone.h: In function ‘zone_is_empty’: ./include/linux/hrtimer.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/sched/prio.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/mmzone.h:550:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 550 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining’: ./include/linux/hrtimer.h:281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 281 | { | ^ ./include/linux/sched/prio.h: In function ‘rlimit_to_nice’: ./include/linux/mmzone.h: In function ‘zone_intersects’: ./include/linux/sched/prio.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/mmzone.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’: ./include/linux/hrtimer.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ In file included from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dcache.h: In function ‘d_count’: ./include/linux/hrtimer.h: In function ‘hrtimer_is_hres_active’: ./include/linux/hrtimer.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/dcache.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/hrtimer.h: In function ‘__hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./include/linux/dcache.h: In function ‘dget_dlock’: ./include/linux/dcache.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/dcache.h: In function ‘dget’: ./include/linux/dcache.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/mmzone.h: In function ‘zone_lru_lock’: ./include/linux/dcache.h: In function ‘d_unhashed’: ./include/linux/dcache.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/mmzone.h:732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 732 | { | ^ ./include/linux/dcache.h: In function ‘d_unlinked’: ./include/linux/mmzone.h: In function ‘node_lruvec’: ./include/linux/dcache.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_init_on_stack’: ./include/linux/mmzone.h:737:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 737 | { | ^ ./include/linux/hrtimer.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/mmzone.h: In function ‘pgdat_end_pfn’: ./include/linux/dcache.h: In function ‘cant_mount’: ./include/linux/hrtimer.h: In function ‘destroy_hrtimer_on_stack’: ./include/linux/dcache.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/mmzone.h:742:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 742 | { | ^ ./include/linux/hrtimer.h:377:52: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } | ^~~~~~~ ./include/linux/mmzone.h: In function ‘pgdat_is_empty’: ./include/linux/dcache.h: In function ‘dont_mount’: ./include/linux/hrtimer.h: In function ‘hrtimer_start’: ./include/linux/dcache.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./include/linux/mmzone.h:747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 747 | { | ^ ./include/linux/hrtimer.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/dcache.h: In function ‘d_in_lookup’: ./include/linux/hrtimer.h: In function ‘hrtimer_start_expires’: ./include/linux/dcache.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/hrtimer.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/dcache.h: In function ‘d_lookup_done’: ./include/linux/hrtimer.h: In function ‘hrtimer_restart’: ./include/linux/dcache.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/hrtimer.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_remaining’: ./include/linux/hrtimer.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/dcache.h: In function ‘d_managed’: ./include/linux/dcache.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_is_queued’: ./include/linux/hrtimer.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./include/linux/dcache.h: In function ‘d_mountpoint’: ./include/linux/dcache.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_callback_running’: ./include/linux/hrtimer.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/dcache.h: In function ‘__d_entry_type’: ./include/linux/hrtimer.h: In function ‘hrtimer_forward_now’: ./include/linux/dcache.h:390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 390 | { | ^ ./include/linux/hrtimer.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/linux/dcache.h: In function ‘d_is_miss’: ./include/linux/dcache.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/dcache.h: In function ‘d_is_whiteout’: ./include/linux/dcache.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/dcache.h: In function ‘d_can_lookup’: In file included from ./include/linux/mutex.h:20, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/osq_lock.h: In function ‘osq_lock_init’: ./include/linux/dcache.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/osq_lock.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/dcache.h: In function ‘d_is_autodir’: ./include/linux/dcache.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/osq_lock.h: In function ‘osq_is_locked’: ./include/linux/osq_lock.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/dcache.h: In function ‘d_is_dir’: ./include/linux/dcache.h:415:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 415 | { | ^ In file included from ./include/linux/mutex.h:21, from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/debug_locks.h: In function ‘__debug_locks_off’: ./include/linux/dcache.h: In function ‘d_is_symlink’: ./include/linux/dcache.h:420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 420 | { | ^ ./include/linux/debug_locks.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/dcache.h: In function ‘d_is_reg’: ./include/linux/dcache.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/dcache.h: In function ‘d_is_special’: ./include/linux/dcache.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/dcache.h: In function ‘d_is_file’: ./include/linux/dcache.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_all_locks’: ./include/linux/debug_locks.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_show_held_locks’: ./include/linux/dcache.h: In function ‘d_is_negative’: ./include/linux/debug_locks.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/dcache.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_freed’: ./include/linux/debug_locks.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/dcache.h: In function ‘d_is_positive’: ./include/linux/dcache.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/debug_locks.h: In function ‘debug_check_no_locks_held’: ./include/linux/debug_locks.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_negative’: ./include/linux/dcache.h:466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 466 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_positive’: ./include/linux/dcache.h:484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 484 | { | ^ In file included from ./arch/x86/include/asm/seccomp.h:19, from ./include/linux/seccomp.h:15, from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/seccomp.h: In function ‘get_compat_mode1_syscalls’: ./include/linux/dcache.h: In function ‘simple_positive’: ./include/linux/dcache.h:489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 489 | { | ^ ./include/asm-generic/seccomp.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/dcache.h: In function ‘d_is_fallthru’: ./include/linux/dcache.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ In file included from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/seccomp.h: In function ‘secure_computing’: ./include/linux/seccomp.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/dcache.h: In function ‘vfs_pressure_ratio’: ./include/linux/dcache.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/seccomp.h: In function ‘seccomp_mode’: ./include/linux/seccomp.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/dcache.h: In function ‘d_inode’: ./include/linux/dcache.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/dcache.h: In function ‘d_inode_rcu’: ./include/linux/dcache.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ In file included from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched.h: In function ‘task_pid’: In file included from ./include/linux/sched.h:25, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/latencytop.h: In function ‘account_scheduler_latency’: ./include/linux/latencytop.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/latencytop.h: In function ‘clear_all_latency_tracing’: ./include/linux/dcache.h: In function ‘d_backing_inode’: ./include/linux/latencytop.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/dcache.h:543:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 543 | { | ^ ./include/linux/sched.h:1223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1223 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_dentry’: In file included from ./include/linux/sched.h:26, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/prio.h: In function ‘nice_to_rlimit’: ./include/linux/dcache.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr’: ./include/linux/sched/prio.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/sched.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/dcache.h: In function ‘d_real’: ./include/linux/dcache.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr_ns’: ./include/linux/sched/prio.h: In function ‘rlimit_to_nice’: ./include/linux/sched.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/sched/prio.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/sched.h: In function ‘task_pid_vnr’: ./include/linux/sched.h:1251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1251 | { | ^ ./include/linux/dcache.h: In function ‘d_real_inode’: ./include/linux/dcache.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr’: ./include/linux/sched.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/sched.h: In function ‘pid_alive’: ./include/linux/sched.h:1272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1272 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_nr_ns’: ./include/linux/sched.h:1277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1277 | { | ^ In file included from ./include/linux/fs.h:9, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/path.h: In function ‘path_equal’: ./include/linux/sched.h: In function ‘task_pgrp_vnr’: ./include/linux/sched.h:1282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1282 | { | ^ ./include/linux/path.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/sched.h: In function ‘task_session_nr_ns’: ./include/linux/path.h: In function ‘path_put_init’: ./include/linux/sched.h:1288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1288 | { | ^ ./include/linux/path.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/sched.h: In function ‘task_session_vnr’: ./include/linux/sched.h:1293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1293 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr_ns’: ./include/linux/sched.h:1298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1298 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_vnr’: ./include/linux/sched.h:1303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1303 | { | ^ ./include/linux/sched.h: In function ‘task_ppid_nr_ns’: ./include/linux/sched.h:1308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1308 | { | ^ ./include/linux/sched.h: In function ‘task_ppid_nr’: ./include/linux/sched.h:1320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1320 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_nr’: ./include/linux/sched.h:1326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1326 | { | ^ In file included from ./include/linux/stat.h:20, from ./include/linux/fs.h:10, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/uidgid.h: In function ‘__kuid_val’: ./include/linux/uidgid.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/sched.h: In function ‘task_state_index’: ./include/linux/sched.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/uidgid.h: In function ‘__kgid_val’: ./include/linux/uidgid.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/uidgid.h: In function ‘uid_eq’: ./include/linux/uidgid.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/uidgid.h: In function ‘gid_eq’: ./include/linux/uidgid.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gt’: ./include/linux/uidgid.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gt’: ./include/linux/uidgid.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gte’: ./include/linux/uidgid.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/sched.h: In function ‘task_index_to_char’: ./include/linux/sched.h:1347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1347 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gte’: ./include/linux/uidgid.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lt’: ./include/linux/uidgid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lt’: ./include/linux/uidgid.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lte’: ./include/linux/uidgid.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lte’: ./include/linux/uidgid.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/uidgid.h: In function ‘uid_valid’: ./include/linux/uidgid.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/uidgid.h: In function ‘gid_valid’: ./include/linux/uidgid.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/uidgid.h: In function ‘kuid_has_mapping’: ./include/linux/uidgid.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/uidgid.h: In function ‘kgid_has_mapping’: ./include/linux/uidgid.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ In file included from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched.h: In function ‘task_pid’: ./include/linux/sched.h:1223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1223 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr’: In file included from ./include/linux/fs.h:13, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/list_lru.h: In function ‘list_lru_shrink_count’: ./include/linux/sched.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/list_lru.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr_ns’: ./include/linux/sched.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_count’: ./include/linux/sched.h: In function ‘task_pid_vnr’: ./include/linux/list_lru.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/sched.h:1251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1251 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr’: ./include/linux/sched.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/sched.h: In function ‘pid_alive’: ./include/linux/sched.h:1272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1272 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_nr_ns’: ./include/linux/sched.h:1277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1277 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk’: ./include/linux/list_lru.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_vnr’: ./include/linux/sched.h:1282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1282 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk_irq’: ./include/linux/list_lru.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/sched.h: In function ‘task_session_nr_ns’: ./include/linux/sched.h:1288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1288 | { | ^ ./include/linux/sched.h: In function ‘task_session_vnr’: ./include/linux/list_lru.h: In function ‘list_lru_walk’: ./include/linux/sched.h:1293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1293 | { | ^ ./include/linux/list_lru.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ In file included from ./include/linux/notifier.h:14, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mutex.h: In function ‘__mutex_owner’: ./include/linux/mutex.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr_ns’: ./include/linux/sched.h:1298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1298 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_vnr’: ./include/linux/sched.h:1303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1303 | { | ^ ./include/linux/mutex.h: In function ‘mutex_destroy’: ./include/linux/mutex.h:102:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void mutex_destroy(struct mutex *lock) {} | ^~~~~ ./include/linux/sched.h: In function ‘task_ppid_nr_ns’: ./include/linux/sched.h:1308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1308 | { | ^ ./include/linux/mutex.h: In function ‘mutex_is_locked’: ./include/linux/mutex.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/linux/sched.h: In function ‘task_state_to_char’: In file included from ./include/linux/radix-tree.h:31, from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/xarray.h: In function ‘xa_mk_value’: ./include/linux/sched.h:1356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1356 | { | ^ ./include/linux/xarray.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/sched.h: In function ‘is_global_init’: ./include/linux/sched.h:1370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1370 | { | ^ ./include/linux/mutex.h: In function ‘mutex_trylock_recursive’: ./include/linux/mutex.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/sched.h: In function ‘task_ppid_nr’: ./include/linux/sched.h:1320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1320 | { | ^ ./include/linux/sched.h: In function ‘is_percpu_thread’: ./include/linux/sched.h: In function ‘task_pgrp_nr’: ./include/linux/sched.h:1439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1439 | { | ^ ./include/linux/sched.h:1326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1326 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_value’: ./include/linux/sched.h: In function ‘task_state_index’: ./include/linux/xarray.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/sched.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_value’: ./include/linux/sched.h: In function ‘task_no_new_privs’: ./include/linux/xarray.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1469:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1469 | TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_tag_pointer’: In file included from ./include/linux/rwsem.h:61, from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/rwsem.h: In function ‘__down_read’: ./include/linux/xarray.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./arch/x86/include/asm/rwsem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/xarray.h: In function ‘xa_untag_pointer’: ./include/linux/sched.h: In function ‘task_set_no_new_privs’: ./include/linux/xarray.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1470:1: note: in expansion of macro ‘TASK_PFA_SET’ 1470 | TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_pointer_tag’: ./include/linux/xarray.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_killable’: ./arch/x86/include/asm/rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/sched.h: In function ‘task_spread_page’: ./include/linux/xarray.h: In function ‘xa_mk_internal’: ./include/linux/xarray.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1472:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1472 | TASK_PFA_TEST(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_index_to_char’: ./include/linux/xarray.h: In function ‘xa_to_internal’: ./include/linux/sched.h:1347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1347 | { | ^ ./include/linux/xarray.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_read_trylock’: ./arch/x86/include/asm/rwsem.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/sched.h: In function ‘task_set_spread_page’: ./include/linux/xarray.h: In function ‘xa_is_internal’: ./include/linux/xarray.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1473:1: note: in expansion of macro ‘TASK_PFA_SET’ 1473 | TASK_PFA_SET(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_is_err’: ./include/linux/sched.h: In function ‘task_clear_spread_page’: ./include/linux/xarray.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write’: ./arch/x86/include/asm/rwsem.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/xarray.h: In function ‘xa_err’: ./include/linux/xarray.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_killable’: ./arch/x86/include/asm/rwsem.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__down_write_trylock’: ./arch/x86/include/asm/rwsem.h:157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 157 | { | ^ ./include/linux/xarray.h: In function ‘xa_init_flags’: ./include/linux/xarray.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./arch/x86/include/asm/rwsem.h: In function ‘__up_read’: ./arch/x86/include/asm/rwsem.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/xarray.h: In function ‘xa_init’: ./include/linux/xarray.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/xarray.h: In function ‘xa_empty’: ./include/linux/xarray.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1474:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1474 | TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_marked’: ./include/linux/sched.h: In function ‘task_spread_slab’: ./include/linux/xarray.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1476:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1476 | TASK_PFA_TEST(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spread_slab’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1477:1: note: in expansion of macro ‘TASK_PFA_SET’ 1477 | TASK_PFA_SET(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_store_bh’: ./include/linux/sched.h: In function ‘task_clear_spread_slab’: ./include/linux/xarray.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1478:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1478 | TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_spec_ssb_disable’: ./include/linux/xarray.h: In function ‘xa_store_irq’: ./include/linux/xarray.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1480:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1480 | TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_erase_bh’: ./include/linux/xarray.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1481:1: note: in expansion of macro ‘TASK_PFA_SET’ 1481 | TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_erase_irq’: ./include/linux/xarray.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/sched.h: In function ‘task_clear_spec_ssb_disable’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1482:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1482 | TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_cmpxchg’: ./include/linux/sched.h: In function ‘task_spec_ssb_force_disable’: ./include/linux/xarray.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/sched.h: In function ‘task_state_to_char’: ./include/linux/sched.h:1356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1356 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1484:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1484 | TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘is_global_init’: ./include/linux/sched.h:1370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1370 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_bh’: ./include/linux/xarray.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_force_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1485:1: note: in expansion of macro ‘TASK_PFA_SET’ 1485 | TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘is_percpu_thread’: ./include/linux/xarray.h: In function ‘xa_cmpxchg_irq’: ./include/linux/sched.h:1439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1439 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ib_disable’: ./include/linux/xarray.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1487:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1487 | TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_no_new_privs’: ./include/linux/xarray.h: In function ‘xa_insert’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1469:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1469 | TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spec_ib_disable’: ./include/linux/xarray.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1488:1: note: in expansion of macro ‘TASK_PFA_SET’ 1488 | TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_no_new_privs’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1470:1: note: in expansion of macro ‘TASK_PFA_SET’ 1470 | TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spec_ib_disable’: ./include/linux/xarray.h: In function ‘xa_insert_bh’: ./include/linux/sched.h: In function ‘task_spread_page’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1489:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1489 | TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~~ ./include/linux/xarray.h:701:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 701 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1472:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1472 | TASK_PFA_TEST(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_spec_ib_force_disable’: ./include/linux/xarray.h: In function ‘xa_insert_irq’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1491:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1491 | TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spread_page’: ./include/linux/xarray.h:730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 730 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1473:1: note: in expansion of macro ‘TASK_PFA_SET’ 1473 | TASK_PFA_SET(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spec_ib_force_disable’: ./include/linux/sched.h: In function ‘task_clear_spread_page’: ./include/linux/xarray.h: In function ‘xa_alloc’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1492:1: note: in expansion of macro ‘TASK_PFA_SET’ 1492 | TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~ ./include/linux/xarray.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1474:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1474 | TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_spread_slab’: ./include/linux/sched.h: In function ‘current_restore_flags’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1476:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1476 | TASK_PFA_TEST(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~ ./include/linux/sched.h:1496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1496 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_bh’: ./include/linux/xarray.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/sched.h: In function ‘task_set_spread_slab’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1477:1: note: in expansion of macro ‘TASK_PFA_SET’ 1477 | TASK_PFA_SET(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_nice’: ./include/linux/xarray.h: In function ‘xa_alloc_irq’: ./include/linux/sched.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/xarray.h:817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 817 | { | ^ ./include/linux/sched.h: In function ‘task_clear_spread_slab’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1478:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1478 | TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_reserve’: ./include/linux/sched.h: In function ‘task_spec_ssb_disable’: ./include/linux/xarray.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/sched.h: In function ‘is_idle_task’: ./include/linux/sched.h:1554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1554 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1480:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1480 | TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_reserve_bh’: ./include/linux/xarray.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_disable’: ./arch/x86/include/asm/rwsem.h: In function ‘__up_write’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1481:1: note: in expansion of macro ‘TASK_PFA_SET’ 1481 | TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~ ./arch/x86/include/asm/rwsem.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_irq’: ./include/linux/sched.h: In function ‘task_clear_spec_ssb_disable’: ./include/linux/xarray.h:895:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 895 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1482:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1482 | TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/rwsem.h: In function ‘__downgrade_write’: ./arch/x86/include/asm/rwsem.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/xarray.h: In function ‘xa_release’: ./include/linux/sched.h: In function ‘task_spec_ssb_force_disable’: ./include/linux/xarray.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1484:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1484 | TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~~ In file included from ./include/linux/notifier.h:15, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rwsem.h: In function ‘rwsem_is_locked’: ./include/linux/sched.h: In function ‘task_set_spec_ssb_force_disable’: ./include/linux/rwsem.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1485:1: note: in expansion of macro ‘TASK_PFA_SET’ 1485 | TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_spec_ib_disable’: ./include/linux/rwsem.h: In function ‘rwsem_is_contended’: ./include/linux/xarray.h: In function ‘xa_head’: ./include/linux/rwsem.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1487:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1487 | TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~ ./include/linux/xarray.h:987:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 987 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ib_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1488:1: note: in expansion of macro ‘TASK_PFA_SET’ 1488 | TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spec_ib_disable’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1489:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1489 | TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~~ ./include/linux/xarray.h: In function ‘xa_head_locked’: ./include/linux/sched.h: In function ‘task_spec_ib_force_disable’: ./include/linux/xarray.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcupdate.h: In function ‘__rcu_read_lock’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1491:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1491 | TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/xarray.h: In function ‘xa_entry’: ./include/linux/sched.h: In function ‘task_set_spec_ib_force_disable’: ./include/linux/rcupdate.h: In function ‘__rcu_read_unlock’: ./include/linux/xarray.h:1002:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1002 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1492:1: note: in expansion of macro ‘TASK_PFA_SET’ 1492 | TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~ ./include/linux/rcupdate.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/sched.h: In function ‘current_restore_flags’: ./include/linux/sched.h:1496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1496 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_preempt_depth’: ./include/linux/rcupdate.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_user_enter’: ./include/linux/sched.h: In function ‘task_nice’: ./include/linux/rcupdate.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | static inline void rcu_user_enter(void) { } | ^~~~~~ ./include/linux/sched.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_user_exit’: ./include/linux/xarray.h: In function ‘xa_entry_locked’: ./include/linux/rcupdate.h:109:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 109 | static inline void rcu_user_exit(void) { } | ^~~~~~ ./include/linux/xarray.h:1011:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1011 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_init_nohz’: ./include/linux/rcupdate.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | static inline void rcu_init_nohz(void) { } | ^~~~~~ ./include/linux/sched.h: In function ‘is_idle_task’: ./include/linux/sched.h:1554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1554 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent’: ./include/linux/xarray.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ In file included from ./include/linux/rcupdate.h:186, from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcutree.h: In function ‘rcu_virt_note_context_switch’: ./include/linux/sched.h: In function ‘task_thread_info’: ./include/linux/sched.h:1581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1581 | { | ^ ./include/linux/rcutree.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent_locked’: ./include/linux/xarray.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/sched.h: In function ‘set_task_comm’: ./include/linux/sched.h:1620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1620 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_node’: In file included from ./arch/x86/include/asm/alternative.h:7, from ./arch/x86/include/asm/barrier.h:5, from ./include/linux/compiler.h:250, from ./include/linux/export.h:45, from ./include/linux/linkage.h:7, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:51, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-lock.h:16, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:19, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcupdate.h: In function ‘init_rcu_head’: ./include/linux/sched.h: In function ‘set_tsk_thread_flag’: ./include/linux/xarray.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/sched.h:1646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1646 | { | ^ ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:207:41: note: in expansion of macro ‘rcu_head’ 207 | static inline void init_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/sched.h: In function ‘clear_tsk_thread_flag’: ./include/linux/xarray.h: In function ‘xa_to_node’: ./include/linux/rcupdate.h: In function ‘destroy_rcu_head’: ./include/linux/sched.h:1651:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1651 | { | ^ ./include/linux/xarray.h:1041:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1041 | { | ^ ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:208:44: note: in expansion of macro ‘rcu_head’ 208 | static inline void destroy_rcu_head(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/sched.h: In function ‘update_tsk_thread_flag’: ./include/linux/rcupdate.h: In function ‘init_rcu_head_on_stack’: ./include/linux/sched.h:1657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1657 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_node’: ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:209:50: note: in expansion of macro ‘rcu_head’ 209 | static inline void init_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’: ./include/linux/xarray.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/rcupdate.h: In function ‘destroy_rcu_head_on_stack’: ./include/linux/sched.h:1662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1662 | { | ^ ./include/linux/types.h:228:18: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | #define rcu_head callback_head | ^~~~~~~~~~~~~ ./include/linux/rcupdate.h:210:53: note: in expansion of macro ‘rcu_head’ 210 | static inline void destroy_rcu_head_on_stack(struct rcu_head *head) { } | ^~~~~~~~ ./include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’: ./include/linux/xarray.h: In function ‘xa_mk_sibling’: In file included from ./include/linux/srcu.h:33, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcupdate.h: In function ‘rcu_lockdep_current_cpu_online’: ./include/linux/sched.h:1667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1667 | { | ^ ./include/linux/rcupdate.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline bool rcu_lockdep_current_cpu_online(void) { return true; } | ^~~~~~ ./include/linux/xarray.h:1053:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1053 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_thread_flag’: ./include/linux/sched.h:1672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1672 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_sibling’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_held’: ./include/linux/rcupdate.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/xarray.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_need_resched’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh_held’: ./include/linux/sched.h:1677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1677 | { | ^ ./include/linux/rcupdate.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_sibling’: ./include/linux/sched.h: In function ‘clear_tsk_need_resched’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_held’: ./include/linux/xarray.h:1070:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1070 | { | ^ ./include/linux/sched.h:1682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1682 | { | ^ ./include/linux/rcupdate.h:256:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 256 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_need_resched’: ./include/linux/sched.h:1687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1687 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_zero’: ./include/linux/xarray.h:1085:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1085 | { | ^ ./include/linux/sched.h: In function ‘cond_resched_rcu’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock’: ./include/linux/sched.h:1716:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1716 | { | ^ ./include/linux/rcupdate.h:604:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 604 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_retry’: ./include/linux/xarray.h:1096:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1096 | { | ^ ./include/linux/sched.h: In function ‘spin_needbreak’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock’: ./include/linux/sched.h:1730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1730 | { | ^ ./include/linux/rcupdate.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_advanced’: ./include/linux/sched.h: In function ‘need_resched’: ./include/linux/rcupdate.h: In function ‘rcu_read_lock_bh’: ./include/linux/sched.h:1739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1739 | { | ^ ./include/linux/xarray.h:1107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1107 | { | ^ ./include/linux/rcupdate.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_bh’: ./include/linux/sched.h: In function ‘task_cpu’: ./include/linux/rcupdate.h:691:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | { | ^ ./include/linux/sched.h:1749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1749 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched’: ./include/linux/xarray.h: In function ‘xas_error’: ./include/linux/rcupdate.h:712:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 712 | { | ^ ./include/linux/xarray.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_lock_sched_notrace’: ./include/linux/rcupdate.h:722:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 722 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_err’: ./include/linux/sched.h: In function ‘rseq_set_notify_resume’: ./include/linux/xarray.h:1236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1236 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched’: ./include/linux/sched.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/rcupdate.h:733:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 733 | { | ^ ./include/linux/xarray.h: In function ‘xas_invalid’: ./include/linux/sched.h: In function ‘rseq_handle_notify_resume’: ./include/linux/rcupdate.h: In function ‘rcu_read_unlock_sched_notrace’: ./include/linux/xarray.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/sched.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/rcupdate.h:743:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 743 | { | ^ ./include/linux/sched.h: In function ‘rseq_signal_deliver’: ./include/linux/xarray.h: In function ‘xas_valid’: ./include/linux/sched.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/xarray.h:1258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1258 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_head_init’: ./include/linux/sched.h: In function ‘rseq_preempt’: ./include/linux/rcupdate.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/sched.h:1835:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1835 | { | ^ ./include/linux/xarray.h: In function ‘xas_is_node’: ./include/linux/rcupdate.h: In function ‘rcu_head_after_call_rcu’: ./include/linux/sched.h: In function ‘rseq_migrate’: ./include/linux/xarray.h:1269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1269 | { | ^ ./include/linux/rcupdate.h:892:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 892 | { | ^ ./include/linux/sched.h:1842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1842 | { | ^ ./include/linux/xarray.h: In function ‘xas_not_node’: ./include/linux/sched.h: In function ‘rseq_fork’: ./include/linux/xarray.h:1275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1275 | { | ^ ./include/linux/sched.h:1852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1852 | { | ^ ./include/linux/xarray.h: In function ‘xas_frozen’: ./include/linux/xarray.h:1281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1281 | { | ^ ./include/linux/sched.h: In function ‘rseq_execve’: ./include/linux/sched.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/xarray.h: In function ‘xas_top’: ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh’: ./include/linux/xarray.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/sched.h: In function ‘exit_umh’: ./include/linux/rcupdate.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/xarray.h: In function ‘xas_reset’: ./include/linux/sched.h:1905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1905 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_rcu_bh_expedited’: ./include/linux/xarray.h:1302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1302 | { | ^ ./include/linux/rcupdate.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/sched.h: In function ‘rseq_syscall’: ./include/linux/rcupdate.h: In function ‘call_rcu_bh’: ./include/linux/xarray.h: In function ‘xas_retry’: ./include/linux/sched.h:1917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1917 | { | ^ ./include/linux/rcupdate.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/xarray.h:1319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1319 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_bh’: In file included from ./include/linux/ioprio.h:6, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/rt.h: In function ‘rt_prio’: ./include/linux/rcupdate.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/sched/rt.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_sched’: ./include/linux/sched/rt.h: In function ‘rt_task’: ./include/linux/rcupdate.h:925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 925 | { | ^ ./include/linux/sched/rt.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/rcupdate.h: In function ‘synchronize_sched_expedited’: ./include/linux/sched/rt.h: In function ‘task_is_realtime’: ./include/linux/sched/rt.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/rcupdate.h:930:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 930 | { | ^ ./include/linux/rcupdate.h: In function ‘call_rcu_sched’: ./include/linux/sched/rt.h: In function ‘rt_mutex_get_top_task’: ./include/linux/xarray.h: In function ‘xas_reload’: ./include/linux/sched/rt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/rcupdate.h:935:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 935 | { | ^ ./include/linux/rcupdate.h: In function ‘rcu_barrier_sched’: ./include/linux/xarray.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/linux/sched/rt.h: In function ‘tsk_is_pi_blocked’: ./include/linux/sched/rt.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/rcupdate.h:940:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 940 | { | ^ ./include/linux/rcupdate.h: In function ‘get_state_synchronize_sched’: ./include/linux/rcupdate.h:945:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 945 | { | ^ ./include/linux/rcupdate.h: In function ‘cond_synchronize_sched’: ./include/linux/xarray.h: In function ‘xas_set’: ./include/linux/rcupdate.h:950:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | { | ^ ./include/linux/xarray.h:1377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1377 | { | ^ In file included from ./include/linux/ioprio.h:7, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/iocontext.h: In function ‘get_io_context_active’: ./include/linux/iocontext.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_order’: ./include/linux/xarray.h:1390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1390 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_update’: ./include/linux/xarray.h:1411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1411 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_entry’: ./include/linux/iocontext.h: In function ‘ioc_task_link’: ./include/linux/iocontext.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/xarray.h:1427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1427 | { | ^ In file included from ./include/linux/time.h:73, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/time32.h: In function ‘timespec64_to_timespec’: ./include/linux/time32.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/time32.h: In function ‘timespec_to_timespec64’: ./include/linux/time32.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/time32.h: In function ‘timespec_equal’: ./include/linux/time32.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ In file included from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ioprio.h: In function ‘task_nice_ioprio’: ./include/linux/ioprio.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/time32.h: In function ‘timespec_compare’: ./include/linux/time32.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/ioprio.h: In function ‘task_nice_ioclass’: ./include/linux/ioprio.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/time32.h: In function ‘timespec_valid’: ./include/linux/time32.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/ioprio.h: In function ‘get_current_ioprio’: ./include/linux/ioprio.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/time32.h: In function ‘timespec_to_ns’: ./include/linux/time32.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/time32.h: In function ‘timespec_add_ns’: ./include/linux/time32.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/xarray.h: In function ‘xas_find_chunk’: ./include/linux/time32.h: In function ‘mktime’: ./include/linux/xarray.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/time32.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/time32.h: In function ‘timeval_valid’: ./include/linux/time32.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/time32.h: In function ‘timeval_to_ns’: ./include/linux/time32.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_marked’: ./include/linux/xarray.h:1485:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1485 | { | ^ In file included from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/time.h: In function ‘itimerspec64_valid’: ./include/linux/time.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ In file included from ./include/linux/quota.h:40, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/percpu_counter.h: In function ‘percpu_counter_compare’: ./include/linux/percpu_counter.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_add’: ./include/linux/percpu_counter.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum_positive’: ./include/linux/percpu_counter.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/xarray.h: In function ‘xas_prev’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum’: ./include/linux/percpu_counter.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/xarray.h:1580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1580 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read’: ./include/linux/percpu_counter.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:65, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/tsc.h: In function ‘get_cycles’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_read_positive’: ./include/linux/percpu_counter.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/tsc.h:24:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 24 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_initialized’: ./include/linux/percpu_counter.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_inc’: ./include/linux/xarray.h: In function ‘xas_next’: ./include/linux/percpu_counter.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_dec’: ./include/linux/xarray.h:1609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1609 | { | ^ ./include/linux/percpu_counter.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sub’: ./include/linux/percpu_counter.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ In file included from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/jiffies.h: In function ‘get_jiffies_64’: ./include/linux/jiffies.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ In file included from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/radix-tree.h: In function ‘radix_tree_is_internal_node’: ./include/linux/radix-tree.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_to_nsecs’: ./include/linux/radix-tree.h: In function ‘radix_tree_empty’: ./include/linux/jiffies.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/radix-tree.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/jiffies.h: In function ‘_msecs_to_jiffies’: ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot’: ./include/linux/jiffies.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ In file included from ./include/linux/dqblk_v2.h:9, from ./include/linux/quota.h:44, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dqblk_qtree.h: In function ‘qtree_depth’: ./include/linux/radix-tree.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/dqblk_qtree.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/jiffies.h: In function ‘msecs_to_jiffies’: ./include/linux/jiffies.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot_protected’: ./include/linux/radix-tree.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ In file included from ./include/linux/quota.h:48, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/projid.h: In function ‘__kprojid_val’: ./include/linux/jiffies.h: In function ‘_usecs_to_jiffies’: ./include/linux/jiffies.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/projid.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_retry’: ./include/linux/radix-tree.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/projid.h: In function ‘projid_eq’: ./include/linux/jiffies.h: In function ‘usecs_to_jiffies’: ./include/linux/projid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/jiffies.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_exception’: ./include/linux/radix-tree.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/projid.h: In function ‘projid_lt’: ./include/linux/projid.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/projid.h: In function ‘projid_valid’: ./include/linux/projid.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/jiffies.h: In function ‘timespec_to_jiffies’: ./include/linux/jiffies.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/projid.h: In function ‘projid_valid_eq’: ./include/linux/projid.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_to_timespec’: ./include/linux/jiffies.h:433:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 433 | { | ^ ./include/linux/projid.h: In function ‘kprojid_has_mapping’: ./include/linux/radix-tree.h: In function ‘radix_tree_preload_end’: ./include/linux/projid.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/radix-tree.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_clock_t’: ./include/linux/jiffies.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_init’: ./include/linux/radix-tree.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_lookup’: ./include/linux/radix-tree.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/jiffies.h: In function ‘jiffies_delta_to_msecs’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_find’: ./include/linux/jiffies.h:451:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 451 | { | ^ ./include/linux/radix-tree.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_retry’: In file included from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/quota.h: In function ‘make_kqid’: ./include/linux/radix-tree.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/quota.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/radix-tree.h: In function ‘__radix_tree_iter_add’: ./include/linux/radix-tree.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_chunk_size’: In file included from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ktime.h: In function ‘ktime_set’: ./include/linux/radix-tree.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/ktime.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_invalid’: ./include/linux/radix-tree.h: In function ‘radix_tree_next_slot’: ./include/linux/quota.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/radix-tree.h:418:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 418 | { | ^ ./include/linux/ktime.h: In function ‘timespec_to_ktime’: ./include/linux/ktime.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/ktime.h: In function ‘timespec64_to_ktime’: ./include/linux/ktime.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/ktime.h: In function ‘timeval_to_ktime’: ./include/linux/quota.h: In function ‘make_kqid_uid’: ./include/linux/ktime.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/quota.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_gid’: ./include/linux/ktime.h: In function ‘ktime_to_ns’: ./include/linux/quota.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/ktime.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/ktime.h: In function ‘ktime_compare’: ./include/linux/quota.h: In function ‘make_kqid_projid’: ./include/linux/ktime.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/quota.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/quota.h: In function ‘qid_has_mapping’: ./include/linux/quota.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/ktime.h: In function ‘ktime_after’: ./include/linux/ktime.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/ktime.h: In function ‘ktime_before’: In file included from ./include/linux/fs.h:19, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pid.h: In function ‘get_pid’: ./include/linux/ktime.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/quota.h: In function ‘info_dirty’: ./include/linux/pid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/quota.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./include/linux/ktime.h: In function ‘ktime_divns’: ./include/linux/ktime.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/quota.h: In function ‘dqstats_inc’: ./include/linux/quota.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/pid.h: In function ‘ns_of_pid’: ./include/linux/quota.h: In function ‘dqstats_dec’: ./include/linux/pid.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/quota.h:278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 278 | { | ^ ./include/linux/pid.h: In function ‘is_child_reaper’: ./include/linux/ktime.h: In function ‘ktime_to_us’: ./include/linux/pid.h:143:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | { | ^ ./include/linux/ktime.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/pid.h: In function ‘pid_nr’: ./include/linux/ktime.h: In function ‘ktime_to_ms’: ./include/linux/pid.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/ktime.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/ktime.h: In function ‘ktime_us_delta’: ./include/linux/ktime.h:187:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 187 | { | ^ ./include/linux/ktime.h: In function ‘ktime_ms_delta’: ./include/linux/ktime.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 192 | { | ^ ./include/linux/ktime.h: In function ‘ktime_add_us’: ./include/linux/ktime.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/quota.h: In function ‘dquot_state_flag’: ./include/linux/quota.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/ktime.h: In function ‘ktime_add_ms’: ./include/linux/quota.h: In function ‘dquot_generic_flag’: ./include/linux/ktime.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/quota.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_us’: ./include/linux/quota.h: In function ‘dquot_state_types’: ./include/linux/ktime.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/quota.h:502:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 502 | { | ^ ./include/linux/ktime.h: In function ‘ktime_sub_ms’: ./include/linux/ktime.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ In file included from ./include/linux/fs.h:24, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/capability.h: In function ‘cap_combine’: ./include/linux/capability.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/ktime.h: In function ‘ktime_to_timespec_cond’: ./include/linux/ktime.h:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ ./include/linux/capability.h: In function ‘cap_intersect’: ./include/linux/ktime.h: In function ‘ktime_to_timespec64_cond’: ./include/linux/capability.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/ktime.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/fs.h: In function ‘is_sync_kiocb’: ./include/linux/ktime.h: In function ‘ns_to_ktime’: ./include/linux/capability.h: In function ‘cap_drop’: ./include/linux/ktime.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/capability.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/ktime.h: In function ‘ms_to_ktime’: ./include/linux/fs.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/linux/ktime.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/capability.h: In function ‘cap_invert’: ./include/linux/capability.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/capability.h: In function ‘cap_isclear’: ./include/linux/capability.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ In file included from ./include/linux/ktime.h:275, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/timekeeping.h: In function ‘ktime_get_real’: ./include/linux/capability.h: In function ‘cap_issubset’: ./include/linux/timekeeping.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/capability.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_real’: ./include/linux/timekeeping.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/capability.h: In function ‘cap_drop_fs_set’: ./include/linux/capability.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime’: ./include/linux/timekeeping.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/fs.h: In function ‘mapping_tagged’: ./include/linux/fs.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime’: ./include/linux/timekeeping.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_write’: ./include/linux/fs.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/capability.h: In function ‘cap_raise_fs_set’: ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai’: ./include/linux/capability.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/timekeeping.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_write’: ./include/linux/fs.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai’: ./include/linux/timekeeping.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_read’: ./include/linux/fs.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_mono_to_real’: ./include/linux/timekeeping.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_read’: ./include/linux/capability.h: In function ‘cap_drop_nfsd_set’: ./include/linux/fs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_ns’: ./include/linux/capability.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/timekeeping.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/fs.h: In function ‘mapping_mapped’: ./include/linux/timekeeping.h: In function ‘ktime_get_real_ns’: ./include/linux/fs.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/timekeeping.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boot_ns’: ./include/linux/capability.h: In function ‘cap_raise_nfsd_set’: ./include/linux/timekeeping.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/capability.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_tai_ns’: ./include/linux/timekeeping.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/fs.h: In function ‘mapping_writably_mapped’: ./include/linux/timekeeping.h: In function ‘ktime_get_raw_ns’: ./include/linux/fs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/timekeeping.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/fs.h: In function ‘mapping_map_writable’: ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_ts64’: ./include/linux/fs.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/timekeeping.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_boottime_ts64’: ./include/linux/fs.h: In function ‘mapping_unmap_writable’: ./include/linux/timekeeping.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/fs.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_boottime_seconds’: ./include/linux/fs.h: In function ‘mapping_deny_writable’: ./include/linux/timekeeping.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/fs.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_ts64’: ./include/linux/timekeeping.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/fs.h: In function ‘mapping_allow_writable’: ./include/linux/fs.h:568:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 568 | { | ^ ./include/linux/timekeeping.h: In function ‘ktime_get_coarse_clocktai_ts64’: ./include/linux/timekeeping.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/fs.h: In function ‘uncached_acl_sentinel’: ./include/linux/timekeeping.h: In function ‘ktime_get_clocktai_seconds’: ./include/linux/fs.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/timekeeping.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | { | ^ ./include/linux/fs.h: In function ‘is_uncached_acl’: ./include/linux/fs.h:595:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 595 | { | ^ In file included from ./include/linux/percpu-rwsem.h:8, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcuwait.h: In function ‘rcuwait_init’: ./include/linux/sched.h: In function ‘task_thread_info’: ./include/linux/fs.h: In function ‘i_blocksize’: ./include/linux/rcuwait.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/sched.h:1581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1581 | { | ^ ./include/linux/fs.h:718:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 718 | { | ^ ./include/linux/fs.h: In function ‘inode_unhashed’: ./include/linux/fs.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/fs.h: In function ‘inode_fake_hash’: ./include/linux/sched.h: In function ‘set_task_comm’: ./include/linux/fs.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ In file included from ./include/linux/percpu-rwsem.h:9, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rcu_sync.h: In function ‘rcu_sync_is_idle’: ./include/linux/sched.h:1620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1620 | { | ^ ./include/linux/rcu_sync.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/fs.h: In function ‘inode_lock’: ./include/linux/fs.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_thread_flag’: ./include/linux/fs.h: In function ‘inode_unlock’: ./include/linux/sched.h:1646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1646 | { | ^ ./include/linux/fs.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared’: ./include/linux/sched.h: In function ‘clear_tsk_thread_flag’: ./include/linux/fs.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/sched.h:1651:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1651 | { | ^ In file included from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_preempt_disable’: ./include/linux/fs.h: In function ‘inode_unlock_shared’: ./include/linux/percpu-rwsem.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/fs.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/sched.h: In function ‘update_tsk_thread_flag’: ./include/linux/sched.h:1657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1657 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock’: ./include/linux/fs.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’: ./include/linux/fs.h: In function ‘inode_trylock_shared’: ./include/linux/sched.h:1662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1662 | { | ^ ./include/linux/fs.h:790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 790 | { | ^ ./include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’: ./include/linux/fs.h: In function ‘inode_is_locked’: ./include/linux/sched.h:1667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1667 | { | ^ ./include/linux/fs.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_thread_flag’: ./include/linux/fs.h: In function ‘inode_lock_nested’: ./include/linux/sched.h:1672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1672 | { | ^ ./include/linux/fs.h:800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 800 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared_nested’: ./include/linux/sched.h: In function ‘set_tsk_need_resched’: ./include/linux/fs.h:805:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 805 | { | ^ ./include/linux/sched.h:1677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1677 | { | ^ ./include/linux/sched.h: In function ‘clear_tsk_need_resched’: ./include/linux/fs.h: In function ‘i_size_read’: ./include/linux/sched.h:1682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1682 | { | ^ ./include/linux/fs.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_need_resched’: ./include/linux/fs.h: In function ‘i_size_write’: ./include/linux/sched.h:1687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1687 | { | ^ ./include/linux/fs.h:851:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 851 | { | ^ ./include/linux/fs.h: In function ‘iminor’: ./include/linux/fs.h:868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 868 | { | ^ ./include/linux/sched.h: In function ‘cond_resched_rcu’: ./include/linux/sched.h:1716:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1716 | { | ^ ./include/linux/fs.h: In function ‘imajor’: ./include/linux/fs.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/sched.h: In function ‘spin_needbreak’: ./include/linux/sched.h:1730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1730 | { | ^ ./include/linux/fs.h: In function ‘ra_has_index’: ./include/linux/sched.h: In function ‘need_resched’: ./include/linux/fs.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/sched.h:1739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1739 | { | ^ ./include/linux/sched.h: In function ‘task_cpu’: ./include/linux/sched.h:1749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1749 | { | ^ ./include/linux/fs.h: In function ‘get_file’: ./include/linux/fs.h:959:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 959 | { | ^ ./include/linux/sched.h: In function ‘rseq_set_notify_resume’: ./include/linux/sched.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/sched.h: In function ‘rseq_handle_notify_resume’: ./include/linux/sched.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/sched.h: In function ‘rseq_signal_deliver’: ./include/linux/sched.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/sched.h: In function ‘rseq_preempt’: ./include/linux/sched.h:1835:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1835 | { | ^ ./include/linux/sched.h: In function ‘rseq_migrate’: ./include/linux/sched.h:1842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1842 | { | ^ ./include/linux/sched.h: In function ‘rseq_fork’: ./include/linux/sched.h:1852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1852 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/fs.h: In function ‘file_inode’: ./include/linux/fs.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/fs.h: In function ‘file_dentry’: ./include/linux/sched.h: In function ‘rseq_execve’: ./include/linux/sched.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/fs.h:1292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1292 | { | ^ ./include/linux/fs.h: In function ‘locks_lock_file_wait’: ./include/linux/sched.h: In function ‘exit_umh’: ./include/linux/fs.h:1297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1297 | { | ^ ./include/linux/sched.h:1905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1905 | { | ^ ./include/linux/sched.h: In function ‘rseq_syscall’: ./include/linux/sched.h:1917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1917 | { | ^ In file included from ./include/linux/ioprio.h:6, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/rt.h: In function ‘rt_prio’: ./include/linux/sched/rt.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/sched/rt.h: In function ‘rt_task’: ./include/linux/sched/rt.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/sched/rt.h: In function ‘task_is_realtime’: ./include/linux/sched/rt.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/fs.h: In function ‘i_uid_read’: ./include/linux/sched/rt.h: In function ‘rt_mutex_get_top_task’: ./include/linux/sched/rt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/fs.h:1523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1523 | { | ^ ./include/linux/sched/rt.h: In function ‘tsk_is_pi_blocked’: ./include/linux/sched/rt.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/fs.h: In function ‘i_gid_read’: ./include/linux/fs.h:1528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1528 | { | ^ ./include/linux/fs.h: In function ‘i_uid_write’: ./include/linux/fs.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/fs.h: In function ‘i_gid_write’: In file included from ./include/linux/ioprio.h:7, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/iocontext.h: In function ‘get_io_context_active’: ./include/linux/fs.h:1538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1538 | { | ^ ./include/linux/iocontext.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/fs.h: In function ‘sb_end_write’: ./include/linux/fs.h:1565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1565 | { | ^ ./include/linux/fs.h: In function ‘sb_end_pagefault’: ./include/linux/fs.h:1577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1577 | { | ^ ./include/linux/fs.h: In function ‘sb_end_intwrite’: ./include/linux/fs.h:1589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1589 | { | ^ ./include/linux/iocontext.h: In function ‘ioc_task_link’: ./include/linux/fs.h: In function ‘sb_start_write’: ./include/linux/iocontext.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/fs.h:1613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1613 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write_trylock’: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read’: ./include/linux/fs.h:1618:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1618 | { | ^ ./include/linux/percpu-rwsem.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/fs.h: In function ‘sb_start_pagefault’: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_trylock’: ./include/linux/percpu-rwsem.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/fs.h:1642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1642 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite’: In file included from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ioprio.h: In function ‘task_nice_ioprio’: ./include/linux/ioprio.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/fs.h:1660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1660 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite_trylock’: ./include/linux/ioprio.h: In function ‘task_nice_ioclass’: ./include/linux/ioprio.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/fs.h:1665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1665 | { | ^ ./include/linux/ioprio.h: In function ‘get_current_ioprio’: ./include/linux/ioprio.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/fs.h: In function ‘call_read_iter’: ./include/linux/fs.h:1868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1868 | { | ^ ./include/linux/fs.h: In function ‘call_write_iter’: ./include/linux/fs.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ In file included from ./include/linux/quota.h:40, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/percpu_counter.h: In function ‘percpu_counter_compare’: ./include/linux/fs.h: In function ‘call_mmap’: ./include/linux/percpu_counter.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/fs.h:1879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1879 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_add’: ./include/linux/percpu_counter.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum_positive’: ./include/linux/percpu_counter.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum’: ./include/linux/percpu_counter.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read’: ./include/linux/percpu_counter.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read_positive’: ./include/linux/percpu_counter.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_initialized’: ./include/linux/percpu_counter.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/fs.h: In function ‘sb_rdonly’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_inc’: ./include/linux/fs.h:1994:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1994 | static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } | ^~~~~~~~~~~ ./include/linux/percpu_counter.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_dec’: ./include/linux/percpu_counter.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/fs.h: In function ‘HAS_UNMAPPED_ID’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_sub’: ./include/linux/percpu_counter.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/fs.h:2023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2023 | { | ^ ./include/linux/fs.h: In function ‘file_write_hint’: ./include/linux/fs.h:2028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2028 | { | ^ ./include/linux/fs.h: In function ‘ki_hint_validate’: ./include/linux/fs.h:2038:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2038 | { | ^ ./include/linux/fs.h: In function ‘init_sync_kiocb’: In file included from ./include/linux/dqblk_v2.h:9, from ./include/linux/quota.h:44, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dqblk_qtree.h: In function ‘qtree_depth’: ./include/linux/dqblk_qtree.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/fs.h:2047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2047 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty’: In file included from ./include/linux/quota.h:48, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/projid.h: In function ‘__kprojid_val’: ./include/linux/projid.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/fs.h:2146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2146 | { | ^ ./include/linux/projid.h: In function ‘projid_eq’: ./include/linux/projid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty_sync’: ./include/linux/projid.h: In function ‘projid_lt’: ./include/linux/projid.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/fs.h:2151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2151 | { | ^ ./include/linux/projid.h: In function ‘projid_valid’: ./include/linux/fs.h: In function ‘inode_inc_link_count’: ./include/linux/projid.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/fs.h:2161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2161 | { | ^ ./include/linux/projid.h: In function ‘projid_valid_eq’: ./include/linux/projid.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/fs.h: In function ‘inode_dec_link_count’: ./include/linux/projid.h: In function ‘kprojid_has_mapping’: ./include/linux/fs.h:2167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2167 | { | ^ ./include/linux/projid.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/fs.h: In function ‘file_accessed’: ./include/linux/fs.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./include/linux/percpu-rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ In file included from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/quota.h: In function ‘make_kqid’: ./include/linux/quota.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/fs.h: In function ‘mount_pseudo’: ./include/linux/fs.h:2274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2274 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_invalid’: ./include/linux/quota.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/fs.h: In function ‘__mandatory_lock’: ./include/linux/fs.h:2340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2340 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_uid’: ./include/linux/quota.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/fs.h: In function ‘mandatory_lock’: ./include/linux/quota.h: In function ‘make_kqid_gid’: ./include/linux/quota.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/fs.h:2350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2350 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_projid’: ./include/linux/quota.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_locked’: ./include/linux/quota.h: In function ‘qid_has_mapping’: ./include/linux/quota.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/fs.h:2355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2355 | { | ^ ./include/linux/quota.h: In function ‘info_dirty’: ./include/linux/quota.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_truncate’: ./include/linux/quota.h: In function ‘dqstats_inc’: ./include/linux/fs.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/quota.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/quota.h: In function ‘dqstats_dec’: ./include/linux/quota.h:278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 278 | { | ^ ./include/linux/fs.h: In function ‘break_lease’: ./include/linux/fs.h:2416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2416 | { | ^ ./include/linux/fs.h: In function ‘break_deleg’: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: ./include/linux/quota.h: In function ‘dquot_state_flag’: ./include/linux/percpu-rwsem.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/fs.h:2430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2430 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_release’: In file included from ./include/linux/ktime.h:276, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/timekeeping32.h: In function ‘get_seconds’: ./include/linux/percpu-rwsem.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/timekeeping32.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_acquire’: ./include/linux/timekeeping32.h: In function ‘getnstimeofday’: ./include/linux/percpu-rwsem.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/timekeeping32.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/fs.h: In function ‘try_break_deleg’: ./include/linux/timekeeping32.h: In function ‘ktime_get_ts’: ./include/linux/timekeeping32.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ In file included from ./include/linux/fs.h:36, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/delayed_call.h: In function ‘set_delayed_call’: ./include/linux/fs.h:2444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2444 | { | ^ ./include/linux/timekeeping32.h: In function ‘getrawmonotonic’: ./include/linux/delayed_call.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/timekeeping32.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/delayed_call.h: In function ‘do_delayed_call’: ./include/linux/delayed_call.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/timekeeping32.h: In function ‘getboottime’: ./include/linux/fs.h: In function ‘break_deleg_wait’: ./include/linux/delayed_call.h: In function ‘clear_delayed_call’: ./include/linux/timekeeping32.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/delayed_call.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/fs.h:2456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2456 | { | ^ ./include/linux/fs.h: In function ‘break_layout’: ./include/linux/fs.h:2466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2466 | { | ^ In file included from ./include/linux/fs.h:37, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/uuid.h: In function ‘guid_equal’: In file included from ./include/linux/timer.h:8, from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/debugobjects.h: In function ‘debug_object_init’: ./include/linux/uuid.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/debugobjects.h:89:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | debug_object_init (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_init_on_stack’: ./include/linux/debugobjects.h:91:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/uuid.h: In function ‘guid_copy’: ./include/linux/uuid.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_activate’: ./include/linux/debugobjects.h:93:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | debug_object_activate (void *addr, struct debug_obj_descr *descr) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/uuid.h: In function ‘guid_is_null’: ./include/linux/uuid.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_deactivate’: ./include/linux/debugobjects.h:95:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | debug_object_deactivate(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/debugobjects.h: In function ‘debug_object_destroy’: ./include/linux/uuid.h: In function ‘uuid_equal’: ./include/linux/debugobjects.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | debug_object_destroy (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/uuid.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_free’: ./include/linux/uuid.h: In function ‘uuid_copy’: ./include/linux/debugobjects.h:99:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | debug_object_free (void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/uuid.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_object_assert_init’: ./include/linux/uuid.h: In function ‘uuid_is_null’: ./include/linux/fs.h: In function ‘file_clone_open’: ./include/linux/debugobjects.h:101:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | debug_object_assert_init(void *addr, struct debug_obj_descr *descr) { } | ^~~~~~~~~~~~~~~ ./include/linux/uuid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_objects_early_init’: ./include/linux/debugobjects.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void debug_objects_early_init(void) { } | ^~~~~~ ./include/linux/fs.h:2530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2530 | { | ^ ./include/linux/debugobjects.h: In function ‘debug_objects_mem_init’: ./include/linux/debugobjects.h:104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 104 | static inline void debug_objects_mem_init(void) { } | ^~~~~~ ./include/linux/uuid.h: In function ‘uuid_le_cmp’: ./include/linux/debugobjects.h: In function ‘debug_check_no_obj_freed’: ./include/linux/uuid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/debugobjects.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | debug_check_no_obj_freed(const void *address, unsigned long size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/timer.h: In function ‘init_timer_on_stack_key’: ./include/linux/timer.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/fs.h: In function ‘sb_is_blkdev_sb’: ./include/linux/timer.h: In function ‘destroy_timer_on_stack’: ./include/linux/timer.h:138:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | static inline void destroy_timer_on_stack(struct timer_list *timer) { } | ^~~~~~~~~~ ./include/linux/fs.h:2579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2579 | { | ^ ./include/linux/timer.h: In function ‘timer_pending’: ./include/linux/timer.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/fs.h: In function ‘register_chrdev’: ./include/linux/fs.h:2666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2666 | { | ^ ./include/linux/fs.h: In function ‘unregister_chrdev’: ./include/linux/fs.h:2671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2671 | { | ^ In file included from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/workqueue.h: In function ‘to_delayed_work’: ./include/linux/workqueue.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/fs.h: In function ‘invalidate_remote_inode’: In file included from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/refcount.h: In function ‘refcount_set’: ./include/linux/refcount.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/fs.h:2708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2708 | { | ^ ./include/linux/refcount.h: In function ‘refcount_read’: ./include/linux/refcount.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/workqueue.h: In function ‘to_rcu_work’: ./include/linux/workqueue.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/linux/fs.h: In function ‘filemap_fdatawait’: ./include/linux/fs.h:2724:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2724 | { | ^ In file included from ./include/linux/refcount.h:72, from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add’: ./include/linux/workqueue.h: In function ‘__init_work’: ./include/linux/workqueue.h:215:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | static inline void __init_work(struct work_struct *work, int onstack) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/refcount.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/workqueue.h: In function ‘destroy_work_on_stack’: ./include/linux/workqueue.h:216:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static inline void destroy_work_on_stack(struct work_struct *work) { } | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘file_write_and_wait’: ./include/linux/workqueue.h: In function ‘destroy_delayed_work_on_stack’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc’: ./include/linux/workqueue.h:217:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } | ^~~~~~~~~~~~ ./arch/x86/include/asm/refcount.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/workqueue.h: In function ‘work_static’: ./include/linux/fs.h:2747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2747 | { | ^ ./include/linux/workqueue.h:218:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | static inline unsigned int work_static(struct work_struct *work) { return 0; } | ^~~~~~~~~~~ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec’: ./arch/x86/include/asm/refcount.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/fs.h: In function ‘filemap_set_wb_err’: ./include/linux/quota.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_sub_and_test’: ./arch/x86/include/asm/refcount.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/fs.h:2766:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2766 | { | ^ ./include/linux/quota.h: In function ‘dquot_generic_flag’: ./include/linux/quota.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/fs.h: In function ‘filemap_check_wb_err’: ./include/linux/quota.h: In function ‘dquot_state_types’: ./include/linux/quota.h:502:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 502 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec_and_test’: ./arch/x86/include/asm/refcount.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/fs.h:2784:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2784 | { | ^ ./include/linux/fs.h: In function ‘filemap_sample_wb_err’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add_not_zero’: ./arch/x86/include/asm/refcount.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/fs.h:2796:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2796 | { | ^ ./include/linux/fs.h: In function ‘generic_write_sync’: ./include/linux/fs.h:2810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2810 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/fs.h: In function ‘is_sync_kiocb’: ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc_not_zero’: ./arch/x86/include/asm/refcount.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/fs.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/linux/fs.h: In function ‘execute_ok’: ./include/linux/fs.h:2833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2833 | { | ^ ./include/linux/fs.h: In function ‘file_start_write’: ./include/linux/fs.h:2838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2838 | { | ^ ./include/linux/fs.h: In function ‘mapping_tagged’: ./include/linux/fs.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/fs.h: In function ‘file_start_write_trylock’: ./include/linux/fs.h: In function ‘i_mmap_lock_write’: ./include/linux/fs.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_write’: ./include/linux/fs.h:2845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2845 | { | ^ ./include/linux/fs.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_read’: ./include/linux/fs.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_read’: ./include/linux/fs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/fs.h: In function ‘mapping_mapped’: ./include/linux/fs.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/fs.h: In function ‘file_end_write’: In file included from ./include/linux/sched.h:17, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kcov.h: In function ‘kcov_task_init’: ./include/linux/kcov.h:42:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | static inline void kcov_task_init(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_task_exit’: ./include/linux/fs.h:2852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2852 | { | ^ ./include/linux/kcov.h:43:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | static inline void kcov_task_exit(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘mapping_writably_mapped’: ./include/linux/kcov.h: In function ‘kcov_prepare_switch’: ./include/linux/fs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/kcov.h:44:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline void kcov_prepare_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_finish_switch’: ./include/linux/kcov.h:45:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline void kcov_finish_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘mapping_map_writable’: ./include/linux/fs.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/fs.h: In function ‘mapping_unmap_writable’: In file included from ./include/linux/sched.h:19, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/plist.h: In function ‘plist_head_init’: ./include/linux/fs.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/fs.h: In function ‘get_write_access’: ./include/linux/plist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/fs.h: In function ‘mapping_deny_writable’: ./include/linux/plist.h: In function ‘plist_node_init’: ./include/linux/fs.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/plist.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/fs.h:2875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2875 | { | ^ ./include/linux/fs.h: In function ‘mapping_allow_writable’: ./include/linux/fs.h:568:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 568 | { | ^ ./include/linux/fs.h: In function ‘deny_write_access’: ./include/linux/plist.h: In function ‘plist_head_empty’: ./include/linux/plist.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/fs.h: In function ‘uncached_acl_sentinel’: ./include/linux/plist.h: In function ‘plist_node_empty’: ./include/linux/fs.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/plist.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/fs.h:2879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2879 | { | ^ ./include/linux/fs.h: In function ‘is_uncached_acl’: ./include/linux/plist.h: In function ‘plist_first’: ./include/linux/fs.h:595:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 595 | { | ^ ./include/linux/fs.h: In function ‘put_write_access’: ./include/linux/plist.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/fs.h:2884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2884 | { | ^ ./include/linux/fs.h: In function ‘allow_write_access’: ./include/linux/plist.h: In function ‘plist_last’: ./include/linux/plist.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ ./include/linux/fs.h:2888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2888 | { | ^ ./include/linux/fs.h: In function ‘i_blocksize’: ./include/linux/fs.h: In function ‘inode_is_open_for_write’: ./include/linux/fs.h:2893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2893 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_dec’: In file included from ./include/linux/hrtimer.h:21, from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/timerqueue.h: In function ‘timerqueue_getnext’: ./include/linux/timerqueue.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init’: ./include/linux/timerqueue.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/fs.h:2899:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2899 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init_head’: ./include/linux/timerqueue.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/workqueue.h: In function ‘queue_work’: ./include/linux/workqueue.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_inc’: ./include/linux/workqueue.h: In function ‘queue_delayed_work’: ./include/linux/workqueue.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/fs.h:2904:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2904 | { | ^ ./include/linux/workqueue.h: In function ‘mod_delayed_work’: ./include/linux/workqueue.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_work_on’: In file included from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires’: ./include/linux/fs.h:718:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 718 | { | ^ ./include/linux/hrtimer.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/fs.h: In function ‘inode_unhashed’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range’: ./include/linux/hrtimer.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/fs.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/fs.h: In function ‘kernel_read_file_id_str’: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range_ns’: ./include/linux/fs.h: In function ‘inode_fake_hash’: ./include/linux/hrtimer.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/fs.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/fs.h:2942:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2942 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_tv64’: ./include/linux/hrtimer.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/fs.h: In function ‘inode_lock’: ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires’: ./include/linux/hrtimer.h:245:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 245 | { | ^ ./include/linux/fs.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires_ns’: ./include/linux/fs.h: In function ‘inode_unlock’: ./include/linux/hrtimer.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/fs.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires’: ./include/linux/fs.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/hrtimer.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/fs.h: In function ‘inode_unlock_shared’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires’: ./include/linux/fs.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/hrtimer.h:262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 262 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_tv64’: ./include/linux/fs.h: In function ‘generic_drop_inode’: ./include/linux/fs.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/hrtimer.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires_tv64’: ./include/linux/fs.h: In function ‘inode_trylock_shared’: ./include/linux/hrtimer.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/fs.h:790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 790 | { | ^ ./include/linux/fs.h:2981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2981 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_ns’: ./include/linux/hrtimer.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/fs.h: In function ‘inode_is_locked’: ./include/linux/fs.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining’: ./include/linux/hrtimer.h:281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 281 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_nested’: ./include/linux/fs.h:800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 800 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’: ./include/linux/hrtimer.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared_nested’: In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/fs.h: In function ‘lockdep_annotate_inode_mutex_key’: ./include/linux/hrtimer.h: In function ‘hrtimer_is_hres_active’: ./include/linux/fs.h:805:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 805 | { | ^ ./include/linux/hrtimer.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/fs.h: In function ‘i_size_read’: ./include/linux/fs.h:3008:60: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3008 | static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; | ^~~~~ ./include/linux/fs.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/hrtimer.h: In function ‘__hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./include/linux/fs.h: In function ‘i_size_write’: ./include/linux/fs.h: In function ‘insert_inode_hash’: ./include/linux/fs.h:851:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 851 | { | ^ ./include/linux/fs.h: In function ‘iminor’: ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining_adjusted’: ./include/linux/fs.h:3027:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3027 | { | ^ ./include/linux/hrtimer.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/fs.h:868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 868 | { | ^ ./include/linux/fs.h: In function ‘remove_inode_hash’: ./include/linux/fs.h: In function ‘imajor’: ./include/linux/hrtimer.h: In function ‘hrtimer_init_on_stack’: ./include/linux/fs.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/hrtimer.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/fs.h:3033:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3033 | { | ^ ./include/linux/hrtimer.h: In function ‘destroy_hrtimer_on_stack’: ./include/linux/hrtimer.h:377:52: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } | ^~~~~~~ ./include/linux/fs.h: In function ‘ra_has_index’: ./include/linux/hrtimer.h: In function ‘hrtimer_start’: ./include/linux/fs.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/hrtimer.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_start_expires’: ./include/linux/hrtimer.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_restart’: ./include/linux/hrtimer.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/fs.h: In function ‘get_file’: ./include/linux/fs.h:959:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 959 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_remaining’: ./include/linux/hrtimer.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_is_queued’: ./include/linux/hrtimer.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./include/linux/fs.h: In function ‘blockdev_direct_IO’: ./include/linux/hrtimer.h: In function ‘hrtimer_callback_running’: ./include/linux/hrtimer.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_forward_now’: ./include/linux/fs.h:3123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3123 | { | ^ ./include/linux/hrtimer.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_begin’: ./include/linux/fs.h:3139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3139 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_end’: ./include/linux/fs.h:3151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3151 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/fs.h: In function ‘file_inode’: ./include/linux/fs.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/fs.h: In function ‘file_dentry’: ./include/linux/fs.h: In function ‘__inode_get_bytes’: ./include/linux/fs.h:1292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1292 | { | ^ ./include/linux/fs.h: In function ‘locks_lock_file_wait’: ./include/linux/fs.h:3181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3181 | { | ^ ./include/linux/fs.h:1297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1297 | { | ^ ./include/linux/fs.h: In function ‘vfs_stat’: ./include/linux/fs.h:3196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3196 | { | ^ ./include/linux/fs.h: In function ‘vfs_lstat’: ./include/linux/fs.h:3201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3201 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstatat’: ./include/linux/fs.h: In function ‘i_uid_read’: In file included from ./arch/x86/include/asm/seccomp.h:19, from ./include/linux/seccomp.h:15, from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/seccomp.h: In function ‘get_compat_mode1_syscalls’: ./include/linux/fs.h:3207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3207 | { | ^ ./include/linux/fs.h:1523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1523 | { | ^ ./include/asm-generic/seccomp.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstat’: ./include/linux/fs.h: In function ‘i_gid_read’: ./include/linux/fs.h:1528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1528 | { | ^ ./include/linux/fs.h:3212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3212 | { | ^ In file included from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/seccomp.h: In function ‘secure_computing’: ./include/linux/seccomp.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/fs.h: In function ‘i_uid_write’: ./include/linux/fs.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/fs.h: In function ‘i_gid_write’: ./include/linux/seccomp.h: In function ‘seccomp_mode’: ./include/linux/seccomp.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/fs.h:1538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1538 | { | ^ ./include/linux/fs.h: In function ‘sb_end_write’: ./include/linux/fs.h:1565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1565 | { | ^ In file included from ./include/linux/sched.h:25, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/latencytop.h: In function ‘account_scheduler_latency’: ./include/linux/latencytop.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/fs.h: In function ‘sb_end_pagefault’: ./include/linux/latencytop.h: In function ‘clear_all_latency_tracing’: ./include/linux/latencytop.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/fs.h:1577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1577 | { | ^ ./include/linux/fs.h: In function ‘sb_end_intwrite’: In file included from ./include/linux/sched.h:26, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/prio.h: In function ‘nice_to_rlimit’: ./include/linux/fs.h:1589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1589 | { | ^ ./include/linux/fs.h: In function ‘io_is_direct’: ./include/linux/sched/prio.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write’: ./include/linux/sched/prio.h: In function ‘rlimit_to_nice’: ./include/linux/fs.h:1613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1613 | { | ^ ./include/linux/sched/prio.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/fs.h:3314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3314 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write_trylock’: ./include/linux/fs.h: In function ‘vma_is_dax’: ./include/linux/fs.h:1618:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1618 | { | ^ ./include/linux/fs.h: In function ‘sb_start_pagefault’: ./include/linux/fs.h:3319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3319 | { | ^ ./include/linux/fs.h:1642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1642 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite’: ./include/linux/fs.h: In function ‘vma_is_fsdax’: ./include/linux/fs.h:1660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1660 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite_trylock’: ./include/linux/fs.h:3324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3324 | { | ^ ./include/linux/fs.h:1665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1665 | { | ^ ./include/linux/fs.h: In function ‘iocb_flags’: ./include/linux/fs.h:3338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3338 | { | ^ ./include/linux/fs.h: In function ‘call_read_iter’: ./include/linux/fs.h:1868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1868 | { | ^ ./include/linux/fs.h: In function ‘call_write_iter’: ./include/linux/fs.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/fs.h: In function ‘call_mmap’: ./include/linux/fs.h:1879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1879 | { | ^ ./include/linux/fs.h: In function ‘sb_rdonly’: ./include/linux/fs.h:1994:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1994 | static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘kiocb_set_rw_flags’: ./include/linux/fs.h: In function ‘HAS_UNMAPPED_ID’: ./include/linux/fs.h:3352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3352 | { | ^ ./include/linux/fs.h:2023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2023 | { | ^ ./include/linux/fs.h: In function ‘file_write_hint’: ./include/linux/fs.h:2028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2028 | { | ^ In file included from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched.h: In function ‘task_pid’: ./include/linux/fs.h: In function ‘ki_hint_validate’: ./include/linux/fs.h:2038:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2038 | { | ^ ./include/linux/sched.h:1223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1223 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr’: ./include/linux/sched.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr_ns’: ./include/linux/sched.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/fs.h: In function ‘init_sync_kiocb’: ./include/linux/sched.h: In function ‘task_pid_vnr’: ./include/linux/sched.h:1251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1251 | { | ^ ./include/linux/fs.h:2047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2047 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr’: ./include/linux/sched.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/sched.h: In function ‘pid_alive’: ./include/linux/sched.h:1272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1272 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty’: ./include/linux/sched.h: In function ‘task_pgrp_nr_ns’: ./include/linux/sched.h:1277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1277 | { | ^ ./include/linux/fs.h:2146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2146 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_vnr’: ./include/linux/sched.h:1282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1282 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty_sync’: ./include/linux/sched.h: In function ‘task_session_nr_ns’: ./include/linux/sched.h:1288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1288 | { | ^ ./include/linux/fs.h:2151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2151 | { | ^ ./include/linux/sched.h: In function ‘task_session_vnr’: ./include/linux/sched.h:1293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1293 | { | ^ ./include/linux/fs.h: In function ‘inode_inc_link_count’: ./include/linux/sched.h: In function ‘task_tgid_nr_ns’: ./include/linux/sched.h:1298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1298 | { | ^ ./include/linux/fs.h:2161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2161 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_vnr’: ./include/linux/sched.h:1303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1303 | { | ^ ./include/linux/fs.h: In function ‘inode_dec_link_count’: ./include/linux/sched.h: In function ‘task_ppid_nr_ns’: ./include/linux/fs.h:2167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2167 | { | ^ ./include/linux/sched.h:1308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1308 | { | ^ ./include/linux/fs.h: In function ‘parent_ino’: ./include/linux/fs.h: In function ‘file_accessed’: ./include/linux/fs.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/fs.h:3373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3373 | { | ^ ./include/linux/sched.h: In function ‘task_ppid_nr’: ./include/linux/sched.h:1320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1320 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_nr’: ./include/linux/sched.h:1326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1326 | { | ^ ./include/linux/sched.h: In function ‘task_state_index’: ./include/linux/fs.h: In function ‘__simple_attr_check_format’: ./include/linux/sched.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/fs.h:3440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3440 | { | ^ ./include/linux/fs.h: In function ‘mount_pseudo’: ./include/linux/fs.h:2274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2274 | { | ^ ./include/linux/fs.h: In function ‘is_sxid’: ./include/linux/sched.h: In function ‘task_index_to_char’: ./include/linux/sched.h:1347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1347 | { | ^ ./include/linux/fs.h:3470:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3470 | { | ^ ./include/linux/fs.h: In function ‘__mandatory_lock’: ./include/linux/fs.h: In function ‘check_sticky’: ./include/linux/fs.h:2340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2340 | { | ^ ./include/linux/fs.h:3475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3475 | { | ^ ./include/linux/fs.h: In function ‘mandatory_lock’: ./include/linux/fs.h:2350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2350 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_locked’: ./include/linux/fs.h:2355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2355 | { | ^ ./include/linux/fs.h: In function ‘inode_has_no_xattr’: ./include/linux/fs.h:3483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3483 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_truncate’: ./include/linux/fs.h: In function ‘is_root_inode’: ./include/linux/fs.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/fs.h:3489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3489 | { | ^ ./include/linux/workqueue.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/fs.h: In function ‘dir_emit’: ./include/linux/workqueue.h: In function ‘schedule_work’: ./include/linux/workqueue.h:569:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 569 | { | ^ ./include/linux/workqueue.h: In function ‘flush_scheduled_work’: ./include/linux/fs.h:3496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3496 | { | ^ ./include/linux/workqueue.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work_on’: ./include/linux/fs.h: In function ‘dir_emit_dot’: ./include/linux/workqueue.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/workqueue.h: In function ‘schedule_delayed_work’: ./include/linux/workqueue.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/fs.h:3500:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3500 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dotdot’: ./include/linux/workqueue.h: In function ‘wq_watchdog_touch’: ./include/linux/workqueue.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | static inline void wq_watchdog_touch(int cpu) { } | ^~~~~~ ./include/linux/fs.h:3505:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3505 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dots’: ./include/linux/fs.h:3510:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3510 | { | ^ ./include/linux/sched.h: In function ‘task_state_to_char’: ./include/linux/sched.h:1356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1356 | { | ^ ./include/linux/sched.h: In function ‘is_global_init’: ./include/linux/sched.h:1370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1370 | { | ^ In file included from ./include/linux/srcutree.h:28, from ./include/linux/srcu.h:62, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/completion.h: In function ‘complete_acquire’: ./include/linux/completion.h:33:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | static inline void complete_acquire(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/sched.h: In function ‘is_percpu_thread’: ./include/linux/sched.h:1439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1439 | { | ^ ./include/linux/completion.h: In function ‘complete_release’: ./include/linux/completion.h:34:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | static inline void complete_release(struct completion *x) {} | ^~~~~~~~~~ ./include/linux/completion.h: In function ‘__init_completion’: ./include/linux/fs.h: In function ‘dir_relax’: ./include/linux/completion.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/sched.h: In function ‘task_no_new_privs’: ./include/linux/completion.h: In function ‘reinit_completion’: ./include/linux/fs.h:3524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3524 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1469:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1469 | TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~~ ./include/linux/completion.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/fs.h: In function ‘dir_relax_shared’: ./include/linux/sched.h: In function ‘task_set_no_new_privs’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1470:1: note: in expansion of macro ‘TASK_PFA_SET’ 1470 | TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~ ./include/linux/fs.h:3531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3531 | { | ^ ./include/linux/sched.h: In function ‘task_spread_page’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1472:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1472 | TASK_PFA_TEST(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spread_page’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1473:1: note: in expansion of macro ‘TASK_PFA_SET’ 1473 | TASK_PFA_SET(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spread_page’: In file included from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1474:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1474 | TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~~ ./include/linux/srcu.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ In file included from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/huge_mm.h: In function ‘__transparent_hugepage_enabled’: ./include/linux/sched.h: In function ‘task_spread_slab’: ./include/linux/srcu.h: In function ‘cleanup_srcu_struct_quiesced’: ./include/linux/srcu.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/huge_mm.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1476:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1476 | TASK_PFA_TEST(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~ ./include/linux/srcu.h: In function ‘srcu_read_lock_held’: ./include/linux/srcu.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/sched.h: In function ‘task_set_spread_slab’: ./include/linux/srcu.h: In function ‘srcu_read_lock’: ./include/linux/srcu.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1477:1: note: in expansion of macro ‘TASK_PFA_SET’ 1477 | TASK_PFA_SET(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~ ./include/linux/srcu.h: In function ‘srcu_read_lock_notrace’: ./include/linux/sched.h: In function ‘task_clear_spread_slab’: ./include/linux/srcu.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./include/linux/huge_mm.h: In function ‘split_huge_page’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1478:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1478 | TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~~ ./include/linux/huge_mm.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/srcu.h: In function ‘srcu_read_unlock’: ./include/linux/srcu.h:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ssb_disable’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1480:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1480 | TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~ ./include/linux/srcu.h: In function ‘srcu_read_unlock_notrace’: ./include/linux/srcu.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/srcu.h: In function ‘smp_mb__after_srcu_read_unlock’: ./include/linux/sched.h: In function ‘task_set_spec_ssb_disable’: ./include/linux/srcu.h:247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 247 | { | ^ ./include/linux/huge_mm.h: In function ‘is_swap_pmd’: ./include/linux/huge_mm.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1481:1: note: in expansion of macro ‘TASK_PFA_SET’ 1481 | TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spec_ssb_disable’: ./include/linux/huge_mm.h: In function ‘pmd_trans_huge_lock’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1482:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1482 | TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~~ ./include/linux/huge_mm.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ssb_force_disable’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1484:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1484 | TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~~ ./include/linux/huge_mm.h: In function ‘pud_trans_huge_lock’: ./include/linux/huge_mm.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_force_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1485:1: note: in expansion of macro ‘TASK_PFA_SET’ 1485 | TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~ ./include/linux/huge_mm.h: In function ‘hpage_nr_pages’: In file included from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/notifier.h: In function ‘notifier_from_errno’: ./include/linux/huge_mm.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ib_disable’: ./include/linux/notifier.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1487:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1487 | TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~ ./include/linux/notifier.h: In function ‘notifier_to_errno’: ./include/linux/notifier.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ib_disable’: ./include/linux/huge_mm.h: In function ‘is_huge_zero_page’: ./include/linux/huge_mm.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1488:1: note: in expansion of macro ‘TASK_PFA_SET’ 1488 | TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spec_ib_disable’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1489:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1489 | TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~~ In file included from ./include/linux/mmzone.h:751, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/memory_hotplug.h: In function ‘zone_span_seqbegin’: ./include/linux/huge_mm.h: In function ‘is_huge_zero_pmd’: ./include/linux/huge_mm.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ib_force_disable’: ./include/linux/memory_hotplug.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1491:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1491 | TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~~ ./include/linux/memory_hotplug.h: In function ‘zone_span_seqretry’: ./include/linux/huge_mm.h: In function ‘is_huge_zero_pud’: ./include/linux/memory_hotplug.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/huge_mm.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ib_force_disable’: ./include/linux/memory_hotplug.h: In function ‘zone_span_writelock’: ./include/linux/memory_hotplug.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/huge_mm.h: In function ‘thp_migration_supported’: ./include/linux/huge_mm.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1492:1: note: in expansion of macro ‘TASK_PFA_SET’ 1492 | TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~ ./include/linux/memory_hotplug.h: In function ‘zone_span_writeunlock’: ./include/linux/memory_hotplug.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/sched.h: In function ‘current_restore_flags’: ./include/linux/memory_hotplug.h: In function ‘zone_seqlock_init’: ./include/linux/sched.h:1496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1496 | { | ^ ./include/linux/memory_hotplug.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm.h: In function ‘put_page_testzero’: ./include/linux/sched.h: In function ‘task_nice’: ./include/linux/sched.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/mm.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/memory_hotplug.h: In function ‘movable_node_is_enabled’: ./include/linux/memory_hotplug.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/mm.h: In function ‘get_page_unless_zero’: ./include/linux/sched.h: In function ‘is_idle_task’: ./include/linux/mm.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/sched.h:1554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1554 | { | ^ ./include/linux/mm.h: In function ‘is_vmalloc_addr’: ./include/linux/mm.h:583:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 583 | { | ^ ./include/linux/memory_hotplug.h: In function ‘arch_refresh_nodedata’: ./include/linux/memory_hotplug.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/sched.h: In function ‘task_thread_info’: ./include/linux/sched.h:1581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1581 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc’: ./include/linux/mm.h:603:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 603 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc_node’: ./include/linux/sched.h: In function ‘set_task_comm’: ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_lock’: ./include/linux/sched.h:1620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1620 | { | ^ ./include/linux/mm.h:607:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 607 | { | ^ ./include/linux/memory_hotplug.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_thread_flag’: ./include/linux/mm.h: In function ‘kvzalloc’: ./include/linux/mm.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/linux/sched.h:1646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1646 | { | ^ ./include/linux/sched.h: In function ‘clear_tsk_thread_flag’: ./include/linux/sched.h:1651:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1651 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc_array’: ./include/linux/mm.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/sched.h: In function ‘update_tsk_thread_flag’: ./include/linux/sched.h:1657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1657 | { | ^ ./include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’: ./include/linux/sched.h:1662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1662 | { | ^ ./include/linux/mm.h: In function ‘kvcalloc’: ./include/linux/mm.h:626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 626 | { | ^ ./include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’: ./include/linux/sched.h:1667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1667 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount_ptr’: ./include/linux/sched.h: In function ‘test_tsk_thread_flag’: ./include/linux/mm.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/sched.h:1672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1672 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_need_resched’: ./include/linux/mm.h: In function ‘compound_mapcount’: ./include/linux/mm.h:638:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 638 | { | ^ ./include/linux/sched.h:1677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1677 | { | ^ ./include/linux/sched.h: In function ‘clear_tsk_need_resched’: ./include/linux/sched.h:1682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1682 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount_reset’: ./include/linux/mm.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_need_resched’: ./include/linux/sched.h:1687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1687 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount’: ./include/linux/mm.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./include/linux/sched.h: In function ‘cond_resched_rcu’: ./include/linux/sched.h:1716:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1716 | { | ^ ./include/linux/mm.h: In function ‘virt_to_head_page’: ./include/linux/mm.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/sched.h: In function ‘spin_needbreak’: ./include/linux/sched.h:1730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1730 | { | ^ ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_unlock’: ./include/linux/memory_hotplug.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/sched.h: In function ‘need_resched’: ./include/linux/memory_hotplug.h: In function ‘pgdat_resize_init’: ./include/linux/sched.h:1739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1739 | { | ^ ./include/linux/memory_hotplug.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./include/linux/mm.h: In function ‘set_compound_page_dtor’: ./include/linux/mm.h:719:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 719 | { | ^ ./include/linux/sched.h: In function ‘task_cpu’: ./include/linux/mm.h: In function ‘get_compound_page_dtor’: ./include/linux/sched.h:1749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1749 | { | ^ ./include/linux/mm.h:725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 725 | { | ^ ./include/linux/mm.h: In function ‘compound_order’: ./include/linux/mm.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/mm.h: In function ‘set_compound_order’: ./include/linux/mm.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mmzone.h: In function ‘lruvec_pgdat’: ./include/linux/sched.h: In function ‘rseq_set_notify_resume’: ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/sched.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/mm.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/mmzone.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/sched.h: In function ‘rseq_handle_notify_resume’: ./include/linux/sched.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/mmzone.h: In function ‘local_memory_node’: ./include/linux/mmzone.h:799:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 799 | static inline int local_memory_node(int node_id) { return node_id; }; | ^~~~~~ ./include/linux/sched.h: In function ‘rseq_signal_deliver’: ./include/linux/sched.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/mmzone.h: In function ‘is_dev_zone’: ./include/linux/mm.h: In function ‘page_zonenum’: ./include/linux/mmzone.h:809:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 809 | { | ^ ./include/linux/mm.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/sched.h: In function ‘rseq_preempt’: ./include/linux/mmzone.h: In function ‘managed_zone’: ./include/linux/mmzone.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/sched.h:1835:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1835 | { | ^ ./include/linux/mm.h: In function ‘is_zone_device_page’: ./include/linux/mm.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./include/linux/mmzone.h: In function ‘populated_zone’: ./include/linux/sched.h: In function ‘rseq_migrate’: ./include/linux/mmzone.h:832:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 832 | { | ^ ./include/linux/sched.h:1842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1842 | { | ^ ./include/linux/mmzone.h: In function ‘zone_to_nid’: ./include/linux/mm.h: In function ‘put_devmap_managed_page’: ./include/linux/mmzone.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/sched.h: In function ‘rseq_fork’: ./include/linux/mm.h:896:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 896 | { | ^ ./include/linux/mmzone.h: In function ‘zone_set_nid’: ./include/linux/sched.h:1852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1852 | { | ^ ./include/linux/mmzone.h:843:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 843 | { | ^ ./include/linux/mmzone.h: In function ‘is_highmem_idx’: ./include/linux/mmzone.h:869:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 869 | { | ^ ./include/linux/sched.h: In function ‘rseq_execve’: ./include/linux/mmzone.h: In function ‘is_highmem’: ./include/linux/mmzone.h:885:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 885 | { | ^ ./include/linux/sched.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/mm.h: In function ‘is_device_private_page’: ./include/linux/mm.h:914:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 914 | { | ^ ./include/linux/sched.h: In function ‘exit_umh’: ./include/linux/sched.h:1905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1905 | { | ^ ./include/linux/mm.h: In function ‘is_device_public_page’: ./include/linux/mm.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/sched.h: In function ‘rseq_syscall’: ./include/linux/mm.h: In function ‘is_pci_p2pdma_page’: ./include/linux/sched.h:1917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1917 | { | ^ ./include/linux/mm.h:933:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 933 | { | ^ In file included from ./include/linux/ioprio.h:6, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/rt.h: In function ‘rt_prio’: ./include/linux/sched/rt.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/mm.h: In function ‘get_page’: ./include/linux/mm.h:973:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 973 | { | ^ ./include/linux/sched/rt.h: In function ‘rt_task’: ./include/linux/sched/rt.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/sched/rt.h: In function ‘task_is_realtime’: ./include/linux/mm.h: In function ‘try_get_page’: ./include/linux/sched/rt.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/mm.h:984:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 984 | { | ^ ./include/linux/sched/rt.h: In function ‘rt_mutex_get_top_task’: ./include/linux/sched/rt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/sched/rt.h: In function ‘tsk_is_pi_blocked’: ./include/linux/sched/rt.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/mm.h: In function ‘put_page’: ./include/linux/mm.h:993:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 993 | { | ^ In file included from ./include/linux/ioprio.h:7, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/iocontext.h: In function ‘get_io_context_active’: ./include/linux/iocontext.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/mm.h: In function ‘page_zone_id’: ./include/linux/mm.h:1022:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1022 | { | ^ ./include/linux/mm.h: In function ‘page_to_nid’: ./include/linux/mm.h:1030:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1030 | { | ^ ./include/linux/mm.h: In function ‘cpu_pid_to_cpupid’: ./include/linux/mm.h:1039:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1039 | { | ^ ./include/linux/iocontext.h: In function ‘ioc_task_link’: ./include/linux/iocontext.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_pid’: ./include/linux/mm.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_cpu’: ./include/linux/mm.h:1049:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1049 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_nid’: ./include/linux/mm.h:1054:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1054 | { | ^ In file included from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ioprio.h: In function ‘task_nice_ioprio’: ./include/linux/mm.h: In function ‘cpupid_pid_unset’: ./include/linux/mm.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/ioprio.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/mm.h: In function ‘cpupid_cpu_unset’: ./include/linux/ioprio.h: In function ‘task_nice_ioclass’: ./include/linux/ioprio.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/mm.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/mm.h: In function ‘__cpupid_match_pid’: ./include/linux/ioprio.h: In function ‘get_current_ioprio’: ./include/linux/mm.h:1069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1069 | { | ^ ./include/linux/ioprio.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_last’: ./include/linux/mm.h:1090:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1090 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_reset_last’: ./include/linux/mm.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag’: In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/mpspec.h: In function ‘get_smp_config’: ./include/linux/mm.h:1165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1165 | { | ^ ./arch/x86/include/asm/mpspec.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag_set’: ./include/linux/mm.h:1169:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | static inline void page_kasan_tag_set(struct page *page, u8 tag) { } | ^~~~ ./arch/x86/include/asm/mpspec.h: In function ‘early_get_smp_config’: ./include/linux/mm.h: In function ‘page_kasan_tag_reset’: ./include/linux/mm.h:1170:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1170 | static inline void page_kasan_tag_reset(struct page *page) { } | ^~~~ ./include/linux/mm.h: In function ‘page_zone’: ./include/linux/mm.h:1174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1174 | { | ^ ./include/linux/mm.h: In function ‘page_pgdat’: ./include/linux/mm.h:1179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1179 | { | ^ ./include/linux/fs.h: In function ‘break_lease’: ./include/linux/mm.h: In function ‘set_page_zone’: ./include/linux/mm.h:1197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1197 | { | ^ ./include/linux/fs.h:2416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2416 | { | ^ In file included from ./include/linux/quota.h:40, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/percpu_counter.h: In function ‘percpu_counter_compare’: ./include/linux/percpu_counter.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/mm.h: In function ‘set_page_node’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_add’: ./include/linux/percpu_counter.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/mm.h:1203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1203 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum_positive’: ./include/linux/percpu_counter.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/fs.h: In function ‘break_deleg’: ./include/linux/mm.h: In function ‘set_page_links’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum’: ./include/linux/fs.h:2430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2430 | { | ^ ./include/linux/percpu_counter.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/mm.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read’: ./include/linux/mm.h: In function ‘page_memcg’: ./include/linux/mm.h:1220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1220 | { | ^ ./include/linux/mm.h: In function ‘page_memcg_rcu’: ./include/linux/mm.h:1224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1224 | { | ^ ./include/linux/fs.h: In function ‘try_break_deleg’: ./include/linux/fs.h:2444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2444 | { | ^ ./include/linux/fs.h: In function ‘break_deleg_wait’: ./include/linux/fs.h:2456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2456 | { | ^ ./include/linux/fs.h: In function ‘break_layout’: ./include/linux/fs.h:2466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2466 | { | ^ In file included from ./include/linux/mm.h:1243, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/vmstat.h: In function ‘__count_vm_event’: ./include/linux/vmstat.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/fs.h: In function ‘file_clone_open’: ./include/linux/fs.h:2530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2530 | { | ^ ./include/linux/fs.h: In function ‘sb_is_blkdev_sb’: ./include/linux/fs.h:2579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2579 | { | ^ ./include/linux/fs.h: In function ‘register_chrdev’: ./include/linux/fs.h:2666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2666 | { | ^ ./include/linux/fs.h: In function ‘unregister_chrdev’: ./include/linux/fs.h:2671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2671 | { | ^ ./include/linux/fs.h: In function ‘invalidate_remote_inode’: ./include/linux/fs.h:2708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2708 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_event’: ./include/linux/vmstat.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/fs.h: In function ‘filemap_fdatawait’: ./include/linux/fs.h:2724:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2724 | { | ^ ./include/linux/fs.h: In function ‘file_write_and_wait’: ./include/linux/fs.h:2747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2747 | { | ^ ./include/linux/fs.h: In function ‘filemap_set_wb_err’: ./include/linux/fs.h:2766:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2766 | { | ^ ./include/linux/fs.h: In function ‘filemap_check_wb_err’: ./include/linux/fs.h:2784:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2784 | { | ^ ./include/linux/fs.h: In function ‘filemap_sample_wb_err’: ./include/linux/fs.h:2796:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2796 | { | ^ ./include/linux/fs.h: In function ‘generic_write_sync’: ./arch/x86/include/asm/mpspec.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/percpu_counter.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read_positive’: ./include/linux/percpu_counter.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘find_smp_config’: ./arch/x86/include/asm/mpspec.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_initialized’: ./include/linux/percpu_counter.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_inc’: ./include/linux/percpu_counter.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_dec’: ./include/linux/percpu_counter.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_coerce’: ./include/linux/percpu_counter.h: In function ‘percpu_counter_sub’: ./arch/x86/include/asm/mpspec.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/percpu_counter.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physids_promote’: ./arch/x86/include/asm/mpspec.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/mpspec.h: In function ‘physid_set_mask_of_physid’: ./arch/x86/include/asm/mpspec.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/vmstat.h: In function ‘__count_vm_events’: ./include/linux/vmstat.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ In file included from ./include/linux/dqblk_v2.h:9, from ./include/linux/quota.h:44, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dqblk_qtree.h: In function ‘qtree_depth’: In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/topology.h: In function ‘early_cpu_to_node’: ./include/linux/dqblk_qtree.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/topology.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ In file included from ./include/linux/quota.h:48, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/projid.h: In function ‘__kprojid_val’: ./include/linux/projid.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/projid.h: In function ‘projid_eq’: ./include/linux/projid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/projid.h: In function ‘projid_lt’: ./arch/x86/include/asm/topology.h: In function ‘cpumask_of_node’: ./include/linux/projid.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./arch/x86/include/asm/topology.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/projid.h: In function ‘projid_valid’: ./include/linux/projid.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/projid.h: In function ‘projid_valid_eq’: ./include/linux/projid.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/projid.h: In function ‘kprojid_has_mapping’: In file included from ./arch/x86/include/asm/numa.h:7, from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/topology.h: In function ‘topology_max_smt_threads’: ./include/linux/projid.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./arch/x86/include/asm/topology.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./arch/x86/include/asm/topology.h: In function ‘arch_fix_phys_package_id’: ./arch/x86/include/asm/topology.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/quota.h: In function ‘make_kqid’: In file included from ./arch/x86/include/asm/acpi.h:28, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/numa.h: In function ‘set_apicid_to_node’: ./include/linux/quota.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./arch/x86/include/asm/numa.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_invalid’: ./include/linux/quota.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_events’: ./include/linux/vmstat.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_uid’: ./include/linux/quota.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_gid’: ./include/linux/quota.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_projid’: ./include/linux/quota.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/io.h: In function ‘readb’: ./include/linux/quota.h: In function ‘qid_has_mapping’: ./arch/x86/include/asm/io.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | build_mmio_read(readb, "b", unsigned char, "=q", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/quota.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./arch/x86/include/asm/io.h: In function ‘readw’: ./arch/x86/include/asm/io.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | build_mmio_read(readw, "w", unsigned short, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/quota.h: In function ‘info_dirty’: ./arch/x86/include/asm/io.h: In function ‘readl’: ./include/linux/quota.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./arch/x86/include/asm/io.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/quota.h: In function ‘dqstats_inc’: ./arch/x86/include/asm/io.h: In function ‘__readb’: ./include/linux/quota.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./arch/x86/include/asm/io.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | build_mmio_read(__readb, "b", unsigned char, "=q", ) | ^~~~~~~~~~~~~~~ ./include/linux/quota.h: In function ‘dqstats_dec’: ./include/linux/quota.h:278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 278 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readw’: ./arch/x86/include/asm/io.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | build_mmio_read(__readw, "w", unsigned short, "=r", ) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__readl’: ./arch/x86/include/asm/io.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | build_mmio_read(__readl, "l", unsigned int, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/fs.h:2810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2810 | { | ^ ./arch/x86/include/asm/io.h: In function ‘writeb’: ./arch/x86/include/asm/io.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | build_mmio_write(writeb, "b", unsigned char, "q", :"memory") | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘writew’: ./arch/x86/include/asm/io.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | build_mmio_write(writew, "w", unsigned short, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/fs.h: In function ‘execute_ok’: ./include/linux/fs.h:2833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2833 | { | ^ ./arch/x86/include/asm/io.h: In function ‘writel’: ./arch/x86/include/asm/io.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | build_mmio_write(writel, "l", unsigned int, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/fs.h: In function ‘file_start_write’: ./arch/x86/include/asm/io.h: In function ‘__writeb’: ./arch/x86/include/asm/io.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | build_mmio_write(__writeb, "b", unsigned char, "q", ) | ^~~~~~~~~~~~~~~~ ./include/linux/fs.h:2838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2838 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__writew’: ./arch/x86/include/asm/io.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | build_mmio_write(__writew, "w", unsigned short, "r", ) | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/io.h: In function ‘__writel’: ./arch/x86/include/asm/io.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | build_mmio_write(__writel, "l", unsigned int, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/fs.h: In function ‘file_start_write_trylock’: ./arch/x86/include/asm/io.h: In function ‘readq’: ./arch/x86/include/asm/io.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | build_mmio_read(readq, "q", u64, "=r", :"memory") | ^~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_numa_state_add’: ./include/linux/vmstat.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/fs.h:2845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2845 | { | ^ ./arch/x86/include/asm/io.h: In function ‘__readq’: ./arch/x86/include/asm/io.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | build_mmio_read(__readq, "q", u64, "=r", ) | ^~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘global_numa_state’: ./include/linux/vmstat.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/io.h: In function ‘writeq’: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./arch/x86/include/asm/io.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | build_mmio_write(writeq, "q", u64, "r", :"memory") | ^~~~~~~~~~~~~~~~ ./include/linux/vmstat.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/fs.h: In function ‘file_end_write’: ./arch/x86/include/asm/io.h: In function ‘__writeq’: ./arch/x86/include/asm/io.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | build_mmio_write(__writeq, "q", u64, "r", ) | ^~~~~~~~~~~~~~~~ ./include/linux/fs.h:2852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2852 | { | ^ ./arch/x86/include/asm/io.h: In function ‘virt_to_phys’: ./arch/x86/include/asm/io.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_add’: ./include/linux/vmstat.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./arch/x86/include/asm/io.h: In function ‘phys_to_virt’: ./include/linux/vmstat.h: In function ‘node_page_state_add’: ./arch/x86/include/asm/io.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/fs.h: In function ‘get_write_access’: ./include/linux/vmstat.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./arch/x86/include/asm/io.h: In function ‘isa_virt_to_bus’: ./include/linux/vmstat.h: In function ‘global_zone_page_state’: ./arch/x86/include/asm/io.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/vmstat.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/fs.h:2875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2875 | { | ^ ./include/linux/fs.h: In function ‘deny_write_access’: ./include/linux/vmstat.h: In function ‘global_node_page_state’: ./arch/x86/include/asm/io.h: In function ‘ioremap’: ./include/linux/vmstat.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./arch/x86/include/asm/io.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/fs.h:2879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2879 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state’: ./include/linux/vmstat.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/fs.h: In function ‘put_write_access’: ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/fs.h:2884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2884 | { | ^ ./include/linux/vmstat.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/fs.h: In function ‘allow_write_access’: ./include/linux/fs.h:2888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2888 | { | ^ ./include/linux/fs.h: In function ‘inode_is_open_for_write’: In file included from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/io.h: In function ‘sev_key_active’: ./arch/x86/include/asm/io.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/linux/fs.h:2893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2893 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | BUILDIO(b, b, char) | ^~~~~~~ ./include/linux/vmstat.h: In function ‘__mod_zone_freepage_state’: ./include/linux/vmstat.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘outb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm.h: In function ‘lowmem_page_address’: ./arch/x86/include/asm/io.h: In function ‘inb_p’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/mm.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/quota.h: In function ‘dquot_state_flag’: ./arch/x86/include/asm/io.h: In function ‘outsb’: ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/quota.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/quota.h: In function ‘dquot_generic_flag’: ./include/linux/quota.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/mm.h: In function ‘page_file_mapping’: ./arch/x86/include/asm/io.h: In function ‘insb’: ./include/linux/mm.h:1286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1286 | { | ^ ./arch/x86/include/asm/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/quota.h: In function ‘dquot_state_types’: ./include/linux/quota.h:502:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 502 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outw’: ./include/linux/mm.h: In function ‘page_index’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | BUILDIO(w, w, short) | ^~~~~~~ ./include/linux/mm.h:1300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1300 | { | ^ ./arch/x86/include/asm/io.h: In function ‘inw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘outw_p’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘inw_p’: ./include/linux/mm.h: In function ‘page_is_pfmemalloc’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/mm.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outsw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/mm.h: In function ‘set_page_pfmemalloc’: In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/fs.h: In function ‘is_sync_kiocb’: ./include/linux/mm.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/mm.h: In function ‘clear_page_pfmemalloc’: ./arch/x86/include/asm/io.h: In function ‘insw’: ./arch/x86/include/asm/io.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/mm.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/fs.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./arch/x86/include/asm/io.h: In function ‘outl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | BUILDIO(l, , int) | ^~~~~~~ ./arch/x86/include/asm/io.h: In function ‘inl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘outl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘inl_p’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./arch/x86/include/asm/io.h: In function ‘outsl’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/fs.h: In function ‘mapping_tagged’: ./arch/x86/include/asm/io.h: In function ‘insl’: ./include/linux/mm.h: In function ‘unmap_shared_mapping_range’: ./arch/x86/include/asm/io.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible ./include/linux/fs.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/mm.h:1530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1530 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_write’: ./include/linux/fs.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_write’: ./include/linux/fs.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_read’: ./include/linux/fs.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_read’: ./include/linux/fs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_count’: ./include/linux/fs.h: In function ‘mapping_mapped’: ./include/linux/fs.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/mm.h:1610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1610 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pages’: ./include/linux/mm.h:1615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1615 | { | ^ ./include/linux/fs.h: In function ‘mapping_writably_mapped’: ./include/linux/fs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pfns’: ./include/linux/fs.h: In function ‘mapping_map_writable’: ./include/linux/mm.h:1626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1626 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_dec’: ./include/linux/fs.h:2899:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2899 | { | ^ ./include/linux/mm.h: In function ‘cancel_dirty_page’: ./include/linux/mm.h:1654:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1654 | { | ^ ./include/linux/mm.h: In function ‘vma_is_anonymous’: ./include/linux/fs.h: In function ‘i_readcount_inc’: ./include/linux/mm.h:1664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1664 | { | ^ ./include/linux/fs.h:2904:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2904 | { | ^ ./include/linux/mm.h: In function ‘get_mm_counter’: ./include/linux/mm.h:1700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1700 | { | ^ ./include/linux/fs.h: In function ‘kernel_read_file_id_str’: ./include/linux/mm.h: In function ‘add_mm_counter’: ./include/linux/fs.h:2942:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2942 | { | ^ ./include/linux/mm.h:1715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1715 | { | ^ ./include/linux/mm.h: In function ‘inc_mm_counter’: ./include/linux/mm.h:1720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1720 | { | ^ ./include/linux/mm.h: In function ‘dec_mm_counter’: ./include/linux/mm.h:1725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1725 | { | ^ ./include/linux/mm.h: In function ‘mm_counter_file’: ./include/linux/mm.h:1731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1731 | { | ^ ./include/linux/fs.h: In function ‘generic_drop_inode’: ./include/linux/fs.h:2981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2981 | { | ^ ./include/linux/mm.h: In function ‘mm_counter’: ./include/linux/mm.h:1738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1738 | { | ^ ./include/linux/mm.h: In function ‘get_mm_rss’: In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/fs.h: In function ‘lockdep_annotate_inode_mutex_key’: ./include/linux/mm.h:1745:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1745 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_rss’: ./include/linux/fs.h:3008:60: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3008 | static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; | ^~~~~ ./include/linux/mm.h:1752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1752 | { | ^ ./include/linux/fs.h: In function ‘insert_inode_hash’: ./include/linux/fs.h:3027:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3027 | { | ^ ./include/linux/fs.h: In function ‘remove_inode_hash’: ./include/linux/mm.h: In function ‘get_mm_hiwater_vm’: ./include/linux/mm.h:1757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1757 | { | ^ ./include/linux/fs.h:3033:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3033 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_rss’: ./include/linux/mm.h:1762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1762 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_vm’: ./include/linux/fs.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/mm.h:1770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1770 | { | ^ ./include/linux/fs.h: In function ‘mapping_unmap_writable’: ./include/linux/mm.h: In function ‘reset_mm_hiwater_rss’: ./include/linux/fs.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/mm.h:1776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1776 | { | ^ ./include/linux/fs.h: In function ‘mapping_deny_writable’: ./include/linux/fs.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/mm.h: In function ‘setmax_mm_hiwater_rss’: ./include/linux/mm.h:1782:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1782 | { | ^ ./include/linux/fs.h: In function ‘mapping_allow_writable’: ./include/linux/fs.h:568:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 568 | { | ^ ./include/linux/fs.h: In function ‘uncached_acl_sentinel’: ./include/linux/mm.h: In function ‘get_locked_pte’: ./include/linux/fs.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/mm.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/fs.h: In function ‘is_uncached_acl’: ./include/linux/fs.h:595:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 595 | { | ^ ./include/linux/mm.h: In function ‘__p4d_alloc’: ./include/linux/mm.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_puds’: ./include/linux/mm.h:1839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1839 | { | ^ ./include/linux/fs.h: In function ‘i_blocksize’: ./include/linux/fs.h:718:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 718 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_puds’: ./include/linux/fs.h: In function ‘inode_unhashed’: ./include/linux/mm.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/fs.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/fs.h: In function ‘inode_fake_hash’: ./include/linux/fs.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/fs.h: In function ‘inode_lock’: ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/fs.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/linux/mm.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/fs.h: In function ‘inode_unlock’: ./include/linux/fs.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared’: ./include/linux/fs.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/fs.h: In function ‘inode_unlock_shared’: ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/fs.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/mm.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock’: ./include/linux/fs.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock_shared’: ./include/linux/fs.h:790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 790 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes_init’: ./include/linux/fs.h: In function ‘inode_is_locked’: ./include/linux/fs.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/linux/mm.h:1883:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1883 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_nested’: ./include/linux/fs.h:800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 800 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes’: ./include/linux/fs.h: In function ‘inode_lock_shared_nested’: ./include/linux/mm.h:1888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1888 | { | ^ ./include/linux/fs.h:805:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 805 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/fs.h: In function ‘i_size_read’: ./include/linux/fs.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/mm.h:1893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1893 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/fs.h: In function ‘i_size_write’: ./include/linux/fs.h:851:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 851 | { | ^ ./include/linux/mm.h:1898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1898 | { | ^ ./include/linux/fs.h: In function ‘iminor’: ./include/linux/fs.h:868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 868 | { | ^ ./include/linux/mm.h: In function ‘p4d_alloc’: ./include/linux/mm.h:1925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1925 | { | ^ ./include/linux/fs.h: In function ‘imajor’: ./include/linux/fs.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/mm.h: In function ‘pud_alloc’: ./include/linux/fs.h: In function ‘ra_has_index’: ./include/linux/mm.h:1932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1932 | { | ^ ./include/linux/fs.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/mm.h: In function ‘pmd_alloc’: ./include/linux/mm.h:1939:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1939 | { | ^ ./include/linux/fs.h: In function ‘blockdev_direct_IO’: ./include/linux/mm.h: In function ‘ptlock_cache_init’: ./include/linux/mm.h:1957:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1957 | { | ^ ./include/linux/fs.h:3123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3123 | { | ^ ./include/linux/mm.h: In function ‘ptlock_alloc’: ./include/linux/mm.h:1961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1961 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_begin’: ./include/linux/mm.h: In function ‘ptlock_free’: ./include/linux/fs.h:3139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3139 | { | ^ ./include/linux/mm.h:1966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1966 | { | ^ ./include/linux/mm.h: In function ‘ptlock_ptr’: ./include/linux/fs.h: In function ‘inode_dio_end’: ./include/linux/mm.h:1970:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1970 | { | ^ ./include/linux/mm.h: In function ‘pte_lockptr’: ./include/linux/fs.h:3151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3151 | { | ^ ./include/linux/mm.h:1976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1976 | { | ^ ./include/linux/mm.h: In function ‘ptlock_init’: ./include/linux/mm.h:1981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1981 | { | ^ ./include/linux/fs.h: In function ‘__inode_get_bytes’: ./include/linux/fs.h:3181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3181 | { | ^ ./include/linux/mm.h: In function ‘pgtable_init’: ./include/linux/mm.h:2010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2010 | { | ^ ./include/linux/fs.h: In function ‘vfs_stat’: ./include/linux/mm.h: In function ‘pgtable_page_ctor’: ./include/linux/fs.h:3196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3196 | { | ^ ./include/linux/mm.h:2016:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2016 | { | ^ ./include/linux/fs.h: In function ‘vfs_lstat’: ./include/linux/mm.h: In function ‘pgtable_page_dtor’: ./include/linux/fs.h:3201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3201 | { | ^ ./include/linux/mm.h:2025:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2025 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstatat’: ./include/linux/fs.h:3207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3207 | { | ^ ./include/linux/mm.h: In function ‘pmd_to_page’: ./include/linux/fs.h: In function ‘vfs_fstat’: ./include/linux/mm.h:2061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2061 | { | ^ ./include/linux/fs.h:3212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3212 | { | ^ ./include/linux/mm.h: In function ‘pmd_lockptr’: ./include/linux/mm.h:2067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2067 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_ctor’: ./include/linux/mm.h:2072:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2072 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_dtor’: ./include/linux/mm.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/mm.h: In function ‘pmd_lock’: ./include/linux/mm.h:2104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2104 | { | ^ ./include/linux/fs.h: In function ‘io_is_direct’: ./include/linux/mm.h: In function ‘pud_lockptr’: ./include/linux/mm.h:2117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2117 | { | ^ ./include/linux/mm.h: In function ‘pud_lock’: ./include/linux/mm.h:2122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2122 | { | ^ ./include/linux/fs.h: In function ‘get_file’: ./include/linux/fs.h:959:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 959 | { | ^ ./include/linux/mm.h: In function ‘__free_reserved_page’: ./include/linux/mm.h:2159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2159 | { | ^ ./include/linux/mm.h: In function ‘free_reserved_page’: ./include/linux/mm.h:2166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2166 | { | ^ ./include/linux/mm.h: In function ‘mark_page_reserved’: ./include/linux/mm.h:2172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2172 | { | ^ ./include/linux/mm.h: In function ‘free_initmem_default’: ./include/linux/mm.h:2184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2184 | { | ^ ./include/linux/mm.h: In function ‘get_num_physpages’: ./include/linux/mm.h:2192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2192 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/fs.h: In function ‘file_inode’: ./include/linux/fs.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/fs.h: In function ‘file_dentry’: ./include/linux/fs.h:1292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1292 | { | ^ ./include/linux/fs.h: In function ‘locks_lock_file_wait’: ./include/linux/fs.h:1297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1297 | { | ^ ./include/linux/mm.h: In function ‘vma_adjust’: ./include/linux/mm.h:2338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2338 | { | ^ ./include/linux/fs.h: In function ‘i_uid_read’: ./include/linux/mm.h: In function ‘check_data_rlimit’: ./include/linux/fs.h:1523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1523 | { | ^ ./include/linux/mm.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/fs.h: In function ‘i_gid_read’: ./include/linux/fs.h:1528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1528 | { | ^ ./include/linux/fs.h: In function ‘i_uid_write’: ./include/linux/fs.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/fs.h: In function ‘i_gid_write’: ./include/linux/mm.h: In function ‘do_mmap_pgoff’: ./include/linux/fs.h:1538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1538 | { | ^ ./include/linux/mm.h:2413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2413 | { | ^ ./include/linux/fs.h: In function ‘sb_end_write’: ./include/linux/mm.h: In function ‘mm_populate’: ./include/linux/fs.h:1565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1565 | { | ^ ./include/linux/mm.h:2421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2421 | { | ^ ./include/linux/mm.h: In function ‘vm_unmapped_area’: ./include/linux/fs.h:3314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3314 | { | ^ ./include/linux/mm.h:2461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2461 | { | ^ ./include/linux/fs.h: In function ‘vma_is_dax’: ./include/linux/fs.h:3319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3319 | { | ^ ./include/linux/fs.h: In function ‘vma_is_fsdax’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/mm.h: In function ‘find_vma_intersection’: ./include/linux/mm.h:2525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2525 | { | ^ ./include/linux/fs.h:3324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3324 | { | ^ ./include/linux/mm.h: In function ‘vm_start_gap’: In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/io.h: In function ‘readsb’: ./include/linux/mm.h:2534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2534 | { | ^ ./include/asm-generic/io.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/mm.h: In function ‘vm_end_gap’: ./include/linux/mm.h:2546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2546 | { | ^ ./include/asm-generic/io.h: In function ‘readsw’: ./include/asm-generic/io.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/mm.h: In function ‘vma_pages’: ./include/asm-generic/io.h: In function ‘readsl’: ./include/asm-generic/io.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/mm.h:2558:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2558 | { | ^ ./include/linux/mm.h: In function ‘find_exact_vma’: ./include/asm-generic/io.h: In function ‘readsq’: ./include/asm-generic/io.h:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ ./include/linux/mm.h:2565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2565 | { | ^ ./include/asm-generic/io.h: In function ‘writesb’: ./include/asm-generic/io.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/asm-generic/io.h: In function ‘writesw’: ./include/asm-generic/io.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/linux/mm.h: In function ‘range_in_vma’: ./include/asm-generic/io.h: In function ‘writesl’: ./include/asm-generic/io.h:422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 422 | { | ^ ./include/linux/mm.h:2576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2576 | { | ^ ./include/asm-generic/io.h: In function ‘writesq’: ./include/asm-generic/io.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/mm.h: In function ‘vmf_insert_page’: ./include/linux/mm.h:2615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2615 | { | ^ ./include/linux/fs.h: In function ‘sb_end_pagefault’: ./include/linux/fs.h:1577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1577 | { | ^ ./include/linux/fs.h: In function ‘sb_end_intwrite’: ./include/linux/fs.h:1589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1589 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write’: ./include/linux/fs.h:1613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1613 | { | ^ ./include/linux/mm.h: In function ‘vmf_error’: ./include/linux/fs.h: In function ‘sb_start_write_trylock’: ./include/linux/mm.h:2627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2627 | { | ^ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/io.h: In function ‘insb_p’: ./include/asm-generic/io.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/mm.h: In function ‘vm_fault_to_errno’: ./include/asm-generic/io.h: In function ‘insw_p’: ./include/asm-generic/io.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/mm.h:2655:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2655 | { | ^ ./include/linux/fs.h: In function ‘iocb_flags’: ./include/asm-generic/io.h: In function ‘insl_p’: ./include/asm-generic/io.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/fs.h:3338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3338 | { | ^ ./include/asm-generic/io.h: In function ‘outsb_p’: ./include/asm-generic/io.h:667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 667 | { | ^ ./include/asm-generic/io.h: In function ‘outsw_p’: ./include/asm-generic/io.h:676:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 676 | { | ^ ./include/asm-generic/io.h: In function ‘outsl_p’: ./include/asm-generic/io.h:685:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 685 | { | ^ ./include/linux/mm.h: In function ‘kernel_map_pages’: In file included from ./include/linux/vmalloc.h:8, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/llist.h: In function ‘init_llist_head’: ./include/linux/mm.h:2702:25: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2702 | kernel_map_pages(struct page *page, int numpages, int enable) {} | ^~~~ ./include/linux/llist.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/mm.h: In function ‘kernel_page_present’: ./include/linux/mm.h:2704:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2704 | static inline bool kernel_page_present(struct page *page) { return true; } | ^~~~ ./include/linux/llist.h: In function ‘llist_empty’: ./include/linux/mm.h: In function ‘debug_pagealloc_enabled’: ./include/linux/llist.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/mm.h:2707:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2707 | { | ^ ./include/linux/llist.h: In function ‘llist_next’: ./include/linux/fs.h: In function ‘kiocb_set_rw_flags’: ./include/linux/llist.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/llist.h: In function ‘llist_add’: ./include/linux/fs.h:3352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3352 | { | ^ ./include/linux/llist.h:220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | { | ^ ./include/linux/llist.h: In function ‘llist_del_all’: ./include/linux/llist.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/mm.h: In function ‘debug_guardpage_minorder’: ./include/linux/mm.h:2870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2870 | static inline unsigned int debug_guardpage_minorder(void) { return 0; } | ^~~~~~ ./include/linux/mm.h: In function ‘debug_guardpage_enabled’: ./include/linux/mm.h:2871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2871 | static inline bool debug_guardpage_enabled(void) { return false; } | ^~~~~~ ./include/linux/mm.h: In function ‘page_is_guard’: ./include/linux/mm.h:2872:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2872 | static inline bool page_is_guard(struct page *page) { return false; } | ^~~~ In file included from ./include/linux/vmalloc.h:10, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rbtree.h: In function ‘rb_link_node’: ./include/linux/rbtree.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_noncached_weak’: ./include/linux/rbtree.h: In function ‘rb_link_node_rcu’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:23:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/rbtree.h:116:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 116 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_modify_writecombine’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:40:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/fs.h:1618:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1618 | { | ^ ./include/linux/fs.h: In function ‘sb_start_pagefault’: ./include/linux/fs.h:1642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1642 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite’: ./include/linux/fs.h:1660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1660 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:21, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: ./include/linux/fs.h: In function ‘sb_start_intwrite_trylock’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:88:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/fs.h:1665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1665 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:134:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ In file included from ./include/linux/vmalloc.h:11, from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/overflow.h: In function ‘array_size’: ./include/linux/overflow.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘nv_page_fault_va’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:207:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/overflow.h: In function ‘array3_size’: ./include/linux/overflow.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/overflow.h: In function ‘__ab_c_size’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:23, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_typed_data’: ./include/linux/overflow.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_anon_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_setup’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/fs.h: In function ‘call_read_iter’: ./include/linux/fs.h:1868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1868 | { | ^ ./include/linux/fs.h: In function ‘call_write_iter’: ./include/linux/fs.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/fs.h: In function ‘call_mmap’: ./include/linux/fs.h:1879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1879 | { | ^ ./include/linux/fs.h: In function ‘sb_rdonly’: ./include/linux/fs.h:1994:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1994 | static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘HAS_UNMAPPED_ID’: ./include/linux/fs.h:2023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2023 | { | ^ ./include/linux/fs.h: In function ‘file_write_hint’: ./include/linux/fs.h:2028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2028 | { | ^ ./include/linux/fs.h: In function ‘ki_hint_validate’: ./include/linux/fs.h:2038:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2038 | { | ^ ./include/linux/fs.h: In function ‘init_sync_kiocb’: ./include/linux/fs.h:2047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2047 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty’: ./include/linux/fs.h:2146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2146 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty_sync’: ./include/linux/fs.h:2151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2151 | { | ^ ./include/linux/fs.h: In function ‘inode_inc_link_count’: ./include/linux/fs.h:2161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2161 | { | ^ ./include/linux/fs.h: In function ‘inode_dec_link_count’: ./include/linux/fs.h:2167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2167 | { | ^ ./include/linux/fs.h: In function ‘file_accessed’: ./include/linux/fs.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/fs.h: In function ‘parent_ino’: ./include/linux/fs.h:3373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3373 | { | ^ ./include/linux/fs.h: In function ‘__simple_attr_check_format’: ./include/linux/fs.h:3440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3440 | { | ^ ./include/linux/fs.h: In function ‘is_sxid’: ./include/linux/fs.h:3470:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3470 | { | ^ ./include/linux/fs.h: In function ‘check_sticky’: ./include/linux/fs.h:3475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3475 | { | ^ ./include/linux/fs.h: In function ‘inode_has_no_xattr’: ./include/linux/fs.h:3483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3483 | { | ^ ./include/linux/fs.h: In function ‘is_root_inode’: ./include/linux/fs.h:3489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3489 | { | ^ ./include/linux/fs.h: In function ‘dir_emit’: ./include/linux/fs.h: In function ‘mount_pseudo’: ./include/linux/fs.h:2274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2274 | { | ^ ./include/linux/fs.h: In function ‘__mandatory_lock’: ./include/linux/fs.h:2340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2340 | { | ^ In file included from ./include/linux/utsname.h:7, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kref.h: In function ‘kref_init’: ./include/linux/fs.h: In function ‘mandatory_lock’: ./include/linux/kref.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/fs.h:2350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2350 | { | ^ ./include/linux/kref.h: In function ‘kref_read’: ./include/linux/kref.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_locked’: ./include/linux/kref.h: In function ‘kref_get’: ./include/linux/kref.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/fs.h:2355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2355 | { | ^ ./include/linux/kref.h: In function ‘kref_put’: ./include/linux/kref.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/kref.h: In function ‘kref_put_mutex’: ./include/linux/kref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_truncate’: ./include/linux/kref.h: In function ‘kref_put_lock’: ./include/linux/kref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/fs.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/kref.h: In function ‘kref_get_unless_zero’: ./include/linux/kref.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/utsname.h:8, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/nsproxy.h: In function ‘put_nsproxy’: ./include/linux/fs.h: In function ‘break_lease’: ./include/linux/nsproxy.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/fs.h:2416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2416 | { | ^ ./include/linux/nsproxy.h: In function ‘get_nsproxy’: ./include/linux/nsproxy.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/fs.h: In function ‘break_deleg’: ./include/linux/fs.h:2430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2430 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/utsname.h: In function ‘get_uts_ns’: ./include/linux/utsname.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/utsname.h: In function ‘put_uts_ns’: ./include/linux/utsname.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/fs.h: In function ‘try_break_deleg’: ./include/linux/utsname.h: In function ‘utsname’: ./include/linux/utsname.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/fs.h:2444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2444 | { | ^ ./include/linux/utsname.h: In function ‘init_utsname’: ./include/linux/utsname.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/fs.h:3496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3496 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dot’: ./include/linux/fs.h:3500:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3500 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dotdot’: ./include/linux/fs.h:3505:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3505 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dots’: ./include/linux/fs.h:3510:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3510 | { | ^ ./include/linux/fs.h: In function ‘dir_relax’: ./include/linux/fs.h:3524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3524 | { | ^ ./include/linux/fs.h: In function ‘dir_relax_shared’: ./include/linux/fs.h:3531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3531 | { | ^ In file included from ./include/linux/umh.h:9, from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sysctl.h: In function ‘proc_sys_poll_event’: ./include/linux/sysctl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/huge_mm.h: In function ‘__transparent_hugepage_enabled’: ./include/linux/huge_mm.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/huge_mm.h: In function ‘split_huge_page’: ./include/linux/huge_mm.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ In file included from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/umh.h: In function ‘usermodehelper_disable’: ./include/linux/umh.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/fs.h: In function ‘break_deleg_wait’: ./include/linux/umh.h: In function ‘usermodehelper_enable’: ./include/linux/umh.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/fs.h:2456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2456 | { | ^ ./include/linux/fs.h: In function ‘break_layout’: ./include/linux/fs.h:2466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2466 | { | ^ In file included from ./arch/x86/include/asm/elf.h:13, from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_read_cpu’: ./arch/x86/include/asm/fsgsbase.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/fs.h: In function ‘file_clone_open’: ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_read_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./include/linux/fs.h:2530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2530 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_write_cpu’: ./arch/x86/include/asm/fsgsbase.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_write_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/fs.h: In function ‘sb_is_blkdev_sb’: ./include/linux/fs.h:2579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2579 | { | ^ In file included from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/elf.h: In function ‘elf_common_init’: ./arch/x86/include/asm/elf.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/fs.h: In function ‘register_chrdev’: ./include/linux/fs.h:2666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2666 | { | ^ ./arch/x86/include/asm/elf.h: In function ‘mmap_is_ia32’: ./include/linux/fs.h: In function ‘unregister_chrdev’: ./arch/x86/include/asm/elf.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/fs.h:2671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2671 | { | ^ ./include/linux/fs.h: In function ‘invalidate_remote_inode’: In file included from ./include/asm-generic/io.h:894, from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/vmalloc.h: In function ‘get_vm_area_size’: ./include/linux/vmalloc.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/fs.h:2708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2708 | { | ^ ./include/linux/fs.h: In function ‘filemap_fdatawait’: ./include/linux/fs.h:2724:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2724 | { | ^ In file included from ./arch/x86/include/asm/io.h:383, from ./arch/x86/include/asm/realmode.h:15, from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/io.h: In function ‘xlate_dev_kmem_ptr’: ./include/linux/huge_mm.h: In function ‘is_swap_pmd’: ./include/linux/huge_mm.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/asm-generic/io.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./include/linux/huge_mm.h: In function ‘pmd_trans_huge_lock’: ./include/linux/huge_mm.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ In file included from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_size’: ./include/linux/elf.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | static inline int elf_coredump_extra_notes_size(void) { return 0; } | ^~~~~~ ./include/linux/huge_mm.h: In function ‘pud_trans_huge_lock’: ./include/linux/huge_mm.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_write’: ./include/linux/elf.h:54:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; } | ^~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/acpi.h:33, from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: ./include/linux/huge_mm.h: In function ‘hpage_nr_pages’: ./arch/x86/include/asm/realmode.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/huge_mm.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ In file included from ./include/linux/kernfs.h:14, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/idr.h: In function ‘idr_get_cursor’: ./include/linux/huge_mm.h: In function ‘is_huge_zero_page’: ./include/linux/idr.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/huge_mm.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ In file included from ./arch/x86/include/asm/fixmap.h:29, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/acpi.h: In function ‘disable_acpi’: ./arch/x86/include/asm/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pmd’: ./include/linux/idr.h: In function ‘idr_set_cursor’: ./include/linux/huge_mm.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/idr.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_noirq_set’: ./arch/x86/include/asm/acpi.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | ^~~~~~ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pud’: ./arch/x86/include/asm/acpi.h: In function ‘acpi_disable_pci’: ./include/linux/huge_mm.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./arch/x86/include/asm/acpi.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/huge_mm.h: In function ‘thp_migration_supported’: ./arch/x86/include/asm/acpi.h: In function ‘acpi_processor_cstate_check’: ./include/linux/huge_mm.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./arch/x86/include/asm/acpi.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/idr.h: In function ‘idr_init_base’: ./include/linux/idr.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm.h: In function ‘put_page_testzero’: ./include/linux/idr.h: In function ‘idr_init’: ./include/linux/idr.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/mm.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/idr.h: In function ‘idr_is_empty’: ./include/linux/idr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/mm.h: In function ‘get_page_unless_zero’: ./include/linux/idr.h: In function ‘idr_preload_end’: ./include/linux/mm.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/idr.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/mm.h: In function ‘is_vmalloc_addr’: ./include/linux/mm.h:583:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 583 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc’: ./include/linux/idr.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc’: ./include/linux/mm.h:603:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 603 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_min’: ./include/linux/idr.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc_node’: ./include/linux/mm.h:607:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 607 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_max’: ./arch/x86/include/asm/acpi.h: In function ‘arch_has_acpi_pdc’: ./include/linux/idr.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./arch/x86/include/asm/acpi.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc’: ./include/linux/mm.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/linux/idr.h: In function ‘ida_init’: ./include/linux/idr.h:293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 293 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc_array’: ./include/linux/mm.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/idr.h: In function ‘ida_is_empty’: ./arch/x86/include/asm/acpi.h: In function ‘arch_acpi_set_pdc_bits’: ./include/linux/idr.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./arch/x86/include/asm/acpi.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/mm.h: In function ‘kvcalloc’: ./include/linux/mm.h:626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 626 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount_ptr’: ./include/linux/mm.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount’: ./include/linux/fs.h: In function ‘file_write_and_wait’: ./include/linux/fs.h:2747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2747 | { | ^ In file included from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kernfs.h: In function ‘kernfs_type’: ./include/linux/fs.h: In function ‘filemap_set_wb_err’: ./include/linux/kernfs.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./include/linux/fs.h:2766:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2766 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_enable_ns’: ./include/linux/kernfs.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/fs.h: In function ‘filemap_check_wb_err’: ./include/linux/fs.h:2784:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2784 | { | ^ ./include/linux/fs.h: In function ‘filemap_sample_wb_err’: ./include/linux/fs.h:2796:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2796 | { | ^ ./include/linux/fs.h: In function ‘generic_write_sync’: ./include/linux/fs.h:2810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2810 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_ns_enabled’: ./include/linux/kernfs.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/fs.h: In function ‘execute_ok’: ./include/linux/fs.h:2833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2833 | { | ^ ./include/linux/fs.h: In function ‘file_start_write’: ./include/linux/fs.h:2838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2838 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_path’: ./include/linux/kernfs.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_find_and_get’: ./include/linux/kernfs.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_walk_and_get’: ./include/linux/kernfs.h:499:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 499 | { | ^ ./include/linux/fs.h: In function ‘file_start_write_trylock’: ./include/linux/kernfs.h: In function ‘kernfs_create_dir’: ./include/linux/kernfs.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/fs.h:2845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2845 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file_ns’: ./include/linux/kernfs.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_has_cpu_in_madt’: ./arch/x86/include/asm/acpi.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file’: ./include/linux/kernfs.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./arch/x86/include/asm/acpi.h: In function ‘acpi_arch_get_root_pointer’: ./include/linux/fs.h: In function ‘file_end_write’: ./arch/x86/include/asm/acpi.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_remove_by_name’: ./arch/x86/include/asm/acpi.h: In function ‘arch_apei_get_mem_attribute’: ./include/linux/fs.h:2852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2852 | { | ^ ./include/linux/kernfs.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./arch/x86/include/asm/acpi.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_rename’: ./include/linux/kernfs.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_mount’: ./include/linux/kernfs.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/fs.h: In function ‘get_write_access’: ./include/linux/mm.h:638:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 638 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount_reset’: ./include/linux/mm.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount’: ./include/linux/mm.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./include/linux/mm.h: In function ‘virt_to_head_page’: ./include/linux/mm.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/mm.h: In function ‘set_compound_page_dtor’: ./include/linux/mm.h:719:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 719 | { | ^ In file included from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sysfs.h: In function ‘sysfs_enable_ns’: ./include/linux/mm.h: In function ‘get_compound_page_dtor’: ./include/linux/mm.h:725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 725 | { | ^ ./include/linux/sysfs.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/mm.h: In function ‘compound_order’: ./include/linux/mm.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_create_file’: ./include/linux/sysfs.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/mm.h: In function ‘set_compound_order’: ./include/linux/mm.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_remove_file’: ./include/linux/sysfs.h:518:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 518 | { | ^ ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/mm.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_rename_link’: ./include/linux/sysfs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_notify_dirent’: ./include/linux/sysfs.h:529:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 529 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get_dirent’: ./include/linux/mm.h: In function ‘page_zonenum’: ./include/linux/sysfs.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/mm.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get’: ./include/linux/sysfs.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_put’: ./include/linux/mm.h: In function ‘is_zone_device_page’: ./include/linux/sysfs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/mm.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./include/linux/mm.h: In function ‘put_devmap_managed_page’: ./include/linux/mm.h:896:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 896 | { | ^ In file included from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kobject.h: In function ‘kobject_name’: ./include/linux/kobject.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/mm.h: In function ‘is_device_private_page’: ./include/linux/mm.h:914:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 914 | { | ^ ./include/linux/kobject.h: In function ‘kobject_has_children’: ./include/linux/kobject.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/mm.h: In function ‘is_device_public_page’: ./include/linux/mm.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/mm.h: In function ‘is_pci_p2pdma_page’: ./include/linux/mm.h:933:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 933 | { | ^ ./include/linux/mm.h: In function ‘get_page’: ./include/linux/mm.h:973:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 973 | { | ^ ./include/linux/mm.h: In function ‘try_get_page’: ./include/linux/mm.h:984:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 984 | { | ^ ./include/linux/kobject.h: In function ‘to_kset’: ./include/linux/kobject.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/fs.h:2875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2875 | { | ^ ./include/linux/fs.h: In function ‘deny_write_access’: ./include/linux/kobject.h: In function ‘kset_get’: ./include/linux/kobject.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/fs.h:2879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2879 | { | ^ ./include/linux/kobject.h: In function ‘kset_put’: ./include/linux/fs.h: In function ‘put_write_access’: ./include/linux/kobject.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/kobject.h: In function ‘get_ktype’: ./include/linux/kobject.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/fs.h:2884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2884 | { | ^ ./include/linux/fs.h: In function ‘allow_write_access’: ./include/linux/fs.h:2888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2888 | { | ^ ./include/linux/fs.h: In function ‘inode_is_open_for_write’: ./include/linux/fs.h:2893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2893 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_dec’: ./include/linux/fs.h:2899:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2899 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_inc’: ./include/linux/fs.h:2904:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2904 | { | ^ In file included from ./include/linux/module.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rbtree_latch.h: In function ‘__lt_from_rb’: ./include/linux/fs.h: In function ‘kernel_read_file_id_str’: ./include/linux/rbtree_latch.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/fs.h:2942:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2942 | { | ^ ./include/linux/rbtree_latch.h: In function ‘__lt_insert’: ./include/linux/rbtree_latch.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/rbtree_latch.h: In function ‘__lt_erase’: ./include/linux/rbtree_latch.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/fs.h: In function ‘generic_drop_inode’: ./include/linux/rbtree_latch.h: In function ‘__lt_find’: ./include/linux/rbtree_latch.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/fs.h:2981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2981 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/fs.h: In function ‘lockdep_annotate_inode_mutex_key’: ./include/linux/rbtree_latch.h: In function ‘latch_tree_insert’: ./include/linux/rbtree_latch.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/mm.h: In function ‘put_page’: ./include/linux/rbtree_latch.h: In function ‘latch_tree_erase’: ./include/linux/mm.h:993:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 993 | { | ^ ./include/linux/rbtree_latch.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_find’: ./include/linux/rbtree_latch.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/mm.h: In function ‘page_zone_id’: ./include/linux/mm.h:1022:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1022 | { | ^ ./include/linux/mm.h: In function ‘page_to_nid’: ./include/linux/mm.h:1030:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1030 | { | ^ ./include/linux/mm.h: In function ‘cpu_pid_to_cpupid’: ./include/linux/mm.h:1039:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1039 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_pid’: ./include/linux/mm.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_cpu’: ./include/linux/mm.h:1049:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1049 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_nid’: ./include/linux/mm.h:1054:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1054 | { | ^ ./include/linux/mm.h: In function ‘cpupid_pid_unset’: ./include/linux/mm.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/mm.h: In function ‘cpupid_cpu_unset’: ./include/linux/mm.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/mm.h: In function ‘__cpupid_match_pid’: ./include/linux/mm.h:1069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1069 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_last’: ./include/linux/mm.h:1090:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1090 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/module.h: In function ‘kallsyms_symbol_value’: ./include/linux/mm.h: In function ‘page_cpupid_reset_last’: ./include/linux/mm.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/module.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/module.h: In function ‘module_is_live’: ./include/linux/module.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag’: ./include/linux/mm.h:1165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1165 | { | ^ ./include/linux/module.h: In function ‘within_module_core’: ./include/linux/mm.h: In function ‘page_kasan_tag_set’: ./include/linux/module.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/mm.h:1169:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | static inline void page_kasan_tag_set(struct page *page, u8 tag) { } | ^~~~ ./include/linux/mm.h: In function ‘page_kasan_tag_reset’: ./include/linux/module.h: In function ‘within_module_init’: ./include/linux/mm.h:1170:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1170 | static inline void page_kasan_tag_reset(struct page *page) { } | ^~~~ ./include/linux/module.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/mm.h: In function ‘page_zone’: ./include/linux/mm.h:1174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1174 | { | ^ ./include/linux/module.h: In function ‘within_module’: ./include/linux/module.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/mm.h: In function ‘page_pgdat’: ./include/linux/mm.h:1179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1179 | { | ^ ./include/linux/mm.h: In function ‘set_page_zone’: ./include/linux/mm.h:1197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1197 | { | ^ ./include/linux/mm.h: In function ‘set_page_node’: ./include/linux/module.h: In function ‘module_requested_async_probing’: ./include/linux/mm.h:1203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1203 | { | ^ ./include/linux/module.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/fs.h:3008:60: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3008 | static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; | ^~~~~ ./include/linux/module.h: In function ‘is_livepatch_module’: ./include/linux/module.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/fs.h: In function ‘insert_inode_hash’: ./include/linux/fs.h:3027:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3027 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/module.h: In function ‘module_sig_ok’: ./include/linux/module.h:842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 842 | { | ^ ./include/linux/fs.h: In function ‘remove_inode_hash’: ./include/linux/fs.h:3033:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3033 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:89, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ctype.h: In function ‘isdigit’: ./include/linux/ctype.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/ctype.h: In function ‘__tolower’: ./include/linux/ctype.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/ctype.h: In function ‘__toupper’: ./include/linux/ctype.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/ctype.h: In function ‘_tolower’: ./include/linux/ctype.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/fs.h: In function ‘blockdev_direct_IO’: ./include/linux/ctype.h: In function ‘isodigit’: ./include/linux/ctype.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/fs.h:3123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3123 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_begin’: ./include/linux/fs.h:3139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3139 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_end’: ./include/linux/fs.h:3151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3151 | { | ^ ./include/linux/fs.h: In function ‘__inode_get_bytes’: ./include/linux/fs.h:3181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3181 | { | ^ ./include/linux/fs.h: In function ‘vfs_stat’: ./include/linux/fs.h:3196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3196 | { | ^ ./include/linux/fs.h: In function ‘vfs_lstat’: ./include/linux/fs.h:3201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3201 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstatat’: In file included from ./include/linux/cpufreq.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/clk.h: In function ‘clk_prepare_enable’: ./include/linux/fs.h:3207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3207 | { | ^ ./include/linux/clk.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstat’: ./include/linux/clk.h: In function ‘clk_disable_unprepare’: ./include/linux/clk.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_prepare_enable’: ./include/linux/clk.h:845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 845 | { | ^ ./include/linux/mm.h: In function ‘set_page_links’: ./include/linux/mm.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_disable_unprepare’: ./include/linux/clk.h:860:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 860 | { | ^ ./include/linux/mm.h: In function ‘page_memcg’: ./include/linux/clk.h: In function ‘of_clk_get’: ./include/linux/mm.h:1220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1220 | { | ^ ./include/linux/clk.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/mm.h: In function ‘page_memcg_rcu’: ./include/linux/clk.h: In function ‘of_clk_get_by_name’: ./include/linux/clk.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/linux/mm.h:1224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1224 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_from_provider’: ./include/linux/clk.h:880:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 880 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/cpufreq.h: In function ‘policy_is_shared’: ./include/linux/cpufreq.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ In file included from ./include/linux/mm.h:1243, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/vmstat.h: In function ‘__count_vm_event’: ./include/linux/vmstat.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_limits’: ./include/linux/cpufreq.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_cpu_limits’: ./include/linux/cpufreq.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_scale’: ./include/linux/cpufreq.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_policy_apply_limits’: ./include/linux/cpufreq.h:536:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_this_cpu_can_update’: ./include/linux/cpufreq.h:567:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 567 | { | ^ ./include/linux/fs.h:3212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3212 | { | ^ ./include/linux/fs.h: In function ‘io_is_direct’: ./include/linux/fs.h:3314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3314 | { | ^ ./include/linux/fs.h: In function ‘vma_is_dax’: ./include/linux/fs.h:3319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3319 | { | ^ ./include/linux/fs.h: In function ‘vma_is_fsdax’: ./include/linux/fs.h:3324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3324 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_al’: ./include/linux/cpufreq.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/fs.h: In function ‘iocb_flags’: ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dl’: ./include/linux/cpufreq.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/fs.h:3338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3338 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_l’: ./include/linux/cpufreq.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_event’: ./include/linux/vmstat.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ah’: ./include/linux/cpufreq.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dh’: ./include/linux/cpufreq.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_h’: ./include/linux/cpufreq.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ ./include/linux/fs.h: In function ‘kiocb_set_rw_flags’: ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ac’: In file included from ./include/asm-generic/fixmap.h:19, from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm_types.h: In function ‘mm_init_cpumask’: ./include/linux/cpufreq.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/fs.h:3352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3352 | { | ^ ./include/linux/mm_types.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/mm_types.h: In function ‘mm_cpumask’: ./include/linux/mm_types.h:523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 523 | { | ^ ./include/linux/mm_types.h: In function ‘init_tlb_flush_pending’: ./include/linux/mm_types.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dc’: ./include/linux/cpufreq.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/mm_types.h: In function ‘inc_tlb_flush_pending’: ./include/linux/mm_types.h:539:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 539 | { | ^ ./include/linux/mm_types.h: In function ‘dec_tlb_flush_pending’: ./include/linux/mm_types.h:580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 580 | { | ^ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_pending’: ./include/linux/mm_types.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/mm_types.h: In function ‘mm_tlb_flush_nested’: ./include/linux/mm_types.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_c’: ./include/linux/cpufreq.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ In file included from ./arch/x86/include/asm/fixmap.h:193, from ./arch/x86/include/asm/apic.h:10, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/fixmap.h: In function ‘fix_to_virt’: ./include/asm-generic/fixmap.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/asm-generic/fixmap.h: In function ‘virt_to_fix’: ./include/asm-generic/fixmap.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/fs.h: In function ‘parent_ino’: ./include/linux/fs.h:3373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3373 | { | ^ ./include/linux/vmstat.h: In function ‘__count_vm_events’: ./include/linux/vmstat.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ In file included from ./arch/x86/include/asm/apic.h:13, from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_set_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_frequency_table_target’: ./include/linux/cpufreq.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_count_valid_entries’: ./include/linux/cpufreq.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/cpufreq.h: In function ‘sched_cpufreq_governor_change’: ./include/linux/cpufreq.h:950:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | struct cpufreq_governor *old_gov) { } | ^~~~~~~~~~~~~~~~ ./arch/x86/include/asm/hardirq.h: In function ‘kvm_clear_cpu_l1tf_flush_l1d’: ./arch/x86/include/asm/hardirq.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ In file included from ./include/linux/slab.h:131, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/kasan.h: In function ‘kasan_unpoison_shadow’: ./include/linux/kasan.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | static inline void kasan_unpoison_shadow(const void *address, size_t size) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_task_stack’: ./include/linux/kasan.h:90:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | static inline void kasan_unpoison_task_stack(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_stack_above_sp_to’: ./include/linux/kasan.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | static inline void kasan_unpoison_stack_above_sp_to(const void *watermark) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_enable_current’: ./include/linux/kasan.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void kasan_enable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_disable_current’: ./include/linux/kasan.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void kasan_disable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_alloc_pages’: ./include/linux/kasan.h:96:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | static inline void kasan_alloc_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_free_pages’: ./include/linux/kasan.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | static inline void kasan_free_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_cache_create’: ./include/linux/kasan.h:101:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | slab_flags_t *flags) {} | ^~~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_poison_slab’: ./include/linux/kasan.h:103:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void kasan_poison_slab(struct page *page) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_object_data’: ./include/linux/kasan.h:105:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_poison_object_data’: ./include/linux/kasan.h:107:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_init_slab_obj’: ./include/linux/kasan.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_events’: ./arch/x86/include/asm/hardirq.h: In function ‘kvm_get_cpu_l1tf_flush_l1d’: ./include/linux/vmstat.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/hardirq.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kmalloc_large’: ./include/linux/kasan.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kfree_large’: ./include/linux/kasan.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_poison_kfree’: ./include/linux/kasan.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_kmalloc’: ./include/linux/kasan.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/kasan.h: In function ‘kasan_krealloc’: ./include/linux/kasan.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_alloc’: ./include/linux/kasan.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_free’: ./include/linux/kasan.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/kasan.h: In function ‘kasan_module_alloc’: ./include/linux/kasan.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | static inline int kasan_module_alloc(void *addr, size_t size) { return 0; } | ^~~~~~ ./include/linux/fs.h: In function ‘__simple_attr_check_format’: ./include/linux/kasan.h: In function ‘kasan_free_shadow’: ./include/linux/kasan.h:143:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | static inline void kasan_free_shadow(const struct vm_struct *vm) {} | ^~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_add_zero_shadow’: ./include/linux/kasan.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/fs.h:3440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3440 | { | ^ ./include/linux/kasan.h: In function ‘kasan_remove_zero_shadow’: ./include/linux/kasan.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | {} | ^ ./include/linux/kasan.h: In function ‘kasan_unpoison_slab’: ./include/linux/kasan.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | static inline void kasan_unpoison_slab(const void *ptr) { } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_metadata_size’: ./include/linux/kasan.h:154:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shrink’: ./include/linux/fs.h: In function ‘is_sxid’: ./include/linux/kasan.h:167:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | static inline void kasan_cache_shrink(struct kmem_cache *cache) {} | ^~~~~~~~~~ In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/apic.h: In function ‘generic_apic_probe’: ./include/linux/kasan.h: In function ‘kasan_cache_shutdown’: ./include/linux/kasan.h:168:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./arch/x86/include/asm/apic.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/kasan.h: In function ‘kasan_init_tags’: ./include/linux/kasan.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | static inline void kasan_init_tags(void) { } | ^~~~~~ ./include/linux/fs.h:3470:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3470 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘default_inquire_remote_apic’: ./include/linux/kasan.h: In function ‘kasan_reset_tag’: ./arch/x86/include/asm/apic.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/kasan.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/fs.h: In function ‘check_sticky’: ./arch/x86/include/asm/apic.h: In function ‘apic_from_smp_config’: ./arch/x86/include/asm/apic.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/fs.h:3475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3475 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_write’: ./arch/x86/include/asm/apic.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/slab.h: In function ‘kmalloc_type’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_mem_read’: ./arch/x86/include/asm/apic.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/slab.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/fs.h: In function ‘inode_has_no_xattr’: ./arch/x86/include/asm/apic.h: In function ‘apic_is_x2apic_enabled’: ./arch/x86/include/asm/apic.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_index’: ./include/linux/slab.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/fs.h:3483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3483 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_force_enable’: ./include/linux/fs.h: In function ‘is_root_inode’: ./arch/x86/include/asm/apic.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/fs.h:3489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3489 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_wrmsr_fence’: ./arch/x86/include/asm/apic.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/fs.h: In function ‘dir_emit’: ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_write’: ./arch/x86/include/asm/apic.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/fs.h:3496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3496 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_eoi_write’: ./include/linux/fs.h: In function ‘dir_emit_dot’: ./arch/x86/include/asm/apic.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_apic_msr_read’: ./arch/x86/include/asm/apic.h:218:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 218 | { | ^ ./include/linux/fs.h:3500:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3500 | { | ^ ./include/linux/slab.h: In function ‘kfree_bulk’: ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_wait_icr_idle’: ./include/linux/slab.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./arch/x86/include/asm/apic.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dotdot’: ./arch/x86/include/asm/apic.h: In function ‘native_safe_x2apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_write’: ./include/linux/fs.h:3505:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3505 | { | ^ ./arch/x86/include/asm/apic.h:241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 241 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘native_x2apic_icr_read’: ./include/linux/fs.h: In function ‘dir_emit_dots’: ./arch/x86/include/asm/apic.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_large’: ./include/linux/slab.h:478:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 478 | { | ^ ./include/linux/fs.h:3510:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3510 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘x2apic_enabled’: ./arch/x86/include/asm/apic.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_read’: ./arch/x86/include/asm/apic.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_write’: ./arch/x86/include/asm/apic.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_eoi’: ./arch/x86/include/asm/apic.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./include/linux/slab.h: In function ‘kmalloc’: ./include/linux/slab.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_size’: ./include/linux/slab.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_node’: ./include/linux/slab.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/vmstat.h: In function ‘zone_numa_state_add’: ./include/linux/vmstat.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array’: ./include/linux/slab.h:663:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 663 | { | ^ ./include/linux/vmstat.h: In function ‘global_numa_state’: ./include/linux/vmstat.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/vmstat.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/slab.h: In function ‘kcalloc’: ./include/linux/slab.h:680:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 680 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array_node’: ./include/linux/slab.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_add’: ./include/linux/vmstat.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/vmstat.h: In function ‘node_page_state_add’: ./include/linux/vmstat.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/vmstat.h: In function ‘global_zone_page_state’: ./include/linux/vmstat.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/slab.h: In function ‘kcalloc_node’: ./include/linux/slab.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/vmstat.h: In function ‘global_node_page_state’: ./include/linux/vmstat.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/slab.h: In function ‘kmem_cache_zalloc’: ./include/linux/slab.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state’: ./include/linux/vmstat.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/slab.h: In function ‘kzalloc’: ./include/linux/slab.h:741:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 741 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/vmstat.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/slab.h: In function ‘kzalloc_node’: ./include/linux/slab.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:12, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/smap.h: In function ‘clac’: ./arch/x86/include/asm/smap.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/smap.h: In function ‘stac’: ./arch/x86/include/asm/smap.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/vmstat.h: In function ‘__mod_zone_freepage_state’: ./include/linux/vmstat.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm.h: In function ‘lowmem_page_address’: In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: ./include/linux/mm.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./arch/x86/include/asm/uaccess.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/uaccess.h: In function ‘__chk_range_not_ok’: ./include/linux/mm.h: In function ‘page_file_mapping’: ./arch/x86/include/asm/uaccess.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/mm.h:1286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1286 | { | ^ ./include/linux/mm.h: In function ‘page_index’: ./include/linux/mm.h:1300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1300 | { | ^ ./include/linux/mm.h: In function ‘page_is_pfmemalloc’: ./include/linux/mm.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/mm.h: In function ‘set_page_pfmemalloc’: ./include/linux/mm.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/mm.h: In function ‘clear_page_pfmemalloc’: ./include/linux/mm.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/fs.h: In function ‘dir_relax’: ./include/linux/fs.h:3524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3524 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:695, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_user_generic’: ./arch/x86/include/asm/uaccess_64.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/fs.h: In function ‘dir_relax_shared’: ./include/linux/fs.h:3531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3531 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user_mcsafe’: ./arch/x86/include/asm/uaccess_64.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_from_user’: ./arch/x86/include/asm/uaccess_64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ In file included from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/huge_mm.h: In function ‘__transparent_hugepage_enabled’: ./include/linux/huge_mm.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/huge_mm.h: In function ‘split_huge_page’: ./include/linux/huge_mm.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/huge_mm.h: In function ‘is_swap_pmd’: ./include/linux/huge_mm.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/huge_mm.h: In function ‘pmd_trans_huge_lock’: ./include/linux/huge_mm.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/huge_mm.h: In function ‘pud_trans_huge_lock’: ./include/linux/huge_mm.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/huge_mm.h: In function ‘hpage_nr_pages’: ./include/linux/huge_mm.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_page’: ./include/linux/huge_mm.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pmd’: ./include/linux/huge_mm.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pud’: ./include/linux/huge_mm.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_to_user’: ./arch/x86/include/asm/uaccess_64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/huge_mm.h: In function ‘thp_migration_supported’: ./include/linux/huge_mm.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h: In function ‘put_page_testzero’: ./include/linux/mm.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/mm.h: In function ‘get_page_unless_zero’: ./include/linux/mm.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/mm.h: In function ‘is_vmalloc_addr’: ./include/linux/mm.h:583:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 583 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc’: ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_in_user’: ./include/linux/mm.h:603:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 603 | { | ^ ./arch/x86/include/asm/uaccess_64.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc_node’: ./include/linux/mm.h:607:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 607 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_inatomic_nocache’: ./include/linux/mm.h: In function ‘kvzalloc’: ./arch/x86/include/asm/uaccess_64.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/mm.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_flushcache’: ./include/linux/mm.h: In function ‘kvmalloc_array’: ./arch/x86/include/asm/uaccess_64.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/mm.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘user_access_begin’: ./arch/x86/include/asm/uaccess.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/mm.h: In function ‘kvcalloc’: ./include/linux/mm.h:626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 626 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount_ptr’: ./include/linux/mm.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount’: ./include/linux/mm.h:638:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 638 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount_reset’: ./include/linux/mm.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount’: In file included from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/uaccess.h: In function ‘__copy_from_user_inatomic’: ./include/linux/mm.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ ./include/linux/uaccess.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_from_user’: ./include/linux/uaccess.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/mm.h: In function ‘virt_to_head_page’: ./include/linux/mm.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_to_user_inatomic’: ./include/linux/uaccess.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_to_user’: ./include/linux/uaccess.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/mm.h: In function ‘set_compound_page_dtor’: ./include/linux/mm.h:719:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 719 | { | ^ ./include/linux/uaccess.h: In function ‘copy_from_user’: ./include/linux/mm.h: In function ‘get_compound_page_dtor’: ./include/linux/uaccess.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/mm.h:725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 725 | { | ^ ./include/linux/mm.h: In function ‘unmap_shared_mapping_range’: ./include/linux/uaccess.h: In function ‘copy_to_user’: ./include/linux/uaccess.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/mm.h:1530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1530 | { | ^ ./include/linux/uaccess.h: In function ‘copy_in_user’: ./include/linux/uaccess.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_count’: ./include/linux/mm.h:1610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1610 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_inc’: ./include/linux/mm.h: In function ‘frame_vector_pages’: ./include/linux/uaccess.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/mm.h:1615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1615 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_dec’: ./include/linux/uaccess.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pfns’: ./include/linux/uaccess.h: In function ‘pagefault_disable’: ./include/linux/mm.h:1626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1626 | { | ^ ./include/linux/uaccess.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_enable’: ./include/linux/uaccess.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ ./include/linux/mm.h: In function ‘cancel_dirty_page’: ./include/linux/mm.h:1654:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1654 | { | ^ ./include/linux/mm.h: In function ‘vma_is_anonymous’: ./arch/x86/include/asm/apic.h: In function ‘apic_icr_read’: ./arch/x86/include/asm/apic.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./include/linux/mm.h:1664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1664 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_icr_write’: In file included from ./include/linux/poll.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/uapi/linux/eventpoll.h: In function ‘ep_take_care_of_epollwakeup’: ./arch/x86/include/asm/apic.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/uapi/linux/eventpoll.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘apic_wait_icr_idle’: ./include/linux/mm.h: In function ‘get_mm_counter’: ./arch/x86/include/asm/apic.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/mm.h:1700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1700 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘safe_apic_wait_icr_idle’: ./arch/x86/include/asm/apic.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/poll.h: In function ‘poll_wait’: ./arch/x86/include/asm/apic.h: In function ‘ack_APIC_irq’: ./include/linux/poll.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./arch/x86/include/asm/apic.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/mm.h: In function ‘add_mm_counter’: ./arch/x86/include/asm/apic.h: In function ‘default_get_apic_id’: ./arch/x86/include/asm/apic.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./include/linux/mm.h:1715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1715 | { | ^ ./include/linux/poll.h: In function ‘poll_does_not_wait’: ./include/linux/poll.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/mm.h: In function ‘inc_mm_counter’: ./include/linux/mm.h:1720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1720 | { | ^ ./include/linux/poll.h: In function ‘poll_requested_events’: ./include/linux/poll.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/mm.h: In function ‘dec_mm_counter’: ./include/linux/mm.h:1725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1725 | { | ^ ./include/linux/poll.h: In function ‘init_poll_funcptr’: ./include/linux/mm.h: In function ‘mm_counter_file’: ./include/linux/poll.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/mm.h:1731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1731 | { | ^ ./include/linux/poll.h: In function ‘file_can_poll’: ./include/linux/poll.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/poll.h: In function ‘vfs_poll’: ./include/linux/mm.h: In function ‘mm_counter’: ./include/linux/poll.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/mm.h:1738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1738 | { | ^ ./include/linux/poll.h: In function ‘mangle_poll’: ./include/linux/poll.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ In file included from ./arch/x86/include/asm/smp.h:13, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/apic.h: In function ‘read_apic_id’: ./arch/x86/include/asm/apic.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_irq’: ./arch/x86/include/asm/apic.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘entering_ack_irq’: ./include/linux/poll.h: In function ‘demangle_poll’: ./arch/x86/include/asm/apic.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/poll.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘ipi_entering_ack_irq’: ./arch/x86/include/asm/apic.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_irq’: ./arch/x86/include/asm/apic.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./arch/x86/include/asm/apic.h: In function ‘exiting_ack_irq’: ./arch/x86/include/asm/apic.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:97, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/delay.h: In function ‘ssleep’: ./include/linux/delay.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ In file included from ./arch/x86/include/asm/smp.h:15, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/io_apic.h: In function ‘io_apic_read’: ./include/linux/mm.h: In function ‘compound_order’: ./include/linux/mm.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./arch/x86/include/asm/io_apic.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ In file included from ./include/linux/sched/signal.h:6, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/signal.h: In function ‘copy_siginfo’: ./include/linux/mm.h: In function ‘set_compound_order’: ./include/linux/mm.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/signal.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/signal.h: In function ‘clear_siginfo’: ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/signal.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/mm.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ In file included from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from ./include/linux/mmzone.h:924, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/smp.h: In function ‘cpu_llc_shared_mask’: ./arch/x86/include/asm/smp.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/signal.h: In function ‘sigaddset’: ./include/linux/signal.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/mm.h: In function ‘page_zonenum’: ./include/linux/mm.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/signal.h: In function ‘sigdelset’: ./include/linux/signal.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/mm.h: In function ‘is_zone_device_page’: ./include/linux/mm.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./include/linux/signal.h: In function ‘sigismember’: ./include/linux/signal.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_send_stop’: ./include/linux/mm.h: In function ‘get_mm_rss’: ./arch/x86/include/asm/smp.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/signal.h: In function ‘sigisemptyset’: ./include/linux/signal.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/mm.h:1745:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1745 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘stop_other_cpus’: ./arch/x86/include/asm/smp.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_rss’: ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_boot_cpu’: ./arch/x86/include/asm/smp.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/mm.h:1752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1752 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_prepare_cpus’: ./arch/x86/include/asm/smp.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_cpus_done’: ./include/linux/signal.h: In function ‘sigequalsets’: ./arch/x86/include/asm/smp.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/signal.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_up’: ./arch/x86/include/asm/smp.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_disable’: ./arch/x86/include/asm/smp.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘__cpu_die’: ./include/linux/mm.h: In function ‘get_mm_hiwater_vm’: ./arch/x86/include/asm/smp.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘play_dead’: ./include/linux/mm.h:1757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1757 | { | ^ ./arch/x86/include/asm/smp.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘smp_send_reschedule’: ./include/linux/signal.h: In function ‘sigorsets’: ./arch/x86/include/asm/smp.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/signal.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_single_ipi’: ./arch/x86/include/asm/smp.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./arch/x86/include/asm/smp.h: In function ‘arch_send_call_function_ipi_mask’: ./arch/x86/include/asm/smp.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_rss’: ./include/linux/mm.h:1762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1762 | { | ^ ./include/linux/signal.h: In function ‘sigandsets’: ./include/linux/signal.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~ ./include/linux/mm.h: In function ‘update_hiwater_vm’: ./include/linux/mm.h:1770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1770 | { | ^ ./include/linux/mm.h: In function ‘reset_mm_hiwater_rss’: In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mmzone.h: In function ‘zonelist_zone’: ./include/linux/mm.h:1776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1776 | { | ^ ./include/linux/mm.h: In function ‘setmax_mm_hiwater_rss’: ./include/linux/signal.h: In function ‘sigandnsets’: ./include/linux/mm.h:1782:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1782 | { | ^ ./include/linux/signal.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~ ./include/linux/mmzone.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_zone_idx’: ./include/linux/mmzone.h:966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 966 | { | ^ ./include/linux/mm.h: In function ‘get_locked_pte’: ./include/linux/mm.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/mmzone.h: In function ‘zonelist_node_idx’: ./include/linux/mmzone.h:971:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 971 | { | ^ ./include/linux/mm.h: In function ‘__p4d_alloc’: ./include/linux/mm.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ In file included from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/signal.h: In function ‘signotset’: ./include/linux/mmzone.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/signal.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~ ./include/linux/mm.h: In function ‘mm_inc_nr_puds’: ./include/linux/mm.h:1839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1839 | { | ^ ./include/linux/mmzone.h: In function ‘first_zones_zonelist’: ./include/linux/mmzone.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/signal.h: In function ‘sigemptyset’: ./include/linux/mm.h: In function ‘mm_dec_nr_puds’: ./include/linux/signal.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/mm.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_to_section_nr’: ./include/linux/mmzone.h:1101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1101 | { | ^ ./include/linux/signal.h: In function ‘sigfillset’: ./include/linux/signal.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/mmzone.h: In function ‘section_nr_to_pfn’: ./include/linux/mmzone.h:1105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1105 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/signal.h: In function ‘sigaddsetmask’: ./include/linux/mm.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/signal.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./include/linux/mmzone.h: In function ‘__nr_to_section’: ./include/linux/mmzone.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/signal.h: In function ‘sigdelsetmask’: ./include/linux/signal.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/signal.h: In function ‘sigtestsetmask’: ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/signal.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/mm.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/signal.h: In function ‘siginitset’: ./include/linux/signal.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/mmzone.h: In function ‘__section_mem_map_addr’: ./include/linux/mmzone.h:1195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1195 | { | ^ ./include/linux/mm.h: In function ‘put_devmap_managed_page’: ./include/linux/signal.h: In function ‘siginitsetinv’: ./include/linux/mm.h:896:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 896 | { | ^ ./include/linux/mmzone.h: In function ‘present_section’: ./include/linux/signal.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/mmzone.h:1202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1202 | { | ^ ./include/linux/mmzone.h: In function ‘present_section_nr’: ./include/linux/signal.h: In function ‘init_sigpending’: ./include/linux/mmzone.h:1207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1207 | { | ^ ./include/linux/signal.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/mmzone.h: In function ‘valid_section’: ./include/linux/signal.h: In function ‘valid_signal’: ./include/linux/mmzone.h:1212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1212 | { | ^ ./include/linux/signal.h:261:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | { | ^ ./include/linux/mmzone.h: In function ‘valid_section_nr’: ./include/linux/mm.h: In function ‘is_device_private_page’: ./include/linux/mmzone.h:1217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1217 | { | ^ ./include/linux/mm.h:914:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 914 | { | ^ ./include/linux/mmzone.h: In function ‘online_section’: ./include/linux/mmzone.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/mm.h: In function ‘is_device_public_page’: ./include/linux/signal.h: In function ‘allow_signal’: ./include/linux/mm.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/signal.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/mmzone.h: In function ‘online_section_nr’: ./include/linux/mmzone.h:1227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1227 | { | ^ ./include/linux/signal.h: In function ‘disallow_signal’: ./include/linux/mm.h: In function ‘is_pci_p2pdma_page’: ./include/linux/signal.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/mm.h:933:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 933 | { | ^ ./include/linux/mmzone.h: In function ‘__pfn_to_section’: ./include/linux/mmzone.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./include/linux/mm.h: In function ‘get_page’: ./include/linux/mmzone.h: In function ‘pfn_valid’: ./include/linux/mm.h:973:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 973 | { | ^ ./include/linux/mmzone.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/mm.h: In function ‘try_get_page’: ./include/linux/mm.h:984:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 984 | { | ^ ./include/linux/mmzone.h: In function ‘pfn_present’: ./include/linux/mmzone.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/mmzone.h: In function ‘memmap_valid_within’: ./include/linux/mmzone.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/linux/mm.h: In function ‘put_page’: In file included from ./include/linux/sched/signal.h:9, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/task.h: In function ‘put_task_struct’: ./include/linux/mm.h:993:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 993 | { | ^ ./include/linux/sched/task.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/mm.h: In function ‘page_zone_id’: ./include/linux/mm.h:1022:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1022 | { | ^ ./include/linux/sched/task.h: In function ‘task_stack_vm_area’: ./include/linux/sched/task.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/sched/task.h: In function ‘task_lock’: ./include/linux/mm.h: In function ‘page_to_nid’: ./include/linux/sched/task.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/mm.h:1030:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1030 | { | ^ ./include/linux/sched/task.h: In function ‘task_unlock’: ./include/linux/sched/task.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ In file included from ./include/linux/topology.h:33, from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/smp.h: In function ‘get_boot_cpu_id’: ./include/linux/mm.h: In function ‘cpu_pid_to_cpupid’: ./include/linux/smp.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/mm.h:1039:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1039 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_pid’: In file included from ./include/linux/key.h:25, from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/assoc_array.h: In function ‘assoc_array_init’: ./include/linux/mm.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/assoc_array.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_cpu’: ./include/linux/mm.h:1049:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1049 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_nid’: ./include/linux/mm.h:1054:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1054 | { | ^ ./include/linux/mm.h: In function ‘cpupid_pid_unset’: ./include/linux/mm.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/mm.h: In function ‘cpupid_cpu_unset’: ./include/linux/mm.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ In file included from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/key.h: In function ‘make_key_ref’: ./include/linux/key.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/mm.h: In function ‘__cpupid_match_pid’: ./include/linux/mm.h:1069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1069 | { | ^ ./include/linux/key.h: In function ‘key_ref_to_ptr’: ./include/linux/key.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ In file included from ./include/linux/gfp.h:9, from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/topology.h: In function ‘numa_node_id’: ./include/linux/key.h: In function ‘is_key_possessed’: ./include/linux/key.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/topology.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/key.h: In function ‘__key_get’: ./include/linux/key.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/key.h: In function ‘key_get’: ./include/linux/key.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/key.h: In function ‘key_ref_put’: ./include/linux/key.h:269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 269 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes_init’: ./include/linux/mm.h:1883:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1883 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes’: ./include/linux/topology.h: In function ‘cpu_to_node’: ./include/linux/topology.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/mm.h:1888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1888 | { | ^ ./include/linux/key.h: In function ‘key_serial’: ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/key.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/mm.h:1893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1893 | { | ^ ./include/linux/topology.h: In function ‘set_numa_node’: ./include/linux/topology.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/key.h: In function ‘key_read_state’: ./include/linux/mm.h:1898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1898 | { | ^ ./include/linux/key.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/mm.h: In function ‘p4d_alloc’: ./include/linux/mm.h:1925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1925 | { | ^ ./include/linux/mm.h: In function ‘pud_alloc’: ./include/linux/mm.h:1932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1932 | { | ^ ./include/linux/key.h: In function ‘key_is_positive’: ./include/linux/key.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/key.h: In function ‘key_is_negative’: ./include/linux/mm.h: In function ‘pmd_alloc’: ./include/linux/key.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./include/linux/mm.h:1939:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1939 | { | ^ ./include/linux/mm.h: In function ‘ptlock_cache_init’: ./include/linux/mm.h:1957:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1957 | { | ^ ./include/linux/mm.h: In function ‘ptlock_alloc’: In file included from ./include/linux/sched/user.h:8, from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ratelimit.h: In function ‘ratelimit_state_init’: ./include/linux/ratelimit.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/mm.h:1961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1961 | { | ^ ./include/linux/mm.h: In function ‘ptlock_free’: ./include/linux/mm.h:1966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1966 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_default_init’: ./include/linux/ratelimit.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/mm.h: In function ‘ptlock_ptr’: ./include/linux/ratelimit.h: In function ‘ratelimit_state_exit’: ./include/linux/mm.h:1970:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1970 | { | ^ ./include/linux/ratelimit.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/mm.h: In function ‘pte_lockptr’: ./include/linux/mm.h:1976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1976 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_set_flags’: ./include/linux/ratelimit.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/mm.h: In function ‘ptlock_init’: ./include/linux/mm.h:1981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1981 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_last’: In file included from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/user.h: In function ‘get_uid’: ./include/linux/mm.h:1090:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1090 | { | ^ ./include/linux/sched/user.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_reset_last’: In file included from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/cred.h: In function ‘get_group_info’: ./include/linux/mm.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/cred.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag’: ./include/linux/mm.h:1165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1165 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag_set’: ./include/linux/mm.h:1169:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | static inline void page_kasan_tag_set(struct page *page, u8 tag) { } | ^~~~ ./include/linux/mm.h: In function ‘page_kasan_tag_reset’: ./include/linux/mm.h:1170:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1170 | static inline void page_kasan_tag_reset(struct page *page) { } | ^~~~ ./include/linux/mm.h: In function ‘page_zone’: ./include/linux/mm.h:1174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1174 | { | ^ ./include/linux/mm.h: In function ‘page_pgdat’: ./include/linux/cred.h: In function ‘validate_creds’: ./include/linux/cred.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/mm.h:1179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1179 | { | ^ ./include/linux/cred.h: In function ‘validate_creds_for_do_exit’: ./include/linux/cred.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/mm.h: In function ‘set_page_zone’: ./include/linux/cred.h: In function ‘validate_process_creds’: ./include/linux/cred.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/mm.h:1197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1197 | { | ^ ./include/linux/cred.h: In function ‘cap_ambient_invariant_ok’: ./include/linux/cred.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/cred.h: In function ‘get_new_cred’: ./include/linux/cred.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/mm.h: In function ‘set_page_node’: ./include/linux/mm.h:1203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1203 | { | ^ ./include/linux/cred.h: In function ‘get_cred’: ./include/linux/cred.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/mm.h: In function ‘set_page_links’: ./include/linux/mm.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/cred.h: In function ‘get_cred_rcu’: ./include/linux/cred.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/mm.h: In function ‘page_memcg’: ./include/linux/mm.h:1220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1220 | { | ^ ./include/linux/mm.h: In function ‘page_memcg_rcu’: ./include/linux/mm.h:1224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1224 | { | ^ ./include/linux/cred.h: In function ‘put_cred’: ./include/linux/cred.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/sched/signal.h: In function ‘signal_set_stop_flags’: In file included from ./include/linux/mm.h:1243, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/vmstat.h: In function ‘__count_vm_event’: ./include/linux/vmstat.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/sched/signal.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_group_exit’: ./include/linux/sched/signal.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/mm.h: In function ‘pgtable_init’: ./include/linux/sched/signal.h: In function ‘kernel_dequeue_signal’: ./include/linux/sched/signal.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/mm.h:2010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2010 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_ctor’: ./include/linux/sched/signal.h: In function ‘kernel_signal_stop’: ./include/linux/sched/signal.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/mm.h:2016:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2016 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_dtor’: ./include/linux/mm.h:2025:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2025 | { | ^ ./include/linux/mm.h: In function ‘pmd_to_page’: ./include/linux/mm.h:2061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2061 | { | ^ ./include/linux/sched/signal.h: In function ‘restart_syscall’: ./include/linux/sched/signal.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending’: ./include/linux/sched/signal.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/mm.h: In function ‘pmd_lockptr’: ./include/linux/mm.h:2067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2067 | { | ^ ./include/linux/sched/signal.h: In function ‘__fatal_signal_pending’: ./include/linux/sched/signal.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_ctor’: ./include/linux/mm.h:2072:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2072 | { | ^ ./include/linux/sched/signal.h: In function ‘fatal_signal_pending’: ./include/linux/sched/signal.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_dtor’: ./include/linux/mm.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending_state’: ./include/linux/sched/signal.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/mm.h: In function ‘pmd_lock’: ./include/linux/mm.h:2104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2104 | { | ^ ./include/linux/mm.h: In function ‘pud_lockptr’: ./include/linux/sched/signal.h: In function ‘signal_wake_up’: ./include/linux/sched/signal.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/mm.h:2117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2117 | { | ^ ./include/linux/mm.h: In function ‘pud_lock’: ./include/linux/sched/signal.h: In function ‘ptrace_signal_wake_up’: ./include/linux/sched/signal.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/mm.h:2122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2122 | { | ^ ./include/linux/sched/signal.h: In function ‘set_restore_sigmask’: ./include/linux/sched/signal.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/mm.h: In function ‘__free_reserved_page’: ./include/linux/mm.h:2159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2159 | { | ^ ./include/linux/mm.h: In function ‘free_reserved_page’: ./include/linux/mm.h:2166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2166 | { | ^ ./include/linux/mm.h: In function ‘mark_page_reserved’: ./include/linux/sched/signal.h: In function ‘clear_tsk_restore_sigmask’: ./include/linux/mm.h:2172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2172 | { | ^ ./include/linux/sched/signal.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./include/linux/mm.h: In function ‘free_initmem_default’: ./include/linux/sched/signal.h: In function ‘clear_restore_sigmask’: ./include/linux/sched/signal.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/mm.h:2184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2184 | { | ^ ./include/linux/mm.h: In function ‘get_num_physpages’: ./include/linux/sched/signal.h: In function ‘test_restore_sigmask’: ./include/linux/sched/signal.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/mm.h:2192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2192 | { | ^ ./include/linux/sched/signal.h: In function ‘test_tsk_restore_sigmask’: ./include/linux/sched/signal.h:464:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 464 | { | ^ ./include/linux/sched/signal.h: In function ‘test_and_clear_restore_sigmask’: ./include/linux/sched/signal.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/sched/signal.h: In function ‘restore_saved_sigmask’: ./include/linux/sched/signal.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/sched/signal.h: In function ‘sigmask_to_save’: ./include/linux/sched/signal.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/sched/signal.h: In function ‘kill_cad_pid’: ./include/linux/sched/signal.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/sched/signal.h: In function ‘on_sig_stack’: ./include/linux/sched/signal.h:503:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 503 | { | ^ ./include/linux/sched/signal.h: In function ‘sas_ss_flags’: ./include/linux/sched/signal.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/sched/signal.h: In function ‘sas_ss_reset’: ./include/linux/sched/signal.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/sched/signal.h: In function ‘sigsp’: ./include/linux/sched/signal.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pid_type’: ./include/linux/sched/signal.h:590:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 590 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_event’: ./include/linux/vmstat.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/sched/signal.h: In function ‘task_tgid’: ./include/linux/sched/signal.h:600:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 600 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pgrp’: ./include/linux/sched/signal.h:610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 610 | { | ^ ./include/linux/sched/signal.h: In function ‘task_session’: ./include/linux/sched/signal.h:615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 615 | { | ^ ./include/linux/sched/signal.h: In function ‘get_nr_threads’: ./include/linux/sched/signal.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_leader’: ./include/linux/sched/signal.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/sched/signal.h: In function ‘has_group_leader_pid’: ./include/linux/sched/signal.h:636:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 636 | { | ^ ./include/linux/sched/signal.h: In function ‘same_thread_group’: ./include/linux/sched/signal.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/sched/signal.h: In function ‘next_thread’: ./include/linux/sched/signal.h:647:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 647 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_empty’: ./include/linux/mm.h: In function ‘vma_adjust’: ./include/linux/sched/signal.h:653:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 653 | { | ^ ./include/linux/mm.h:2338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2338 | { | ^ ./include/linux/sched/signal.h: In function ‘lock_task_sighand’: ./include/linux/sched/signal.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/sched/signal.h: In function ‘unlock_task_sighand’: ./include/linux/mm.h: In function ‘check_data_rlimit’: ./include/linux/sched/signal.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/mm.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit’: ./include/linux/sched/signal.h:681:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 681 | { | ^ ./include/linux/mm.h: In function ‘do_mmap_pgoff’: ./include/linux/sched/signal.h: In function ‘task_rlimit_max’: ./include/linux/sched/signal.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/mm.h:2413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2413 | { | ^ ./include/linux/mm.h: In function ‘mm_populate’: ./include/linux/mm.h:2421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2421 | { | ^ ./include/linux/sched/signal.h: In function ‘rlimit’: ./include/linux/sched/signal.h:692:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 692 | { | ^ ./include/linux/sched/signal.h: In function ‘rlimit_max’: ./include/linux/mm.h: In function ‘vm_unmapped_area’: ./include/linux/sched/signal.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ ./include/linux/mm.h:2461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2461 | { | ^ In file included from ./arch/x86/include/asm/tlbflush.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/invpcid.h: In function ‘__invpcid’: ./arch/x86/include/asm/invpcid.h:7:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 7 | { | ^ ./include/linux/topology.h: In function ‘set_cpu_numa_node’: ./include/linux/topology.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_one’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/mm.h: In function ‘find_vma_intersection’: ./arch/x86/include/asm/invpcid.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_single_context’: ./include/linux/mm.h:2525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2525 | { | ^ ./arch/x86/include/asm/invpcid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/topology.h: In function ‘numa_mem_id’: ./include/linux/topology.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all’: ./arch/x86/include/asm/invpcid.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/topology.h: In function ‘node_to_mem_node’: ./include/linux/topology.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all_nonglobals’: ./include/linux/topology.h: In function ‘cpu_to_mem’: ./arch/x86/include/asm/invpcid.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/topology.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/mm.h: In function ‘vm_start_gap’: ./include/linux/topology.h: In function ‘cpu_smt_mask’: ./include/linux/topology.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/tlbflush.h: In function ‘kern_pcid’: ./include/linux/mm.h:2534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2534 | { | ^ ./arch/x86/include/asm/tlbflush.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/topology.h: In function ‘cpu_cpu_mask’: ./include/linux/topology.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘user_pcid’: ./arch/x86/include/asm/tlbflush.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3’: ./arch/x86/include/asm/tlbflush.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ In file included from ./include/linux/mm.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/gfp.h: In function ‘gfpflags_to_migratetype’: ./include/linux/gfp.h:309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 309 | { | ^ ./include/linux/gfp.h: In function ‘gfpflags_allow_blocking’: ./include/linux/gfp.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zone’: ./include/linux/gfp.h:419:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 419 | { | ^ ./include/linux/gfp.h: In function ‘gfp_zonelist’: ./include/linux/gfp.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/vmstat.h: In function ‘__count_vm_events’: ./include/linux/vmstat.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/gfp.h: In function ‘node_zonelist’: ./include/linux/gfp.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/gfp.h: In function ‘arch_free_page’: ./include/linux/gfp.h:460:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | static inline void arch_free_page(struct page *page, int order) { } | ^~~~ ./include/linux/gfp.h: In function ‘arch_alloc_page’: ./include/linux/gfp.h:463:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 463 | static inline void arch_alloc_page(struct page *page, int order) { } | ^~~~ ./include/linux/gfp.h: In function ‘__alloc_pages’: ./include/linux/gfp.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3_noflush’: ./include/linux/gfp.h: In function ‘__alloc_pages_node’: ./arch/x86/include/asm/tlbflush.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/gfp.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages_node’: ./include/linux/gfp.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/gfp.h: In function ‘alloc_pages’: ./include/linux/gfp.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/mm.h: In function ‘vm_end_gap’: ./include/linux/mm.h:2546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2546 | { | ^ In file included from ./include/linux/mm.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_kill’: ./include/linux/percpu-refcount.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘nmi_uaccess_okay’: ./include/linux/mm.h: In function ‘vma_pages’: ./arch/x86/include/asm/tlbflush.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/linux/percpu-refcount.h: In function ‘__ref_is_percpu’: ./include/linux/mm.h:2558:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2558 | { | ^ ./include/linux/percpu-refcount.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/mm.h: In function ‘find_exact_vma’: ./include/linux/mm.h:2565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2565 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./include/linux/percpu-refcount.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/mm.h: In function ‘range_in_vma’: ./include/linux/mm.h:2576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2576 | { | ^ ./include/linux/mm.h: In function ‘vmf_insert_page’: ./include/linux/mm.h:2615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2615 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_init_shadow’: ./arch/x86/include/asm/tlbflush.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/mm.h: In function ‘vmf_error’: ./include/linux/mm.h:2627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2627 | { | ^ ./include/linux/mm.h: In function ‘vm_fault_to_errno’: ./include/linux/mm.h:2655:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2655 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__cr4_set’: ./arch/x86/include/asm/tlbflush.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get’: ./include/linux/percpu-refcount.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget’: ./include/linux/percpu-refcount.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits’: ./arch/x86/include/asm/tlbflush.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_events’: ./include/linux/vmstat.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_clear_bits’: ./arch/x86/include/asm/tlbflush.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_live’: ./include/linux/percpu-refcount.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_toggle_bits_irqsoff’: ./arch/x86/include/asm/tlbflush.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/mm.h: In function ‘kernel_map_pages’: ./include/linux/mm.h:2702:25: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2702 | kernel_map_pages(struct page *page, int numpages, int enable) {} | ^~~~ ./include/linux/mm.h: In function ‘kernel_page_present’: ./include/linux/mm.h:2704:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2704 | static inline bool kernel_page_present(struct page *page) { return true; } | ^~~~ ./include/linux/mm.h: In function ‘debug_pagealloc_enabled’: ./include/linux/mm.h:2707:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2707 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_read_shadow’: ./arch/x86/include/asm/tlbflush.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/mm.h: In function ‘debug_guardpage_minorder’: ./include/linux/mm.h:2870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2870 | static inline unsigned int debug_guardpage_minorder(void) { return 0; } | ^~~~~~ ./include/linux/mm.h: In function ‘debug_guardpage_enabled’: ./include/linux/mm.h:2871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2871 | static inline bool debug_guardpage_enabled(void) { return false; } | ^~~~~~ ./include/linux/mm.h: In function ‘page_is_guard’: ./include/linux/mm.h:2872:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2872 | static inline bool page_is_guard(struct page *page) { return false; } | ^~~~ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_other_asid’: ./arch/x86/include/asm/tlbflush.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_noncached_weak’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:23:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_modify_writecombine’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:40:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:21, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:88:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:134:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits_and_update_boot’: ./arch/x86/include/asm/tlbflush.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘nv_page_fault_va’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:207:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_user_asid’: ./arch/x86/include/asm/tlbflush.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/vmstat.h: In function ‘zone_numa_state_add’: ./include/linux/vmstat.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/vmstat.h: In function ‘global_numa_state’: ./include/linux/vmstat.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/vmstat.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_add’: ./include/linux/vmstat.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/vmstat.h: In function ‘node_page_state_add’: ./include/linux/vmstat.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/vmstat.h: In function ‘global_zone_page_state’: ./include/linux/vmstat.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/vmstat.h: In function ‘global_node_page_state’: ./include/linux/vmstat.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state’: ./include/linux/vmstat.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/vmstat.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/vmstat.h: In function ‘__mod_zone_freepage_state’: ./include/linux/vmstat.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h: In function ‘lowmem_page_address’: ./include/linux/mm.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:23, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_typed_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_anon_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_setup’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb’: ./arch/x86/include/asm/tlbflush.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./include/linux/mm.h: In function ‘page_file_mapping’: ./include/linux/mm.h:1286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1286 | { | ^ ./include/linux/mm.h: In function ‘page_index’: ./include/linux/mm.h:1300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1300 | { | ^ ./include/linux/mm.h: In function ‘page_is_pfmemalloc’: ./include/linux/mm.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/mm.h: In function ‘set_page_pfmemalloc’: ./include/linux/mm.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/mm.h: In function ‘clear_page_pfmemalloc’: ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_global’: ./include/linux/mm.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./arch/x86/include/asm/tlbflush.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/mm.h: In function ‘unmap_shared_mapping_range’: ./include/linux/mm.h:1530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1530 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_count’: ./include/linux/mm.h:1610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1610 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pages’: ./include/linux/mm.h:1615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1615 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pfns’: ./include/linux/mm.h:1626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1626 | { | ^ ./include/linux/mm.h: In function ‘cancel_dirty_page’: ./include/linux/mm.h:1654:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1654 | { | ^ ./include/linux/mm.h: In function ‘vma_is_anonymous’: ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_one_user’: ./arch/x86/include/asm/tlbflush.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./include/linux/percpu-refcount.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/mm.h:1664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1664 | { | ^ ./include/linux/mm.h: In function ‘get_mm_counter’: ./include/linux/mm.h:1700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1700 | { | ^ ./include/linux/mm.h: In function ‘add_mm_counter’: ./include/linux/mm.h:1715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1715 | { | ^ ./include/linux/mm.h: In function ‘inc_mm_counter’: ./include/linux/mm.h:1720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1720 | { | ^ ./include/linux/mm.h: In function ‘dec_mm_counter’: ./include/linux/mm.h:1725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1725 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_all’: ./include/linux/mm.h: In function ‘mm_counter_file’: ./arch/x86/include/asm/tlbflush.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/mm.h:1731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1731 | { | ^ ./include/linux/mm.h: In function ‘mm_counter’: ./include/linux/mm.h:1738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1738 | { | ^ ./include/linux/mm.h: In function ‘get_mm_rss’: ./include/linux/mm.h:1745:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1745 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_rss’: ./include/linux/mm.h:1752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1752 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_vm’: ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_one_kernel’: ./arch/x86/include/asm/tlbflush.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/mm.h:1757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1757 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_rss’: ./include/linux/mm.h:1762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1762 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_vm’: ./include/linux/mm.h:1770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1770 | { | ^ ./include/linux/mm.h: In function ‘reset_mm_hiwater_rss’: ./include/linux/mm.h:1776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1776 | { | ^ ./include/linux/mm.h: In function ‘setmax_mm_hiwater_rss’: ./include/linux/mm.h:1782:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1782 | { | ^ ./include/linux/mm.h: In function ‘get_locked_pte’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put’: ./include/linux/percpu-refcount.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_dying’: ./include/linux/percpu-refcount.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_is_zero’: ./include/linux/percpu-refcount.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ In file included from ./include/linux/mm.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/bit_spinlock.h: In function ‘bit_spin_lock’: ./include/linux/bit_spinlock.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘flush_tlb_page’: ./arch/x86/include/asm/tlbflush.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_trylock’: ./include/linux/bit_spinlock.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘inc_mm_tlb_gen’: ./arch/x86/include/asm/tlbflush.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_unlock’: ./arch/x86/include/asm/tlbflush.h: In function ‘arch_tlbbatch_add_mm’: ./include/linux/bit_spinlock.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./arch/x86/include/asm/tlbflush.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./include/linux/bit_spinlock.h: In function ‘__bit_spin_unlock’: ./include/linux/bit_spinlock.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/bit_spinlock.h: In function ‘bit_spin_is_locked’: ./include/linux/bit_spinlock.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ In file included from ./include/linux/mm.h:24, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/page_ext.h: In function ‘pgdat_page_ext_init’: ./include/linux/page_ext.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/page_ext.h: In function ‘lookup_page_ext’: ./include/linux/page_ext.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init’: ./include/linux/page_ext.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page_ext.h: In function ‘page_ext_init_flatmem’: ./include/linux/page_ext.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ In file included from ./include/linux/page_ref.h:7, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/page-flags.h: In function ‘compound_head’: ./include/linux/page-flags.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/mm.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/mm.h: In function ‘__p4d_alloc’: ./include/linux/mm.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/page-flags.h: In function ‘PageTail’: ./include/linux/page-flags.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_puds’: ./include/linux/mm.h:1839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1839 | { | ^ ./include/linux/page-flags.h: In function ‘PageCompound’: ./include/linux/page-flags.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_puds’: ./include/linux/mm.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/page-flags.h: In function ‘page_init_poison’: ./include/linux/page-flags.h:170:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 170 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/mm.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/page-flags.h: In function ‘PageLocked’: ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes_init’: ./include/linux/page-flags.h: In function ‘__SetPageLocked’: ./include/linux/mm.h:1883:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1883 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h: In function ‘mm_pgtables_bytes’: ./include/linux/mm.h:1888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1888 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/page-flags.h: In function ‘__ClearPageLocked’: ./include/linux/mm.h:1893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1893 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:281:1: note: in expansion of macro ‘__PAGEFLAG’ 281 | __PAGEFLAG(Locked, locked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/mm.h:1898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1898 | { | ^ ./include/linux/page-flags.h: In function ‘PageWaiters’: ./include/linux/mm.h: In function ‘p4d_alloc’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/mm.h:1925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1925 | { | ^ ./include/linux/mm.h: In function ‘pud_alloc’: ./include/linux/mm.h:1932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1932 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageWaiters’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/mm.h: In function ‘pmd_alloc’: ./include/linux/mm.h:1939:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1939 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageWaiters’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:282:1: note: in expansion of macro ‘PAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~ ./include/linux/mm.h: In function ‘ptlock_cache_init’: ./include/linux/page-flags.h: In function ‘__ClearPageWaiters’: ./include/linux/mm.h:1957:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1957 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:282:42: note: in expansion of macro ‘__CLEARPAGEFLAG’ 282 | PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) __CLEARPAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/mm.h: In function ‘ptlock_alloc’: ./include/linux/page-flags.h: In function ‘PageError’: In file included from ./include/linux/utsname.h:7, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kref.h: In function ‘kref_init’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/kref.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/kref.h: In function ‘kref_read’: In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/device.h: In function ‘class_create_file’: ./include/linux/kref.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/kref.h: In function ‘kref_get’: ./include/linux/kref.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageError’: ./include/linux/device.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/kref.h: In function ‘kref_put’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/kref.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/device.h: In function ‘class_remove_file’: ./include/linux/device.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/kref.h: In function ‘kref_put_mutex’: ./include/linux/kref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageError’: ./include/linux/kref.h: In function ‘kref_put_lock’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:283:1: note: in expansion of macro ‘PAGEFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/kref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/kref.h: In function ‘kref_get_unless_zero’: ./include/linux/kref.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageError’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:283:40: note: in expansion of macro ‘TESTCLEARFLAG’ 283 | PAGEFLAG(Error, error, PF_NO_COMPOUND) TESTCLEARFLAG(Error, error, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageReferenced’: ./include/linux/device.h: In function ‘devres_alloc’: In file included from ./include/linux/utsname.h:8, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/nsproxy.h: In function ‘put_nsproxy’: ./include/linux/device.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/nsproxy.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/nsproxy.h: In function ‘get_nsproxy’: ./include/linux/nsproxy.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/device.h: In function ‘devm_kzalloc’: ./include/linux/device.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/linux/device.h: In function ‘devm_kmalloc_array’: ./include/linux/device.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/utsname.h: In function ‘get_uts_ns’: ./include/linux/utsname.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/utsname.h: In function ‘put_uts_ns’: ./include/linux/utsname.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/device.h: In function ‘devm_kcalloc’: ./include/linux/utsname.h: In function ‘utsname’: ./include/linux/device.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/utsname.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/utsname.h: In function ‘init_utsname’: ./include/linux/utsname.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/device.h: In function ‘devm_add_action_or_reset’: ./include/linux/device.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/device.h: In function ‘device_connections_add’: ./include/linux/device.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/device.h: In function ‘device_connections_remove’: ./include/linux/device.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/mm.h:1961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1961 | { | ^ ./include/linux/mm.h: In function ‘ptlock_free’: ./include/linux/mm.h:1966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1966 | { | ^ ./include/linux/mm.h: In function ‘ptlock_ptr’: ./include/linux/mm.h:1970:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1970 | { | ^ ./include/linux/device.h: In function ‘kobj_to_dev’: ./include/linux/mm.h: In function ‘pte_lockptr’: ./include/linux/device.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/mm.h:1976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1976 | { | ^ ./include/linux/mm.h: In function ‘ptlock_init’: ./include/linux/mm.h:1981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1981 | { | ^ ./include/linux/device.h: In function ‘device_iommu_mapped’: ./include/linux/device.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/mm.h: In function ‘pgtable_init’: In file included from ./include/linux/device.h:1072, from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pm_wakeup.h: In function ‘device_can_wakeup’: ./include/linux/mm.h:2010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2010 | { | ^ ./include/linux/pm_wakeup.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_ctor’: ./include/linux/pm_wakeup.h: In function ‘device_may_wakeup’: ./include/linux/pm_wakeup.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/mm.h:2016:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2016 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_set_wakeup_path’: ./include/linux/pm_wakeup.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_dtor’: ./include/linux/mm.h:2025:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2025 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_init’: ./include/linux/mm.h: In function ‘pmd_to_page’: ./include/linux/pm_wakeup.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_trash’: ./include/linux/mm.h:2061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2061 | { | ^ ./include/linux/pm_wakeup.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/pm_wakeup.h: In function ‘__pm_wakeup_event’: ./include/linux/pm_wakeup.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_event’: ./include/linux/mm.h: In function ‘pmd_lockptr’: ./include/linux/pm_wakeup.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/mm.h:2067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2067 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_hard_event’: ./include/linux/pm_wakeup.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_ctor’: In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/device.h: In function ‘dev_name’: ./include/linux/mm.h:2072:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2072 | { | ^ ./include/linux/device.h:1075:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1075 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_dtor’: ./include/linux/mm.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/device.h: In function ‘dev_to_node’: ./include/linux/device.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/mm.h: In function ‘pmd_lock’: ./include/linux/device.h: In function ‘set_dev_node’: ./include/linux/device.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/mm.h:2104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2104 | { | ^ ./include/linux/device.h: In function ‘dev_get_msi_domain’: ./include/linux/mm.h: In function ‘pud_lockptr’: ./include/linux/device.h:1106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1106 | { | ^ ./include/linux/device.h: In function ‘dev_set_msi_domain’: ./include/linux/mm.h:2117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2117 | { | ^ ./include/linux/device.h:1115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1115 | { | ^ ./include/linux/mm.h: In function ‘pud_lock’: ./include/linux/device.h: In function ‘dev_get_drvdata’: ./include/linux/device.h:1122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1122 | { | ^ ./include/linux/mm.h:2122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2122 | { | ^ ./include/linux/device.h: In function ‘dev_set_drvdata’: ./include/linux/device.h:1127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1127 | { | ^ ./include/linux/device.h: In function ‘dev_to_psd’: ./include/linux/mm.h: In function ‘__free_reserved_page’: ./include/linux/device.h:1132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1132 | { | ^ ./include/linux/device.h: In function ‘dev_get_uevent_suppress’: ./include/linux/device.h:1137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1137 | { | ^ ./include/linux/device.h: In function ‘dev_set_uevent_suppress’: ./include/linux/device.h:1142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1142 | { | ^ ./include/linux/device.h: In function ‘device_is_registered’: ./include/linux/device.h:1147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1147 | { | ^ ./include/linux/device.h: In function ‘device_enable_async_suspend’: ./include/linux/device.h:1152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1152 | { | ^ ./include/linux/device.h: In function ‘device_disable_async_suspend’: ./include/linux/device.h:1158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1158 | { | ^ ./include/linux/device.h: In function ‘device_async_suspend_enabled’: ./include/linux/device.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/device.h: In function ‘dev_pm_syscore_device’: ./include/linux/device.h:1169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | { | ^ ./include/linux/device.h: In function ‘dev_pm_set_driver_flags’: ./include/linux/device.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/device.h: In function ‘dev_pm_test_driver_flags’: ./include/linux/device.h:1181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1181 | { | ^ ./include/linux/device.h: In function ‘device_lock’: ./include/linux/device.h:1186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1186 | { | ^ ./include/linux/device.h: In function ‘device_lock_interruptible’: ./include/linux/device.h:1191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1191 | { | ^ In file included from ./include/linux/umh.h:9, from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sysctl.h: In function ‘proc_sys_poll_event’: ./include/linux/device.h: In function ‘device_trylock’: ./include/linux/sysctl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/device.h:1196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1196 | { | ^ ./include/linux/device.h: In function ‘device_unlock’: ./include/linux/device.h:1201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1201 | { | ^ ./include/linux/device.h: In function ‘device_lock_assert’: ./include/linux/device.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/device.h: In function ‘dev_of_node’: ./include/linux/device.h:1211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1211 | { | ^ In file included from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/umh.h: In function ‘usermodehelper_disable’: ./include/linux/umh.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/device.h: In function ‘device_supports_offline’: ./include/linux/umh.h: In function ‘usermodehelper_enable’: ./include/linux/umh.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/device.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/device.h: In function ‘dev_num_vf’: ./include/linux/device.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/device.h: In function ‘dev_get_platdata’: ./include/linux/device.h:1274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1274 | { | ^ ./include/linux/mm.h:2159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2159 | { | ^ ./include/linux/mm.h: In function ‘free_reserved_page’: ./include/linux/mm.h:2166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2166 | { | ^ ./include/linux/device.h: In function ‘device_add_group’: ./include/linux/mm.h: In function ‘mark_page_reserved’: ./include/linux/device.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/mm.h:2172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2172 | { | ^ ./include/linux/device.h: In function ‘device_remove_group’: ./include/linux/mm.h: In function ‘free_initmem_default’: ./include/linux/device.h:1324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1324 | { | ^ ./include/linux/mm.h:2184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2184 | { | ^ ./include/linux/mm.h: In function ‘get_num_physpages’: ./include/linux/mm.h:2192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2192 | { | ^ ./include/linux/mm.h: In function ‘vma_adjust’: ./include/linux/mm.h:2338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2338 | { | ^ In file included from ./include/linux/hardirq.h:7, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | static inline void arch_ftrace_nmi_enter(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | static inline void arch_ftrace_nmi_exit(void) { } | ^~~~~~ ./include/linux/mm.h: In function ‘check_data_rlimit’: ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/mm.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/vtime.h:5, from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/context_tracking_state.h: In function ‘context_tracking_in_user’: ./include/linux/mm.h: In function ‘do_mmap_pgoff’: ./include/linux/context_tracking_state.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline bool context_tracking_in_user(void) { return false; } | ^~~~~~ ./include/linux/mm.h:2413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2413 | { | ^ ./include/linux/context_tracking_state.h: In function ‘context_tracking_active’: ./include/linux/context_tracking_state.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline bool context_tracking_active(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_is_enabled’: ./include/linux/mm.h: In function ‘mm_populate’: ./include/linux/context_tracking_state.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | static inline bool context_tracking_is_enabled(void) { return false; } | ^~~~~~ ./include/linux/mm.h:2421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2421 | { | ^ ./include/linux/context_tracking_state.h: In function ‘context_tracking_cpu_is_enabled’: ./include/linux/context_tracking_state.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | static inline bool context_tracking_cpu_is_enabled(void) { return false; } | ^~~~~~ In file included from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/vtime.h: In function ‘vtime_accounting_cpu_enabled’: ./include/linux/vtime.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | static inline bool vtime_accounting_cpu_enabled(void) { return false; } | ^~~~~~ ./include/linux/mm.h: In function ‘vm_unmapped_area’: ./include/linux/mm.h:2461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2461 | { | ^ ./include/linux/vtime.h: In function ‘vtime_task_switch’: ./include/linux/vtime.h:65:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | static inline void vtime_task_switch(struct task_struct *prev) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_system’: ./include/linux/vtime.h:66:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | static inline void vtime_account_system(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_enter’: ./include/linux/vtime.h:77:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | static inline void vtime_user_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_exit’: ./include/linux/vtime.h:78:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline void vtime_user_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ In file included from ./arch/x86/include/asm/elf.h:13, from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_read_cpu’: ./include/linux/vtime.h: In function ‘vtime_guest_enter’: ./arch/x86/include/asm/fsgsbase.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/vtime.h:79:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | static inline void vtime_guest_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_guest_exit’: ./include/linux/vtime.h:80:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | static inline void vtime_guest_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_read_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./include/linux/vtime.h: In function ‘vtime_init_idle’: ./include/linux/vtime.h:81:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_write_cpu’: ./include/linux/vtime.h: In function ‘vtime_account_irq_enter’: ./arch/x86/include/asm/fsgsbase.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/vtime.h:93:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void vtime_account_irq_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_write_cpu_inactive’: ./include/linux/vtime.h: In function ‘vtime_account_irq_exit’: ./arch/x86/include/asm/fsgsbase.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/vtime.h:94:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void vtime_account_irq_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_flush’: ./include/linux/vtime.h:95:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | static inline void vtime_flush(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘irqtime_account_irq’: ./include/linux/vtime.h:102:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void irqtime_account_irq(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘account_irq_enter_time’: ./include/linux/vtime.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/vtime.h: In function ‘account_irq_exit_time’: ./include/linux/vtime.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/elf.h: In function ‘elf_common_init’: ./arch/x86/include/asm/elf.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ In file included from ./include/linux/interrupt.h:19, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/irq.h: In function ‘irq_canonicalize’: ./arch/x86/include/asm/irq.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/elf.h: In function ‘mmap_is_ia32’: ./arch/x86/include/asm/elf.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ In file included from ./arch/x86/include/asm/sections.h:5, from ./include/linux/interrupt.h:20, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/sections.h: In function ‘arch_is_kernel_text’: ./include/asm-generic/sections.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/asm-generic/sections.h: In function ‘arch_is_kernel_data’: ./include/asm-generic/sections.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_contains’: ./include/asm-generic/sections.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_intersects’: ./include/asm-generic/sections.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_contains’: ./include/asm-generic/sections.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_intersects’: ./include/asm-generic/sections.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/sections.h: In function ‘is_kernel_rodata’: ./include/asm-generic/sections.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ In file included from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/interrupt.h: In function ‘request_irq’: In file included from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_size’: ./include/linux/interrupt.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/elf.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | static inline int elf_coredump_extra_notes_size(void) { return 0; } | ^~~~~~ ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_write’: ./include/linux/elf.h:54:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/interrupt.h: In function ‘request_percpu_irq’: ./include/linux/interrupt.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/interrupt.h: In function ‘devm_request_irq’: ./include/linux/interrupt.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h: In function ‘find_vma_intersection’: ./include/linux/mm.h:2525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2525 | { | ^ ./include/linux/interrupt.h: In function ‘irq_set_affinity’: ./include/linux/interrupt.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/interrupt.h: In function ‘irq_force_affinity’: ./include/linux/interrupt.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/mm.h: In function ‘vm_start_gap’: ./include/linux/mm.h:2534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2534 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep’: ./include/linux/interrupt.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep_irqsave’: ./include/linux/mm.h: In function ‘vm_end_gap’: ./include/linux/interrupt.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_lockdep’: ./include/linux/interrupt.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/mm.h:2546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2546 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep’: ./include/linux/interrupt.h:402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 402 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep_irqrestore’: ./include/linux/mm.h: In function ‘vma_pages’: ./include/linux/interrupt.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_wake’: ./include/linux/mm.h:2558:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2558 | { | ^ ./include/linux/interrupt.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_wake’: ./include/linux/mm.h: In function ‘find_exact_vma’: ./include/linux/interrupt.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./include/linux/mm.h:2565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2565 | { | ^ ./include/linux/interrupt.h: In function ‘this_cpu_ksoftirqd’: ./include/linux/mm.h: In function ‘range_in_vma’: ./include/linux/interrupt.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/mm.h:2576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2576 | { | ^ ./include/linux/mm.h: In function ‘vmf_insert_page’: ./include/linux/mm.h:2615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2615 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageReferenced’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/interrupt.h: In function ‘tasklet_trylock’: ./include/linux/interrupt.h:582:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 582 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReferenced’: ./include/linux/interrupt.h: In function ‘tasklet_unlock’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:284:1: note: in expansion of macro ‘PAGEFLAG’ 284 | PAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~ ./include/linux/interrupt.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock_wait’: ./include/linux/page-flags.h: In function ‘TestClearPageReferenced’: ./include/linux/interrupt.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:285:2: note: in expansion of macro ‘TESTCLEARFLAG’ 285 | TESTCLEARFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/interrupt.h: In function ‘tasklet_schedule’: ./include/linux/page-flags.h: In function ‘__SetPageReferenced’: ./include/linux/interrupt.h:605:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 605 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:286:2: note: in expansion of macro ‘__SETPAGEFLAG’ 286 | __SETPAGEFLAG(Referenced, referenced, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/interrupt.h: In function ‘tasklet_hi_schedule’: ./include/linux/interrupt.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/page-flags.h: In function ‘PageDirty’: ./include/linux/interrupt.h: In function ‘tasklet_disable_nosync’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/interrupt.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_disable’: ./include/linux/interrupt.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageDirty’: ./include/linux/interrupt.h: In function ‘tasklet_enable’: ./include/linux/interrupt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/mm.h: In function ‘vmf_error’: ./include/linux/page-flags.h: In function ‘ClearPageDirty’: ./include/linux/mm.h:2627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2627 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_start’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:1: note: in expansion of macro ‘PAGEFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~ ./include/linux/interrupt.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_cancel’: ./include/linux/interrupt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDirty’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./include/linux/mm.h: In function ‘vm_fault_to_errno’: ./include/linux/page-flags.h: In function ‘TestClearPageDirty’: ./include/linux/mm.h:2655:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2655 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:287:33: note: in expansion of macro ‘TESTSCFLAG’ 287 | PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageDirty’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:288:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 288 | __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/pci.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/io.h: In function ‘pci_remap_cfgspace’: ./include/linux/io.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/page-flags.h: In function ‘PageLRU’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ In file included from ./include/linux/pci.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/resource_ext.h: In function ‘resource_list_add’: ./include/linux/page-flags.h: In function ‘SetPageLRU’: ./include/linux/resource_ext.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./include/linux/mm.h: In function ‘kernel_map_pages’: ./include/linux/resource_ext.h: In function ‘resource_list_add_tail’: ./include/linux/resource_ext.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/mm.h:2702:25: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2702 | kernel_map_pages(struct page *page, int numpages, int enable) {} | ^~~~ ./include/linux/resource_ext.h: In function ‘resource_list_del’: ./include/linux/mm.h: In function ‘kernel_page_present’: ./include/linux/resource_ext.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_free_entry’: ./include/linux/resource_ext.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_destroy_entry’: ./include/linux/resource_ext.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ In file included from ./include/linux/kernfs.h:14, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/idr.h: In function ‘idr_get_cursor’: ./include/linux/idr.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/idr.h: In function ‘idr_set_cursor’: ./include/linux/idr.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageLRU’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:289:1: note: in expansion of macro ‘PAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~ ./include/linux/idr.h: In function ‘idr_init_base’: ./include/linux/idr.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageLRU’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:289:29: note: in expansion of macro ‘__CLEARPAGEFLAG’ 289 | PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/idr.h: In function ‘idr_init’: ./include/linux/idr.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/idr.h: In function ‘idr_is_empty’: ./include/linux/page-flags.h: In function ‘PageActive’: ./include/linux/idr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/idr.h: In function ‘idr_preload_end’: ./include/linux/idr.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageActive’: ./include/linux/idr.h: In function ‘ida_alloc’: ./include/linux/idr.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/idr.h: In function ‘ida_alloc_min’: ./include/linux/idr.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageActive’: ./include/linux/idr.h: In function ‘ida_alloc_max’: ./include/linux/idr.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:290:1: note: in expansion of macro ‘PAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~ ./include/linux/idr.h: In function ‘ida_init’: ./include/linux/idr.h:293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 293 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageActive’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:290:35: note: in expansion of macro ‘__CLEARPAGEFLAG’ 290 | PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/idr.h: In function ‘ida_is_empty’: ./include/linux/idr.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageActive’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:291:2: note: in expansion of macro ‘TESTCLEARFLAG’ 291 | TESTCLEARFLAG(Active, active, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageWorkingset’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageWorkingset’: In file included from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kernfs.h: In function ‘kernfs_type’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/kernfs.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageWorkingset’: ./include/linux/kernfs.h: In function ‘kernfs_enable_ns’: ./include/linux/kernfs.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:292:1: note: in expansion of macro ‘PAGEFLAG’ 292 | PAGEFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageWorkingset’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:293:2: note: in expansion of macro ‘TESTCLEARFLAG’ 293 | TESTCLEARFLAG(Workingset, workingset, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSlab’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/kernfs.h: In function ‘kernfs_ns_enabled’: ./include/linux/kernfs.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSlab’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h:2704:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2704 | static inline bool kernel_page_present(struct page *page) { return true; } | ^~~~ ./include/linux/mm.h: In function ‘debug_pagealloc_enabled’: ./include/linux/page-flags.h: In function ‘__ClearPageSlab’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:294:1: note: in expansion of macro ‘__PAGEFLAG’ 294 | __PAGEFLAG(Slab, slab, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h:2707:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2707 | { | ^ ./include/linux/page-flags.h: In function ‘PageSlobFree’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__SetPageSlobFree’: ./include/linux/mm.h: In function ‘debug_guardpage_minorder’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h:2870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2870 | static inline unsigned int debug_guardpage_minorder(void) { return 0; } | ^~~~~~ ./include/linux/mm.h: In function ‘debug_guardpage_enabled’: ./include/linux/page-flags.h: In function ‘__ClearPageSlobFree’: ./include/linux/mm.h:2871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2871 | static inline bool debug_guardpage_enabled(void) { return false; } | ^~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:295:1: note: in expansion of macro ‘__PAGEFLAG’ 295 | __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/mm.h: In function ‘page_is_guard’: ./include/linux/mm.h:2872:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2872 | static inline bool page_is_guard(struct page *page) { return false; } | ^~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_noncached_weak’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:23:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_modify_writecombine’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:40:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pci.h: In function ‘pci_slot_name’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:21, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: ./include/linux/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:88:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:134:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/pci.h: In function ‘pci_power_name’: ./include/linux/pci.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘nv_page_fault_va’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:207:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/pci.h: In function ‘pci_physfn’: ./include/linux/pci.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_path’: ./include/linux/kernfs.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_find_and_get’: ./include/linux/pci.h: In function ‘pci_channel_offline’: ./include/linux/kernfs.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/pci.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_walk_and_get’: ./include/linux/pci.h: In function ‘pci_host_bridge_priv’: ./include/linux/pci.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_from_priv’: ./include/linux/pci.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/kernfs.h:499:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 499 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_dir’: ./include/linux/kernfs.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file_ns’: ./include/linux/kernfs.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file’: ./include/linux/kernfs.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/pci.h: In function ‘pci_is_root_bus’: ./include/linux/pci.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_remove_by_name’: ./include/linux/pci.h: In function ‘pci_is_bridge’: ./include/linux/kernfs.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/pci.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_rename’: ./include/linux/kernfs.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/pci.h: In function ‘pci_upstream_bridge’: ./include/linux/kernfs.h: In function ‘kernfs_mount’: ./include/linux/pci.h:630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 630 | { | ^ ./include/linux/kernfs.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/pci.h: In function ‘pci_dev_msi_enabled’: ./include/linux/pci.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/pci.h: In function ‘pcibios_err_to_errno’: ./include/linux/pci.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | { | ^ ./include/linux/pci.h: In function ‘pci_set_flags’: ./include/linux/pci.h:875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 875 | static inline void pci_set_flags(int flags) { pci_flags = flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_add_flags’: ./include/linux/pci.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | static inline void pci_add_flags(int flags) { pci_flags |= flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_clear_flags’: ./include/linux/pci.h:877:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 877 | static inline void pci_clear_flags(int flags) { pci_flags &= ~flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_has_flag’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:23, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_typed_data’: ./include/linux/pci.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | static inline int pci_has_flag(int flag) { return pci_flags & flag; } | ^~~~~~ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_anon_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_setup’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_set_word’: ./include/linux/pci.h:1045:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1045 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_set_dword’: ./include/linux/pci.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_word’: ./include/linux/pci.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_dword’: ./include/linux/pci.h:1063:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1063 | { | ^ ./include/linux/pci.h: In function ‘pci_intx_mask_supported’: ./include/linux/pci.h:1083:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1083 | { | ^ ./include/linux/pci.h: In function ‘pci_is_enabled’: ./include/linux/pci.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/pci.h: In function ‘pci_is_managed’: In file included from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sysfs.h: In function ‘sysfs_enable_ns’: ./include/linux/pci.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/sysfs.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_create_file’: ./include/linux/sysfs.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_remove_file’: ./include/linux/sysfs.h:518:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 518 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_rename_link’: ./include/linux/sysfs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_notify_dirent’: ./include/linux/sysfs.h:529:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 529 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get_dirent’: ./include/linux/sysfs.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get’: ./include/linux/sysfs.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_put’: ./include/linux/sysfs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ In file included from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kobject.h: In function ‘kobject_name’: ./include/linux/kobject.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_address’: ./include/linux/kobject.h: In function ‘kobject_has_children’: ./include/linux/pci.h:1290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1290 | { | ^ ./include/linux/kobject.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ In file included from ./include/linux/dmapool.h:14, from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/scatterlist.h: In function ‘sg_assign_page’: ./include/linux/scatterlist.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/kobject.h: In function ‘to_kset’: ./include/linux/kobject.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/kobject.h: In function ‘kset_get’: ./include/linux/kobject.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_page’: ./include/linux/scatterlist.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/kobject.h: In function ‘kset_put’: ./include/linux/kobject.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page’: ./include/linux/scatterlist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/kobject.h: In function ‘get_ktype’: ./include/linux/kobject.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_buf’: ./include/linux/scatterlist.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_chain’: ./include/linux/scatterlist.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_mark_end’: ./include/linux/scatterlist.h:191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 191 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_unmark_end’: ./include/linux/scatterlist.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_phys’: ./include/linux/scatterlist.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_virt’: ./include/linux/scatterlist.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_init_marker’: ./include/linux/scatterlist.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/page-flags.h: In function ‘PageChecked’: ./include/linux/scatterlist.h: In function ‘sg_page_iter_page’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/scatterlist.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_dma_address’: ./include/linux/scatterlist.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageChecked’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ In file included from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dmapool.h: In function ‘dma_pool_zalloc’: ./include/linux/page-flags.h: In function ‘ClearPageChecked’: ./include/linux/dmapool.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:296:1: note: in expansion of macro ‘PAGEFLAG’ 296 | PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PagePinned’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pci.h: In function ‘pci_enable_msix_exact’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/pci.h:1391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1391 | { | ^ ./include/linux/page-flags.h: In function ‘SetPagePinned’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_alloc_irq_vectors’: ./include/linux/pci.h:1457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1457 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPagePinned’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:299:1: note: in expansion of macro ‘PAGEFLAG’ 299 | PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_irqd_intx_xlate’: ./include/linux/pci.h:1484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1484 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPagePinned’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPagePinned’: ./include/linux/pci.h: In function ‘pcie_set_ecrc_checking’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:300:2: note: in expansion of macro ‘TESTSCFLAG’ 300 | TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) | ^~~~~~~~~~ ./include/linux/pci.h:1518:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1518 | static inline void pcie_set_ecrc_checking(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pcie_ecrc_get_policy’: ./include/linux/pci.h:1519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1519 | static inline void pcie_ecrc_get_policy(char *str) { } | ^~~~~~ ./include/linux/page-flags.h: In function ‘PageSavePinned’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_request_io_regions’: ./include/linux/pci.h:1587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1587 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSavePinned’: ./include/linux/pci.h: In function ‘pci_release_io_regions’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/pci.h:1594:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1594 | { | ^ In file included from ./include/linux/module.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rbtree_latch.h: In function ‘__lt_from_rb’: ./include/linux/pci.h: In function ‘pci_request_mem_regions’: ./include/linux/rbtree_latch.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSavePinned’: ./include/linux/pci.h:1601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1601 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:301:1: note: in expansion of macro ‘PAGEFLAG’ 301 | PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_release_mem_regions’: ./include/linux/pci.h:1608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1608 | { | ^ ./include/linux/page-flags.h: In function ‘PageForeign’: ./include/linux/rbtree_latch.h: In function ‘__lt_insert’: ./include/linux/rbtree_latch.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./include/linux/rbtree_latch.h: In function ‘__lt_erase’: ./include/linux/rbtree_latch.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageForeign’: ./include/linux/rbtree_latch.h: In function ‘__lt_find’: ./include/linux/rbtree_latch.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pci.h: In function ‘pci_domain_nr’: ./arch/x86/include/asm/pci.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageForeign’: ./arch/x86/include/asm/pci.h: In function ‘pci_proc_domain’: ./arch/x86/include/asm/pci.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:302:1: note: in expansion of macro ‘PAGEFLAG’ 302 | PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); | ^~~~~~~~ ./arch/x86/include/asm/pci.h: In function ‘_pci_root_bus_fwnode’: ./arch/x86/include/asm/pci.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘is_vmd’: ./arch/x86/include/asm/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/page-flags.h: In function ‘PageReserved’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/rbtree_latch.h: In function ‘latch_tree_insert’: ./include/linux/rbtree_latch.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ In file included from ./arch/x86/include/asm/pci.h:123, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pci_64.h: In function ‘pci_iommu’: ./include/linux/rbtree_latch.h: In function ‘latch_tree_erase’: ./arch/x86/include/asm/pci_64.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./include/linux/rbtree_latch.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageReserved’: ./arch/x86/include/asm/pci_64.h: In function ‘set_pci_iommu’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./arch/x86/include/asm/pci_64.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_find’: ./include/linux/rbtree_latch.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReserved’: In file included from ./arch/x86/include/asm/pci.h:127, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/asm-generic/pci.h: In function ‘pci_get_legacy_ide_irq’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:304:1: note: in expansion of macro ‘PAGEFLAG’ 304 | PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~ ./include/asm-generic/pci.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/pci.h: In function ‘__pcibus_to_node’: ./arch/x86/include/asm/pci.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageReserved’: ./arch/x86/include/asm/pci.h: In function ‘cpumask_of_pcibus’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:305:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 305 | __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~~~ ./arch/x86/include/asm/pci.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageReserved’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:306:2: note: in expansion of macro ‘__SETPAGEFLAG’ 306 | __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pci.h: In function ‘pci_get_drvdata’: ./include/linux/page-flags.h: In function ‘PageSwapBacked’: ./include/linux/pci.h:1790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1790 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_set_drvdata’: ./include/linux/pci.h:1795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1795 | { | ^ ./include/linux/pci.h: In function ‘pci_name’: ./include/linux/page-flags.h: In function ‘SetPageSwapBacked’: ./include/linux/pci.h:1800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1800 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/pci.h: In function ‘pci_resource_to_user’: ./include/linux/pci.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSwapBacked’: ./include/linux/pci.h: In function ‘pci_pcie_cap’: ./include/linux/pci.h:2069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2069 | { | ^ ./include/linux/pci.h: In function ‘pci_is_pcie’: ./include/linux/pci.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/pci.h: In function ‘pcie_caps_reg’: ./include/linux/pci.h:2089:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2089 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_type’: ./include/linux/pci.h:2098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2098 | { | ^ ./include/linux/pci.h: In function ‘pcie_find_root_port’: ./include/linux/pci.h:2103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2103 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_size’: ./include/linux/pci.h:2160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2160 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_tag’: ./include/linux/pci.h:2171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2171 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_size’: In file included from ./include/linux/utsname.h:7, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kref.h: In function ‘kref_init’: ./include/linux/kref.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/pci.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/kref.h: In function ‘kref_read’: ./include/linux/pci.h: In function ‘pci_vpd_srdt_tag’: ./include/linux/kref.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/kref.h: In function ‘kref_get’: ./include/linux/kref.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/pci.h:2193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2193 | { | ^ ./include/linux/kref.h: In function ‘kref_put’: ./include/linux/kref.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_info_field_size’: ./include/linux/kref.h: In function ‘kref_put_mutex’: ./include/linux/kref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/pci.h:2204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2204 | { | ^ ./include/linux/kref.h: In function ‘kref_put_lock’: ./include/linux/pci.h: In function ‘pci_set_of_node’: ./include/linux/kref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/kref.h: In function ‘kref_get_unless_zero’: ./include/linux/pci.h:2250:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2250 | static inline void pci_set_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/kref.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/pci.h: In function ‘pci_release_of_node’: ./include/linux/pci.h:2251:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2251 | static inline void pci_release_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_set_bus_of_node’: In file included from ./include/linux/utsname.h:8, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/nsproxy.h: In function ‘put_nsproxy’: ./include/linux/pci.h:2252:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2252 | static inline void pci_set_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/nsproxy.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/pci.h: In function ‘pci_release_bus_of_node’: ./include/linux/nsproxy.h: In function ‘get_nsproxy’: ./include/linux/nsproxy.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/pci.h:2253:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2253 | static inline void pci_release_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_host_bridge_of_msi_domain’: ./include/linux/pci.h:2255:38: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2255 | pci_host_bridge_of_msi_domain(struct pci_bus *bus) { return NULL; } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_parse_request_of_pci_ranges’: ./include/linux/pci.h:2259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2259 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/utsname.h: In function ‘get_uts_ns’: ./include/linux/pci.h: In function ‘pci_device_to_OF_node’: ./include/linux/utsname.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/pci.h:2266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2266 | { | ^ ./include/linux/utsname.h: In function ‘put_uts_ns’: ./include/linux/utsname.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_to_OF_node’: ./include/linux/utsname.h: In function ‘utsname’: ./include/linux/utsname.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pci.h:2271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2271 | { | ^ ./include/linux/utsname.h: In function ‘init_utsname’: ./include/linux/utsname.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/pci.h: In function ‘pci_set_dev_assigned’: ./include/linux/pci.h:2300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2300 | { | ^ ./include/linux/pci.h: In function ‘pci_clear_dev_assigned’: ./include/linux/pci.h:2304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2304 | { | ^ ./include/linux/pci.h: In function ‘pci_is_dev_assigned’: ./include/linux/pci.h:2308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2308 | { | ^ ./include/linux/pci.h: In function ‘pci_ari_enabled’: ./include/linux/pci.h:2319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2319 | { | ^ ./include/linux/pci.h: In function ‘pci_is_thunderbolt_attached’: ./include/linux/pci.h:2332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2332 | { | ^ In file included from ./include/linux/umh.h:9, from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sysctl.h: In function ‘proc_sys_poll_event’: ./include/linux/sysctl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/module.h: In function ‘kallsyms_symbol_value’: ./include/linux/module.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/module.h: In function ‘module_is_live’: ./include/linux/module.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/module.h: In function ‘within_module_core’: ./include/linux/module.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ In file included from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/umh.h: In function ‘usermodehelper_disable’: ./include/linux/umh.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/module.h: In function ‘within_module_init’: ./include/linux/umh.h: In function ‘usermodehelper_enable’: ./include/linux/module.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/umh.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/module.h: In function ‘within_module’: ./include/linux/module.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/module.h: In function ‘module_requested_async_probing’: ./include/linux/module.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/module.h: In function ‘is_livepatch_module’: ./include/linux/module.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ In file included from ./arch/x86/include/asm/elf.h:13, from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_read_cpu’: ./arch/x86/include/asm/fsgsbase.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_read_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_write_cpu’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/module.h: In function ‘module_sig_ok’: ./arch/x86/include/asm/fsgsbase.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/module.h:842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 842 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_write_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:89, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ctype.h: In function ‘isdigit’: ./include/linux/ctype.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/ctype.h: In function ‘__tolower’: ./include/linux/ctype.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ In file included from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/elf.h: In function ‘elf_common_init’: ./include/linux/ctype.h: In function ‘__toupper’: ./include/linux/ctype.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/elf.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/ctype.h: In function ‘_tolower’: ./include/linux/ctype.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/ctype.h: In function ‘isodigit’: ./include/linux/ctype.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./arch/x86/include/asm/elf.h: In function ‘mmap_is_ia32’: ./arch/x86/include/asm/elf.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ In file included from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_size’: ./include/linux/elf.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | static inline int elf_coredump_extra_notes_size(void) { return 0; } | ^~~~~~ In file included from ./include/linux/cpufreq.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/clk.h: In function ‘clk_prepare_enable’: ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_write’: ./include/linux/elf.h:54:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; } | ^~~~~~~~~~~~~~~ ./include/linux/clk.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/clk.h: In function ‘clk_disable_unprepare’: ./include/linux/clk.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ In file included from ./include/linux/kernfs.h:14, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/idr.h: In function ‘idr_get_cursor’: ./include/linux/clk.h: In function ‘clk_bulk_prepare_enable’: ./include/linux/idr.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/clk.h:845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 845 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_disable_unprepare’: ./include/linux/clk.h:860:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 860 | { | ^ ./include/linux/idr.h: In function ‘idr_set_cursor’: ./include/linux/idr.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get’: ./include/linux/clk.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_by_name’: ./include/linux/clk.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_from_provider’: ./include/linux/clk.h:880:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 880 | { | ^ ./include/linux/idr.h: In function ‘idr_init_base’: ./include/linux/idr.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/idr.h: In function ‘idr_init’: ./include/linux/idr.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/idr.h: In function ‘idr_is_empty’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/cpufreq.h: In function ‘policy_is_shared’: ./include/linux/idr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/cpufreq.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/idr.h: In function ‘idr_preload_end’: ./include/linux/idr.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc’: ./include/linux/idr.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_min’: ./include/linux/idr.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_max’: ./include/linux/idr.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_limits’: ./include/linux/idr.h: In function ‘ida_init’: ./include/linux/idr.h:293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 293 | { | ^ ./include/linux/cpufreq.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/idr.h: In function ‘ida_is_empty’: ./include/linux/idr.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_cpu_limits’: ./include/linux/cpufreq.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_scale’: ./include/linux/cpufreq.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_policy_apply_limits’: ./include/linux/cpufreq.h:536:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | { | ^ In file included from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kernfs.h: In function ‘kernfs_type’: ./include/linux/kernfs.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_this_cpu_can_update’: ./include/linux/kernfs.h: In function ‘kernfs_enable_ns’: ./include/linux/kernfs.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/cpufreq.h:567:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 567 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_ns_enabled’: ./include/linux/kernfs.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_path’: ./include/linux/kernfs.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:307:1: note: in expansion of macro ‘PAGEFLAG’ 307 | PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/kernfs.h: In function ‘kernfs_find_and_get’: ./include/linux/kernfs.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_walk_and_get’: ./include/linux/kernfs.h:499:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 499 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSwapBacked’: ./include/linux/kernfs.h: In function ‘kernfs_create_dir’: ./include/linux/kernfs.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:308:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 308 | __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/linux/kernfs.h: In function ‘kernfs_create_file_ns’: ./include/linux/kernfs.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageSwapBacked’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:309:2: note: in expansion of macro ‘__SETPAGEFLAG’ 309 | __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/kernfs.h: In function ‘kernfs_create_file’: ./include/linux/kernfs.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_remove_by_name’: ./include/linux/kernfs.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/page-flags.h: In function ‘PagePrivate’: ./include/linux/kernfs.h: In function ‘kernfs_rename’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/kernfs.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_mount’: ./include/linux/page-flags.h: In function ‘SetPagePrivate’: ./include/linux/kernfs.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_al’: ./include/linux/cpufreq.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPagePrivate’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:316:1: note: in expansion of macro ‘PAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dl’: ./include/linux/page-flags.h: In function ‘__SetPagePrivate’: ./include/linux/cpufreq.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:316:36: note: in expansion of macro ‘__SETPAGEFLAG’ 316 | PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPagePrivate’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:317:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 317 | __CLEARPAGEFLAG(Private, private, PF_ANY) | ^~~~~~~~~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_l’: ./include/linux/cpufreq.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/page-flags.h: In function ‘PagePrivate2’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ In file included from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sysfs.h: In function ‘sysfs_enable_ns’: ./include/linux/page-flags.h: In function ‘SetPagePrivate2’: ./include/linux/sysfs.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPagePrivate2’: ./include/linux/sysfs.h: In function ‘sysfs_create_file’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:1: note: in expansion of macro ‘PAGEFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~ ./include/linux/sysfs.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_remove_file’: ./include/linux/sysfs.h:518:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 518 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPagePrivate2’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/sysfs.h: In function ‘sysfs_rename_link’: ./include/linux/sysfs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_notify_dirent’: ./include/linux/page-flags.h: In function ‘TestClearPagePrivate2’: ./include/linux/sysfs.h:529:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 529 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:318:39: note: in expansion of macro ‘TESTSCFLAG’ 318 | PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) | ^~~~~~~~~~ ./include/linux/sysfs.h: In function ‘sysfs_get_dirent’: ./include/linux/sysfs.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get’: ./include/linux/page-flags.h: In function ‘PageOwnerPriv1’: ./include/linux/sysfs.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/sysfs.h: In function ‘sysfs_put’: ./include/linux/sysfs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageOwnerPriv1’: In file included from ./include/linux/dma-mapping.h:9, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dma-debug.h: In function ‘dma_debug_add_bus’: ./include/linux/dma-debug.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/dma-debug.h: In function ‘debug_dma_map_single’: In file included from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kobject.h: In function ‘kobject_name’: ./include/linux/dma-debug.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageOwnerPriv1’: ./include/linux/kobject.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_page’: ./include/linux/dma-debug.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:319:1: note: in expansion of macro ‘PAGEFLAG’ 319 | PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~ ./include/linux/dma-debug.h: In function ‘debug_dma_mapping_error’: ./include/linux/dma-debug.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_page’: ./include/linux/dma-debug.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageOwnerPriv1’: ./include/linux/dma-debug.h: In function ‘debug_dma_map_sg’: ./include/linux/kobject.h: In function ‘kobject_has_children’: ./include/linux/dma-debug.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:320:2: note: in expansion of macro ‘TESTCLEARFLAG’ 320 | TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/kobject.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_sg’: ./include/linux/dma-debug.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_alloc_coherent’: ./include/linux/page-flags.h: In function ‘PageWriteback’: ./include/linux/dma-debug.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:326:1: note: in expansion of macro ‘TESTPAGEFLAG’ 326 | TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~~~ ./include/linux/dma-debug.h: In function ‘debug_dma_free_coherent’: ./include/linux/dma-debug.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_resource’: ./include/linux/dma-debug.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_resource’: ./include/linux/dma-debug.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_cpu’: ./include/linux/page-flags.h: In function ‘TestSetPageWriteback’: ./include/linux/dma-debug.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_device’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/dma-debug.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_cpu’: ./include/linux/dma-debug.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_device’: ./include/linux/dma-debug.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/kobject.h: In function ‘to_kset’: ./include/linux/page-flags.h: In function ‘TestClearPageWriteback’: ./include/linux/dma-debug.h: In function ‘debug_dma_dump_mappings’: ./include/linux/kobject.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/dma-debug.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:327:2: note: in expansion of macro ‘TESTSCFLAG’ 327 | TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/dma-debug.h: In function ‘debug_dma_assert_idle’: ./include/linux/dma-debug.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/page-flags.h: In function ‘PageMappedToDisk’: ./include/linux/kobject.h: In function ‘kset_get’: ./include/linux/kobject.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/kobject.h: In function ‘kset_put’: ./include/linux/kobject.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/kobject.h: In function ‘get_ktype’: ./include/linux/kobject.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dma-mapping.h: In function ‘valid_dma_direction’: ./include/linux/page-flags.h: In function ‘SetPageMappedToDisk’: ./include/linux/dma-mapping.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/dma-mapping.h: In function ‘is_device_dma_capable’: ./include/linux/dma-mapping.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageMappedToDisk’: ./include/linux/dma-mapping.h: In function ‘dma_alloc_from_global_coherent’: ./include/linux/dma-mapping.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:328:1: note: in expansion of macro ‘PAGEFLAG’ 328 | PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/dma-mapping.h: In function ‘dma_release_from_global_coherent’: ./include/linux/dma-mapping.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_from_global_coherent’: ./include/linux/dma-mapping.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/page-flags.h: In function ‘PageReclaim’: ./include/linux/dma-mapping.h: In function ‘dma_is_direct’: ./include/linux/dma-mapping.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageReclaim’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ In file included from ./arch/x86/include/asm/swiotlb.h:5, from ./arch/x86/include/asm/dma-mapping.h:13, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/swiotlb.h: In function ‘is_swiotlb_buffer’: ./include/linux/page-flags.h: In function ‘ClearPageReclaim’: ./include/linux/swiotlb.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ In file included from ./include/linux/module.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rbtree_latch.h: In function ‘__lt_from_rb’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:331:1: note: in expansion of macro ‘PAGEFLAG’ 331 | PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/rbtree_latch.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageReclaim’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:332:2: note: in expansion of macro ‘TESTCLEARFLAG’ 332 | TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/rbtree_latch.h: In function ‘__lt_insert’: ./include/linux/rbtree_latch.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ In file included from ./arch/x86/include/asm/dma-mapping.h:14, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dma-contiguous.h: In function ‘dev_get_cma_area’: ./include/linux/dma-contiguous.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/page-flags.h: In function ‘PageReadahead’: ./include/linux/dma-contiguous.h: In function ‘dev_set_cma_area’: ./include/linux/dma-contiguous.h:129:64: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void dev_set_cma_area(struct device *dev, struct cma *cma) { } | ^~~ ./include/linux/rbtree_latch.h: In function ‘__lt_erase’: ./include/linux/rbtree_latch.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_set_default’: ./include/linux/dma-contiguous.h:131:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void dma_contiguous_set_default(struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve’: ./include/linux/rbtree_latch.h: In function ‘__lt_find’: ./include/linux/dma-contiguous.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void dma_contiguous_reserve(phys_addr_t limit) { } | ^~~~~~ ./include/linux/rbtree_latch.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve_area’: ./include/linux/dma-contiguous.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_declare_contiguous’: ./include/linux/dma-contiguous.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageReadahead’: ./include/linux/dma-contiguous.h: In function ‘dma_alloc_from_contiguous’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/dma-contiguous.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_release_from_contiguous’: ./include/linux/dma-contiguous.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_contiguous’: ./include/linux/dma-contiguous.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageReadahead’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:333:1: note: in expansion of macro ‘PAGEFLAG’ 333 | PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/rbtree_latch.h: In function ‘latch_tree_insert’: ./include/linux/page-flags.h: In function ‘TestClearPageReadahead’: ./include/linux/rbtree_latch.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:334:2: note: in expansion of macro ‘TESTCLEARFLAG’ 334 | TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) | ^~~~~~~~~~~~~ ./include/linux/rbtree_latch.h: In function ‘latch_tree_erase’: ./include/linux/rbtree_latch.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_find’: ./include/linux/page-flags.h: In function ‘PageHighMem’: ./include/linux/rbtree_latch.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/page-flags.h:258:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | static inline int Page##uname(const struct page *page) { return 0; } | ^~~~ ./include/linux/page-flags.h:275:31: note: in expansion of macro ‘TESTPAGEFLAG_FALSE’ 275 | #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname) \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageHighMem’: ./include/linux/page-flags.h:261:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | static inline void SetPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:2: note: in expansion of macro ‘SETPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageHighMem’: ./include/linux/page-flags.h:264:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | static inline void ClearPage##uname(struct page *page) { } | ^~~~ ./include/linux/page-flags.h:276:26: note: in expansion of macro ‘CLEARPAGEFLAG_NOOP’ 276 | SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) | ^~~~~~~~~~~~~~~~~~ ./include/linux/page-flags.h:343:1: note: in expansion of macro ‘PAGEFLAG_FALSE’ 343 | PAGEFLAG_FALSE(HighMem) | ^~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageSwapCache’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/module.h: In function ‘kallsyms_symbol_value’: ./include/linux/module.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/module.h: In function ‘module_is_live’: ./include/linux/module.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/module.h: In function ‘within_module_core’: ./include/linux/module.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/module.h: In function ‘within_module_init’: ./include/linux/module.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/module.h: In function ‘within_module’: ./include/linux/module.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/module.h: In function ‘module_requested_async_probing’: ./include/linux/module.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/module.h: In function ‘is_livepatch_module’: ./include/linux/module.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/module.h: In function ‘module_sig_ok’: ./include/linux/module.h:842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 842 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:89, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ctype.h: In function ‘isdigit’: ./include/linux/ctype.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_free_contiguous’: ./include/linux/dma-contiguous.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/ctype.h: In function ‘__tolower’: ./include/linux/ctype.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/ctype.h: In function ‘__toupper’: ./include/linux/ctype.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/ctype.h: In function ‘_tolower’: ./include/linux/ctype.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/ctype.h: In function ‘isodigit’: ./include/linux/ctype.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/dma-mapping.h: In function ‘get_arch_dma_ops’: ./arch/x86/include/asm/dma-mapping.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/dma-mapping.h: In function ‘get_dma_ops’: ./include/linux/dma-mapping.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/dma-mapping.h: In function ‘set_dma_ops’: ./include/linux/dma-mapping.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_page_attrs’: ./include/linux/dma-mapping.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ In file included from ./include/linux/cpufreq.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/clk.h: In function ‘clk_prepare_enable’: ./include/linux/clk.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/clk.h: In function ‘clk_disable_unprepare’: ./include/linux/clk.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_page_attrs’: ./include/linux/clk.h: In function ‘clk_bulk_prepare_enable’: ./include/linux/dma-mapping.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/clk.h:845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 845 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_disable_unprepare’: ./include/linux/clk.h:860:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 860 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get’: ./include/linux/clk.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_by_name’: ./include/linux/dma-mapping.h: In function ‘dma_map_sg_attrs’: ./include/linux/clk.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/linux/dma-mapping.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_from_provider’: ./include/linux/clk.h:880:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 880 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/cpufreq.h: In function ‘policy_is_shared’: ./include/linux/dma-mapping.h: In function ‘dma_unmap_sg_attrs’: ./include/linux/cpufreq.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/dma-mapping.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_resource’: ./include/linux/dma-mapping.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_limits’: ./include/linux/cpufreq.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_cpu_limits’: ./include/linux/cpufreq.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_resource’: ./include/linux/dma-mapping.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_scale’: ./include/linux/cpufreq.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_cpu’: ./include/linux/dma-mapping.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_policy_apply_limits’: ./include/linux/cpufreq.h:536:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_device’: ./include/linux/dma-mapping.h:397:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 397 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_this_cpu_can_update’: ./include/linux/cpufreq.h:567:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 567 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_cpu’: ./include/linux/dma-mapping.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_device’: ./include/linux/dma-mapping.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mapping_error’: ./include/linux/dma-mapping.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_single_attrs’: ./include/linux/dma-mapping.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_single_attrs’: ./include/linux/dma-mapping.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_cpu’: ./include/linux/dma-mapping.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_device’: ./include/linux/dma-mapping.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_coherent’: ./include/linux/dma-mapping.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_coherent’: ./include/linux/dma-mapping.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_al’: ./include/linux/dma-mapping.h: In function ‘dma_get_mask’: ./include/linux/cpufreq.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/dma-mapping.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_mask_and_coherent’: ./include/linux/dma-mapping.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dl’: ./include/linux/cpufreq.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_coerce_mask_and_coherent’: ./include/linux/dma-mapping.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/linux/dma-mapping.h: In function ‘arch_setup_dma_ops’: ./include/linux/dma-mapping.h:682:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | bool coherent) { } | ^~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_l’: ./include/linux/dma-mapping.h: In function ‘arch_teardown_dma_ops’: ./include/linux/cpufreq.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/dma-mapping.h:686:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 686 | static inline void arch_teardown_dma_ops(struct device *dev) { } | ^~~~~~ ./include/linux/dma-mapping.h: In function ‘dma_get_max_seg_size’: ./include/linux/dma-mapping.h:690:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 690 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_max_seg_size’: ./include/linux/dma-mapping.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_seg_boundary’: ./include/linux/dma-mapping.h:706:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 706 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_seg_boundary’: ./include/linux/dma-mapping.h:713:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 713 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_max_pfn’: ./include/linux/dma-mapping.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_cache_alignment’: ./include/linux/dma-mapping.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_declare_coherent_memory’: ./include/linux/dma-mapping.h:749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 749 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_declared_memory’: ./include/linux/dma-mapping.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mark_declared_memory_occupied’: ./include/linux/dma-mapping.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dma-mapping.h: In function ‘dmam_alloc_coherent’: ./include/linux/dma-mapping.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_wc’: ./include/linux/dma-mapping.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ah’: ./include/linux/cpufreq.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_wc’: ./include/linux/dma-mapping.h:789:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 789 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_wc’: ./include/linux/dma-mapping.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dh’: ./include/linux/cpufreq.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ In file included from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pci-dma-compat.h: In function ‘pci_alloc_consistent’: ./include/linux/pci-dma-compat.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_zalloc_consistent’: ./include/linux/pci-dma-compat.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_h’: ./include/linux/cpufreq.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_free_consistent’: ./include/linux/pci-dma-compat.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_single’: ./include/linux/pci-dma-compat.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_single’: ./include/linux/pci-dma-compat.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_page’: ./include/linux/pci-dma-compat.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_page’: ./include/linux/pci-dma-compat.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_sg’: ./include/linux/pci-dma-compat.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_sg’: ./include/linux/pci-dma-compat.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_cpu’: ./include/linux/pci-dma-compat.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_device’: ./include/linux/pci-dma-compat.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_cpu’: ./include/linux/pci-dma-compat.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_device’: ./include/linux/pci-dma-compat.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_mapping_error’: ./include/linux/pci-dma-compat.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_dma_mask’: ./include/linux/pci-dma-compat.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_consistent_dma_mask’: ./include/linux/pci-dma-compat.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ac’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:123, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/file.h: In function ‘fput_light’: ./include/linux/cpufreq.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/file.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/file.h: In function ‘fdput’: ./include/linux/file.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/file.h: In function ‘__to_fd’: ./include/linux/file.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dc’: ./include/linux/file.h: In function ‘fdget’: ./include/linux/cpufreq.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/file.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/file.h: In function ‘fdget_raw’: ./include/linux/file.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/file.h: In function ‘fdget_pos’: ./include/linux/file.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/file.h: In function ‘fdput_pos’: ./include/linux/file.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_c’: ./include/linux/cpufreq.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ In file included from ./include/linux/cpu.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/node.h: In function ‘register_one_node’: ./include/linux/node.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ In file included from ./include/linux/cpu.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state’: ./include/linux/cpuhotplug.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_cpuslocked’: ./include/linux/cpuhotplug.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls’: ./include/linux/cpuhotplug.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_multi’: ./include/linux/cpuhotplug.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance’: ./include/linux/cpuhotplug.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls’: ./include/linux/cpuhotplug.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls_cpuslocked’: ./include/linux/cpufreq.h: In function ‘cpufreq_frequency_table_target’: ./include/linux/cpuhotplug.h:311:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 311 | { | ^ ./include/linux/page-flags.h:348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 348 | { | ^ ./include/linux/cpufreq.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageSwapCache’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:355:1: note: in expansion of macro ‘SETPAGEFLAG’ 355 | SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_count_valid_entries’: ./include/linux/cpufreq.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageSwapCache’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:356:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 356 | CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/cpufreq.h: In function ‘sched_cpufreq_governor_change’: ./include/linux/cpufreq.h:950:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | struct cpufreq_governor *old_gov) { } | ^~~~~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageUnevictable’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageUnevictable’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ In file included from ./include/linux/slab.h:131, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/kasan.h: In function ‘kasan_unpoison_shadow’: ./include/linux/kasan.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | static inline void kasan_unpoison_shadow(const void *address, size_t size) {} | ^~~~~~ ./include/linux/page-flags.h: In function ‘ClearPageUnevictable’: ./include/linux/kasan.h: In function ‘kasan_unpoison_task_stack’: ./include/linux/kasan.h:90:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | static inline void kasan_unpoison_task_stack(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:361:1: note: in expansion of macro ‘PAGEFLAG’ 361 | PAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_stack_above_sp_to’: ./include/linux/kasan.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | static inline void kasan_unpoison_stack_above_sp_to(const void *watermark) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_enable_current’: ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ah’: ./include/linux/kasan.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void kasan_enable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_disable_current’: ./include/linux/page-flags.h: In function ‘__ClearPageUnevictable’: ./include/linux/cpufreq.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/kasan.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void kasan_disable_current(void) {} | ^~~~~~ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:362:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 362 | __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_alloc_pages’: ./include/linux/kasan.h:96:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | static inline void kasan_alloc_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_free_pages’: ./include/linux/kasan.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | static inline void kasan_free_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/page-flags.h: In function ‘TestClearPageUnevictable’: ./include/linux/kasan.h: In function ‘kasan_cache_create’: ./include/linux/kasan.h:101:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | slab_flags_t *flags) {} | ^~~~~~~~~~~~ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:363:2: note: in expansion of macro ‘TESTCLEARFLAG’ 363 | TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) | ^~~~~~~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dh’: ./include/linux/kasan.h: In function ‘kasan_poison_slab’: ./include/linux/kasan.h:103:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void kasan_poison_slab(struct page *page) {} | ^~~~ ./include/linux/cpufreq.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/page-flags.h: In function ‘PageMlocked’: ./include/linux/kasan.h: In function ‘kasan_unpoison_object_data’: ./include/linux/kasan.h:105:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_poison_object_data’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/kasan.h:107:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_init_slab_obj’: ./include/linux/kasan.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_h’: ./include/linux/kasan.h: In function ‘kasan_kmalloc_large’: ./include/linux/kasan.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/cpufreq.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kfree_large’: ./include/linux/kasan.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/page-flags.h: In function ‘SetPageMlocked’: ./include/linux/kasan.h: In function ‘kasan_poison_kfree’: ./include/linux/kasan.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_kmalloc’: ./include/linux/kasan.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/kasan.h: In function ‘kasan_krealloc’: ./include/linux/kasan.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_alloc’: ./include/linux/kasan.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageMlocked’: ./include/linux/kasan.h: In function ‘kasan_slab_free’: ./include/linux/kasan.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:366:1: note: in expansion of macro ‘PAGEFLAG’ 366 | PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_module_alloc’: ./include/linux/kasan.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | static inline int kasan_module_alloc(void *addr, size_t size) { return 0; } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_free_shadow’: ./include/linux/kasan.h:143:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | static inline void kasan_free_shadow(const struct vm_struct *vm) {} | ^~~~~~~~~ ./include/linux/page-flags.h: In function ‘__ClearPageMlocked’: ./include/linux/kasan.h: In function ‘kasan_add_zero_shadow’: ./include/linux/kasan.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:367:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 367 | __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_remove_zero_shadow’: ./include/linux/kasan.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | {} | ^ ./include/linux/kasan.h: In function ‘kasan_unpoison_slab’: ./include/linux/kasan.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | static inline void kasan_unpoison_slab(const void *ptr) { } | ^~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageMlocked’: ./include/linux/kasan.h: In function ‘kasan_metadata_size’: ./include/linux/kasan.h:154:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } | ^~~~~~~~~~ ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shrink’: ./include/linux/kasan.h:167:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | static inline void kasan_cache_shrink(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shutdown’: ./include/linux/kasan.h:168:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_init_tags’: ./include/linux/kasan.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | static inline void kasan_init_tags(void) { } | ^~~~~~ ./include/linux/page-flags.h: In function ‘TestClearPageMlocked’: ./include/linux/kasan.h: In function ‘kasan_reset_tag’: ./include/linux/kasan.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:368:2: note: in expansion of macro ‘TESTSCFLAG’ 368 | TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageUncached’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/slab.h: In function ‘kmalloc_type’: ./include/linux/slab.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ac’: ./include/linux/cpufreq.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageUncached’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/slab.h: In function ‘kmalloc_index’: ./include/linux/slab.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageUncached’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:375:1: note: in expansion of macro ‘PAGEFLAG’ 375 | PAGEFLAG(Uncached, uncached, PF_NO_COMPOUND) | ^~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dc’: ./include/linux/cpufreq.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/page-flags.h: In function ‘PageHWPoison’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageHWPoison’: ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_c’: ./include/linux/cpufreq.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/slab.h: In function ‘kfree_bulk’: ./include/linux/slab.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageHWPoison’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:381:1: note: in expansion of macro ‘PAGEFLAG’ 381 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘TestSetPageHWPoison’: ./include/linux/page-flags.h:236:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 236 | static __always_inline int TestSetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:254:2: note: in expansion of macro ‘TESTSETFLAG’ 254 | TESTSETFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/slab.h: In function ‘kmalloc_large’: ./include/linux/slab.h:478:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 478 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageHWPoison’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:255:2: note: in expansion of macro ‘TESTCLEARFLAG’ 255 | TESTCLEARFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:382:1: note: in expansion of macro ‘TESTSCFLAG’ 382 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | ^~~~~~~~~~ ./include/linux/page-flags.h: In function ‘PageYoung’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:395:1: note: in expansion of macro ‘TESTPAGEFLAG’ 395 | TESTPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘SetPageYoung’: ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:396:1: note: in expansion of macro ‘SETPAGEFLAG’ 396 | SETPAGEFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~ ./include/linux/cpufreq.h: In function ‘cpufreq_frequency_table_target’: ./include/linux/cpufreq.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_count_valid_entries’: ./include/linux/cpufreq.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/cpufreq.h: In function ‘sched_cpufreq_governor_change’: ./include/linux/cpufreq.h:950:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | struct cpufreq_governor *old_gov) { } | ^~~~~~~~~~~~~~~~ In file included from ./include/linux/slab.h:131, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/kasan.h: In function ‘kasan_unpoison_shadow’: ./include/linux/kasan.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | static inline void kasan_unpoison_shadow(const void *address, size_t size) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_task_stack’: ./include/linux/kasan.h:90:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | static inline void kasan_unpoison_task_stack(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_stack_above_sp_to’: ./include/linux/kasan.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | static inline void kasan_unpoison_stack_above_sp_to(const void *watermark) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_enable_current’: ./include/linux/slab.h: In function ‘kmalloc’: ./include/linux/kasan.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void kasan_enable_current(void) {} | ^~~~~~ ./include/linux/slab.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/kasan.h: In function ‘kasan_disable_current’: ./include/linux/kasan.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void kasan_disable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_alloc_pages’: ./include/linux/kasan.h:96:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | static inline void kasan_alloc_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_free_pages’: ./include/linux/kasan.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | static inline void kasan_free_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/slab.h: In function ‘kmalloc_size’: ./include/linux/kasan.h: In function ‘kasan_cache_create’: ./include/linux/kasan.h:101:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | slab_flags_t *flags) {} | ^~~~~~~~~~~~ ./include/linux/slab.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/kasan.h: In function ‘kasan_poison_slab’: ./include/linux/kasan.h:103:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void kasan_poison_slab(struct page *page) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_object_data’: ./include/linux/kasan.h:105:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_poison_object_data’: ./include/linux/kasan.h:107:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | void *object) {} | ^~~~ ./include/linux/slab.h: In function ‘kmalloc_node’: ./include/linux/kasan.h: In function ‘kasan_init_slab_obj’: ./include/linux/kasan.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/slab.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kmalloc_large’: ./include/linux/kasan.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kfree_large’: ./include/linux/kasan.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_poison_kfree’: ./include/linux/kasan.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_kmalloc’: ./include/linux/kasan.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array’: ./include/linux/slab.h:663:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 663 | { | ^ ./include/linux/kasan.h: In function ‘kasan_krealloc’: ./include/linux/kasan.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_alloc’: ./include/linux/kasan.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_free’: ./include/linux/kasan.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/kasan.h: In function ‘kasan_module_alloc’: ./include/linux/kasan.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | static inline int kasan_module_alloc(void *addr, size_t size) { return 0; } | ^~~~~~ ./include/linux/slab.h: In function ‘kcalloc’: ./include/linux/kasan.h: In function ‘kasan_free_shadow’: ./include/linux/slab.h:680:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 680 | { | ^ ./include/linux/kasan.h:143:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | static inline void kasan_free_shadow(const struct vm_struct *vm) {} | ^~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_add_zero_shadow’: ./include/linux/kasan.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array_node’: ./include/linux/kasan.h: In function ‘kasan_remove_zero_shadow’: ./include/linux/slab.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/kasan.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | {} | ^ ./include/linux/kasan.h: In function ‘kasan_unpoison_slab’: ./include/linux/kasan.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | static inline void kasan_unpoison_slab(const void *ptr) { } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_metadata_size’: ./include/linux/kasan.h:154:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shrink’: ./include/linux/kasan.h:167:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | static inline void kasan_cache_shrink(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shutdown’: ./include/linux/kasan.h:168:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/slab.h: In function ‘kcalloc_node’: ./include/linux/kasan.h: In function ‘kasan_init_tags’: ./include/linux/slab.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/kasan.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | static inline void kasan_init_tags(void) { } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_reset_tag’: ./include/linux/kasan.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/slab.h: In function ‘kmem_cache_zalloc’: ./include/linux/slab.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/slab.h: In function ‘kzalloc’: ./include/linux/slab.h:741:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 741 | { | ^ ./include/linux/slab.h: In function ‘kzalloc_node’: ./include/linux/slab.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/slab.h: In function ‘kmalloc_type’: ./include/linux/slab.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:12, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/smap.h: In function ‘clac’: ./include/linux/slab.h: In function ‘kmalloc_index’: ./include/linux/slab.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./arch/x86/include/asm/smap.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/smap.h: In function ‘stac’: ./arch/x86/include/asm/smap.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: ./arch/x86/include/asm/uaccess.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/uaccess.h: In function ‘__chk_range_not_ok’: ./arch/x86/include/asm/uaccess.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/slab.h: In function ‘kfree_bulk’: ./include/linux/slab.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_large’: ./include/linux/slab.h:478:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 478 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageYoung’: ./include/linux/page-flags.h:240:56: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | static __always_inline int TestClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:397:1: note: in expansion of macro ‘TESTCLEARFLAG’ 397 | TESTCLEARFLAG(Young, young, PF_ANY) | ^~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/uaccess.h:695, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_user_generic’: ./arch/x86/include/asm/uaccess_64.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/page-flags.h: In function ‘PageIdle’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:244:2: note: in expansion of macro ‘TESTPAGEFLAG’ 244 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user_mcsafe’: ./include/linux/page-flags.h: In function ‘SetPageIdle’: ./arch/x86/include/asm/uaccess_64.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page-flags.h:220:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 220 | static __always_inline void SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:245:2: note: in expansion of macro ‘SETPAGEFLAG’ 245 | SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_from_user’: ./arch/x86/include/asm/uaccess_64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageIdle’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:246:2: note: in expansion of macro ‘CLEARPAGEFLAG’ 246 | CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:398:1: note: in expansion of macro ‘PAGEFLAG’ 398 | PAGEFLAG(Idle, idle, PF_ANY) | ^~~~~~~~ ./include/linux/page-flags.h: In function ‘PageMappingFlags’: ./include/linux/page-flags.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/page-flags.h: In function ‘PageAnon’: ./include/linux/page-flags.h:429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 429 | { | ^ ./include/linux/page-flags.h: In function ‘__PageMovable’: ./include/linux/page-flags.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/slab.h: In function ‘kmalloc’: ./include/linux/slab.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/page-flags.h: In function ‘PageKsm’: ./include/linux/page-flags.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/page-flags.h: In function ‘PageUptodate’: ./include/linux/slab.h: In function ‘kmalloc_size’: ./include/linux/page-flags.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/slab.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageUptodate’: ./include/linux/page-flags.h:479:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 479 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_node’: ./include/linux/slab.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageUptodate’: ./include/linux/page-flags.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageUptodate’: ./include/linux/slab.h: In function ‘kmalloc_array’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:497:1: note: in expansion of macro ‘CLEARPAGEFLAG’ 497 | CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) | ^~~~~~~~~~~~~ ./include/linux/slab.h:663:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 663 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback’: ./include/linux/page-flags.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/slab.h: In function ‘kcalloc’: ./include/linux/slab.h:680:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 680 | { | ^ ./include/linux/page-flags.h: In function ‘set_page_writeback_keepwrite’: ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_to_user’: ./include/linux/page-flags.h:513:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 513 | { | ^ ./arch/x86/include/asm/uaccess_64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array_node’: ./include/linux/slab.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/page-flags.h: In function ‘PageHead’: ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/slab.h: In function ‘kcalloc_node’: ./include/linux/page-flags.h: In function ‘__SetPageHead’: ./include/linux/slab.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/slab.h: In function ‘kmem_cache_zalloc’: ./include/linux/slab.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageHead’: ./include/linux/slab.h: In function ‘kzalloc’: ./include/linux/slab.h:741:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 741 | { | ^ ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:517:1: note: in expansion of macro ‘__PAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~ ./include/linux/slab.h: In function ‘kzalloc_node’: ./include/linux/slab.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageHead’: ./include/linux/page-flags.h:224:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | static __always_inline void ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:517:32: note: in expansion of macro ‘CLEARPAGEFLAG’ 517 | __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) | ^~~~~~~~~~~~~ ./include/linux/page-flags.h: In function ‘set_compound_head’: ./include/linux/page-flags.h:520:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 520 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:12, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/smap.h: In function ‘clac’: ./arch/x86/include/asm/smap.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/page-flags.h: In function ‘clear_compound_head’: ./include/linux/page-flags.h:525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 525 | { | ^ ./arch/x86/include/asm/smap.h: In function ‘stac’: ./arch/x86/include/asm/smap.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_in_user’: ./include/linux/page-flags.h: In function ‘ClearPageCompound’: ./arch/x86/include/asm/uaccess_64.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/page-flags.h:531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 531 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_inatomic_nocache’: ./arch/x86/include/asm/uaccess_64.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./arch/x86/include/asm/uaccess.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_flushcache’: ./arch/x86/include/asm/uaccess_64.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./arch/x86/include/asm/uaccess.h: In function ‘__chk_range_not_ok’: ./arch/x86/include/asm/uaccess.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransHuge’: In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/uaccess.h: In function ‘user_access_begin’: ./include/linux/page-flags.h:564:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 564 | { | ^ ./arch/x86/include/asm/uaccess.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompound’: ./include/linux/page-flags.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransCompoundMap’: ./include/linux/page-flags.h:596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 596 | { | ^ ./include/linux/page-flags.h: In function ‘PageTransTail’: ./include/linux/page-flags.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/page-flags.h: In function ‘PageDoubleMap’: In file included from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/uaccess.h: In function ‘__copy_from_user_inatomic’: ./include/linux/page-flags.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./include/linux/uaccess.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_from_user’: ./include/linux/uaccess.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page-flags.h: In function ‘SetPageDoubleMap’: ./include/linux/page-flags.h:629:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 629 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_to_user_inatomic’: ./include/linux/uaccess.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/page-flags.h: In function ‘ClearPageDoubleMap’: ./include/linux/uaccess.h: In function ‘__copy_to_user’: ./include/linux/page-flags.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:695, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_user_generic’: ./include/linux/uaccess.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./arch/x86/include/asm/uaccess_64.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/page-flags.h: In function ‘TestSetPageDoubleMap’: ./include/linux/page-flags.h:640:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 640 | { | ^ ./include/linux/uaccess.h: In function ‘copy_from_user’: ./include/linux/uaccess.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/page-flags.h: In function ‘TestClearPageDoubleMap’: ./include/linux/page-flags.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/uaccess.h: In function ‘copy_to_user’: ./include/linux/uaccess.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user_mcsafe’: ./arch/x86/include/asm/uaccess_64.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_type’: ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_from_user’: ./include/linux/uaccess.h: In function ‘copy_in_user’: ./arch/x86/include/asm/uaccess_64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/page-flags.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/linux/uaccess.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | { | ^ ./include/linux/page-flags.h: In function ‘PageBuddy’: ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state’: ./include/linux/cpuhotplug.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls’: ./include/linux/cpuhotplug.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_multi_state’: ./include/linux/cpuhotplug.h:354:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 354 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_inc’: ./include/linux/uaccess.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance’: ./include/linux/cpuhotplug.h:372:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 372 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance_nocalls’: ./include/linux/cpuhotplug.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_dec’: ./include/linux/uaccess.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disable’: ./include/linux/uaccess.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_enable’: ./include/linux/uaccess.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/cpu.h: In function ‘cpu_hotplug_begin’: ./include/linux/cpu.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | static inline void cpu_hotplug_begin(void) { cpus_write_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘cpu_hotplug_done’: ./include/linux/cpu.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void cpu_hotplug_done(void) { cpus_write_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘get_online_cpus’: ./include/linux/cpu.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | static inline void get_online_cpus(void) { cpus_read_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘put_online_cpus’: ./include/linux/cpu.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void put_online_cpus(void) { cpus_read_unlock(); } | ^~~~~~ In file included from ./include/linux/poll.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/uapi/linux/eventpoll.h: In function ‘ep_take_care_of_epollwakeup’: ./include/linux/cpu.h: In function ‘disable_nonboot_cpus’: ./include/linux/cpu.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/uapi/linux/eventpoll.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_off’: ./include/linux/cpu.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/poll.h: In function ‘poll_wait’: ./include/linux/cpu.h: In function ‘cpu_mitigations_auto_nosmt’: ./include/linux/poll.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/cpu.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/poll.h: In function ‘poll_does_not_wait’: ./include/linux/poll.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:136, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h: In function ‘list_is_first’: ./include/linux/poll.h: In function ‘poll_requested_events’: ./include/linux/poll.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h:97:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/poll.h: In function ‘init_poll_funcptr’: ./include/linux/poll.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/poll.h: In function ‘file_can_poll’: ./include/linux/poll.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/poll.h: In function ‘vfs_poll’: ./include/linux/poll.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ In file included from ./arch/x86/include/asm/vga.h:11, from ./include/video/vga.h:22, from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/set_memory.h: In function ‘set_mce_nospec’: ./arch/x86/include/asm/set_memory.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/linux/poll.h: In function ‘mangle_poll’: ./include/linux/poll.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./arch/x86/include/asm/set_memory.h: In function ‘clear_mce_nospec’: ./arch/x86/include/asm/set_memory.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ In file included from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/video/vga.h: In function ‘vga_io_r’: ./include/video/vga.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/video/vga.h: In function ‘vga_io_w’: ./include/video/vga.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/video/vga.h: In function ‘vga_io_w_fast’: ./include/video/vga.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/poll.h: In function ‘demangle_poll’: ./include/linux/poll.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/video/vga.h: In function ‘vga_mm_r’: ./include/video/vga.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w’: ./include/video/vga.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w_fast’: ./include/video/vga.h:230:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 230 | { | ^ ./include/video/vga.h: In function ‘vga_r’: ./include/video/vga.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/video/vga.h: In function ‘vga_w’: ./include/video/vga.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/video/vga.h: In function ‘vga_w_fast’: ./include/video/vga.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/video/vga.h: In function ‘vga_rcrt’: ./include/video/vga.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/video/vga.h: In function ‘vga_wcrt’: ./include/video/vga.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/video/vga.h: In function ‘vga_io_rcrt’: ./include/video/vga.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:97, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/delay.h: In function ‘ssleep’: ./include/video/vga.h: In function ‘vga_io_wcrt’: ./include/linux/delay.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/video/vga.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rcrt’: ./include/video/vga.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wcrt’: ./include/video/vga.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ In file included from ./include/linux/sched/signal.h:6, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/signal.h: In function ‘copy_siginfo’: ./include/linux/signal.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/video/vga.h: In function ‘vga_rseq’: ./include/video/vga.h:319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 319 | { | ^ ./include/linux/signal.h: In function ‘clear_siginfo’: ./include/linux/signal.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/video/vga.h: In function ‘vga_wseq’: ./include/video/vga.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/video/vga.h: In function ‘vga_io_rseq’: ./include/video/vga.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/linux/signal.h: In function ‘sigaddset’: ./include/linux/signal.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/video/vga.h: In function ‘vga_io_wseq’: ./include/video/vga.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rseq’: ./include/linux/signal.h: In function ‘sigdelset’: ./include/video/vga.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/signal.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wseq’: ./include/video/vga.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/signal.h: In function ‘sigismember’: ./include/linux/signal.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/video/vga.h: In function ‘vga_rgfx’: ./include/video/vga.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/video/vga.h: In function ‘vga_wgfx’: ./include/video/vga.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/signal.h: In function ‘sigisemptyset’: ./include/linux/signal.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/video/vga.h: In function ‘vga_io_rgfx’: ./include/video/vga.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/video/vga.h: In function ‘vga_io_wgfx’: ./include/video/vga.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rgfx’: ./include/linux/signal.h: In function ‘sigequalsets’: ./include/video/vga.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/signal.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wgfx’: ./include/video/vga.h:409:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 409 | { | ^ ./include/video/vga.h: In function ‘vga_rattr’: ./include/video/vga.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/video/vga.h: In function ‘vga_wattr’: ./include/video/vga.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/video/vga.h: In function ‘vga_io_rattr’: ./include/linux/signal.h: In function ‘sigorsets’: ./include/video/vga.h:436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 436 | { | ^ ./include/linux/signal.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~ ./include/video/vga.h: In function ‘vga_io_wattr’: ./include/video/vga.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rattr’: ./include/video/vga.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/signal.h: In function ‘sigandsets’: ./include/video/vga.h: In function ‘vga_mm_wattr’: ./include/linux/signal.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~ ./include/video/vga.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/signal.h: In function ‘sigandnsets’: ./include/linux/signal.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~ ./include/linux/signal.h: In function ‘signotset’: ./include/linux/signal.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/vgaarb.h: In function ‘vga_get_interruptible’: ./include/linux/vgaarb.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_get_uninterruptible’: ./include/linux/vgaarb.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/signal.h: In function ‘sigemptyset’: ./include/linux/vgaarb.h: In function ‘vga_conflicts’: ./include/linux/signal.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/vgaarb.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/signal.h: In function ‘sigfillset’: ./include/linux/signal.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/signal.h: In function ‘sigaddsetmask’: ./include/linux/signal.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ In file included from ./include/linux/pagemap.h:11, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/highmem.h: In function ‘flush_anon_page’: ./include/linux/signal.h: In function ‘sigdelsetmask’: ./include/linux/highmem.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/signal.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_dcache_page’: ./include/linux/highmem.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/signal.h: In function ‘sigtestsetmask’: ./include/linux/signal.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_vmap_range’: ./include/linux/highmem.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/highmem.h: In function ‘invalidate_kernel_vmap_range’: ./include/linux/signal.h: In function ‘siginitset’: ./include/linux/highmem.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/signal.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/highmem.h: In function ‘nr_free_highpages’: ./include/linux/highmem.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline unsigned int nr_free_highpages(void) { return 0; } | ^~~~~~ ./include/linux/highmem.h: In function ‘kmap_to_page’: ./include/linux/signal.h: In function ‘siginitsetinv’: ./include/linux/highmem.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/signal.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/highmem.h: In function ‘totalhigh_pages’: ./include/linux/highmem.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline unsigned long totalhigh_pages(void) { return 0UL; } | ^~~~~~ ./include/linux/signal.h: In function ‘init_sigpending’: ./include/linux/signal.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/highmem.h: In function ‘kmap’: ./include/linux/highmem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/signal.h: In function ‘valid_signal’: ./include/linux/signal.h:261:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | { | ^ ./include/linux/highmem.h: In function ‘kunmap’: ./include/linux/highmem.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/highmem.h: In function ‘kmap_atomic’: ./include/linux/highmem.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/highmem.h: In function ‘__kunmap_atomic’: ./include/linux/signal.h: In function ‘allow_signal’: ./include/linux/highmem.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/signal.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/signal.h: In function ‘disallow_signal’: ./include/linux/signal.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/highmem.h: In function ‘clear_user_highpage’: ./include/linux/highmem.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/highmem.h: In function ‘alloc_zeroed_user_highpage_movable’: ./include/linux/highmem.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/highmem.h: In function ‘clear_highpage’: ./include/linux/highmem.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segments’: ./include/linux/highmem.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ In file included from ./include/linux/sched/signal.h:9, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/task.h: In function ‘put_task_struct’: ./include/linux/sched/task.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/sched/task.h: In function ‘task_stack_vm_area’: ./include/linux/sched/task.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/sched/task.h: In function ‘task_lock’: ./include/linux/sched/task.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/sched/task.h: In function ‘task_unlock’: ./include/linux/sched/task.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segment’: ./include/linux/highmem.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/highmem.h: In function ‘zero_user’: ./include/linux/highmem.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ In file included from ./include/linux/key.h:25, from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/assoc_array.h: In function ‘assoc_array_init’: ./include/linux/highmem.h: In function ‘copy_user_highpage’: ./include/linux/assoc_array.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/highmem.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/highmem.h: In function ‘copy_highpage’: ./include/linux/highmem.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ In file included from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/key.h: In function ‘make_key_ref’: ./include/linux/key.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/key.h: In function ‘key_ref_to_ptr’: ./include/linux/key.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/key.h: In function ‘is_key_possessed’: ./include/linux/key.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ In file included from ./include/linux/pagemap.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/hugetlb_inline.h: In function ‘is_vm_hugetlb_page’: ./include/linux/hugetlb_inline.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pagemap.h: In function ‘mapping_set_error’: ./include/linux/pagemap.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/key.h: In function ‘__key_get’: ./include/linux/key.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_unevictable’: ./include/linux/pagemap.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/key.h: In function ‘key_get’: ./include/linux/key.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_clear_unevictable’: ./include/linux/pagemap.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/key.h: In function ‘key_ref_put’: ./include/linux/key.h:269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 269 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_unevictable’: ./include/linux/pagemap.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_exiting’: ./include/linux/pagemap.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_exiting’: ./include/linux/pagemap.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/key.h: In function ‘key_serial’: ./include/linux/key.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_no_writeback_tags’: ./include/linux/pagemap.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_use_writeback_tags’: ./include/linux/key.h: In function ‘key_read_state’: ./include/linux/pagemap.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/key.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_mask’: ./include/linux/pagemap.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_constraint’: ./include/linux/pagemap.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_gfp_mask’: ./include/linux/pagemap.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/key.h: In function ‘key_is_positive’: ./include/linux/pagemap.h: In function ‘page_cache_get_speculative’: ./include/linux/key.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/pagemap.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/key.h: In function ‘key_is_negative’: ./include/linux/key.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_add_speculative’: ./include/linux/pagemap.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ In file included from ./include/linux/sched/user.h:8, from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ratelimit.h: In function ‘ratelimit_state_init’: ./include/linux/ratelimit.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_alloc’: ./include/linux/pagemap.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/pagemap.h: In function ‘readahead_gfp_mask’: ./include/linux/pagemap.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_default_init’: ./include/linux/ratelimit.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_state_exit’: ./include/linux/ratelimit.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page’: ./include/linux/pagemap.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page_flags’: ./include/linux/pagemap.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/pagemap.h: In function ‘find_lock_page’: ./include/linux/ratelimit.h: In function ‘ratelimit_set_flags’: ./include/linux/pagemap.h:296:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 296 | { | ^ ./include/linux/ratelimit.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/pagemap.h: In function ‘find_or_create_page’: ./include/linux/pagemap.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page_nowait’: ./include/linux/pagemap.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ In file included from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/user.h: In function ‘get_uid’: ./include/linux/sched/user.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages’: ./include/linux/pagemap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ In file included from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/cred.h: In function ‘get_group_info’: ./include/linux/cred.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages_tag’: ./include/linux/pagemap.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page’: ./include/linux/pagemap.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/pagemap.h: In function ‘read_mapping_page’: ./include/linux/pagemap.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/cred.h: In function ‘validate_creds’: ./include/linux/pagemap.h: In function ‘page_to_index’: ./include/linux/cred.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/pagemap.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/cred.h: In function ‘validate_creds_for_do_exit’: ./include/linux/cred.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/cred.h: In function ‘validate_process_creds’: ./include/linux/cred.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/cred.h: In function ‘cap_ambient_invariant_ok’: ./include/linux/cred.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/pagemap.h: In function ‘page_to_pgoff’: ./include/linux/pagemap.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/cred.h: In function ‘get_new_cred’: ./include/linux/cred.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/cred.h: In function ‘get_cred’: ./include/linux/pagemap.h: In function ‘page_offset’: ./include/linux/cred.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/pagemap.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/pagemap.h: In function ‘page_file_offset’: ./include/linux/pagemap.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/cred.h: In function ‘get_cred_rcu’: ./include/linux/cred.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/pagemap.h: In function ‘linear_page_index’: ./include/linux/pagemap.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/cred.h: In function ‘put_cred’: ./include/linux/cred.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/pagemap.h: In function ‘trylock_page’: ./include/linux/pagemap.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page’: ./include/linux/pagemap.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_killable’: ./include/linux/pagemap.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_or_retry’: ./include/linux/pagemap.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/sched/signal.h: In function ‘signal_set_stop_flags’: ./include/linux/pagemap.h: In function ‘wait_on_page_locked’: ./include/linux/pagemap.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/sched/signal.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked_killable’: ./include/linux/pagemap.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_writeback’: ./include/linux/pagemap.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_group_exit’: ./include/linux/sched/signal.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_writeable’: ./include/linux/pagemap.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/linux/sched/signal.h: In function ‘kernel_dequeue_signal’: ./include/linux/sched/signal.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/sched/signal.h: In function ‘kernel_signal_stop’: ./include/linux/sched/signal.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/sched/signal.h: In function ‘restart_syscall’: ./include/linux/sched/signal.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending’: ./include/linux/sched/signal.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/sched/signal.h: In function ‘__fatal_signal_pending’: ./include/linux/sched/signal.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./include/linux/sched/signal.h: In function ‘fatal_signal_pending’: ./include/linux/sched/signal.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending_state’: ./include/linux/sched/signal.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_wake_up’: ./include/linux/sched/signal.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/sched/signal.h: In function ‘ptrace_signal_wake_up’: ./include/linux/sched/signal.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/sched/signal.h: In function ‘set_restore_sigmask’: ./include/linux/sched/signal.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/sched/signal.h: In function ‘clear_tsk_restore_sigmask’: ./include/linux/sched/signal.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./include/linux/sched/signal.h: In function ‘clear_restore_sigmask’: ./include/linux/sched/signal.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/sched/signal.h: In function ‘test_restore_sigmask’: ./include/linux/sched/signal.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/sched/signal.h: In function ‘test_tsk_restore_sigmask’: ./include/linux/sched/signal.h:464:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 464 | { | ^ ./include/linux/sched/signal.h: In function ‘test_and_clear_restore_sigmask’: ./include/linux/sched/signal.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_to_user’: ./arch/x86/include/asm/uaccess_64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/sched/signal.h: In function ‘restore_saved_sigmask’: ./include/linux/sched/signal.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/sched/signal.h: In function ‘sigmask_to_save’: ./include/linux/sched/signal.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/sched/signal.h: In function ‘kill_cad_pid’: ./include/linux/sched/signal.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/sched/signal.h: In function ‘on_sig_stack’: ./include/linux/sched/signal.h:503:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 503 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘sas_ss_flags’: ./include/linux/page-flags.h: In function ‘__SetPageBuddy’: ./include/linux/sched/signal.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘sas_ss_reset’: ./include/linux/sched/signal.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/sched/signal.h: In function ‘sigsp’: ./include/linux/page-flags.h: In function ‘__ClearPageBuddy’: ./include/linux/sched/signal.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:706:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 706 | PAGE_TYPE_OPS(Buddy, buddy) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_in_user’: ./include/linux/page-flags.h: In function ‘PageBalloon’: ./arch/x86/include/asm/uaccess_64.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pid_type’: ./include/linux/sched/signal.h:590:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 590 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_inatomic_nocache’: ./arch/x86/include/asm/uaccess_64.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./include/linux/sched/signal.h: In function ‘task_tgid’: ./include/linux/page-flags.h: In function ‘__SetPageBalloon’: ./include/linux/sched/signal.h:600:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 600 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_flushcache’: ./arch/x86/include/asm/uaccess_64.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pgrp’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h:610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 610 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘user_access_begin’: ./include/linux/sched/signal.h: In function ‘task_session’: ./include/linux/sched/signal.h:615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 615 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageBalloon’: ./arch/x86/include/asm/uaccess.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/sched/signal.h: In function ‘get_nr_threads’: ./include/linux/sched/signal.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:712:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 712 | PAGE_TYPE_OPS(Balloon, balloon) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘thread_group_leader’: ./include/linux/sched/signal.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/page-flags.h: In function ‘PageKmemcg’: ./include/linux/sched/signal.h: In function ‘has_group_leader_pid’: ./include/linux/sched/signal.h:636:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 636 | { | ^ ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘same_thread_group’: ./include/linux/page-flags.h: In function ‘__SetPageKmemcg’: ./include/linux/sched/signal.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ In file included from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/uaccess.h: In function ‘__copy_from_user_inatomic’: ./include/linux/sched/signal.h: In function ‘next_thread’: ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/uaccess.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/sched/signal.h:647:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 647 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_from_user’: ./include/linux/uaccess.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageKmemcg’: ./include/linux/uaccess.h: In function ‘__copy_to_user_inatomic’: ./include/linux/uaccess.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:718:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 718 | PAGE_TYPE_OPS(Kmemcg, kmemcg) | ^~~~~~~~~~~~~ ./include/linux/uaccess.h: In function ‘__copy_to_user’: ./include/linux/uaccess.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/page-flags.h: In function ‘PageTable’: ./include/linux/page-flags.h:687:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/uaccess.h: In function ‘copy_from_user’: ./include/linux/uaccess.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageTable’: ./include/linux/uaccess.h: In function ‘copy_to_user’: ./include/linux/uaccess.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/page-flags.h:691:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 691 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘thread_group_empty’: ./include/linux/uaccess.h: In function ‘copy_in_user’: ./include/linux/page-flags.h: In function ‘__ClearPageTable’: ./include/linux/uaccess.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | { | ^ ./include/linux/sched/signal.h:653:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 653 | { | ^ ./include/linux/page-flags.h:696:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:723:1: note: in expansion of macro ‘PAGE_TYPE_OPS’ 723 | PAGE_TYPE_OPS(Table, table) | ^~~~~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘lock_task_sighand’: ./include/linux/sched/signal.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/sched/signal.h: In function ‘unlock_task_sighand’: ./include/linux/page-flags.h: In function ‘PageIsolated’: ./include/linux/sched/signal.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_inc’: ./include/linux/uaccess.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/page-flags.h:216:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | static __always_inline int Page##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:249:2: note: in expansion of macro ‘TESTPAGEFLAG’ 249 | TESTPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘task_rlimit’: ./include/linux/uaccess.h: In function ‘pagefault_disabled_dec’: ./include/linux/sched/signal.h:681:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 681 | { | ^ ./include/linux/uaccess.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disable’: ./include/linux/uaccess.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/page-flags.h: In function ‘__SetPageIsolated’: ./include/linux/uaccess.h: In function ‘pagefault_enable’: ./include/linux/uaccess.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit_max’: ./include/linux/page-flags.h:228:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | static __always_inline void __SetPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:250:2: note: in expansion of macro ‘__SETPAGEFLAG’ 250 | __SETPAGEFLAG(uname, lname, policy) \ | ^~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/linux/sched/signal.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageIsolated’: ./include/linux/page-flags.h:232:55: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | static __always_inline void __ClearPage##uname(struct page *page) \ | ^~~~ ./include/linux/page-flags.h:251:2: note: in expansion of macro ‘__CLEARPAGEFLAG’ 251 | __CLEARPAGEFLAG(uname, lname, policy) | ^~~~~~~~~~~~~~~ ./include/linux/page-flags.h:727:1: note: in expansion of macro ‘__PAGEFLAG’ 727 | __PAGEFLAG(Isolated, isolated, PF_ANY); | ^~~~~~~~~~ ./include/linux/sched/signal.h: In function ‘rlimit’: ./include/linux/sched/signal.h:692:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 692 | { | ^ ./include/linux/page-flags.h: In function ‘PageSlabPfmemalloc’: ./include/linux/sched/signal.h: In function ‘rlimit_max’: ./include/linux/page-flags.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/sched/signal.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ In file included from ./include/linux/poll.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/uapi/linux/eventpoll.h: In function ‘ep_take_care_of_epollwakeup’: ./include/linux/page-flags.h: In function ‘SetPageSlabPfmemalloc’: ./include/uapi/linux/eventpoll.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/page-flags.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ In file included from ./arch/x86/include/asm/tlbflush.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/invpcid.h: In function ‘__invpcid’: ./arch/x86/include/asm/invpcid.h:7:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 7 | { | ^ ./include/linux/page-flags.h: In function ‘__ClearPageSlabPfmemalloc’: ./include/linux/page-flags.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_one’: ./include/linux/page-flags.h: In function ‘ClearPageSlabPfmemalloc’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/poll.h: In function ‘poll_wait’: ./arch/x86/include/asm/invpcid.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/page-flags.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ ./include/linux/poll.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_single_context’: ./arch/x86/include/asm/invpcid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/page-flags.h: In function ‘page_has_private’: ./include/linux/poll.h: In function ‘poll_does_not_wait’: ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all’: ./include/linux/poll.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/invpcid.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/page-flags.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all_nonglobals’: ./arch/x86/include/asm/invpcid.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/poll.h: In function ‘poll_requested_events’: ./include/linux/poll.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ In file included from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/page_ref.h: In function ‘__page_ref_set’: ./include/linux/poll.h: In function ‘init_poll_funcptr’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/tlbflush.h: In function ‘kern_pcid’: ./include/linux/poll.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/page_ref.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./arch/x86/include/asm/tlbflush.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod’: ./include/linux/poll.h: In function ‘file_can_poll’: ./include/linux/page_ref.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/poll.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_test’: ./include/linux/page_ref.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/poll.h: In function ‘vfs_poll’: ./include/linux/page_ref.h: In function ‘__page_ref_mod_and_return’: ./include/linux/poll.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/page_ref.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_mod_unless’: ./include/linux/page_ref.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘user_pcid’: ./arch/x86/include/asm/tlbflush.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_freeze’: ./include/linux/page_ref.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/page_ref.h: In function ‘__page_ref_unfreeze’: ./include/linux/page_ref.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3’: ./include/linux/page_ref.h: In function ‘page_ref_count’: ./arch/x86/include/asm/tlbflush.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/page_ref.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/poll.h: In function ‘mangle_poll’: ./include/linux/poll.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/page_ref.h: In function ‘page_count’: ./include/linux/page_ref.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/page_ref.h: In function ‘set_page_count’: ./include/linux/page_ref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/page_ref.h: In function ‘init_page_count’: ./include/linux/page_ref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add’: ./include/linux/page_ref.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_sub’: ./include/linux/page_ref.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_inc’: ./include/linux/page_ref.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec’: ./include/linux/page_ref.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/poll.h: In function ‘demangle_poll’: ./include/linux/page_ref.h: In function ‘page_ref_sub_and_test’: ./include/linux/poll.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/page_ref.h:120:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 120 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_inc_return’: ./include/linux/page_ref.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_and_test’: ./include/linux/page_ref.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_dec_return’: ./include/linux/page_ref.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_add_unless’: ./include/linux/page_ref.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3_noflush’: ./include/linux/page_ref.h: In function ‘page_ref_freeze’: ./arch/x86/include/asm/tlbflush.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/page_ref.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/page_ref.h: In function ‘page_ref_unfreeze’: ./include/linux/page_ref.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:97, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/delay.h: In function ‘ssleep’: ./include/linux/delay.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ In file included from ./include/linux/sched/signal.h:6, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/signal.h: In function ‘copy_siginfo’: ./include/linux/signal.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/signal.h: In function ‘clear_siginfo’: ./include/linux/signal.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/signal.h: In function ‘sigaddset’: ./include/linux/signal.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/signal.h: In function ‘sigdelset’: ./include/linux/signal.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/signal.h: In function ‘sigismember’: ./include/linux/signal.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘nmi_uaccess_okay’: ./arch/x86/include/asm/tlbflush.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ In file included from ./include/linux/memremap.h:4, from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ioport.h: In function ‘resource_size’: ./include/linux/signal.h: In function ‘sigisemptyset’: ./include/linux/ioport.h:197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 197 | { | ^ ./include/linux/signal.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/ioport.h: In function ‘resource_type’: ./include/linux/ioport.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/ioport.h: In function ‘resource_ext_type’: ./include/linux/ioport.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/signal.h: In function ‘sigequalsets’: ./include/linux/signal.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/ioport.h: In function ‘resource_contains’: ./include/linux/ioport.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/signal.h: In function ‘sigorsets’: ./include/linux/signal.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~ ./include/linux/ioport.h: In function ‘resource_overlaps’: ./include/linux/ioport.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_init_shadow’: ./arch/x86/include/asm/tlbflush.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/signal.h: In function ‘sigandsets’: ./include/linux/signal.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~ In file included from ./include/linux/mm.h:27, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/memremap.h: In function ‘put_dev_pagemap’: ./include/linux/memremap.h:139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 139 | { | ^ ./include/linux/signal.h: In function ‘sigandnsets’: ./include/linux/signal.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm.h: In function ‘set_max_mapnr’: ./include/linux/mm.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | static inline void set_max_mapnr(unsigned long limit) { } | ^~~~~~ ./include/linux/mm.h: In function ‘totalram_pages’: ./include/linux/mm.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/signal.h: In function ‘signotset’: ./include/linux/mm.h: In function ‘totalram_pages_inc’: ./include/linux/signal.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~ ./include/linux/signal.h: In function ‘sigemptyset’: ./include/linux/signal.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__cr4_set’: ./arch/x86/include/asm/tlbflush.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/signal.h: In function ‘sigfillset’: ./include/linux/signal.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/signal.h: In function ‘sigaddsetmask’: ./include/linux/signal.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./include/linux/signal.h: In function ‘sigdelsetmask’: ./include/linux/signal.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/signal.h: In function ‘sigtestsetmask’: ./include/linux/signal.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/signal.h: In function ‘siginitset’: ./include/linux/signal.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/signal.h: In function ‘siginitsetinv’: ./include/linux/signal.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/signal.h: In function ‘init_sigpending’: ./include/linux/signal.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/signal.h: In function ‘valid_signal’: ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits’: ./include/linux/signal.h:261:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | { | ^ ./arch/x86/include/asm/tlbflush.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./include/linux/signal.h: In function ‘allow_signal’: ./include/linux/signal.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/signal.h: In function ‘disallow_signal’: ./include/linux/signal.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ In file included from ./include/linux/sched/signal.h:9, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/task.h: In function ‘put_task_struct’: ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_clear_bits’: ./include/linux/sched/task.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./arch/x86/include/asm/tlbflush.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/sched/task.h: In function ‘task_stack_vm_area’: ./include/linux/sched/task.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/sched/task.h: In function ‘task_lock’: ./include/linux/sched/task.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/sched/task.h: In function ‘task_unlock’: ./include/linux/sched/task.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ In file included from ./include/linux/key.h:25, from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/assoc_array.h: In function ‘assoc_array_init’: ./include/linux/assoc_array.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_toggle_bits_irqsoff’: ./arch/x86/include/asm/tlbflush.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ In file included from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/key.h: In function ‘make_key_ref’: ./include/linux/key.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/key.h: In function ‘key_ref_to_ptr’: ./include/linux/key.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/key.h: In function ‘is_key_possessed’: ./include/linux/key.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/key.h: In function ‘__key_get’: ./include/linux/key.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/key.h: In function ‘key_get’: ./include/linux/key.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_read_shadow’: ./arch/x86/include/asm/tlbflush.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./include/linux/key.h: In function ‘key_ref_put’: ./include/linux/key.h:269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 269 | { | ^ ./include/linux/key.h: In function ‘key_serial’: ./include/linux/key.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/key.h: In function ‘key_read_state’: ./include/linux/key.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_other_asid’: ./arch/x86/include/asm/tlbflush.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/key.h: In function ‘key_is_positive’: ./include/linux/key.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/key.h: In function ‘key_is_negative’: ./include/linux/key.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ In file included from ./include/linux/sched/user.h:8, from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ratelimit.h: In function ‘ratelimit_state_init’: ./include/linux/ratelimit.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_default_init’: ./include/linux/ratelimit.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_state_exit’: ./include/linux/ratelimit.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits_and_update_boot’: ./arch/x86/include/asm/tlbflush.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_user_asid’: ./arch/x86/include/asm/tlbflush.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_readable’: ./include/linux/pagemap.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/pagemap.h: In function ‘add_to_page_cache’: ./include/linux/pagemap.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/pagemap.h: In function ‘dir_pages’: ./include/linux/pagemap.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ In file included from ./include/linux/efi.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/proc_fs.h: In function ‘proc_net_mkdir’: ./include/linux/proc_fs.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/proc_fs.h: In function ‘proc_pid_ns’: ./include/linux/proc_fs.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rtc.h: In function ‘rtc_tm_sub’: ./include/linux/rtc.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/rtc.h: In function ‘rtc_time_to_tm’: ./include/linux/rtc.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tm_to_time’: ./include/linux/rtc.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ In file included from ./include/linux/rtc.h:50, from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/seq_file.h: In function ‘seq_has_overflowed’: ./include/linux/seq_file.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/seq_file.h: In function ‘seq_get_buf’: ./include/linux/seq_file.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/seq_file.h: In function ‘seq_commit’: ./include/linux/seq_file.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/seq_file.h: In function ‘seq_setwidth’: ./include/linux/seq_file.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb’: ./arch/x86/include/asm/tlbflush.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./include/linux/mm.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_dec’: ./include/linux/mm.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/seq_file.h: In function ‘seq_user_ns’: ./include/linux/seq_file.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/mm.h: In function ‘totalram_pages_add’: ./include/linux/mm.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/seq_file.h: In function ‘seq_show_option’: ./include/linux/mm.h: In function ‘totalram_pages_set’: ./include/linux/seq_file.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/linux/mm.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_dirty’: ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_global’: ./arch/x86/include/asm/pgtable.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/tlbflush.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘read_pkru’: ./arch/x86/include/asm/pgtable.h:128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 128 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rtc.h: In function ‘is_leap_year’: ./include/linux/rtc.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘write_pkru’: ./arch/x86/include/asm/pgtable.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ In file included from ./include/linux/efi.h:23, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/pstore.h: In function ‘pstore_ftrace_encode_cpu’: ./include/linux/pstore.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_decode_cpu’: ./include/linux/pstore.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_read_timestamp’: ./include/linux/pstore.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_write_timestamp’: ./include/linux/pstore.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_young’: ./arch/x86/include/asm/pgtable.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_dirty’: ./arch/x86/include/asm/pgtable.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_young’: ./arch/x86/include/asm/pgtable.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_dirty’: ./arch/x86/include/asm/pgtable.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_young’: ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_one_user’: ./arch/x86/include/asm/pgtable.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./arch/x86/include/asm/tlbflush.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_write’: ./arch/x86/include/asm/pgtable.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_huge’: ./arch/x86/include/asm/pgtable.h:171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 171 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_global’: ./arch/x86/include/asm/pgtable.h:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_exec’: ./arch/x86/include/asm/pgtable.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_special’: ./arch/x86/include/asm/pgtable.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_pfn’: ./arch/x86/include/asm/pgtable.h:195:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 195 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_pfn’: ./arch/x86/include/asm/pgtable.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_pfn’: ./arch/x86/include/asm/pgtable.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_pfn’: ./arch/x86/include/asm/pgtable.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_pfn’: ./arch/x86/include/asm/pgtable.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_large’: ./arch/x86/include/asm/pgtable.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_large’: ./arch/x86/include/asm/pgtable.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_trans_huge’: ./arch/x86/include/asm/pgtable.h:240:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 240 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_trans_huge’: ./arch/x86/include/asm/pgtable.h:246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 246 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘has_transparent_hugepage’: ./arch/x86/include/asm/pgtable.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/efi.h: In function ‘efi_guidcmp’: ./include/linux/efi.h:1013:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1013 | { | ^ ./include/linux/efi.h: In function ‘efi_guid_to_str’: ./include/linux/efi.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_all’: ./arch/x86/include/asm/tlbflush.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/efi.h: In function ‘efi_fake_memmap’: ./include/linux/efi.h:1084:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1084 | static inline void efi_fake_memmap(void) { } | ^~~~~~ ./include/linux/efi.h: In function ‘efi_range_is_wc’: ./include/linux/efi.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_one_kernel’: ./arch/x86/include/asm/tlbflush.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/efi.h: In function ‘efi_enabled’: ./include/linux/efi.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/efi.h: In function ‘memrange_efi_to_native’: ./include/linux/efi.h:1335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1335 | { | ^ ./include/linux/efi.h: In function ‘efivar_unregister’: ./include/linux/efi.h:1483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1483 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘flush_tlb_page’: ./arch/x86/include/asm/tlbflush.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘inc_mm_tlb_gen’: ./arch/x86/include/asm/tlbflush.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘arch_tlbbatch_add_mm’: ./arch/x86/include/asm/tlbflush.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ In file included from ./include/linux/i2c.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/rtmutex.h: In function ‘rt_mutex_debug_check_no_locks_freed’: ./include/linux/rtmutex.h:55:2: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/rtmutex.h: In function ‘rt_mutex_is_locked’: ./include/linux/rtmutex.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ In file included from ./include/linux/of.h:22, from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/property.h: In function ‘device_property_read_bool’: ./include/linux/property.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u8’: ./include/linux/property.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u16’: ./include/linux/property.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u32’: ./include/linux/property.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u64’: ./include/linux/property.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_bool’: ./include/linux/property.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u8’: ./include/linux/property.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u16’: ./include/linux/property.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u32’: ./include/linux/property.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u64’: ./include/linux/property.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_set_flags’: ./include/linux/ratelimit.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/user.h: In function ‘get_uid’: ./include/linux/sched/user.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ In file included from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/cred.h: In function ‘get_group_info’: ./include/linux/cred.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/cred.h: In function ‘validate_creds’: ./include/linux/cred.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/cred.h: In function ‘validate_creds_for_do_exit’: ./include/linux/cred.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/cred.h: In function ‘validate_process_creds’: ./include/linux/cred.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/cred.h: In function ‘cap_ambient_invariant_ok’: ./include/linux/cred.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/cred.h: In function ‘get_new_cred’: ./include/linux/cred.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/cred.h: In function ‘get_cred’: ./include/linux/cred.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/cred.h: In function ‘get_cred_rcu’: ./include/linux/cred.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/cred.h: In function ‘put_cred’: ./include/linux/cred.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/device.h: In function ‘class_create_file’: ./include/linux/device.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/device.h: In function ‘class_remove_file’: ./include/linux/device.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/sched/signal.h: In function ‘signal_set_stop_flags’: ./include/linux/sched/signal.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/device.h: In function ‘devres_alloc’: ./include/linux/device.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_group_exit’: ./include/linux/sched/signal.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/device.h: In function ‘devm_kzalloc’: ./include/linux/sched/signal.h: In function ‘kernel_dequeue_signal’: ./include/linux/device.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/linux/sched/signal.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/device.h: In function ‘devm_kmalloc_array’: ./include/linux/device.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/sched/signal.h: In function ‘kernel_signal_stop’: ./include/linux/sched/signal.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/device.h: In function ‘devm_kcalloc’: ./include/linux/device.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/device.h: In function ‘devm_add_action_or_reset’: ./include/linux/device.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/sched/signal.h: In function ‘restart_syscall’: ./include/linux/sched/signal.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending’: ./include/linux/sched/signal.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/device.h: In function ‘device_connections_add’: ./include/linux/device.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/sched/signal.h: In function ‘__fatal_signal_pending’: ./include/linux/sched/signal.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./include/linux/device.h: In function ‘device_connections_remove’: ./include/linux/device.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/sched/signal.h: In function ‘fatal_signal_pending’: ./include/linux/sched/signal.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending_state’: ./include/linux/sched/signal.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_wake_up’: ./include/linux/sched/signal.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/device.h: In function ‘kobj_to_dev’: ./include/linux/sched/signal.h: In function ‘ptrace_signal_wake_up’: ./include/linux/sched/signal.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/device.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/sched/signal.h: In function ‘set_restore_sigmask’: ./include/linux/sched/signal.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/device.h: In function ‘device_iommu_mapped’: ./include/linux/device.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/sched/signal.h: In function ‘clear_tsk_restore_sigmask’: ./include/linux/sched/signal.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ In file included from ./include/linux/device.h:1072, from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pm_wakeup.h: In function ‘device_can_wakeup’: ./include/linux/sched/signal.h: In function ‘clear_restore_sigmask’: ./include/linux/sched/signal.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/pm_wakeup.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_may_wakeup’: ./include/linux/sched/signal.h: In function ‘test_restore_sigmask’: ./include/linux/pm_wakeup.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/sched/signal.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/sched/signal.h: In function ‘test_tsk_restore_sigmask’: ./include/linux/sched/signal.h:464:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 464 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_set_wakeup_path’: ./include/linux/pm_wakeup.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/sched/signal.h: In function ‘test_and_clear_restore_sigmask’: ./include/linux/sched/signal.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_init’: ./include/linux/pm_wakeup.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_trash’: ./include/linux/pm_wakeup.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/sched/signal.h: In function ‘restore_saved_sigmask’: ./include/linux/sched/signal.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/pm_wakeup.h: In function ‘__pm_wakeup_event’: ./include/linux/pm_wakeup.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/sched/signal.h: In function ‘sigmask_to_save’: ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_event’: ./include/linux/sched/signal.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/pm_wakeup.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_hard_event’: ./include/linux/pm_wakeup.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/linux/sched/signal.h: In function ‘kill_cad_pid’: In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/device.h: In function ‘dev_name’: ./include/linux/sched/signal.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/device.h:1075:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1075 | { | ^ ./include/linux/sched/signal.h: In function ‘on_sig_stack’: ./include/linux/sched/signal.h:503:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 503 | { | ^ ./include/linux/device.h: In function ‘dev_to_node’: ./include/linux/device.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/sched/signal.h: In function ‘sas_ss_flags’: ./include/linux/device.h: In function ‘set_dev_node’: ./include/linux/sched/signal.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/device.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/device.h: In function ‘dev_get_msi_domain’: ./include/linux/sched/signal.h: In function ‘sas_ss_reset’: ./include/linux/device.h:1106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1106 | { | ^ ./include/linux/sched/signal.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/device.h: In function ‘dev_set_msi_domain’: ./include/linux/sched/signal.h: In function ‘sigsp’: ./include/linux/device.h:1115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1115 | { | ^ ./include/linux/sched/signal.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/device.h: In function ‘dev_get_drvdata’: ./include/linux/device.h:1122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1122 | { | ^ ./include/linux/device.h: In function ‘dev_set_drvdata’: ./include/linux/device.h:1127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1127 | { | ^ ./include/linux/device.h: In function ‘dev_to_psd’: ./include/linux/sched/signal.h: In function ‘task_pid_type’: ./include/linux/device.h:1132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1132 | { | ^ ./include/linux/sched/signal.h:590:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 590 | { | ^ ./include/linux/device.h: In function ‘dev_get_uevent_suppress’: ./include/linux/sched/signal.h: In function ‘task_tgid’: ./include/linux/sched/signal.h:600:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 600 | { | ^ ./include/linux/device.h:1137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1137 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pgrp’: ./include/linux/device.h: In function ‘dev_set_uevent_suppress’: ./include/linux/sched/signal.h:610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 610 | { | ^ ./include/linux/device.h:1142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1142 | { | ^ ./include/linux/sched/signal.h: In function ‘task_session’: ./include/linux/device.h: In function ‘device_is_registered’: ./include/linux/sched/signal.h:615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 615 | { | ^ ./include/linux/device.h:1147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1147 | { | ^ ./include/linux/sched/signal.h: In function ‘get_nr_threads’: ./include/linux/device.h: In function ‘device_enable_async_suspend’: ./include/linux/sched/signal.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/device.h:1152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1152 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_leader’: ./include/linux/sched/signal.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/device.h: In function ‘device_disable_async_suspend’: ./include/linux/device.h:1158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1158 | { | ^ ./include/linux/sched/signal.h: In function ‘has_group_leader_pid’: ./include/linux/sched/signal.h:636:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 636 | { | ^ ./include/linux/device.h: In function ‘device_async_suspend_enabled’: ./include/linux/sched/signal.h: In function ‘same_thread_group’: ./include/linux/device.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/sched/signal.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/device.h: In function ‘dev_pm_syscore_device’: ./include/linux/sched/signal.h: In function ‘next_thread’: ./include/linux/device.h:1169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | { | ^ ./include/linux/sched/signal.h:647:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 647 | { | ^ ./include/linux/device.h: In function ‘dev_pm_set_driver_flags’: ./include/linux/device.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/device.h: In function ‘dev_pm_test_driver_flags’: ./include/linux/device.h:1181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1181 | { | ^ ./include/linux/device.h: In function ‘device_lock’: ./include/linux/device.h:1186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1186 | { | ^ ./include/linux/device.h: In function ‘device_lock_interruptible’: ./include/linux/device.h:1191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1191 | { | ^ ./include/linux/device.h: In function ‘device_trylock’: ./include/linux/device.h:1196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1196 | { | ^ ./include/linux/device.h: In function ‘device_unlock’: ./include/linux/device.h:1201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1201 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_empty’: ./include/linux/device.h: In function ‘device_lock_assert’: ./include/linux/sched/signal.h:653:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 653 | { | ^ ./include/linux/device.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/sched/signal.h: In function ‘lock_task_sighand’: ./include/linux/device.h: In function ‘dev_of_node’: ./include/linux/sched/signal.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/device.h:1211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1211 | { | ^ ./include/linux/sched/signal.h: In function ‘unlock_task_sighand’: ./include/linux/sched/signal.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit’: ./include/linux/sched/signal.h:681:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 681 | { | ^ ./include/linux/device.h: In function ‘device_supports_offline’: ./include/linux/device.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit_max’: ./include/linux/sched/signal.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/device.h: In function ‘dev_num_vf’: ./include/linux/device.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/sched/signal.h: In function ‘rlimit’: ./include/linux/sched/signal.h:692:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 692 | { | ^ ./include/linux/device.h: In function ‘dev_get_platdata’: ./include/linux/sched/signal.h: In function ‘rlimit_max’: ./include/linux/device.h:1274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1274 | { | ^ ./include/linux/sched/signal.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ In file included from ./arch/x86/include/asm/tlbflush.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/invpcid.h: In function ‘__invpcid’: ./arch/x86/include/asm/invpcid.h:7:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 7 | { | ^ ./include/linux/device.h: In function ‘device_add_group’: ./include/linux/device.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_one’: ./arch/x86/include/asm/invpcid.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/device.h: In function ‘device_remove_group’: ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_single_context’: ./arch/x86/include/asm/invpcid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/device.h:1324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1324 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all’: ./arch/x86/include/asm/invpcid.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all_nonglobals’: ./arch/x86/include/asm/invpcid.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/tlbflush.h: In function ‘kern_pcid’: ./arch/x86/include/asm/tlbflush.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘user_pcid’: ./arch/x86/include/asm/tlbflush.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3’: ./arch/x86/include/asm/tlbflush.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ In file included from ./include/linux/hardirq.h:7, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | static inline void arch_ftrace_nmi_enter(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | static inline void arch_ftrace_nmi_exit(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/vtime.h:5, from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/context_tracking_state.h: In function ‘context_tracking_in_user’: ./include/linux/context_tracking_state.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline bool context_tracking_in_user(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_active’: ./include/linux/context_tracking_state.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline bool context_tracking_active(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_is_enabled’: ./include/linux/context_tracking_state.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | static inline bool context_tracking_is_enabled(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_cpu_is_enabled’: ./include/linux/context_tracking_state.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | static inline bool context_tracking_cpu_is_enabled(void) { return false; } | ^~~~~~ In file included from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/vtime.h: In function ‘vtime_accounting_cpu_enabled’: ./include/linux/vtime.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | static inline bool vtime_accounting_cpu_enabled(void) { return false; } | ^~~~~~ ./include/linux/vtime.h: In function ‘vtime_task_switch’: ./include/linux/vtime.h:65:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | static inline void vtime_task_switch(struct task_struct *prev) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_system’: ./include/linux/vtime.h:66:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | static inline void vtime_account_system(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_enter’: ./include/linux/vtime.h:77:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | static inline void vtime_user_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_exit’: ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3_noflush’: ./include/linux/vtime.h:78:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline void vtime_user_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./arch/x86/include/asm/tlbflush.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/vtime.h: In function ‘vtime_guest_enter’: ./include/linux/vtime.h:79:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | static inline void vtime_guest_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_guest_exit’: ./include/linux/vtime.h:80:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | static inline void vtime_guest_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_init_idle’: ./include/linux/vtime.h:81:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_irq_enter’: ./include/linux/vtime.h:93:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void vtime_account_irq_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_irq_exit’: ./include/linux/vtime.h:94:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void vtime_account_irq_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_flush’: ./include/linux/vtime.h:95:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | static inline void vtime_flush(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘irqtime_account_irq’: ./include/linux/vtime.h:102:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void irqtime_account_irq(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘account_irq_enter_time’: ./include/linux/vtime.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/vtime.h: In function ‘account_irq_exit_time’: ./include/linux/vtime.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/interrupt.h:19, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/irq.h: In function ‘irq_canonicalize’: ./arch/x86/include/asm/irq.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘nmi_uaccess_okay’: ./arch/x86/include/asm/tlbflush.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ In file included from ./arch/x86/include/asm/sections.h:5, from ./include/linux/interrupt.h:20, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/sections.h: In function ‘arch_is_kernel_text’: ./include/asm-generic/sections.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/asm-generic/sections.h: In function ‘arch_is_kernel_data’: ./include/asm-generic/sections.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_contains’: ./include/asm-generic/sections.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_intersects’: ./include/asm-generic/sections.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_contains’: ./include/asm-generic/sections.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_intersects’: ./include/asm-generic/sections.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/sections.h: In function ‘is_kernel_rodata’: ./include/asm-generic/sections.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_init_shadow’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_devmap’: ./arch/x86/include/asm/tlbflush.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./arch/x86/include/asm/pgtable.h:259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 259 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_devmap’: ./arch/x86/include/asm/pgtable.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ In file included from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/interrupt.h: In function ‘request_irq’: ./include/linux/interrupt.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgd_devmap’: ./arch/x86/include/asm/pgtable.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_set_flags’: ./arch/x86/include/asm/pgtable.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/interrupt.h: In function ‘request_percpu_irq’: ./include/linux/interrupt.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_flags’: ./arch/x86/include/asm/pgtable.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/interrupt.h: In function ‘devm_request_irq’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkclean’: ./include/linux/interrupt.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./arch/x86/include/asm/pgtable.h:297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 297 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkold’: ./arch/x86/include/asm/pgtable.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_wrprotect’: ./arch/x86/include/asm/pgtable.h:307:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 307 | { | ^ ./include/linux/interrupt.h: In function ‘irq_set_affinity’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkexec’: ./include/linux/interrupt.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./arch/x86/include/asm/pgtable.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__cr4_set’: ./arch/x86/include/asm/tlbflush.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/interrupt.h: In function ‘irq_force_affinity’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdirty’: ./include/linux/interrupt.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./arch/x86/include/asm/pgtable.h:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkyoung’: ./arch/x86/include/asm/pgtable.h:322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 322 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkwrite’: ./include/linux/interrupt.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./arch/x86/include/asm/pgtable.h:327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 327 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep_irqsave’: ./include/linux/interrupt.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkhuge’: ./arch/x86/include/asm/pgtable.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_lockdep’: ./include/linux/interrupt.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrhuge’: ./include/linux/interrupt.h: In function ‘enable_irq_lockdep’: ./arch/x86/include/asm/pgtable.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/interrupt.h:402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 402 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep_irqrestore’: ./include/linux/interrupt.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkglobal’: ./arch/x86/include/asm/pgtable.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_wake’: ./include/linux/interrupt.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clrglobal’: ./arch/x86/include/asm/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_wake’: ./include/linux/interrupt.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkspecial’: ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits’: ./arch/x86/include/asm/pgtable.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./arch/x86/include/asm/tlbflush.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mkdevmap’: ./arch/x86/include/asm/pgtable.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_set_flags’: ./include/linux/interrupt.h: In function ‘this_cpu_ksoftirqd’: ./arch/x86/include/asm/pgtable.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/interrupt.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_flags’: ./arch/x86/include/asm/pgtable.h:369:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 369 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkold’: ./arch/x86/include/asm/pgtable.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkclean’: ./arch/x86/include/asm/pgtable.h:381:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 381 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_wrprotect’: ./arch/x86/include/asm/pgtable.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdirty’: ./arch/x86/include/asm/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ In file included from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/of.h: In function ‘of_node_init’: ./include/linux/interrupt.h: In function ‘tasklet_trylock’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkdevmap’: ./include/linux/of.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./arch/x86/include/asm/pgtable.h:396:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 396 | { | ^ ./include/linux/interrupt.h:582:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 582 | { | ^ ./include/linux/of.h: In function ‘of_node_get’: ./include/linux/of.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkhuge’: ./include/linux/interrupt.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/of.h: In function ‘of_node_put’: ./arch/x86/include/asm/pgtable.h:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./include/linux/of.h:129:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void of_node_put(struct device_node *node) { } | ^~~~~~~~~~~ ./include/linux/interrupt.h: In function ‘tasklet_unlock_wait’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkyoung’: ./include/linux/interrupt.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./arch/x86/include/asm/pgtable.h:406:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 406 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mkwrite’: ./arch/x86/include/asm/pgtable.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_schedule’: ./include/linux/interrupt.h:605:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 605 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_set_flags’: ./arch/x86/include/asm/pgtable.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hi_schedule’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_flags’: ./include/linux/interrupt.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./arch/x86/include/asm/pgtable.h:423:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 423 | { | ^ ./include/linux/of.h: In function ‘of_core_init’: ./include/linux/of.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkold’: ./include/linux/interrupt.h: In function ‘tasklet_disable_nosync’: ./arch/x86/include/asm/pgtable.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/of.h: In function ‘is_of_node’: ./include/linux/interrupt.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/of.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkclean’: ./include/linux/interrupt.h: In function ‘tasklet_disable’: ./include/linux/of.h: In function ‘to_of_node’: ./arch/x86/include/asm/pgtable.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/interrupt.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/of.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_wrprotect’: ./include/linux/of.h: In function ‘of_node_name_eq’: ./arch/x86/include/asm/pgtable.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./include/linux/of.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_enable’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdirty’: ./include/linux/of.h: In function ‘of_node_name_prefix’: ./include/linux/interrupt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./arch/x86/include/asm/pgtable.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/linux/of.h:581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 581 | { | ^ ./include/linux/of.h: In function ‘of_node_full_name’: ./include/linux/of.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkdevmap’: ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_start’: ./arch/x86/include/asm/pgtable.h:450:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 450 | { | ^ ./include/linux/interrupt.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_name’: ./include/linux/of.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_cancel’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkhuge’: ./arch/x86/include/asm/pgtable.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/interrupt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_type’: ./include/linux/of.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node_and_match’: ./include/linux/of.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkyoung’: ./arch/x86/include/asm/pgtable.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_path’: ./include/linux/of.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mkwrite’: ./arch/x86/include/asm/pgtable.h:465:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 465 | { | ^ ./include/linux/of.h: In function ‘of_find_node_opts_by_path’: ./include/linux/of.h:617:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 617 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_phandle’: ./include/linux/of.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_soft_dirty’: In file included from ./include/linux/pci.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/io.h: In function ‘pci_remap_cfgspace’: ./arch/x86/include/asm/pgtable.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/of.h: In function ‘of_get_parent’: ./include/linux/of.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/io.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_soft_dirty’: ./include/linux/of.h: In function ‘of_get_next_child’: ./arch/x86/include/asm/pgtable.h:476:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 476 | { | ^ ./include/linux/of.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/of.h: In function ‘of_get_next_available_child’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_soft_dirty’: ./include/linux/of.h:639:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 639 | { | ^ ./arch/x86/include/asm/pgtable.h:481:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 481 | { | ^ ./include/linux/of.h: In function ‘of_find_node_with_property’: In file included from ./include/linux/pci.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/resource_ext.h: In function ‘resource_list_add’: ./include/linux/of.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_mksoft_dirty’: ./include/linux/resource_ext.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./arch/x86/include/asm/pgtable.h:486:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 486 | { | ^ ./include/linux/of.h: In function ‘of_have_populated_dt’: ./include/linux/of.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_add_tail’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mksoft_dirty’: ./include/linux/resource_ext.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/pgtable.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/of.h: In function ‘of_get_compatible_child’: ./include/linux/of.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_del’: ./include/linux/resource_ext.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/of.h: In function ‘of_get_child_by_name’: ./include/linux/resource_ext.h: In function ‘resource_list_free_entry’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_mksoft_dirty’: ./include/linux/resource_ext.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/of.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./arch/x86/include/asm/pgtable.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_destroy_entry’: ./include/linux/resource_ext.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/of.h: In function ‘of_device_is_compatible’: ./include/linux/of.h:671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 671 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_clear_soft_dirty’: ./include/linux/of.h: In function ‘of_device_compatible_match’: ./arch/x86/include/asm/pgtable.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/of.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_clear_soft_dirty’: ./include/linux/of.h: In function ‘of_device_is_available’: ./include/linux/of.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./arch/x86/include/asm/pgtable.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/of.h: In function ‘of_device_is_big_endian’: ./include/linux/of.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_clear_soft_dirty’: ./include/linux/of.h: In function ‘of_find_property’: ./arch/x86/include/asm/pgtable.h:511:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 511 | { | ^ ./include/linux/of.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/of.h: In function ‘of_find_compatible_node’: ./arch/x86/include/asm/pgtable.h: In function ‘massage_pgprot’: ./arch/x86/include/asm/pgtable.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/of.h:702:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 702 | { | ^ ./include/linux/of.h: In function ‘of_property_count_elems_of_size’: ./include/linux/of.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8_array’: ./arch/x86/include/asm/pgtable.h: In function ‘check_pgprot’: ./include/linux/of.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./arch/x86/include/asm/pgtable.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16_array’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pte’: ./include/linux/of.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./arch/x86/include/asm/pgtable.h:549:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 549 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_array’: ./include/linux/of.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_array’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pmd’: ./include/linux/of.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./arch/x86/include/asm/pgtable.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_index’: ./include/linux/of.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_index’: ./arch/x86/include/asm/pgtable.h: In function ‘pfn_pud’: ./include/linux/of.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./arch/x86/include/asm/pgtable.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/linux/of.h: In function ‘of_get_property’: ./include/linux/of.h:753:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 753 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_mknotpresent’: ./include/linux/of.h: In function ‘of_get_cpu_node’: ./arch/x86/include/asm/pgtable.h:573:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 573 | { | ^ ./include/linux/of.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/of.h: In function ‘of_get_next_cpu_node’: ./include/linux/of.h:764:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 764 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_mknotpresent’: ./arch/x86/include/asm/pgtable.h:579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 579 | { | ^ ./include/linux/of.h: In function ‘of_n_addr_cells’: ./include/linux/of.h:769:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 769 | { | ^ ./include/linux/of.h: In function ‘of_n_size_cells’: ./include/linux/of.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_modify’: ./arch/x86/include/asm/pgtable.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u8_array’: ./include/linux/of.h:781:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 781 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u16_array’: ./include/linux/of.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u32_array’: ./include/linux/of.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64’: ./include/linux/of.h:803:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 803 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_modify’: ./arch/x86/include/asm/pgtable.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u64_array’: ./include/linux/of.h:812:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 812 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string’: ./include/linux/of.h:819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 819 | { | ^ ./include/linux/of.h: In function ‘of_property_match_string’: ./include/linux/of.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_helper’: ./include/linux/of.h:833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 833 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgprot_modify’: ./include/linux/of.h: In function ‘of_parse_phandle’: ./arch/x86/include/asm/pgtable.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/of.h:840:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 840 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args’: ./include/linux/of.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args_map’: ./arch/x86/include/asm/pgtable.h: In function ‘arch_filter_pgprot’: ./include/linux/of.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./arch/x86/include/asm/pgtable.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_fixed_args’: ./include/linux/of.h:865:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 865 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘is_new_memtype_allowed’: ./arch/x86/include/asm/pgtable.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/of.h: In function ‘of_count_phandle_with_args’: ./include/linux/of.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_init’: ./include/linux/of.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_next’: ./include/linux/of.h:886:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 886 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pti_set_user_pgtbl’: ./arch/x86/include/asm/pgtable.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_args’: ./include/linux/of.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_id’: ./include/linux/of.h:898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 898 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_highest_id’: ./include/linux/of.h:903:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 903 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_alias_list’: ./include/linux/of.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/of.h: In function ‘of_machine_is_compatible’: ./include/linux/of.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/of.h: In function ‘of_console_check’: ./include/linux/of.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_u32’: ./include/linux/of.h:926:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 926 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_string’: ./include/linux/of.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | { | ^ ./include/linux/of.h: In function ‘of_node_check_flag’: ./include/linux/of.h:937:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 937 | { | ^ ./include/linux/of.h: In function ‘of_node_test_and_set_flag’: ./include/linux/of.h:943:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 943 | { | ^ ./include/linux/of.h: In function ‘of_node_set_flag’: ./include/linux/of.h:948:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 948 | { | ^ ./include/linux/of.h: In function ‘of_node_clear_flag’: ./include/linux/of.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/of.h: In function ‘of_property_check_flag’: ./include/linux/of.h:956:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 956 | { | ^ ./include/linux/of.h: In function ‘of_property_set_flag’: ./include/linux/of.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/of.h: In function ‘of_property_clear_flag’: ./include/linux/of.h:965:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 965 | { | ^ ./include/linux/of.h: In function ‘of_cpu_node_to_id’: ./include/linux/of.h:969:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 969 | { | ^ ./include/linux/of.h: In function ‘of_map_rid’: ./include/linux/of.h:976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 976 | { | ^ ./include/linux/of.h: In function ‘of_prop_val_eq’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pci.h: In function ‘pci_slot_name’: ./include/linux/of.h:992:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 992 | { | ^ ./include/linux/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/of.h: In function ‘of_node_to_nid’: In file included from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable_64.h: In function ‘sync_initial_page_table’: ./include/linux/of.h:1001:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1001 | { | ^ ./include/linux/of.h: In function ‘of_numa_init’: ./include/linux/pci.h: In function ‘pci_power_name’: ./arch/x86/include/asm/pgtable_64.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | static inline void sync_initial_page_table(void) { } | ^~~~~~ ./include/linux/pci.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/of.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte’: ./arch/x86/include/asm/pgtable_64.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/of.h:1018:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1018 | { | ^ ./include/linux/of.h: In function ‘of_node_get_device_type’: ./include/linux/of.h:1023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1023 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pte_clear’: ./include/linux/of.h: In function ‘of_node_is_type’: ./arch/x86/include/asm/pgtable_64.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/of.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pte_atomic’: ./arch/x86/include/asm/pgtable_64.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pmd’: ./include/linux/of.h: In function ‘of_property_count_u8_elems’: ./include/linux/of.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./arch/x86/include/asm/pgtable_64.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u16_elems’: ./include/linux/of.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmd_clear’: ./arch/x86/include/asm/pgtable_64.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u32_elems’: ./include/linux/of.h:1081:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1081 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_ptep_get_and_clear’: ./include/linux/of.h: In function ‘of_property_count_u64_elems’: ./arch/x86/include/asm/pgtable_64.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/of.h:1098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1098 | { | ^ ./include/linux/pci.h: In function ‘pci_physfn’: ./include/linux/pci.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_array’: ./include/linux/of.h:1118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1118 | { | ^ ./include/linux/of.h: In function ‘of_property_count_strings’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pmdp_get_and_clear’: ./include/linux/of.h:1136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1136 | { | ^ ./arch/x86/include/asm/pgtable_64.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_index’: ./include/linux/pci.h: In function ‘pci_channel_offline’: ./include/linux/pci.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/of.h:1161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1161 | { | ^ ./include/linux/of.h: In function ‘of_property_read_bool’: ./include/linux/of.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_priv’: ./include/linux/of.h: In function ‘of_property_read_u8’: ./include/linux/pci.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pud’: ./include/linux/of.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./arch/x86/include/asm/pgtable_64.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_from_priv’: ./include/linux/pci.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16’: ./include/linux/of.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pud_clear’: ./arch/x86/include/asm/pgtable_64.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/of.h:1199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1199 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pudp_get_and_clear’: ./arch/x86/include/asm/pgtable_64.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/of.h: In function ‘of_property_read_s32’: ./include/linux/of.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/of.h: In function ‘of_get_child_count’: ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_p4d’: ./include/linux/of.h:1260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1260 | { | ^ ./arch/x86/include/asm/pgtable_64.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ ./include/linux/pci.h: In function ‘pci_is_root_bus’: ./include/linux/pci.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/pci.h: In function ‘pci_is_bridge’: ./include/linux/of.h: In function ‘of_get_available_child_count’: ./include/linux/pci.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/of.h:1271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1271 | { | ^ ./include/linux/pci.h: In function ‘pci_upstream_bridge’: ./include/linux/pci.h:630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 630 | { | ^ ./include/linux/pci.h: In function ‘pci_dev_msi_enabled’: ./include/linux/pci.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_register’: ./include/linux/pci.h: In function ‘pcibios_err_to_errno’: ./include/linux/of.h:1394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1394 | { | ^ ./include/linux/pci.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_unregister’: ./include/linux/of.h:1398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1398 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notify’: ./include/linux/of.h:1403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1403 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_get_state_change’: ./include/linux/of.h:1408:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1408 | { | ^ ./include/linux/of.h: In function ‘of_device_is_system_power_controller’: ./include/linux/of.h:1420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1420 | { | ^ ./include/linux/pci.h: In function ‘pci_set_flags’: ./include/linux/of.h: In function ‘of_overlay_fdt_apply’: ./include/linux/pci.h:875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 875 | static inline void pci_set_flags(int flags) { pci_flags = flags; } | ^~~~~~ ./include/linux/of.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/pci.h: In function ‘pci_add_flags’: ./include/linux/of.h: In function ‘of_overlay_remove’: ./include/linux/pci.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | static inline void pci_add_flags(int flags) { pci_flags |= flags; } | ^~~~~~ ./include/linux/of.h:1458:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | { | ^ ./include/linux/pci.h: In function ‘pci_clear_flags’: ./include/linux/of.h: In function ‘of_overlay_remove_all’: ./include/linux/pci.h:877:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 877 | static inline void pci_clear_flags(int flags) { pci_flags &= ~flags; } | ^~~~~~ ./include/linux/of.h:1463:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1463 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_register’: ./include/linux/pci.h: In function ‘pci_has_flag’: ./include/linux/pci.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | static inline int pci_has_flag(int flag) { return pci_flags & flag; } | ^~~~~~ ./include/linux/of.h:1468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1468 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_unregister’: ./include/linux/of.h:1473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1473 | { | ^ In file included from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/irqdomain.h: In function ‘irq_domain_get_of_node’: ./include/linux/irqdomain.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_fwnode’: ./include/linux/irqdomain.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_id_fwnode’: ./include/linux/irqdomain.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_fwnode’: ./include/linux/pci.h: In function ‘pcie_capability_set_word’: ./include/linux/irqdomain.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/pci.h:1045:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1045 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_set_dword’: ./include/linux/pci.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/irqdomain.h: In function ‘of_node_to_fwnode’: ./include/linux/irqdomain.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_word’: ./include/linux/pci.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/irqdomain.h: In function ‘is_fwnode_irqchip’: ./include/linux/irqdomain.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_dword’: ./include/linux/pci.h:1063:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1063 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_fwnode’: ./include/linux/irqdomain.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_host’: ./include/linux/irqdomain.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/pci.h: In function ‘pci_intx_mask_supported’: ./include/linux/irqdomain.h: In function ‘irq_find_host’: ./include/linux/irqdomain.h:305:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 305 | { | ^ ./include/linux/pci.h:1083:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1083 | { | ^ ./include/linux/pci.h: In function ‘pci_is_enabled’: ./include/linux/irqdomain.h: In function ‘irq_domain_add_linear’: ./include/linux/pci.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/irqdomain.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/pci.h: In function ‘pci_is_managed’: ./include/linux/irqdomain.h: In function ‘irq_domain_add_nomap’: ./include/linux/irqdomain.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/pci.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_legacy_isa’: ./include/linux/irqdomain.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_tree’: ./include/linux/irqdomain.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_linear’: ./include/linux/irqdomain.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_tree’: ./include/linux/irqdomain.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_linear_revmap’: ./include/linux/irqdomain.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_create_identity_mapping’: ./include/linux/irqdomain.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_hierarchy’: ./include/linux/irqdomain.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_irqs’: ./include/linux/irqdomain.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_address’: ./include/linux/pci.h:1290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1290 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_hierarchy’: ./include/linux/irqdomain.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi’: ./include/linux/irqdomain.h:498:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 498 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_per_cpu’: ./include/linux/irqdomain.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_single’: ./include/linux/irqdomain.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ In file included from ./include/linux/dmapool.h:14, from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/scatterlist.h: In function ‘sg_assign_page’: ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi’: ./include/linux/irqdomain.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/scatterlist.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi_remap’: ./include/linux/irqdomain.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_page’: ./include/linux/scatterlist.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page’: ./include/linux/scatterlist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_buf’: ./include/linux/scatterlist.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_chain’: ./include/linux/scatterlist.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_clear_bits’: ./arch/x86/include/asm/tlbflush.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_mark_end’: ./include/linux/scatterlist.h:191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 191 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_unmark_end’: ./include/linux/scatterlist.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_phys’: ./include/linux/scatterlist.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_virt’: ./include/linux/scatterlist.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_init_marker’: ./include/linux/scatterlist.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_toggle_bits_irqsoff’: ./arch/x86/include/asm/tlbflush.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_page’: ./include/linux/scatterlist.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_dma_address’: ./include/linux/scatterlist.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ In file included from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dmapool.h: In function ‘dma_pool_zalloc’: ./include/linux/dmapool.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_read_shadow’: ./arch/x86/include/asm/tlbflush.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pci.h: In function ‘pci_enable_msix_exact’: ./include/linux/pci.h:1391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1391 | { | ^ ./include/linux/pci.h: In function ‘pci_alloc_irq_vectors’: ./include/linux/pci.h:1457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1457 | { | ^ ./include/linux/pci.h: In function ‘pci_irqd_intx_xlate’: ./include/linux/pci.h:1484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1484 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_other_asid’: ./arch/x86/include/asm/tlbflush.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./include/linux/pci.h: In function ‘pcie_set_ecrc_checking’: ./include/linux/pci.h:1518:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1518 | static inline void pcie_set_ecrc_checking(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pcie_ecrc_get_policy’: ./include/linux/pci.h:1519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1519 | static inline void pcie_ecrc_get_policy(char *str) { } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_request_io_regions’: ./include/linux/pci.h:1587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1587 | { | ^ ./include/linux/pci.h: In function ‘pci_release_io_regions’: ./include/linux/pci.h:1594:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1594 | { | ^ ./include/linux/pci.h: In function ‘pci_request_mem_regions’: ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits_and_update_boot’: ./arch/x86/include/asm/tlbflush.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/pci.h:1601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1601 | { | ^ ./include/linux/pci.h: In function ‘pci_release_mem_regions’: ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_user_asid’: ./arch/x86/include/asm/tlbflush.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/pci.h:1608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1608 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pci.h: In function ‘pci_domain_nr’: ./arch/x86/include/asm/pci.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘pci_proc_domain’: ./arch/x86/include/asm/pci.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘_pci_root_bus_fwnode’: ./arch/x86/include/asm/pci.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘is_vmd’: ./arch/x86/include/asm/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ In file included from ./arch/x86/include/asm/pci.h:123, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pci_64.h: In function ‘pci_iommu’: ./arch/x86/include/asm/pci_64.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./arch/x86/include/asm/pci_64.h: In function ‘set_pci_iommu’: ./arch/x86/include/asm/pci_64.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ In file included from ./arch/x86/include/asm/pci.h:127, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/asm-generic/pci.h: In function ‘pci_get_legacy_ide_irq’: ./include/asm-generic/pci.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/pci.h: In function ‘__pcibus_to_node’: ./arch/x86/include/asm/pci.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘cpumask_of_pcibus’: ./arch/x86/include/asm/pci.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pci.h: In function ‘pci_get_drvdata’: ./include/linux/pci.h:1790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1790 | { | ^ ./include/linux/pci.h: In function ‘pci_set_drvdata’: ./include/linux/pci.h:1795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1795 | { | ^ ./include/linux/pci.h: In function ‘pci_name’: ./include/linux/pci.h:1800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1800 | { | ^ ./include/linux/pci.h: In function ‘pci_resource_to_user’: ./include/linux/pci.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_cap’: ./include/linux/pci.h:2069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2069 | { | ^ ./include/linux/pci.h: In function ‘pci_is_pcie’: ./include/linux/pci.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/pci.h: In function ‘pcie_caps_reg’: ./include/linux/pci.h:2089:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2089 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_type’: ./include/linux/pci.h:2098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2098 | { | ^ ./include/linux/pci.h: In function ‘pcie_find_root_port’: ./include/linux/pci.h:2103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2103 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_size’: ./include/linux/pci.h:2160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2160 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_tag’: ./include/linux/pci.h:2171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2171 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb’: ./arch/x86/include/asm/tlbflush.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_size’: ./include/linux/pci.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_tag’: ./include/linux/pci.h:2193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2193 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_info_field_size’: ./include/linux/pci.h:2204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2204 | { | ^ ./include/linux/pci.h: In function ‘pci_set_of_node’: ./include/linux/pci.h:2250:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2250 | static inline void pci_set_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_of_node’: ./include/linux/pci.h:2251:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2251 | static inline void pci_release_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_set_bus_of_node’: ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_global’: ./arch/x86/include/asm/tlbflush.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/pci.h:2252:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2252 | static inline void pci_set_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_bus_of_node’: ./include/linux/pci.h:2253:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2253 | static inline void pci_release_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_p4d_clear’: ./include/linux/pci.h: In function ‘pci_host_bridge_of_msi_domain’: ./arch/x86/include/asm/pgtable_64.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_set_pgd’: ./include/linux/pci.h:2255:38: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2255 | pci_host_bridge_of_msi_domain(struct pci_bus *bus) { return NULL; } | ^~~~~~~ ./arch/x86/include/asm/pgtable_64.h:156:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 156 | { | ^ ./include/linux/pci.h: In function ‘pci_parse_request_of_pci_ranges’: ./include/linux/pci.h:2259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2259 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘native_pgd_clear’: ./arch/x86/include/asm/pgtable_64.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/pci.h: In function ‘pci_device_to_OF_node’: ./include/linux/pci.h:2266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2266 | { | ^ ./arch/x86/include/asm/pgtable_64.h: In function ‘gup_fast_permitted’: ./include/linux/pci.h: In function ‘pci_bus_to_OF_node’: ./arch/x86/include/asm/pgtable_64.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/pci.h:2271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2271 | { | ^ ./include/linux/pci.h: In function ‘pci_set_dev_assigned’: ./include/linux/pci.h:2300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2300 | { | ^ ./include/linux/pci.h: In function ‘pci_clear_dev_assigned’: In file included from ./arch/x86/include/asm/pgtable_64.h:275, from ./arch/x86/include/asm/pgtable.h:693, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable-invert.h: In function ‘__pte_needs_invert’: ./arch/x86/include/asm/pgtable-invert.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/pci.h:2304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2304 | { | ^ ./include/linux/pci.h: In function ‘pci_is_dev_assigned’: ./arch/x86/include/asm/pgtable-invert.h: In function ‘protnone_mask’: ./arch/x86/include/asm/pgtable-invert.h:23:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ ./include/linux/pci.h:2308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2308 | { | ^ ./arch/x86/include/asm/pgtable-invert.h: In function ‘flip_protnone_guard’: ./arch/x86/include/asm/pgtable-invert.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/pci.h: In function ‘pci_ari_enabled’: ./include/linux/pci.h:2319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2319 | { | ^ In file included from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pgtable.h: In function ‘pte_none’: ./arch/x86/include/asm/pgtable.h:703:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 703 | { | ^ ./include/linux/pci.h: In function ‘pci_is_thunderbolt_attached’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_same’: ./include/linux/pci.h:2332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2332 | { | ^ ./arch/x86/include/asm/pgtable.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_present’: ./arch/x86/include/asm/pgtable.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_devmap’: ./arch/x86/include/asm/pgtable.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_one_user’: ./arch/x86/include/asm/tlbflush.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_accessible’: ./arch/x86/include/asm/pgtable.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_present’: ./arch/x86/include/asm/pgtable.h:739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 739 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_protnone’: ./arch/x86/include/asm/pgtable.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ In file included from ./include/linux/dma-mapping.h:9, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dma-debug.h: In function ‘dma_debug_add_bus’: ./include/linux/dma-debug.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_protnone’: ./include/linux/dma-debug.h: In function ‘debug_dma_map_single’: ./include/linux/dma-debug.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./arch/x86/include/asm/pgtable.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_page’: ./include/linux/dma-debug.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_none’: ./include/linux/dma-debug.h: In function ‘debug_dma_mapping_error’: ./include/linux/dma-debug.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./arch/x86/include/asm/pgtable.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_page’: ./include/linux/dma-debug.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_page_vaddr’: ./include/linux/dma-debug.h: In function ‘debug_dma_map_sg’: ./include/linux/dma-debug.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./arch/x86/include/asm/pgtable.h:776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 776 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_sg’: ./include/linux/dma-debug.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_index’: ./include/linux/dma-debug.h: In function ‘debug_dma_alloc_coherent’: ./include/linux/dma-debug.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./arch/x86/include/asm/pgtable.h:793:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 793 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_free_coherent’: ./include/linux/dma-debug.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_index’: ./include/linux/dma-debug.h: In function ‘debug_dma_map_resource’: ./arch/x86/include/asm/pgtable.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/dma-debug.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_resource’: ./include/linux/dma-debug.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_offset_kernel’: ./arch/x86/include/asm/pgtable.h:818:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 818 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_cpu’: ./include/linux/dma-debug.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_device’: ./include/linux/dma-debug.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_cpu’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_bad’: ./include/linux/dma-debug.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./arch/x86/include/asm/pgtable.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_device’: ./include/linux/dma-debug.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_dump_mappings’: ./include/linux/dma-debug.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pages_to_mb’: ./include/linux/dma-debug.h: In function ‘debug_dma_assert_idle’: ./include/linux/dma-debug.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./arch/x86/include/asm/pgtable.h:828:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 828 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_none’: ./arch/x86/include/asm/pgtable.h:834:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 834 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_present’: ./arch/x86/include/asm/pgtable.h:839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 839 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_page_vaddr’: ./arch/x86/include/asm/pgtable.h:844:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 844 | { | ^ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dma-mapping.h: In function ‘valid_dma_direction’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_offset’: ./arch/x86/include/asm/pgtable.h:856:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 856 | { | ^ ./include/linux/dma-mapping.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_large’: ./include/linux/dma-mapping.h: In function ‘is_device_dma_capable’: ./arch/x86/include/asm/pgtable.h:861:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 861 | { | ^ ./include/linux/dma-mapping.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_bad’: ./include/linux/dma-mapping.h: In function ‘dma_alloc_from_global_coherent’: ./arch/x86/include/asm/pgtable.h:867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 867 | { | ^ ./include/linux/dma-mapping.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_from_global_coherent’: ./include/linux/dma-mapping.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_from_global_coherent’: ./arch/x86/include/asm/pgtable.h: In function ‘pud_index’: ./include/linux/dma-mapping.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./arch/x86/include/asm/pgtable.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_is_direct’: ./include/linux/dma-mapping.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_all’: ./arch/x86/include/asm/tlbflush.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_none’: ./arch/x86/include/asm/pgtable.h:884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 884 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_present’: ./arch/x86/include/asm/pgtable.h:889:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 889 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_page_vaddr’: ./arch/x86/include/asm/pgtable.h:894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 894 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_offset’: In file included from ./arch/x86/include/asm/swiotlb.h:5, from ./arch/x86/include/asm/dma-mapping.h:13, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/swiotlb.h: In function ‘is_swiotlb_buffer’: ./arch/x86/include/asm/pgtable.h:906:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 906 | { | ^ ./include/linux/swiotlb.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_bad’: ./arch/x86/include/asm/pgtable.h:911:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 911 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_one_kernel’: ./arch/x86/include/asm/tlbflush.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘p4d_index’: In file included from ./arch/x86/include/asm/dma-mapping.h:14, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dma-contiguous.h: In function ‘dev_get_cma_area’: ./arch/x86/include/asm/pgtable.h:922:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 922 | { | ^ ./include/linux/dma-contiguous.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dev_set_cma_area’: ./include/linux/dma-contiguous.h:129:64: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void dev_set_cma_area(struct device *dev, struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_set_default’: ./include/linux/dma-contiguous.h:131:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void dma_contiguous_set_default(struct cma *cma) { } | ^~~ ./arch/x86/include/asm/pgtable.h: In function ‘init_trampoline_default’: ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve’: ./include/linux/dma-contiguous.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void dma_contiguous_reserve(phys_addr_t limit) { } | ^~~~~~ ./arch/x86/include/asm/pgtable.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve_area’: ./include/linux/dma-contiguous.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_ptep_get_and_clear’: ./include/linux/dma-contiguous.h: In function ‘dma_declare_contiguous’: ./include/linux/dma-contiguous.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./arch/x86/include/asm/pgtable.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_from_contiguous’: ./include/linux/dma-contiguous.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_release_from_contiguous’: ./include/linux/dma-contiguous.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_contiguous’: ./include/linux/dma-contiguous.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/i2c.h: In function ‘i2c_master_recv’: ./include/linux/i2c.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_recv_dmasafe’: ./include/linux/i2c.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send’: ./include/linux/i2c.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send_dmasafe’: ./include/linux/i2c.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/i2c.h: In function ‘i2c_smbus_read_word_swapped’: ./include/linux/i2c.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/i2c.h: In function ‘i2c_smbus_write_word_swapped’: ./include/linux/i2c.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/i2c.h: In function ‘kobj_to_i2c_client’: ./include/linux/i2c.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_clientdata’: ./include/linux/i2c.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_clientdata’: ./include/linux/i2c.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/i2c.h: In function ‘i2c_detect_slave_mode’: ./include/linux/i2c.h:387:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | static inline bool i2c_detect_slave_mode(struct device *dev) { return false; } | ^~~~~~ ./include/linux/i2c.h: In function ‘i2c_get_adapdata’: ./include/linux/i2c.h:700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 700 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_adapdata’: ./include/linux/i2c.h:705:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 705 | { | ^ ./include/linux/i2c.h: In function ‘i2c_parent_is_i2c_adapter’: ./include/linux/i2c.h:711:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 711 | { | ^ ./include/linux/i2c.h: In function ‘i2c_lock_bus’: ./include/linux/i2c.h:736:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 736 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_free_contiguous’: ./include/linux/dma-contiguous.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/i2c.h: In function ‘i2c_trylock_bus’: ./include/linux/i2c.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/i2c.h: In function ‘i2c_unlock_bus’: ./include/linux/i2c.h:762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 762 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_functionality’: ./include/linux/i2c.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_functionality’: ./include/linux/i2c.h:829:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 829 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_quirks’: ./include/linux/i2c.h:841:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 841 | { | ^ ./include/linux/i2c.h: In function ‘i2c_adapter_id’: ./include/linux/i2c.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/i2c.h: In function ‘i2c_8bit_addr_from_msg’: ./include/linux/i2c.h:854:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 854 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_device_by_node’: ./include/linux/i2c.h:907:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 907 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_adapter_by_node’: ./include/linux/i2c.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/i2c.h: In function ‘of_get_i2c_adapter_by_node’: ./include/linux/i2c.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/linux/i2c.h: In function ‘i2c_of_match_device’: In file included from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/dma-mapping.h: In function ‘get_arch_dma_ops’: ./include/linux/i2c.h:924:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 924 | { | ^ ./arch/x86/include/asm/dma-mapping.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/i2c.h: In function ‘of_i2c_get_board_info’: In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/dma-mapping.h: In function ‘get_dma_ops’: ./include/linux/i2c.h:931:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 931 | { | ^ ./include/linux/dma-mapping.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/dma-mapping.h: In function ‘set_dma_ops’: ./include/linux/dma-mapping.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_page_attrs’: ./include/linux/dma-mapping.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_page_attrs’: ./include/linux/dma-mapping.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_sg_attrs’: ./include/linux/dma-mapping.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_sg_attrs’: ./include/linux/dma-mapping.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_resource’: ./include/linux/dma-mapping.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_resource’: ./include/linux/dma-mapping.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_cpu’: ./include/linux/dma-mapping.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_device’: ./include/linux/dma-mapping.h:397:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 397 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_cpu’: ./include/linux/dma-mapping.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_device’: ./include/linux/dma-mapping.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mapping_error’: ./include/linux/dma-mapping.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_single_attrs’: ./include/linux/dma-mapping.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_single_attrs’: ./include/linux/dma-mapping.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_cpu’: ./include/linux/dma-mapping.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_device’: ./include/linux/dma-mapping.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_coherent’: ./include/linux/dma-mapping.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_coherent’: ./include/linux/dma-mapping.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_mask’: ./include/linux/dma-mapping.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_mask_and_coherent’: ./include/linux/dma-mapping.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_coerce_mask_and_coherent’: ./include/linux/dma-mapping.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/linux/dma-mapping.h: In function ‘arch_setup_dma_ops’: ./include/linux/dma-mapping.h:682:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | bool coherent) { } | ^~~~ ./include/linux/dma-mapping.h: In function ‘arch_teardown_dma_ops’: ./include/linux/dma-mapping.h:686:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 686 | static inline void arch_teardown_dma_ops(struct device *dev) { } | ^~~~~~ ./include/linux/dma-mapping.h: In function ‘dma_get_max_seg_size’: ./include/linux/dma-mapping.h:690:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 690 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_max_seg_size’: ./include/linux/dma-mapping.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_seg_boundary’: ./include/linux/dma-mapping.h:706:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 706 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_seg_boundary’: ./include/linux/dma-mapping.h:713:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 713 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_max_pfn’: ./include/linux/dma-mapping.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_cache_alignment’: ./include/linux/dma-mapping.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_declare_coherent_memory’: ./include/linux/dma-mapping.h:749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 749 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_declared_memory’: ./include/linux/dma-mapping.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mark_declared_memory_occupied’: ./include/linux/dma-mapping.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dma-mapping.h: In function ‘dmam_alloc_coherent’: ./include/linux/dma-mapping.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_wc’: ./include/linux/dma-mapping.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_wc’: ./include/linux/dma-mapping.h:789:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 789 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_wc’: ./include/linux/dma-mapping.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ In file included from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pci-dma-compat.h: In function ‘pci_alloc_consistent’: ./include/linux/pci-dma-compat.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_zalloc_consistent’: ./include/linux/pci-dma-compat.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_free_consistent’: ./include/linux/pci-dma-compat.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pmdp_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_single’: ./include/linux/pci-dma-compat.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_local_pudp_get_and_clear’: ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_single’: ./include/linux/pci-dma-compat.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./arch/x86/include/asm/pgtable.h:1052:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1052 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘native_set_pte_at’: ./include/linux/pci-dma-compat.h: In function ‘pci_map_page’: ./include/linux/pci-dma-compat.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./arch/x86/include/asm/pgtable.h:1061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1061 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_page’: ./arch/x86/include/asm/pgtable.h: In function ‘set_pmd_at’: ./include/linux/pci-dma-compat.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./arch/x86/include/asm/pgtable.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_sg’: ./arch/x86/include/asm/pgtable.h: In function ‘set_pud_at’: ./include/linux/pci-dma-compat.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/pgtable.h:1073:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1073 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_sg’: ./include/linux/pci-dma-compat.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear’: ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_cpu’: ./arch/x86/include/asm/pgtable.h:1102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1102 | { | ^ ./include/linux/pci-dma-compat.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_get_and_clear_full’: ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_device’: ./include/linux/pci-dma-compat.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./arch/x86/include/asm/pgtable.h:1111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1111 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_cpu’: ./include/linux/pci-dma-compat.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptep_set_wrprotect’: ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_device’: ./arch/x86/include/asm/pgtable.h:1128:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1128 | { | ^ ./include/linux/pci-dma-compat.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_mapping_error’: ./include/linux/pci-dma-compat.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_dma_mask’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_write’: ./include/linux/pci-dma-compat.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./arch/x86/include/asm/pgtable.h:1157:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1157 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_consistent_dma_mask’: ./include/linux/pci-dma-compat.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_huge_get_and_clear’: ./arch/x86/include/asm/pgtable.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pudp_huge_get_and_clear’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:123, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/file.h: In function ‘fput_light’: ./include/linux/file.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./arch/x86/include/asm/pgtable.h:1171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1171 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_set_wrprotect’: ./arch/x86/include/asm/pgtable.h:1178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1178 | { | ^ ./include/linux/file.h: In function ‘fdput’: ./include/linux/file.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_write’: ./arch/x86/include/asm/pgtable.h:1184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1184 | { | ^ ./include/linux/file.h: In function ‘__to_fd’: ./include/linux/file.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmdp_establish’: ./arch/x86/include/asm/pgtable.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/file.h: In function ‘fdget’: ./include/linux/file.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/file.h: In function ‘fdget_raw’: ./include/linux/file.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/file.h: In function ‘fdget_pos’: ./include/linux/file.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/file.h: In function ‘fdput_pos’: ./include/linux/file.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pgdp_maps_userspace’: In file included from ./include/acpi/platform/acenvex.h:23, from ./include/acpi/acpi.h:28, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate’: ./arch/x86/include/asm/pgtable.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/acpi/platform/aclinuxex.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ In file included from ./include/linux/cpu.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/node.h: In function ‘register_one_node’: ./arch/x86/include/asm/pgtable.h: In function ‘pgd_large’: ./include/linux/node.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./arch/x86/include/asm/pgtable.h:1216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1216 | static inline int pgd_large(pgd_t pgd) { return 0; } | ^~~~~~ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate_zeroed’: ./include/acpi/platform/aclinuxex.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptr_set_bit’: ./arch/x86/include/asm/pgtable.h:1232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1232 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘ptr_clear_bit’: ./arch/x86/include/asm/pgtable.h:1239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1239 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_pgdp’: ./arch/x86/include/asm/pgtable.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_pgdp’: In file included from ./include/linux/cpu.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state’: ./include/linux/cpuhotplug.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./arch/x86/include/asm/pgtable.h:1252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1252 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘kernel_to_user_p4dp’: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_cpuslocked’: ./include/linux/cpuhotplug.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/pgtable.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls’: ./include/linux/cpuhotplug.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘user_to_kernel_p4dp’: ./arch/x86/include/asm/pgtable.h:1262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1262 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘clone_pgd_range’: ./arch/x86/include/asm/tlbflush.h: In function ‘flush_tlb_page’: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_multi’: ./arch/x86/include/asm/tlbflush.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/cpuhotplug.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./arch/x86/include/asm/pgtable.h:1278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1278 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance’: ./arch/x86/include/asm/tlbflush.h: In function ‘inc_mm_tlb_gen’: ./include/linux/cpuhotplug.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./arch/x86/include/asm/tlbflush.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls’: ./include/linux/cpuhotplug.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘arch_tlbbatch_add_mm’: ./arch/x86/include/asm/tlbflush.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:311:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 311 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state’: ./include/linux/cpuhotplug.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls’: ./include/linux/cpuhotplug.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_multi_state’: ./include/linux/cpuhotplug.h:354:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 354 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance’: ./include/linux/cpuhotplug.h:372:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 372 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance_nocalls’: ./include/linux/cpuhotplug.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/cpu.h: In function ‘cpu_hotplug_begin’: ./include/linux/cpu.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | static inline void cpu_hotplug_begin(void) { cpus_write_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘cpu_hotplug_done’: ./include/linux/cpu.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void cpu_hotplug_done(void) { cpus_write_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘get_online_cpus’: ./include/linux/cpu.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | static inline void get_online_cpus(void) { cpus_read_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘put_online_cpus’: ./include/linux/cpu.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void put_online_cpus(void) { cpus_read_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘disable_nonboot_cpus’: ./include/linux/cpu.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_shift’: ./arch/x86/include/asm/pgtable.h:1291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1291 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_off’: ./include/linux/cpu.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_auto_nosmt’: ./include/linux/cpu.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:136, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h: In function ‘list_is_first’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h:97:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_size’: ./arch/x86/include/asm/pgtable.h:1295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1295 | { | ^ In file included from ./arch/x86/include/asm/vga.h:11, from ./include/video/vga.h:22, from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/set_memory.h: In function ‘set_mce_nospec’: ./arch/x86/include/asm/set_memory.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘page_level_mask’: ./arch/x86/include/asm/set_memory.h: In function ‘clear_mce_nospec’: ./arch/x86/include/asm/pgtable.h:1299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1299 | { | ^ ./arch/x86/include/asm/set_memory.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache’: ./arch/x86/include/asm/pgtable.h:1309:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1309 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pmd’: ./arch/x86/include/asm/pgtable.h:1313:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1313 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘update_mmu_cache_pud’: ./arch/x86/include/asm/pgtable.h:1317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1317 | { | ^ In file included from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/video/vga.h: In function ‘vga_io_r’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_mksoft_dirty’: ./include/video/vga.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./arch/x86/include/asm/pgtable.h:1322:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1322 | { | ^ ./include/video/vga.h: In function ‘vga_io_w’: ./include/video/vga.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_soft_dirty’: ./include/video/vga.h: In function ‘vga_io_w_fast’: ./include/video/vga.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./arch/x86/include/asm/pgtable.h:1327:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1327 | { | ^ ./include/video/vga.h: In function ‘vga_mm_r’: ./arch/x86/include/asm/pgtable.h: In function ‘pte_swp_clear_soft_dirty’: ./include/video/vga.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w’: ./arch/x86/include/asm/pgtable.h:1332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1332 | { | ^ ./include/video/vga.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_mksoft_dirty’: ./include/video/vga.h: In function ‘vga_mm_w_fast’: ./include/video/vga.h:230:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 230 | { | ^ ./arch/x86/include/asm/pgtable.h:1338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1338 | { | ^ ./include/video/vga.h: In function ‘vga_r’: ./include/video/vga.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_soft_dirty’: ./include/video/vga.h: In function ‘vga_w’: ./arch/x86/include/asm/pgtable.h:1343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1343 | { | ^ ./include/video/vga.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/video/vga.h: In function ‘vga_w_fast’: ./arch/x86/include/asm/pgtable.h: In function ‘pmd_swp_clear_soft_dirty’: ./include/video/vga.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./arch/x86/include/asm/pgtable.h:1348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1348 | { | ^ ./include/video/vga.h: In function ‘vga_rcrt’: ./include/video/vga.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_read’: ./include/video/vga.h: In function ‘vga_wcrt’: ./include/video/vga.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./arch/x86/include/asm/pgtable.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/video/vga.h: In function ‘vga_io_rcrt’: ./include/video/vga.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/video/vga.h: In function ‘vga_io_wcrt’: ./include/video/vga.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rcrt’: ./include/video/vga.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/device.h: In function ‘class_create_file’: ./include/video/vga.h: In function ‘vga_mm_wcrt’: ./include/video/vga.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/device.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/video/vga.h: In function ‘vga_rseq’: ./include/video/vga.h:319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 319 | { | ^ ./include/linux/device.h: In function ‘class_remove_file’: ./include/linux/device.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/video/vga.h: In function ‘vga_wseq’: ./include/video/vga.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/video/vga.h: In function ‘vga_io_rseq’: ./include/video/vga.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/video/vga.h: In function ‘vga_io_wseq’: ./include/video/vga.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rseq’: ./include/video/vga.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wseq’: ./include/video/vga.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/device.h: In function ‘devres_alloc’: ./include/video/vga.h: In function ‘vga_rgfx’: ./include/linux/device.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/video/vga.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/video/vga.h: In function ‘vga_wgfx’: ./include/video/vga.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/video/vga.h: In function ‘vga_io_rgfx’: ./include/video/vga.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/video/vga.h: In function ‘vga_io_wgfx’: ./include/linux/device.h: In function ‘devm_kzalloc’: ./include/video/vga.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/device.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rgfx’: ./include/video/vga.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/device.h: In function ‘devm_kmalloc_array’: ./include/linux/device.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wgfx’: ./include/video/vga.h:409:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 409 | { | ^ ./include/video/vga.h: In function ‘vga_rattr’: ./include/video/vga.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/linux/device.h: In function ‘devm_kcalloc’: ./include/linux/device.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/video/vga.h: In function ‘vga_wattr’: ./include/video/vga.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/video/vga.h: In function ‘vga_io_rattr’: ./include/video/vga.h:436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 436 | { | ^ ./include/linux/device.h: In function ‘devm_add_action_or_reset’: ./include/video/vga.h: In function ‘vga_io_wattr’: ./include/linux/device.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/video/vga.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rattr’: ./include/video/vga.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wattr’: ./include/video/vga.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/device.h: In function ‘device_connections_add’: ./include/linux/device.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/device.h: In function ‘device_connections_remove’: ./include/linux/device.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/device.h: In function ‘kobj_to_dev’: ./include/linux/device.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/vgaarb.h: In function ‘vga_get_interruptible’: ./include/linux/vgaarb.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_get_uninterruptible’: ./include/linux/vgaarb.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/device.h: In function ‘device_iommu_mapped’: ./include/linux/vgaarb.h: In function ‘vga_conflicts’: ./include/linux/device.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ ./include/linux/vgaarb.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from ./include/linux/device.h:1072, from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pm_wakeup.h: In function ‘device_can_wakeup’: ./include/linux/pm_wakeup.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ In file included from ./include/linux/pagemap.h:11, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/highmem.h: In function ‘flush_anon_page’: ./include/linux/pm_wakeup.h: In function ‘device_may_wakeup’: ./include/linux/pm_wakeup.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/highmem.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_dcache_page’: ./include/linux/highmem.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_set_wakeup_path’: ./include/linux/highmem.h: In function ‘flush_kernel_vmap_range’: ./include/linux/pm_wakeup.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/highmem.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/highmem.h: In function ‘invalidate_kernel_vmap_range’: ./include/linux/highmem.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/highmem.h: In function ‘nr_free_highpages’: ./include/linux/highmem.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline unsigned int nr_free_highpages(void) { return 0; } | ^~~~~~ ./include/linux/highmem.h: In function ‘kmap_to_page’: ./include/linux/highmem.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_init’: ./include/linux/pm_wakeup.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/highmem.h: In function ‘totalhigh_pages’: ./include/linux/pm_wakeup.h: In function ‘wakeup_source_trash’: ./include/linux/highmem.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline unsigned long totalhigh_pages(void) { return 0UL; } | ^~~~~~ ./include/linux/pm_wakeup.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/highmem.h: In function ‘kmap’: ./include/linux/pm_wakeup.h: In function ‘__pm_wakeup_event’: ./include/linux/highmem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/pm_wakeup.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/highmem.h: In function ‘kunmap’: ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_event’: ./include/linux/highmem.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/pm_wakeup.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/highmem.h: In function ‘kmap_atomic’: ./include/linux/highmem.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_hard_event’: ./include/linux/pm_wakeup.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/linux/highmem.h: In function ‘__kunmap_atomic’: In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/device.h: In function ‘dev_name’: ./include/linux/highmem.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/device.h:1075:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1075 | { | ^ ./include/linux/highmem.h: In function ‘clear_user_highpage’: ./include/linux/device.h: In function ‘dev_to_node’: ./include/linux/highmem.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/device.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/device.h: In function ‘set_dev_node’: ./include/linux/device.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/device.h: In function ‘dev_get_msi_domain’: ./include/linux/highmem.h: In function ‘alloc_zeroed_user_highpage_movable’: ./include/linux/highmem.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/device.h:1106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1106 | { | ^ ./include/linux/device.h: In function ‘dev_set_msi_domain’: ./include/linux/device.h:1115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1115 | { | ^ ./include/linux/highmem.h: In function ‘clear_highpage’: ./include/linux/device.h: In function ‘dev_get_drvdata’: ./include/linux/highmem.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/device.h:1122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1122 | { | ^ ./include/linux/device.h: In function ‘dev_set_drvdata’: ./include/linux/device.h:1127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1127 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segments’: ./include/linux/device.h: In function ‘dev_to_psd’: ./include/linux/highmem.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/device.h:1132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1132 | { | ^ ./include/linux/device.h: In function ‘dev_get_uevent_suppress’: ./include/linux/device.h:1137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1137 | { | ^ ./include/linux/device.h: In function ‘dev_set_uevent_suppress’: ./include/linux/device.h:1142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1142 | { | ^ ./include/linux/device.h: In function ‘device_is_registered’: ./include/linux/device.h:1147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1147 | { | ^ ./include/linux/device.h: In function ‘device_enable_async_suspend’: ./include/linux/device.h:1152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1152 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segment’: ./include/linux/highmem.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/device.h: In function ‘device_disable_async_suspend’: ./include/linux/device.h:1158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1158 | { | ^ ./include/linux/highmem.h: In function ‘zero_user’: ./include/linux/highmem.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/device.h: In function ‘device_async_suspend_enabled’: ./include/linux/highmem.h: In function ‘copy_user_highpage’: ./include/linux/device.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/highmem.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/device.h: In function ‘dev_pm_syscore_device’: ./include/linux/device.h:1169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | { | ^ ./include/linux/device.h: In function ‘dev_pm_set_driver_flags’: ./include/linux/device.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/highmem.h: In function ‘copy_highpage’: ./include/linux/device.h: In function ‘dev_pm_test_driver_flags’: ./include/linux/highmem.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/device.h:1181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1181 | { | ^ ./include/linux/device.h: In function ‘device_lock’: ./include/linux/device.h:1186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1186 | { | ^ ./include/linux/device.h: In function ‘device_lock_interruptible’: ./include/linux/device.h:1191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1191 | { | ^ ./include/linux/device.h: In function ‘device_trylock’: ./include/linux/device.h:1196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1196 | { | ^ In file included from ./include/linux/pagemap.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/hugetlb_inline.h: In function ‘is_vm_hugetlb_page’: ./include/linux/hugetlb_inline.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/device.h: In function ‘device_unlock’: ./include/linux/device.h:1201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1201 | { | ^ ./include/linux/device.h: In function ‘device_lock_assert’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pagemap.h: In function ‘mapping_set_error’: ./include/linux/device.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/pagemap.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/device.h: In function ‘dev_of_node’: ./include/linux/device.h:1211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1211 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_unevictable’: ./include/linux/pagemap.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_clear_unevictable’: ./include/linux/pagemap.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_unevictable’: ./include/linux/pagemap.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/device.h: In function ‘device_supports_offline’: ./include/linux/device.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_exiting’: ./include/linux/pagemap.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_exiting’: ./include/linux/device.h: In function ‘dev_num_vf’: ./include/linux/pagemap.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/device.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_no_writeback_tags’: ./include/linux/pagemap.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_use_writeback_tags’: ./include/linux/pagemap.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/device.h: In function ‘dev_get_platdata’: ./include/linux/device.h:1274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1274 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_mask’: ./include/linux/pagemap.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_constraint’: ./include/linux/pagemap.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_gfp_mask’: ./include/linux/device.h: In function ‘device_add_group’: ./include/linux/pagemap.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/device.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_get_speculative’: ./include/linux/pagemap.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/device.h: In function ‘device_remove_group’: ./include/linux/device.h:1324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1324 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_add_speculative’: ./include/linux/pagemap.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_alloc’: ./include/linux/pagemap.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/pagemap.h: In function ‘readahead_gfp_mask’: ./include/linux/pagemap.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page’: ./include/linux/pagemap.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page_flags’: ./include/linux/pagemap.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/pagemap.h: In function ‘find_lock_page’: ./include/linux/pagemap.h:296:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 296 | { | ^ ./include/linux/pagemap.h: In function ‘find_or_create_page’: ./include/linux/pagemap.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page_nowait’: In file included from ./include/linux/hardirq.h:7, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_enter’: ./include/linux/pagemap.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/ftrace_irq.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | static inline void arch_ftrace_nmi_enter(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | static inline void arch_ftrace_nmi_exit(void) { } | ^~~~~~ ./include/linux/pagemap.h: In function ‘find_get_pages’: ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_enter’: ./include/linux/pagemap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./include/linux/ftrace_irq.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages_tag’: ./include/linux/pagemap.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page’: ./include/linux/pagemap.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ In file included from ./include/linux/vtime.h:5, from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/context_tracking_state.h: In function ‘context_tracking_in_user’: ./include/linux/context_tracking_state.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline bool context_tracking_in_user(void) { return false; } | ^~~~~~ ./include/linux/pagemap.h: In function ‘read_mapping_page’: ./include/linux/context_tracking_state.h: In function ‘context_tracking_active’: ./include/linux/pagemap.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/context_tracking_state.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline bool context_tracking_active(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_is_enabled’: ./include/linux/context_tracking_state.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | static inline bool context_tracking_is_enabled(void) { return false; } | ^~~~~~ ./include/linux/pagemap.h: In function ‘page_to_index’: ./include/linux/context_tracking_state.h: In function ‘context_tracking_cpu_is_enabled’: ./include/linux/pagemap.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/context_tracking_state.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | static inline bool context_tracking_cpu_is_enabled(void) { return false; } | ^~~~~~ In file included from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/vtime.h: In function ‘vtime_accounting_cpu_enabled’: ./include/linux/vtime.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | static inline bool vtime_accounting_cpu_enabled(void) { return false; } | ^~~~~~ ./include/linux/vtime.h: In function ‘vtime_task_switch’: ./include/linux/pagemap.h: In function ‘page_to_pgoff’: ./include/linux/vtime.h:65:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | static inline void vtime_task_switch(struct task_struct *prev) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/vtime.h: In function ‘vtime_account_system’: ./include/linux/vtime.h:66:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | static inline void vtime_account_system(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_enter’: ./include/linux/vtime.h:77:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | static inline void vtime_user_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h: In function ‘page_offset’: ./include/linux/vtime.h: In function ‘vtime_user_exit’: ./include/linux/pagemap.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/vtime.h:78:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline void vtime_user_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_guest_enter’: ./include/linux/pagemap.h: In function ‘page_file_offset’: ./include/linux/vtime.h:79:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | static inline void vtime_guest_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/vtime.h: In function ‘vtime_guest_exit’: ./include/linux/vtime.h:80:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | static inline void vtime_guest_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_init_idle’: ./include/linux/pagemap.h: In function ‘linear_page_index’: ./include/linux/vtime.h:81:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/vtime.h: In function ‘vtime_account_irq_enter’: ./include/linux/vtime.h:93:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void vtime_account_irq_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_irq_exit’: ./include/linux/vtime.h:94:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void vtime_account_irq_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_flush’: ./include/linux/vtime.h:95:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | static inline void vtime_flush(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h: In function ‘trylock_page’: ./include/linux/vtime.h: In function ‘irqtime_account_irq’: ./include/linux/vtime.h:102:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void irqtime_account_irq(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/pagemap.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/vtime.h: In function ‘account_irq_enter_time’: ./include/linux/vtime.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page’: ./include/linux/vtime.h: In function ‘account_irq_exit_time’: ./include/linux/vtime.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/pagemap.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_killable’: ./include/linux/pagemap.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ In file included from ./include/linux/interrupt.h:19, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/irq.h: In function ‘irq_canonicalize’: ./arch/x86/include/asm/irq.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_or_retry’: ./include/linux/pagemap.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked’: ./include/linux/pagemap.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked_killable’: ./include/linux/pagemap.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ In file included from ./arch/x86/include/asm/sections.h:5, from ./include/linux/interrupt.h:20, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/sections.h: In function ‘arch_is_kernel_text’: ./include/asm-generic/sections.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_writeback’: ./include/linux/pagemap.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/asm-generic/sections.h: In function ‘arch_is_kernel_data’: ./include/asm-generic/sections.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_contains’: ./include/linux/pagemap.h: In function ‘fault_in_pages_writeable’: ./include/asm-generic/sections.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/pagemap.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_intersects’: ./include/asm-generic/sections.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_contains’: ./include/asm-generic/sections.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_intersects’: ./include/asm-generic/sections.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/sections.h: In function ‘is_kernel_rodata’: ./include/asm-generic/sections.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ In file included from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/interrupt.h: In function ‘request_irq’: ./include/linux/interrupt.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/interrupt.h: In function ‘request_percpu_irq’: ./include/linux/interrupt.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/interrupt.h: In function ‘devm_request_irq’: ./include/linux/interrupt.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_readable’: ./include/linux/pagemap.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/interrupt.h: In function ‘irq_set_affinity’: ./include/linux/interrupt.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/interrupt.h: In function ‘irq_force_affinity’: ./include/linux/interrupt.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep’: ./include/linux/interrupt.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep_irqsave’: ./include/linux/interrupt.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_lockdep’: ./include/linux/interrupt.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep’: ./include/linux/interrupt.h:402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 402 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep_irqrestore’: ./include/linux/interrupt.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_wake’: ./include/linux/interrupt.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_wake’: ./include/linux/interrupt.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./include/linux/interrupt.h: In function ‘this_cpu_ksoftirqd’: ./include/linux/interrupt.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/pagemap.h: In function ‘add_to_page_cache’: ./include/linux/pagemap.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/pagemap.h: In function ‘dir_pages’: ./include/linux/pagemap.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_trylock’: ./include/linux/interrupt.h:582:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 582 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock’: ./include/linux/interrupt.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock_wait’: ./include/linux/interrupt.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_schedule’: ./include/linux/interrupt.h:605:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 605 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hi_schedule’: ./include/linux/interrupt.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_disable_nosync’: In file included from ./include/linux/efi.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/proc_fs.h: In function ‘proc_net_mkdir’: ./include/linux/interrupt.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/proc_fs.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_disable’: ./include/linux/interrupt.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/proc_fs.h: In function ‘proc_pid_ns’: ./include/linux/proc_fs.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_enable’: ./include/linux/interrupt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_start’: ./include/linux/interrupt.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_cancel’: ./include/linux/interrupt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rtc.h: In function ‘rtc_tm_sub’: ./include/linux/rtc.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ In file included from ./include/linux/pci.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/io.h: In function ‘pci_remap_cfgspace’: ./include/linux/rtc.h: In function ‘rtc_time_to_tm’: ./include/linux/io.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/rtc.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tm_to_time’: ./include/linux/rtc.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ In file included from ./include/linux/pci.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/resource_ext.h: In function ‘resource_list_add’: ./include/linux/resource_ext.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ In file included from ./include/linux/rtc.h:50, from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/seq_file.h: In function ‘seq_has_overflowed’: ./include/linux/seq_file.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_add_tail’: ./include/linux/resource_ext.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/seq_file.h: In function ‘seq_get_buf’: ./include/linux/seq_file.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_del’: ./include/linux/resource_ext.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_free_entry’: ./include/linux/resource_ext.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_destroy_entry’: ./include/linux/resource_ext.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/seq_file.h: In function ‘seq_commit’: ./include/linux/seq_file.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/seq_file.h: In function ‘seq_setwidth’: ./include/linux/seq_file.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/seq_file.h: In function ‘seq_user_ns’: ./include/linux/seq_file.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seq_file.h: In function ‘seq_show_option’: ./include/linux/seq_file.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rtc.h: In function ‘is_leap_year’: ./include/linux/rtc.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ In file included from ./include/linux/efi.h:23, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/pstore.h: In function ‘pstore_ftrace_encode_cpu’: ./include/linux/pstore.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_decode_cpu’: ./include/linux/pstore.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_write’: ./include/linux/pstore.h: In function ‘pstore_ftrace_read_timestamp’: ./include/linux/pstore.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./arch/x86/include/asm/pgtable.h:1365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1365 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_write_timestamp’: ./include/linux/pstore.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_flags_pkey’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pci.h: In function ‘pci_slot_name’: ./arch/x86/include/asm/pgtable.h:1375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1375 | { | ^ ./include/linux/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pkru_allows_pkey’: ./arch/x86/include/asm/pgtable.h:1385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1385 | { | ^ ./include/linux/pci.h: In function ‘pci_power_name’: ./include/linux/pci.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘__pte_access_permitted’: ./arch/x86/include/asm/pgtable.h:1402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1402 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pte_access_permitted’: ./arch/x86/include/asm/pgtable.h:1416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1416 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pmd_access_permitted’: ./arch/x86/include/asm/pgtable.h:1422:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1422 | { | ^ ./arch/x86/include/asm/pgtable.h: In function ‘pud_access_permitted’: ./arch/x86/include/asm/pgtable.h:1428:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1428 | { | ^ ./include/linux/pci.h: In function ‘pci_physfn’: ./arch/x86/include/asm/pgtable.h: In function ‘arch_has_pfn_modify_check’: ./include/linux/pci.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./arch/x86/include/asm/pgtable.h:1436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1436 | { | ^ ./include/linux/pci.h: In function ‘pci_channel_offline’: ./include/linux/pci.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_priv’: ./include/linux/pci.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_from_priv’: ./include/linux/pci.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/pci.h: In function ‘pci_is_root_bus’: ./include/linux/pci.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ In file included from ./arch/x86/include/asm/pgtable.h:1440, from ./include/linux/mm.h:98, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/pgtable.h: In function ‘pmdp_huge_get_and_clear_full’: ./include/linux/pci.h: In function ‘pci_is_bridge’: ./include/linux/pci.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/asm-generic/pgtable.h:164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 164 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pudp_huge_get_and_clear_full’: ./include/asm-generic/pgtable.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/pci.h: In function ‘pci_upstream_bridge’: ./include/linux/pci.h:630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 630 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/efi.h: In function ‘efi_guidcmp’: ./include/asm-generic/pgtable.h: In function ‘pte_clear_not_present_full’: ./include/asm-generic/pgtable.h:200:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 200 | { | ^ ./include/linux/pci.h: In function ‘pci_dev_msi_enabled’: ./include/linux/efi.h:1013:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1013 | { | ^ ./include/linux/pci.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pudp_set_wrprotect’: ./include/asm-generic/pgtable.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/efi.h: In function ‘efi_guid_to_str’: ./include/linux/efi.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/pci.h: In function ‘pcibios_err_to_errno’: ./include/linux/pci.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | { | ^ ./include/asm-generic/pgtable.h: In function ‘generic_pmdp_establish’: ./include/asm-generic/pgtable.h:320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 320 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pte_unused’: ./include/asm-generic/pgtable.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_same’: ./include/asm-generic/pgtable.h:379:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 379 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pud_same’: ./include/asm-generic/pgtable.h:384:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 384 | { | ^ ./include/linux/efi.h: In function ‘efi_fake_memmap’: ./include/linux/efi.h:1084:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1084 | static inline void efi_fake_memmap(void) { } | ^~~~~~ ./include/asm-generic/pgtable.h: In function ‘p4d_same’: ./include/asm-generic/pgtable.h:391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 391 | { | ^ ./include/linux/pci.h: In function ‘pci_set_flags’: ./include/linux/pci.h:875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 875 | static inline void pci_set_flags(int flags) { pci_flags = flags; } | ^~~~~~ ./include/asm-generic/pgtable.h: In function ‘pgd_same’: ./include/linux/efi.h: In function ‘efi_range_is_wc’: ./include/asm-generic/pgtable.h:398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 398 | { | ^ ./include/linux/efi.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/pci.h: In function ‘pci_add_flags’: ./include/linux/pci.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | static inline void pci_add_flags(int flags) { pci_flags |= flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_clear_flags’: ./include/linux/pci.h:877:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 877 | static inline void pci_clear_flags(int flags) { pci_flags &= ~flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_has_flag’: ./include/linux/efi.h: In function ‘efi_enabled’: ./include/linux/pci.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | static inline int pci_has_flag(int flag) { return pci_flags & flag; } | ^~~~~~ ./include/linux/efi.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/efi.h: In function ‘memrange_efi_to_native’: ./include/linux/efi.h:1335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1335 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_set_word’: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_free’: ./include/linux/efi.h: In function ‘efivar_unregister’: ./include/acpi/platform/aclinuxex.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/efi.h:1483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1483 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_object’: ./include/acpi/platform/aclinuxex.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_get_thread_id’: ./include/acpi/platform/aclinuxex.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_raw_lock’: ./include/acpi/platform/aclinuxex.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_release_raw_lock’: ./include/acpi/platform/aclinuxex.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_delete_raw_lock’: ./include/acpi/platform/aclinuxex.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_readable’: ./include/acpi/platform/aclinuxex.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_initialize_debugger’: ./include/acpi/platform/aclinuxex.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_terminate_debugger’: ./include/acpi/platform/aclinuxex.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ In file included from ./include/linux/i2c.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/rtmutex.h: In function ‘rt_mutex_debug_check_no_locks_freed’: ./include/linux/rtmutex.h:55:2: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/rtmutex.h: In function ‘rt_mutex_is_locked’: ./include/linux/rtmutex.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ In file included from ./include/linux/of.h:22, from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/property.h: In function ‘device_property_read_bool’: ./include/linux/property.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_do_swap_page’: ./include/linux/property.h: In function ‘device_property_read_u8’: ./include/asm-generic/pgtable.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/property.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/asm-generic/pgtable.h: In function ‘arch_unmap_one’: ./include/linux/property.h: In function ‘device_property_read_u16’: ./include/asm-generic/pgtable.h:472:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 472 | { | ^ ./include/linux/property.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u32’: ./include/linux/property.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pgd_none_or_clear_bad’: ./include/linux/property.h: In function ‘device_property_read_u64’: ./include/asm-generic/pgtable.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/property.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_bool’: ./include/linux/property.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_none_or_clear_bad’: ./include/linux/property.h: In function ‘fwnode_property_read_u8’: ./include/linux/property.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/asm-generic/pgtable.h:577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 577 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u16’: ./include/linux/property.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u32’: ./include/asm-generic/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/linux/property.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/asm-generic/pgtable.h:588:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 588 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u64’: ./include/linux/property.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./include/asm-generic/pgtable.h:599:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 599 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_start’: ./include/asm-generic/pgtable.h:612:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 612 | { | ^ ./include/asm-generic/pgtable.h: In function ‘__ptep_modify_prot_commit’: ./include/asm-generic/pgtable.h:624:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 624 | { | ^ ./include/asm-generic/pgtable.h: In function ‘is_zero_pfn’: In file included from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/of.h: In function ‘of_node_init’: ./include/asm-generic/pgtable.h:870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 870 | { | ^ ./include/linux/of.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/asm-generic/pgtable.h: In function ‘my_zero_pfn’: ./include/asm-generic/pgtable.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/linux/of.h: In function ‘of_node_get’: ./include/linux/of.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/of.h: In function ‘of_node_put’: ./include/asm-generic/pgtable.h: In function ‘pmd_read_atomic’: ./include/linux/of.h:129:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void of_node_put(struct device_node *node) { } | ^~~~~~~~~~~ ./include/asm-generic/pgtable.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./include/asm-generic/pgtable.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/asm-generic/pgtable.h: In function ‘pmd_trans_unstable’: ./include/linux/of.h: In function ‘of_core_init’: ./include/asm-generic/pgtable.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/of.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/asm-generic/pgtable.h: In function ‘p4d_set_huge’: ./include/linux/of.h: In function ‘is_of_node’: ./include/linux/of.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/asm-generic/pgtable.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/of.h: In function ‘to_of_node’: ./include/asm-generic/pgtable.h: In function ‘p4d_clear_huge’: ./include/linux/of.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./include/asm-generic/pgtable.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/of.h: In function ‘of_node_name_eq’: ./include/linux/of.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/of.h: In function ‘of_node_name_prefix’: ./include/linux/of.h:581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 581 | { | ^ ./include/linux/of.h: In function ‘of_node_full_name’: ./include/linux/of.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_name’: In file included from ./include/acpi/acpi.h:31, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/acpi/acpixf.h: In function ‘acpi_debug_print’: ./include/linux/of.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_type’: ./include/acpi/acpixf.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/of.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node_and_match’: ./include/acpi/acpixf.h: In function ‘acpi_debug_print_raw’: ./include/linux/of.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/acpi/acpixf.h:923:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 923 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/of.h: In function ‘of_find_node_by_path’: ./include/acpi/acpixf.h: In function ‘acpi_trace_point’: ./include/linux/of.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/acpi/acpixf.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | ACPI_DBG_DEPENDENT_RETURN_VOID(void | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/of.h: In function ‘of_find_node_opts_by_path’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm.h: In function ‘vma_init’: ./include/linux/of.h:617:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 617 | { | ^ ./include/linux/mm.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ In file included from ./include/linux/acpi.h:44, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/acpi/acpi_bus.h: In function ‘acpi_evaluate_dsm_typed’: ./include/acpi/acpi_bus.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/mm.h: In function ‘vma_set_anonymous’: ./include/linux/mm.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ In file included from ./include/linux/huge_mm.h:5, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/coredump.h: In function ‘__get_dumpable’: ./include/acpi/acpi_bus.h: In function ‘to_acpi_hotplug_profile’: ./include/linux/sched/coredump.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/acpi/acpi_bus.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/sched/coredump.h: In function ‘get_dumpable’: ./include/linux/sched/coredump.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ In file included from ./include/linux/fs.h:6, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/wait_bit.h: In function ‘wait_on_bit’: ./include/linux/wait_bit.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_io’: ./include/linux/wait_bit.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_timeout’: ./include/linux/wait_bit.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_action’: ./include/linux/wait_bit.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock’: ./include/linux/wait_bit.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_node’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_io’: ./include/acpi/acpi_bus.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/wait_bit.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_static_node’: ./include/linux/wait_bit.h: In function ‘wait_on_bit_lock_action’: ./include/acpi/acpi_bus.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/wait_bit.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_data_node_match’: ./include/acpi/acpi_bus.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/wait_bit.h: In function ‘clear_and_wake_up_bit’: ./include/linux/wait_bit.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ In file included from ./include/linux/fs.h:7, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kdev_t.h: In function ‘old_valid_dev’: ./include/acpi/acpi_bus.h: In function ‘acpi_fwnode_handle’: ./include/acpi/acpi_bus.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/kdev_t.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_driver_data’: ./include/acpi/acpi_bus.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_phandle’: ./include/acpi/acpi_bus.h: In function ‘acpi_set_device_status’: ./include/linux/of.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/acpi/acpi_bus.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/of.h: In function ‘of_get_parent’: ./include/acpi/acpi_bus.h: In function ‘acpi_set_hp_context’: ./include/linux/of.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/acpi/acpi_bus.h:473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | { | ^ ./include/linux/of.h: In function ‘of_get_next_child’: ./include/linux/of.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/of.h: In function ‘of_get_next_available_child’: ./include/linux/of.h:639:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 639 | { | ^ ./include/linux/of.h: In function ‘of_find_node_with_property’: ./include/linux/of.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./include/linux/of.h: In function ‘of_have_populated_dt’: ./include/linux/of.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_enumerated’: ./include/linux/of.h: In function ‘of_get_compatible_child’: ./include/acpi/acpi_bus.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/of.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/of.h: In function ‘of_get_child_by_name’: ./include/linux/of.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/of.h: In function ‘of_device_is_compatible’: ./include/linux/of.h:671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 671 | { | ^ ./include/linux/of.h: In function ‘of_device_compatible_match’: ./include/linux/of.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./include/linux/of.h: In function ‘of_device_is_available’: ./include/linux/of.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_power_manageable’: ./include/linux/of.h: In function ‘of_device_is_big_endian’: ./include/linux/of.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/acpi/acpi_bus.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/linux/of.h: In function ‘of_find_property’: ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_wakeup’: ./include/linux/of.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/acpi/acpi_bus.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/linux/of.h: In function ‘of_find_compatible_node’: ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_poweroff’: ./include/linux/of.h:702:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 702 | { | ^ ./include/acpi/acpi_bus.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/of.h: In function ‘of_property_count_elems_of_size’: ./include/linux/of.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8_array’: ./include/linux/of.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16_array’: ./include/linux/of.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_array’: ./include/linux/of.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_array’: ./include/linux/of.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ In file included from ./include/linux/acpi.h:47, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/acpi/acpi_io.h: In function ‘acpi_os_ioremap’: ./include/acpi/acpi_io.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_index’: ./include/linux/of.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_index’: ./include/linux/of.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/acpi.h: In function ‘acpi_device_handle’: ./include/linux/of.h: In function ‘of_get_property’: ./include/linux/of.h:753:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 753 | { | ^ ./include/linux/acpi.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/of.h: In function ‘of_get_cpu_node’: ./include/linux/of.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/acpi.h: In function ‘acpi_alloc_fwnode_static’: ./include/linux/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/of.h: In function ‘of_get_next_cpu_node’: ./include/linux/of.h:764:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 764 | { | ^ ./include/linux/of.h: In function ‘of_n_addr_cells’: ./include/linux/of.h:769:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 769 | { | ^ ./include/linux/acpi.h: In function ‘acpi_free_fwnode_static’: ./include/linux/acpi.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/of.h: In function ‘of_n_size_cells’: ./include/linux/of.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u8_array’: ./include/linux/of.h:781:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 781 | { | ^ ./include/linux/kdev_t.h: In function ‘old_encode_dev’: ./include/linux/kdev_t.h:30:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 30 | { | ^ ./include/linux/acpi.h: In function ‘has_acpi_companion’: ./include/linux/acpi.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/kdev_t.h: In function ‘old_decode_dev’: ./include/linux/acpi.h: In function ‘acpi_preset_companion’: ./include/linux/kdev_t.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/acpi.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/kdev_t.h: In function ‘new_encode_dev’: ./include/linux/acpi.h: In function ‘acpi_dev_name’: ./include/linux/kdev_t.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/acpi.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/kdev_t.h: In function ‘new_decode_dev’: ./include/linux/kdev_t.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/kdev_t.h: In function ‘huge_encode_dev’: ./include/linux/kdev_t.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/kdev_t.h: In function ‘huge_decode_dev’: ./include/linux/kdev_t.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_valid_dev’: ./include/linux/kdev_t.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_encode_dev’: ./include/linux/kdev_t.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/kdev_t.h: In function ‘sysv_major’: ./include/linux/acpi.h: In function ‘acpi_numa_gicc_affinity_init’: ./include/linux/kdev_t.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/acpi.h:268:37: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) { } | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/kdev_t.h: In function ‘sysv_minor’: ./include/linux/kdev_t.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/acpi.h: In function ‘invalid_logical_cpuid’: ./include/linux/acpi.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/acpi.h: In function ‘invalid_phys_cpuid’: In file included from ./include/linux/dcache.h:7, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rculist.h: In function ‘INIT_LIST_HEAD_RCU’: ./include/linux/acpi.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/rculist.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/acpi.h: In function ‘acpi_sci_irq_valid’: ./include/linux/acpi.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/rculist.h: In function ‘__list_add_rcu’: ./include/linux/rculist.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_filter_resource_type_cb’: ./include/linux/acpi.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/linux/rculist.h: In function ‘list_add_rcu’: ./include/linux/rculist.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/rculist.h: In function ‘list_add_tail_rcu’: ./include/linux/rculist.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/rculist.h: In function ‘list_del_rcu’: ./include/linux/rculist.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_init_rcu’: ./include/linux/rculist.h:155:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 155 | { | ^ ./include/linux/pci.h:1045:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1045 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u16_array’: ./include/linux/pci.h: In function ‘pcie_capability_set_dword’: ./include/linux/of.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/pci.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u32_array’: ./include/linux/pci.h: In function ‘pcie_capability_clear_word’: ./include/linux/of.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/pci.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64’: ./include/linux/of.h:803:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 803 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_dword’: ./include/linux/of.h: In function ‘of_property_read_variable_u64_array’: ./include/linux/pci.h:1063:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1063 | { | ^ ./include/linux/of.h:812:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 812 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string’: ./include/linux/of.h:819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 819 | { | ^ ./include/linux/of.h: In function ‘of_property_match_string’: ./include/linux/pci.h: In function ‘pci_intx_mask_supported’: ./include/linux/of.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/pci.h:1083:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1083 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_helper’: ./include/linux/pci.h: In function ‘pci_is_enabled’: ./include/linux/of.h:833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 833 | { | ^ ./include/linux/pci.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle’: ./include/linux/of.h:840:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 840 | { | ^ ./include/linux/pci.h: In function ‘pci_is_managed’: ./include/linux/of.h: In function ‘of_parse_phandle_with_args’: ./include/linux/pci.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/of.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args_map’: ./include/linux/of.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_fixed_args’: ./include/linux/of.h:865:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 865 | { | ^ ./include/linux/of.h: In function ‘of_count_phandle_with_args’: ./include/linux/of.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_init’: ./include/linux/of.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_next’: ./include/linux/of.h:886:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 886 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_args’: ./include/linux/of.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_id’: ./include/linux/of.h:898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 898 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_highest_id’: ./include/linux/of.h:903:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 903 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_alias_list’: ./include/linux/of.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/of.h: In function ‘of_machine_is_compatible’: ./include/linux/of.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/of.h: In function ‘of_console_check’: ./include/linux/pci.h: In function ‘pci_bus_address’: ./include/linux/of.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/pci.h:1290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1290 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_u32’: ./include/linux/of.h:926:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 926 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_string’: ./include/linux/of.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | { | ^ ./include/linux/of.h: In function ‘of_node_check_flag’: ./include/linux/of.h:937:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 937 | { | ^ ./include/linux/of.h: In function ‘of_node_test_and_set_flag’: ./include/linux/of.h:943:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 943 | { | ^ ./include/linux/of.h: In function ‘of_node_set_flag’: ./include/linux/of.h:948:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 948 | { | ^ In file included from ./include/linux/dmapool.h:14, from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/scatterlist.h: In function ‘sg_assign_page’: ./include/linux/of.h: In function ‘of_node_clear_flag’: ./include/linux/scatterlist.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/of.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/rculist.h: In function ‘list_replace_rcu’: ./include/linux/rculist.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_page’: ./include/linux/scatterlist.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page’: ./include/linux/scatterlist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_buf’: ./include/linux/scatterlist.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_chain’: ./include/linux/scatterlist.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_mark_end’: ./include/linux/rculist.h: In function ‘__list_splice_init_rcu’: ./include/linux/scatterlist.h:191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 191 | { | ^ ./include/linux/rculist.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_unmark_end’: ./include/linux/scatterlist.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_phys’: ./include/linux/scatterlist.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_virt’: ./include/linux/scatterlist.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_init_marker’: ./include/linux/scatterlist.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/rculist.h: In function ‘list_splice_init_rcu’: ./include/linux/rculist.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/rculist.h: In function ‘list_splice_tail_init_rcu’: ./include/linux/rculist.h:263:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 263 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_page’: ./include/linux/scatterlist.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/rculist.h: In function ‘hlist_del_rcu’: ./include/linux/rculist.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_dma_address’: ./include/linux/rculist.h: In function ‘hlist_replace_rcu’: ./include/linux/scatterlist.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/rculist.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ In file included from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dmapool.h: In function ‘dma_pool_zalloc’: ./include/linux/dmapool.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pci.h: In function ‘pci_enable_msix_exact’: ./include/linux/pci.h:1391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1391 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_head_rcu’: ./include/linux/rculist.h:507:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 507 | { | ^ ./include/linux/of.h: In function ‘of_property_check_flag’: ./include/linux/of.h:956:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 956 | { | ^ ./include/linux/pci.h: In function ‘pci_alloc_irq_vectors’: ./include/linux/of.h: In function ‘of_property_set_flag’: ./include/linux/pci.h:1457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1457 | { | ^ ./include/linux/of.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/of.h: In function ‘of_property_clear_flag’: ./include/linux/of.h:965:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 965 | { | ^ ./include/linux/pci.h: In function ‘pci_irqd_intx_xlate’: ./include/linux/of.h: In function ‘of_cpu_node_to_id’: ./include/linux/pci.h:1484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1484 | { | ^ ./include/linux/of.h:969:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 969 | { | ^ ./include/linux/of.h: In function ‘of_map_rid’: ./include/linux/of.h:976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 976 | { | ^ ./include/linux/of.h: In function ‘of_prop_val_eq’: ./include/linux/of.h:992:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 992 | { | ^ ./include/linux/pci.h: In function ‘pcie_set_ecrc_checking’: ./include/linux/pci.h:1518:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1518 | static inline void pcie_set_ecrc_checking(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/of.h: In function ‘of_node_to_nid’: ./include/linux/pci.h: In function ‘pcie_ecrc_get_policy’: ./include/linux/of.h:1001:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1001 | { | ^ ./include/linux/pci.h:1519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1519 | static inline void pcie_ecrc_get_policy(char *str) { } | ^~~~~~ ./include/linux/of.h: In function ‘of_numa_init’: ./include/linux/of.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node’: ./include/linux/pci.h: In function ‘pci_request_io_regions’: ./include/linux/of.h:1018:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1018 | { | ^ ./include/linux/pci.h:1587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1587 | { | ^ ./include/linux/of.h: In function ‘of_node_get_device_type’: ./include/linux/of.h:1023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1023 | { | ^ ./include/linux/pci.h: In function ‘pci_release_io_regions’: ./include/linux/pci.h:1594:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1594 | { | ^ ./include/linux/of.h: In function ‘of_node_is_type’: ./include/linux/of.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/pci.h: In function ‘pci_request_mem_regions’: ./include/linux/pci.h:1601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1601 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u8_elems’: ./include/linux/pci.h: In function ‘pci_release_mem_regions’: ./include/linux/of.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/pci.h:1608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1608 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u16_elems’: ./include/linux/of.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u32_elems’: ./include/linux/of.h:1081:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1081 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u64_elems’: ./include/linux/of.h:1098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1098 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_array’: In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pci.h: In function ‘pci_domain_nr’: ./include/linux/of.h:1118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1118 | { | ^ ./arch/x86/include/asm/pci.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/of.h: In function ‘of_property_count_strings’: ./arch/x86/include/asm/pci.h: In function ‘pci_proc_domain’: ./include/linux/of.h:1136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1136 | { | ^ ./arch/x86/include/asm/pci.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘_pci_root_bus_fwnode’: ./include/linux/of.h: In function ‘of_property_read_string_index’: ./arch/x86/include/asm/pci.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/of.h:1161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1161 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘is_vmd’: ./arch/x86/include/asm/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/of.h: In function ‘of_property_read_bool’: ./include/linux/of.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8’: In file included from ./arch/x86/include/asm/pci.h:123, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pci_64.h: In function ‘pci_iommu’: ./include/linux/of.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./arch/x86/include/asm/pci_64.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16’: ./arch/x86/include/asm/pci_64.h: In function ‘set_pci_iommu’: ./arch/x86/include/asm/pci_64.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ ./include/linux/of.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ In file included from ./arch/x86/include/asm/pci.h:127, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/asm-generic/pci.h: In function ‘pci_get_legacy_ide_irq’: ./include/asm-generic/pci.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/pci.h: In function ‘__pcibus_to_node’: ./arch/x86/include/asm/pci.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘cpumask_of_pcibus’: ./arch/x86/include/asm/pci.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pci.h: In function ‘pci_get_drvdata’: ./include/linux/rculist.h: In function ‘hlist_add_tail_rcu’: ./include/linux/pci.h:1790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1790 | { | ^ ./include/linux/rculist.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/pci.h: In function ‘pci_set_drvdata’: ./include/linux/pci.h:1795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1795 | { | ^ ./include/linux/pci.h: In function ‘pci_name’: ./include/linux/pci.h:1800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1800 | { | ^ ./include/linux/pci.h: In function ‘pci_resource_to_user’: ./include/linux/acpi.h: In function ‘acpi_device_set_enumerated’: ./include/linux/acpi.h:614:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 614 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_clear_enumerated’: ./include/linux/acpi.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/rculist.h: In function ‘hlist_add_before_rcu’: ./include/linux/rculist.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_remove_driver_gpios’: ./include/linux/rculist.h: In function ‘hlist_add_behind_rcu’: ./include/linux/rculist.h:601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 601 | { | ^ ./include/linux/acpi.h:1026:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1026 | { | ^ ./include/linux/acpi.h: In function ‘acpi_node_get_property_reference’: ./include/linux/acpi.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_has_props’: ./include/linux/acpi.h:1094:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1094 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32’: ./include/linux/of.h:1199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1199 | { | ^ ./include/linux/of.h: In function ‘of_property_read_s32’: ./include/linux/of.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/acpi.h: In function ‘acpi_irq_get’: ./include/linux/acpi.h:1301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1301 | { | ^ ./include/linux/of.h: In function ‘of_get_child_count’: ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology’: ./include/linux/of.h:1260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1260 | { | ^ ./include/linux/acpi.h:1321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1321 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology_package’: ./include/linux/acpi.h:1325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1325 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_cache_topology’: ./include/linux/of.h: In function ‘of_get_available_child_count’: ./include/linux/acpi.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/of.h:1271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1271 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_register’: ./include/linux/of.h:1394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1394 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_unregister’: ./include/linux/of.h:1398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1398 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notify’: ./include/linux/of.h:1403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1403 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_get_state_change’: ./include/linux/of.h:1408:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1408 | { | ^ ./include/linux/of.h: In function ‘of_device_is_system_power_controller’: ./include/linux/of.h:1420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1420 | { | ^ ./include/linux/of.h: In function ‘of_overlay_fdt_apply’: ./include/linux/of.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove’: ./include/linux/of.h:1458:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove_all’: ./include/linux/of.h:1463:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1463 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmalloc’: ./include/linux/of.h: In function ‘of_overlay_notifier_register’: ./include/linux/of.h:1468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1468 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 533 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_unregister’: ./include/linux/of.h:1473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1473 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vfree’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:547:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 547 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:555:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 555 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:563:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 563 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ In file included from ./include/linux/rculist_bl.h:8, from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/list_bl.h: In function ‘INIT_HLIST_BL_NODE’: ./include/linux/list_bl.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_iounmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unhashed’: ./include/linux/list_bl.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_first’: ./include/linux/list_bl.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_set_first’: ./include/linux/list_bl.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_empty’: ./include/linux/list_bl.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_add_head’: ./include/linux/list_bl.h:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vunmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/list_bl.h: In function ‘__hlist_bl_del’: ./include/linux/list_bl.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del’: ./include/linux/list_bl.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_del_init’: ./include/linux/list_bl.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_lock’: ./include/linux/list_bl.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/list_bl.h: In function ‘hlist_bl_unlock’: ./include/linux/list_bl.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_remap_page_range’: ./include/linux/list_bl.h: In function ‘hlist_bl_is_locked’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/list_bl.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_io_remap_page_range’: In file included from ./include/linux/dcache.h:8, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rculist_bl.h: In function ‘hlist_bl_set_first_rcu’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1065:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1065 | { | ^ ./include/linux/rculist_bl.h:13:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 13 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_alloc_stack’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1112 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_free_stack’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_first_rcu’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1126 | { | ^ ./include/linux/rculist_bl.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_init_flags’: ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_init_rcu’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1198 | { | ^ ./include/linux/rculist_bl.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/irqdomain.h: In function ‘irq_domain_get_of_node’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1221 | { | ^ ./include/linux/irqdomain.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_fwnode’: ./include/linux/irqdomain.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’: ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_id_fwnode’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1243 | { | ^ ./include/linux/irqdomain.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_fwnode’: ./include/linux/irqdomain.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/irqdomain.h: In function ‘of_node_to_fwnode’: ./include/linux/irqdomain.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/irqdomain.h: In function ‘is_fwnode_irqchip’: ./include/linux/irqdomain.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_fwnode’: ./include/linux/irqdomain.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_host’: ./include/linux/irqdomain.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_host’: ./include/linux/irqdomain.h:305:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 305 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_linear’: ./include/linux/irqdomain.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_nomap’: ./include/linux/irqdomain.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_legacy_isa’: ./include/linux/irqdomain.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_tree’: ./include/linux/irqdomain.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_linear’: ./include/linux/irqdomain.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_tree’: ./include/linux/irqdomain.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_node_end_pfn’: ./include/linux/irqdomain.h: In function ‘irq_linear_revmap’: ./include/linux/irqdomain.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_pci_bus_address’: ./include/linux/irqdomain.h: In function ‘irq_create_identity_mapping’: ./include/linux/irqdomain.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_release’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_hierarchy’: ./include/linux/irqdomain.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_irqs’: ./include/linux/irqdomain.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_compress_nvlink_addr’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1894 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_expand_nvlink_addr’: ./include/linux/irqdomain.h: In function ‘irq_domain_is_hierarchy’: ./include/linux/irqdomain.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1909:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1909 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’: ./include/linux/rculist_bl.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/linux/rculist_bl.h: In function ‘hlist_bl_add_head_rcu’: ./include/linux/rculist_bl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/kgdb.h:20, from ./include/linux/fb.h:5, from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./arch/x86/include/asm/kgdb.h: In function ‘arch_kgdb_breakpoint’: ./arch/x86/include/asm/kgdb.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ In file included from ./include/linux/dcache.h:13, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/lockref.h: In function ‘__lockref_is_dead’: ./include/linux/lockref.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ In file included from ./include/linux/stringhash.h:7, from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/hash.h: In function ‘__hash_32_generic’: ./include/linux/hash.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/hash.h: In function ‘hash_32_generic’: ./include/linux/hash.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/hash.h: In function ‘hash_64_generic’: ./include/linux/hash.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/hash.h: In function ‘hash_ptr’: ./include/linux/pci.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ ./include/linux/hash.h:89:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 89 | { | ^ ./include/linux/hash.h: In function ‘hash32_ptr’: ./include/linux/hash.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ In file included from ./include/linux/dcache.h:14, from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/stringhash.h: In function ‘partial_name_hash’: ./include/linux/stringhash.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/stringhash.h: In function ‘end_name_hash’: ./include/linux/stringhash.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_cap’: ./include/linux/pci.h:2069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2069 | { | ^ ./include/linux/pci.h: In function ‘pci_is_pcie’: ./include/linux/pci.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/pci.h: In function ‘pcie_caps_reg’: ./include/linux/pci.h:2089:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2089 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_type’: In file included from ./include/linux/fs.h:8, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dcache.h: In function ‘d_count’: ./include/linux/pci.h:2098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2098 | { | ^ ./include/linux/dcache.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/pci.h: In function ‘pcie_find_root_port’: ./include/linux/dcache.h: In function ‘dget_dlock’: ./include/linux/pci.h:2103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2103 | { | ^ ./include/linux/dcache.h:314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 314 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi’: ./include/linux/irqdomain.h:498:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 498 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_per_cpu’: ./include/linux/irqdomain.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_single’: ./include/linux/irqdomain.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi’: ./include/linux/irqdomain.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi_remap’: ./include/linux/irqdomain.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_size’: ./include/linux/pci.h:2160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2160 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_tag’: ./include/linux/pci.h:2171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2171 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_size’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/i2c.h: In function ‘i2c_master_recv’: ./include/linux/i2c.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/pci.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_recv_dmasafe’: ./include/linux/pci.h: In function ‘pci_vpd_srdt_tag’: ./include/linux/i2c.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send’: ./include/linux/pci.h:2193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2193 | { | ^ ./include/linux/i2c.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send_dmasafe’: ./include/linux/pci.h: In function ‘pci_vpd_info_field_size’: ./include/linux/i2c.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/pci.h:2204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2204 | { | ^ ./include/linux/pci.h: In function ‘pci_set_of_node’: ./include/linux/i2c.h: In function ‘i2c_smbus_read_word_swapped’: ./include/linux/i2c.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/pci.h:2250:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2250 | static inline void pci_set_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_of_node’: ./include/linux/i2c.h: In function ‘i2c_smbus_write_word_swapped’: ./include/linux/i2c.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/pci.h:2251:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2251 | static inline void pci_release_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_set_bus_of_node’: ./include/linux/pci.h:2252:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2252 | static inline void pci_set_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_bus_of_node’: ./include/linux/pci.h:2253:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2253 | static inline void pci_release_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_host_bridge_of_msi_domain’: ./include/linux/i2c.h: In function ‘kobj_to_i2c_client’: ./include/linux/pci.h:2255:38: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2255 | pci_host_bridge_of_msi_domain(struct pci_bus *bus) { return NULL; } | ^~~~~~~ ./include/linux/i2c.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/pci.h: In function ‘pci_parse_request_of_pci_ranges’: ./include/linux/pci.h:2259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2259 | { | ^ ./include/linux/pci.h: In function ‘pci_device_to_OF_node’: ./include/linux/pci.h:2266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2266 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_to_OF_node’: ./include/linux/i2c.h: In function ‘i2c_get_clientdata’: ./include/linux/pci.h:2271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2271 | { | ^ ./include/linux/i2c.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/dcache.h: In function ‘dget’: ./include/linux/dcache.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/pci.h: In function ‘pci_set_dev_assigned’: ./include/linux/dcache.h: In function ‘d_unhashed’: ./include/linux/dcache.h:337:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 337 | { | ^ ./include/linux/pci.h:2300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2300 | { | ^ ./include/linux/dcache.h: In function ‘d_unlinked’: ./include/linux/dcache.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/pci.h: In function ‘pci_clear_dev_assigned’: ./include/linux/dcache.h: In function ‘cant_mount’: ./include/linux/dcache.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/pci.h:2304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2304 | { | ^ ./include/linux/dcache.h: In function ‘dont_mount’: ./include/linux/pci.h: In function ‘pci_is_dev_assigned’: ./include/linux/dcache.h:352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 352 | { | ^ ./include/linux/pci.h:2308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2308 | { | ^ ./include/linux/dcache.h: In function ‘d_in_lookup’: ./include/linux/dcache.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/pci.h: In function ‘pci_ari_enabled’: ./include/linux/dcache.h: In function ‘d_lookup_done’: ./include/linux/dcache.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/pci.h:2319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2319 | { | ^ ./include/linux/dcache.h: In function ‘d_managed’: ./include/linux/dcache.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/pci.h: In function ‘pci_is_thunderbolt_attached’: ./include/linux/dcache.h: In function ‘d_mountpoint’: ./include/linux/pci.h:2332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2332 | { | ^ ./include/linux/dcache.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ ./include/linux/dcache.h: In function ‘__d_entry_type’: ./include/linux/dcache.h:390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 390 | { | ^ ./include/linux/dcache.h: In function ‘d_is_miss’: ./include/linux/dcache.h:395:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 395 | { | ^ ./include/linux/dcache.h: In function ‘d_is_whiteout’: ./include/linux/dcache.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/dcache.h: In function ‘d_can_lookup’: ./include/linux/dcache.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/dcache.h: In function ‘d_is_autodir’: ./include/linux/dcache.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/dcache.h: In function ‘d_is_dir’: ./include/linux/dcache.h:415:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 415 | { | ^ ./include/linux/dcache.h: In function ‘d_is_symlink’: ./include/linux/dcache.h:420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 420 | { | ^ ./include/linux/dcache.h: In function ‘d_is_reg’: ./include/linux/dcache.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/dcache.h: In function ‘d_is_special’: ./include/linux/dcache.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/dcache.h: In function ‘d_is_file’: In file included from ./include/linux/dma-mapping.h:9, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dma-debug.h: In function ‘dma_debug_add_bus’: ./include/linux/dcache.h:435:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 435 | { | ^ ./include/linux/dma-debug.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_single’: ./include/linux/dcache.h: In function ‘d_is_negative’: ./include/linux/dma-debug.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/dcache.h:440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 440 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_page’: ./include/linux/dcache.h: In function ‘d_is_positive’: ./include/linux/dma-debug.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/dcache.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_mapping_error’: ./include/linux/dma-debug.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_page’: ./include/linux/dma-debug.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_sg’: ./include/linux/dma-debug.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_sg’: ./include/linux/dma-debug.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_alloc_coherent’: ./include/linux/dma-debug.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_free_coherent’: ./include/linux/dma-debug.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_resource’: ./include/linux/dma-debug.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_resource’: ./include/linux/dma-debug.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_cpu’: ./include/linux/dma-debug.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_device’: ./include/linux/dma-debug.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_cpu’: ./include/linux/dma-debug.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_device’: ./include/linux/dma-debug.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_dump_mappings’: ./include/linux/dma-debug.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_assert_idle’: ./include/linux/dma-debug.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_clientdata’: ./include/linux/i2c.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/i2c.h: In function ‘i2c_detect_slave_mode’: ./include/linux/i2c.h:387:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | static inline bool i2c_detect_slave_mode(struct device *dev) { return false; } | ^~~~~~ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dma-mapping.h: In function ‘valid_dma_direction’: ./include/linux/dma-mapping.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/dma-mapping.h: In function ‘is_device_dma_capable’: ./include/linux/dma-mapping.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_from_global_coherent’: ./include/linux/dma-mapping.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_from_global_coherent’: ./include/linux/dma-mapping.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_from_global_coherent’: ./include/linux/dma-mapping.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_is_direct’: ./include/linux/dma-mapping.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_adapdata’: ./include/linux/i2c.h:700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 700 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_adapdata’: ./include/linux/i2c.h:705:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 705 | { | ^ ./include/linux/i2c.h: In function ‘i2c_parent_is_i2c_adapter’: ./include/linux/i2c.h:711:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 711 | { | ^ In file included from ./arch/x86/include/asm/swiotlb.h:5, from ./arch/x86/include/asm/dma-mapping.h:13, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/swiotlb.h: In function ‘is_swiotlb_buffer’: ./include/linux/swiotlb.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/i2c.h: In function ‘i2c_lock_bus’: ./include/linux/i2c.h:736:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 736 | { | ^ ./include/linux/i2c.h: In function ‘i2c_trylock_bus’: ./include/linux/i2c.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/i2c.h: In function ‘i2c_unlock_bus’: ./include/linux/i2c.h:762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 762 | { | ^ In file included from ./arch/x86/include/asm/dma-mapping.h:14, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dma-contiguous.h: In function ‘dev_get_cma_area’: ./include/linux/dma-contiguous.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_functionality’: ./include/linux/i2c.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_functionality’: ./include/linux/i2c.h:829:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 829 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_quirks’: ./include/linux/i2c.h:841:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 841 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_negative’: ./include/linux/dcache.h:466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 466 | { | ^ ./include/linux/dcache.h: In function ‘d_really_is_positive’: ./include/linux/dcache.h:484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 484 | { | ^ ./include/linux/dcache.h: In function ‘simple_positive’: ./include/linux/dcache.h:489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 489 | { | ^ ./include/linux/dcache.h: In function ‘d_is_fallthru’: ./include/linux/dcache.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/dcache.h: In function ‘vfs_pressure_ratio’: ./include/linux/dcache.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/dcache.h: In function ‘d_inode’: ./include/linux/dcache.h:516:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 516 | { | ^ ./include/linux/dcache.h: In function ‘d_inode_rcu’: ./include/linux/dcache.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_inode’: ./include/linux/dcache.h:543:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 543 | { | ^ ./include/linux/dcache.h: In function ‘d_backing_dentry’: ./include/linux/dcache.h:560:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 560 | { | ^ ./include/linux/dcache.h: In function ‘d_real’: ./include/linux/dcache.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/dcache.h: In function ‘d_real_inode’: ./include/linux/dcache.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ In file included from ./include/linux/fs.h:9, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/path.h: In function ‘path_equal’: ./include/linux/path.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/path.h: In function ‘path_put_init’: ./include/linux/path.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ In file included from ./include/linux/stat.h:20, from ./include/linux/fs.h:10, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/uidgid.h: In function ‘__kuid_val’: ./include/linux/uidgid.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/uidgid.h: In function ‘__kgid_val’: ./include/linux/uidgid.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ ./include/linux/uidgid.h: In function ‘uid_eq’: ./include/linux/uidgid.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ ./include/linux/i2c.h: In function ‘i2c_adapter_id’: ./include/linux/i2c.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/i2c.h: In function ‘i2c_8bit_addr_from_msg’: ./include/linux/i2c.h:854:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 854 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_device_by_node’: ./include/linux/i2c.h:907:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 907 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_adapter_by_node’: ./include/linux/i2c.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/i2c.h: In function ‘of_get_i2c_adapter_by_node’: ./include/linux/i2c.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/linux/i2c.h: In function ‘i2c_of_match_device’: ./include/linux/i2c.h:924:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 924 | { | ^ ./include/linux/i2c.h: In function ‘of_i2c_get_board_info’: ./include/linux/i2c.h:931:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 931 | { | ^ ./include/linux/uidgid.h: In function ‘gid_eq’: ./include/linux/uidgid.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gt’: ./include/linux/uidgid.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gt’: ./include/linux/uidgid.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/uidgid.h: In function ‘uid_gte’: ./include/linux/uidgid.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/uidgid.h: In function ‘gid_gte’: ./include/linux/uidgid.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lt’: ./include/linux/uidgid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lt’: ./include/linux/uidgid.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/uidgid.h: In function ‘uid_lte’: ./include/linux/uidgid.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/uidgid.h: In function ‘gid_lte’: ./include/linux/uidgid.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/uidgid.h: In function ‘uid_valid’: ./include/linux/uidgid.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./include/linux/uidgid.h: In function ‘gid_valid’: ./include/linux/uidgid.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/uidgid.h: In function ‘kuid_has_mapping’: ./include/linux/uidgid.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./include/linux/uidgid.h: In function ‘kgid_has_mapping’: ./include/linux/uidgid.h:137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 137 | { | ^ In file included from ./include/linux/fs.h:13, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/list_lru.h: In function ‘list_lru_shrink_count’: ./include/linux/list_lru.h:121:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 121 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_count’: ./include/linux/list_lru.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk’: ./include/linux/list_lru.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_shrink_walk_irq’: ./include/linux/list_lru.h:201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 201 | { | ^ ./include/linux/list_lru.h: In function ‘list_lru_walk’: ./include/linux/list_lru.h:209:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 209 | { | ^ In file included from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/fb.h: In function ‘alloc_apertures’: ./include/linux/fb.h:536:22: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | static inline struct apertures_struct *alloc_apertures(unsigned int max_num) { | ^~~~~~~~~~~~~~~~ ./include/linux/fb.h: In function ‘unlock_fb_info’: ./include/linux/fb.h:666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 666 | { | ^ ./include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: ./include/linux/fb.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/fb.h: In function ‘fb_be_math’: ./include/linux/fb.h:696:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:13: ./include/linux/backlight.h: In function ‘backlight_update_status’: ./include/linux/backlight.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/backlight.h: In function ‘backlight_enable’: ./include/linux/backlight.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/backlight.h: In function ‘backlight_disable’: ./include/linux/backlight.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/backlight.h: In function ‘backlight_put’: ./include/linux/backlight.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/backlight.h: In function ‘bl_get_data’: ./include/linux/backlight.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/backlight.h: In function ‘of_find_backlight_by_node’: ./include/linux/backlight.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ In file included from ./include/linux/radix-tree.h:31, from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/xarray.h: In function ‘xa_mk_value’: ./include/linux/xarray.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_value’: ./include/linux/xarray.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_value’: ./include/linux/xarray.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/xarray.h: In function ‘xa_tag_pointer’: ./include/linux/xarray.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/xarray.h: In function ‘xa_untag_pointer’: ./include/linux/xarray.h:111:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 111 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c: In function ‘nv_pci_register_driver’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.c:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dev_set_cma_area’: ./include/linux/dma-contiguous.h:129:64: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void dev_set_cma_area(struct device *dev, struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_set_default’: ./include/linux/xarray.h: In function ‘xa_pointer_tag’: ./include/linux/dma-contiguous.h:131:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void dma_contiguous_set_default(struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve’: ./include/linux/dma-contiguous.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void dma_contiguous_reserve(phys_addr_t limit) { } | ^~~~~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve_area’: ./include/linux/dma-contiguous.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/xarray.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_declare_contiguous’: ./include/linux/dma-contiguous.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_internal’: ./include/linux/xarray.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_from_contiguous’: ./include/linux/dma-contiguous.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_internal’: ./include/linux/xarray.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_release_from_contiguous’: ./include/linux/dma-contiguous.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_internal’: ./include/linux/dma-contiguous.h: In function ‘dma_alloc_contiguous’: ./include/linux/xarray.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/dma-contiguous.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_err’: ./include/linux/xarray.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/xarray.h: In function ‘xa_err’: ./include/linux/xarray.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/xarray.h: In function ‘xa_init_flags’: ./include/linux/xarray.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/xarray.h: In function ‘xa_init’: ./include/linux/xarray.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/xarray.h: In function ‘xa_empty’: ./include/linux/xarray.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/xarray.h: In function ‘xa_marked’: ./include/linux/dma-contiguous.h: In function ‘dma_free_contiguous’: ./include/linux/dma-contiguous.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/xarray.h:358:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 358 | { | ^ ./include/linux/xarray.h: In function ‘xa_store_bh’: ./include/linux/xarray.h:488:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 488 | { | ^ ./include/linux/xarray.h: In function ‘xa_store_irq’: ./include/linux/xarray.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/xarray.h: In function ‘xa_erase_bh’: ./include/linux/xarray.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/xarray.h: In function ‘xa_erase_irq’: ./include/linux/xarray.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg’: ./include/linux/xarray.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_bh’: ./include/linux/xarray.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/xarray.h: In function ‘xa_cmpxchg_irq’: In file included from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/dma-mapping.h: In function ‘get_arch_dma_ops’: ./include/linux/xarray.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./arch/x86/include/asm/dma-mapping.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./include/linux/xarray.h: In function ‘xa_insert’: In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/dma-mapping.h: In function ‘get_dma_ops’: ./include/linux/xarray.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/dma-mapping.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/xarray.h: In function ‘xa_insert_bh’: ./include/linux/dma-mapping.h: In function ‘set_dma_ops’: ./include/linux/xarray.h:701:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 701 | { | ^ ./include/linux/dma-mapping.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_page_attrs’: ./include/linux/xarray.h: In function ‘xa_insert_irq’: ./include/linux/dma-mapping.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/xarray.h:730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 730 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc’: ./include/linux/xarray.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_bh’: ./include/linux/dma-mapping.h: In function ‘dma_unmap_page_attrs’: ./include/linux/xarray.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/dma-mapping.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/xarray.h: In function ‘xa_alloc_irq’: ./include/linux/xarray.h:817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 817 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve’: ./include/linux/xarray.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_sg_attrs’: ./include/linux/dma-mapping.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_bh’: ./include/linux/xarray.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/xarray.h: In function ‘xa_reserve_irq’: ./include/linux/xarray.h:895:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 895 | { | ^ ./include/linux/xarray.h: In function ‘xa_release’: ./include/linux/xarray.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/xarray.h: In function ‘xa_head’: ./include/linux/xarray.h:987:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 987 | { | ^ ./include/linux/xarray.h: In function ‘xa_head_locked’: ./include/linux/xarray.h:994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 994 | { | ^ ./include/linux/xarray.h: In function ‘xa_entry’: ./include/linux/xarray.h:1002:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1002 | { | ^ ./include/linux/xarray.h: In function ‘xa_entry_locked’: ./include/linux/xarray.h:1011:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1011 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent’: ./include/linux/xarray.h:1020:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1020 | { | ^ ./include/linux/xarray.h: In function ‘xa_parent_locked’: ./include/linux/xarray.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_node’: ./include/linux/xarray.h:1035:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1035 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_node’: ./include/linux/xarray.h:1041:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1041 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_node’: ./include/linux/xarray.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/xarray.h: In function ‘xa_mk_sibling’: ./include/linux/xarray.h:1053:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1053 | { | ^ ./include/linux/xarray.h: In function ‘xa_to_sibling’: ./include/linux/xarray.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_sibling’: ./include/linux/xarray.h:1070:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1070 | { | ^ In file included from ./include/acpi/platform/acenvex.h:23, from ./include/acpi/acpi.h:28, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate’: ./include/acpi/platform/aclinuxex.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate_zeroed’: ./include/acpi/platform/aclinuxex.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_free’: ./include/acpi/platform/aclinuxex.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_object’: ./include/acpi/platform/aclinuxex.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_get_thread_id’: ./include/acpi/platform/aclinuxex.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_raw_lock’: ./include/acpi/platform/aclinuxex.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_release_raw_lock’: ./include/acpi/platform/aclinuxex.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_delete_raw_lock’: ./include/acpi/platform/aclinuxex.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_readable’: ./include/acpi/platform/aclinuxex.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_initialize_debugger’: ./include/acpi/platform/aclinuxex.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_zero’: ./include/linux/xarray.h:1085:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1085 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_retry’: ./include/linux/xarray.h:1096:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1096 | { | ^ ./include/linux/xarray.h: In function ‘xa_is_advanced’: ./include/linux/xarray.h:1107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1107 | { | ^ ./include/linux/xarray.h: In function ‘xas_error’: ./include/linux/xarray.h:1222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1222 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_err’: ./include/linux/xarray.h:1236:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1236 | { | ^ ./include/linux/xarray.h: In function ‘xas_invalid’: ./include/linux/xarray.h:1247:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1247 | { | ^ ./include/linux/xarray.h: In function ‘xas_valid’: ./include/linux/xarray.h:1258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1258 | { | ^ ./include/linux/xarray.h: In function ‘xas_is_node’: ./include/linux/xarray.h:1269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1269 | { | ^ ./include/linux/xarray.h: In function ‘xas_not_node’: ./include/linux/xarray.h:1275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1275 | { | ^ ./include/linux/xarray.h: In function ‘xas_frozen’: ./include/linux/xarray.h:1281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1281 | { | ^ ./include/linux/xarray.h: In function ‘xas_top’: ./include/linux/xarray.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/xarray.h: In function ‘xas_reset’: ./include/linux/xarray.h:1302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1302 | { | ^ ./include/linux/xarray.h: In function ‘xas_retry’: ./include/linux/xarray.h:1319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1319 | { | ^ ./include/linux/xarray.h: In function ‘xas_reload’: ./include/linux/xarray.h:1359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1359 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_terminate_debugger’: ./include/acpi/platform/aclinuxex.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_sg_attrs’: ./include/linux/dma-mapping.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_resource’: ./include/linux/dma-mapping.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_resource’: ./include/linux/dma-mapping.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_cpu’: ./include/linux/dma-mapping.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_device’: ./include/linux/dma-mapping.h:397:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 397 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_cpu’: ./include/linux/dma-mapping.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_device’: ./include/linux/dma-mapping.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/xarray.h: In function ‘xas_set’: ./include/linux/xarray.h:1377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1377 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mapping_error’: ./include/linux/dma-mapping.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_order’: ./include/linux/xarray.h:1390:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1390 | { | ^ ./include/linux/xarray.h: In function ‘xas_set_update’: ./include/linux/xarray.h:1411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1411 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_entry’: ./include/linux/dma-mapping.h: In function ‘dma_map_single_attrs’: ./include/linux/dma-mapping.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/xarray.h:1427:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1427 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_single_attrs’: ./include/linux/dma-mapping.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_cpu’: ./include/linux/dma-mapping.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_device’: ./include/linux/dma-mapping.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ make[2]: *** [scripts/Makefile.build:286: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-instance.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ./include/linux/dma-mapping.h: In function ‘dma_alloc_coherent’: ./include/linux/dma-mapping.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/xarray.h: In function ‘xas_find_chunk’: ./include/linux/dma-mapping.h: In function ‘dma_free_coherent’: ./include/linux/xarray.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/dma-mapping.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_mask’: ./include/linux/dma-mapping.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_mask_and_coherent’: ./include/linux/dma-mapping.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/xarray.h: In function ‘xas_next_marked’: ./include/linux/xarray.h:1485:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1485 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_coerce_mask_and_coherent’: ./include/linux/dma-mapping.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/linux/dma-mapping.h: In function ‘arch_setup_dma_ops’: ./include/linux/dma-mapping.h:682:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | bool coherent) { } | ^~~~ ./include/linux/dma-mapping.h: In function ‘arch_teardown_dma_ops’: ./include/linux/dma-mapping.h:686:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 686 | static inline void arch_teardown_dma_ops(struct device *dev) { } | ^~~~~~ ./include/linux/dma-mapping.h: In function ‘dma_get_max_seg_size’: ./include/linux/dma-mapping.h:690:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 690 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_max_seg_size’: ./include/linux/dma-mapping.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_seg_boundary’: ./include/linux/xarray.h: In function ‘xas_prev’: ./include/linux/dma-mapping.h:706:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 706 | { | ^ ./include/linux/xarray.h:1580:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1580 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_seg_boundary’: ./include/linux/dma-mapping.h:713:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 713 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_max_pfn’: ./include/linux/dma-mapping.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_cache_alignment’: ./include/linux/dma-mapping.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_declare_coherent_memory’: ./include/linux/dma-mapping.h:749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 749 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_declared_memory’: ./include/linux/dma-mapping.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mark_declared_memory_occupied’: ./include/linux/dma-mapping.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dma-mapping.h: In function ‘dmam_alloc_coherent’: ./include/linux/dma-mapping.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_wc’: ./include/linux/dma-mapping.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_wc’: ./include/linux/dma-mapping.h:789:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 789 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_wc’: ./include/linux/dma-mapping.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ In file included from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pci-dma-compat.h: In function ‘pci_alloc_consistent’: In file included from ./include/acpi/acpi.h:31, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/acpi/acpixf.h: In function ‘acpi_debug_print’: ./include/linux/pci-dma-compat.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./include/acpi/acpixf.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pci-dma-compat.h: In function ‘pci_zalloc_consistent’: ./include/linux/pci-dma-compat.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/acpi/acpixf.h: In function ‘acpi_debug_print_raw’: ./include/acpi/acpixf.h:923:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 923 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pci-dma-compat.h: In function ‘pci_free_consistent’: ./include/acpi/acpixf.h: In function ‘acpi_trace_point’: ./include/linux/pci-dma-compat.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/acpi/acpixf.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | ACPI_DBG_DEPENDENT_RETURN_VOID(void | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pci-dma-compat.h: In function ‘pci_map_single’: ./include/linux/pci-dma-compat.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_single’: ./include/linux/pci-dma-compat.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_page’: ./include/linux/pci-dma-compat.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ In file included from ./include/linux/acpi.h:44, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/acpi/acpi_bus.h: In function ‘acpi_evaluate_dsm_typed’: ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_page’: ./include/linux/pci-dma-compat.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/acpi/acpi_bus.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_sg’: ./include/linux/pci-dma-compat.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_sg’: ./include/linux/pci-dma-compat.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_cpu’: ./include/acpi/acpi_bus.h: In function ‘to_acpi_hotplug_profile’: ./include/linux/pci-dma-compat.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/acpi/acpi_bus.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_device’: ./include/linux/pci-dma-compat.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_cpu’: ./include/linux/pci-dma-compat.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_device’: ./include/linux/pci-dma-compat.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_mapping_error’: ./include/linux/pci-dma-compat.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_dma_mask’: ./include/linux/pci-dma-compat.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_consistent_dma_mask’: ./include/linux/pci-dma-compat.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/xarray.h: In function ‘xas_next’: ./include/linux/xarray.h:1609:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1609 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:123, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/file.h: In function ‘fput_light’: ./include/linux/file.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/file.h: In function ‘fdput’: ./include/linux/file.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/file.h: In function ‘__to_fd’: In file included from ./include/linux/fs.h:15, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/radix-tree.h: In function ‘radix_tree_is_internal_node’: ./include/linux/file.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/radix-tree.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/file.h: In function ‘fdget’: ./include/linux/file.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_empty’: ./include/linux/file.h: In function ‘fdget_raw’: ./include/linux/radix-tree.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/file.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/file.h: In function ‘fdget_pos’: ./include/linux/file.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot’: ./include/linux/file.h: In function ‘fdput_pos’: ./include/linux/radix-tree.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/file.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_deref_slot_protected’: ./include/linux/radix-tree.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ In file included from ./include/linux/cpu.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/node.h: In function ‘register_one_node’: ./include/linux/radix-tree.h: In function ‘radix_tree_deref_retry’: ./include/linux/radix-tree.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/node.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_exception’: ./include/linux/radix-tree.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_preload_end’: ./include/linux/radix-tree.h:260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 260 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_iter_init’: ./include/linux/radix-tree.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ In file included from ./include/linux/cpu.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_lookup’: ./include/linux/cpuhotplug.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/radix-tree.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_cpuslocked’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_find’: ./include/linux/cpuhotplug.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/radix-tree.h:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls’: ./include/linux/radix-tree.h: In function ‘radix_tree_iter_retry’: ./include/linux/cpuhotplug.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/radix-tree.h:360:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 360 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/radix-tree.h: In function ‘__radix_tree_iter_add’: ./include/linux/radix-tree.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_multi’: ./include/linux/radix-tree.h: In function ‘radix_tree_chunk_size’: ./include/linux/cpuhotplug.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/radix-tree.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance’: ./include/linux/cpuhotplug.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls’: ./include/linux/cpuhotplug.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:311:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 311 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state’: ./include/linux/cpuhotplug.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls’: ./include/linux/cpuhotplug.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_multi_state’: ./include/linux/cpuhotplug.h:354:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 354 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance’: ./include/linux/cpuhotplug.h:372:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 372 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance_nocalls’: ./include/linux/cpuhotplug.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_node’: ./include/acpi/acpi_bus.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_static_node’: ./include/acpi/acpi_bus.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/cpu.h: In function ‘cpu_hotplug_begin’: ./include/acpi/acpi_bus.h: In function ‘acpi_data_node_match’: ./include/linux/cpu.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | static inline void cpu_hotplug_begin(void) { cpus_write_lock(); } | ^~~~~~ ./include/acpi/acpi_bus.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/cpu.h: In function ‘cpu_hotplug_done’: ./include/linux/cpu.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void cpu_hotplug_done(void) { cpus_write_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘get_online_cpus’: ./include/linux/cpu.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | static inline void get_online_cpus(void) { cpus_read_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘put_online_cpus’: ./include/linux/cpu.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void put_online_cpus(void) { cpus_read_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘disable_nonboot_cpus’: ./include/linux/cpu.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_fwnode_handle’: ./include/acpi/acpi_bus.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_driver_data’: ./include/acpi/acpi_bus.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_off’: ./include/acpi/acpi_bus.h: In function ‘acpi_set_device_status’: ./include/linux/cpu.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/acpi/acpi_bus.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_auto_nosmt’: ./include/linux/cpu.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_set_hp_context’: ./include/acpi/acpi_bus.h:473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:136, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h: In function ‘list_is_first’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h:97:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_enumerated’: ./include/acpi/acpi_bus.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ In file included from ./arch/x86/include/asm/vga.h:11, from ./include/video/vga.h:22, from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/set_memory.h: In function ‘set_mce_nospec’: ./arch/x86/include/asm/set_memory.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_power_manageable’: ./arch/x86/include/asm/set_memory.h: In function ‘clear_mce_nospec’: ./arch/x86/include/asm/set_memory.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/radix-tree.h: In function ‘radix_tree_next_slot’: ./include/linux/radix-tree.h:418:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 418 | { | ^ In file included from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/video/vga.h: In function ‘vga_io_r’: ./include/video/vga.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/video/vga.h: In function ‘vga_io_w’: ./include/video/vga.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/video/vga.h: In function ‘vga_io_w_fast’: ./include/video/vga.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/video/vga.h: In function ‘vga_mm_r’: In file included from ./include/linux/fs.h:19, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pid.h: In function ‘get_pid’: ./include/video/vga.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/pid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w’: ./include/video/vga.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w_fast’: ./include/video/vga.h:230:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 230 | { | ^ ./include/linux/pid.h: In function ‘ns_of_pid’: ./include/video/vga.h: In function ‘vga_r’: ./include/linux/pid.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/video/vga.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/linux/pid.h: In function ‘is_child_reaper’: ./include/video/vga.h: In function ‘vga_w’: ./include/linux/pid.h:143:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | { | ^ ./include/video/vga.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/pid.h: In function ‘pid_nr’: ./include/video/vga.h: In function ‘vga_w_fast’: ./include/linux/pid.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/video/vga.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/video/vga.h: In function ‘vga_rcrt’: ./include/video/vga.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/video/vga.h: In function ‘vga_wcrt’: ./include/video/vga.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/video/vga.h: In function ‘vga_io_rcrt’: ./include/video/vga.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/video/vga.h: In function ‘vga_io_wcrt’: ./include/video/vga.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rcrt’: ./include/video/vga.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wcrt’: ./include/video/vga.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ In file included from ./include/linux/fs.h:24, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/capability.h: In function ‘cap_combine’: ./include/video/vga.h: In function ‘vga_rseq’: ./include/video/vga.h:319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 319 | { | ^ ./include/linux/capability.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/video/vga.h: In function ‘vga_wseq’: ./include/video/vga.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/linux/capability.h: In function ‘cap_intersect’: ./include/video/vga.h: In function ‘vga_io_rseq’: ./include/linux/capability.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/video/vga.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/video/vga.h: In function ‘vga_io_wseq’: ./include/video/vga.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/capability.h: In function ‘cap_drop’: ./include/linux/capability.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rseq’: ./include/video/vga.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/capability.h: In function ‘cap_invert’: ./include/video/vga.h: In function ‘vga_mm_wseq’: ./include/linux/capability.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/video/vga.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/video/vga.h: In function ‘vga_rgfx’: ./include/video/vga.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/capability.h: In function ‘cap_isclear’: ./include/linux/capability.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/video/vga.h: In function ‘vga_wgfx’: ./include/video/vga.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/capability.h: In function ‘cap_issubset’: ./include/linux/capability.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/video/vga.h: In function ‘vga_io_rgfx’: ./include/video/vga.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/capability.h: In function ‘cap_drop_fs_set’: ./include/linux/capability.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/video/vga.h: In function ‘vga_io_wgfx’: ./include/video/vga.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rgfx’: ./include/acpi/acpi_bus.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/video/vga.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wgfx’: ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_wakeup’: ./include/video/vga.h:409:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 409 | { | ^ ./include/acpi/acpi_bus.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/video/vga.h: In function ‘vga_rattr’: ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_poweroff’: ./include/video/vga.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/acpi/acpi_bus.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/video/vga.h: In function ‘vga_wattr’: ./include/video/vga.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/video/vga.h: In function ‘vga_io_rattr’: ./include/video/vga.h:436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 436 | { | ^ ./include/video/vga.h: In function ‘vga_io_wattr’: ./include/video/vga.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rattr’: ./include/video/vga.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wattr’: ./include/video/vga.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ In file included from ./include/linux/acpi.h:47, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/acpi/acpi_io.h: In function ‘acpi_os_ioremap’: ./include/acpi/acpi_io.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/acpi.h: In function ‘acpi_device_handle’: ./include/linux/acpi.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/acpi.h: In function ‘acpi_alloc_fwnode_static’: ./include/linux/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/acpi.h: In function ‘acpi_free_fwnode_static’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/vgaarb.h: In function ‘vga_get_interruptible’: ./include/linux/acpi.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/vgaarb.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_get_uninterruptible’: ./include/linux/vgaarb.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_conflicts’: ./include/linux/vgaarb.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/linux/acpi.h: In function ‘has_acpi_companion’: ./include/linux/acpi.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/acpi.h: In function ‘acpi_preset_companion’: ./include/linux/acpi.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_name’: ./include/linux/acpi.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ In file included from ./include/linux/pagemap.h:11, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/highmem.h: In function ‘flush_anon_page’: ./include/linux/highmem.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_dcache_page’: ./include/linux/highmem.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_vmap_range’: ./include/linux/highmem.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/highmem.h: In function ‘invalidate_kernel_vmap_range’: ./include/linux/highmem.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/highmem.h: In function ‘nr_free_highpages’: ./include/linux/highmem.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline unsigned int nr_free_highpages(void) { return 0; } | ^~~~~~ ./include/linux/highmem.h: In function ‘kmap_to_page’: ./include/linux/highmem.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/highmem.h: In function ‘totalhigh_pages’: ./include/linux/highmem.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline unsigned long totalhigh_pages(void) { return 0UL; } | ^~~~~~ ./include/linux/acpi.h: In function ‘acpi_numa_gicc_affinity_init’: ./include/linux/highmem.h: In function ‘kmap’: ./include/linux/acpi.h:268:37: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) { } | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/highmem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/acpi.h: In function ‘invalid_logical_cpuid’: ./include/linux/highmem.h: In function ‘kunmap’: ./include/linux/acpi.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/highmem.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/highmem.h: In function ‘kmap_atomic’: ./include/linux/highmem.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/acpi.h: In function ‘invalid_phys_cpuid’: ./include/linux/acpi.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/highmem.h: In function ‘__kunmap_atomic’: ./include/linux/highmem.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/highmem.h: In function ‘clear_user_highpage’: ./include/linux/highmem.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/capability.h: In function ‘cap_raise_fs_set’: ./include/linux/capability.h:182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 182 | { | ^ ./include/linux/highmem.h: In function ‘alloc_zeroed_user_highpage_movable’: ./include/linux/capability.h: In function ‘cap_drop_nfsd_set’: ./include/linux/highmem.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/capability.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/highmem.h: In function ‘clear_highpage’: ./include/linux/capability.h: In function ‘cap_raise_nfsd_set’: ./include/linux/highmem.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/capability.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segments’: ./include/linux/highmem.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segment’: ./include/linux/highmem.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/highmem.h: In function ‘zero_user’: ./include/linux/highmem.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/highmem.h: In function ‘copy_user_highpage’: ./include/linux/highmem.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ In file included from ./include/linux/percpu-rwsem.h:8, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcuwait.h: In function ‘rcuwait_init’: ./include/linux/rcuwait.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/highmem.h: In function ‘copy_highpage’: ./include/linux/highmem.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ In file included from ./include/linux/percpu-rwsem.h:9, from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rcu_sync.h: In function ‘rcu_sync_is_idle’: ./include/linux/rcu_sync.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ In file included from ./include/linux/fs.h:34, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_preempt_disable’: In file included from ./include/linux/pagemap.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/hugetlb_inline.h: In function ‘is_vm_hugetlb_page’: ./include/linux/percpu-rwsem.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/hugetlb_inline.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pagemap.h: In function ‘mapping_set_error’: ./include/linux/pagemap.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_unevictable’: ./include/linux/pagemap.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_clear_unevictable’: ./include/linux/pagemap.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_unevictable’: ./include/linux/pagemap.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_exiting’: ./include/linux/pagemap.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/acpi.h: In function ‘acpi_sci_irq_valid’: ./include/linux/pagemap.h: In function ‘mapping_exiting’: ./include/linux/pagemap.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/acpi.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_no_writeback_tags’: ./include/linux/pagemap.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_use_writeback_tags’: ./include/linux/pagemap.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_mask’: ./include/linux/pagemap.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_constraint’: ./include/linux/pagemap.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_gfp_mask’: ./include/linux/pagemap.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_get_speculative’: ./include/linux/acpi.h: In function ‘acpi_dev_filter_resource_type_cb’: ./include/linux/pagemap.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/acpi.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_add_speculative’: ./include/linux/pagemap.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_alloc’: ./include/linux/pagemap.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/pagemap.h: In function ‘readahead_gfp_mask’: ./include/linux/pagemap.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_set_enumerated’: ./include/linux/acpi.h:614:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 614 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_clear_enumerated’: ./include/linux/pagemap.h: In function ‘find_get_page’: ./include/linux/acpi.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/pagemap.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page_flags’: ./include/linux/pagemap.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/pagemap.h: In function ‘find_lock_page’: ./include/linux/pagemap.h:296:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 296 | { | ^ ./include/linux/pagemap.h: In function ‘find_or_create_page’: ./include/linux/pagemap.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page_nowait’: ./include/linux/pagemap.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages’: ./include/linux/pagemap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_remove_driver_gpios’: ./include/linux/pagemap.h: In function ‘find_get_pages_tag’: ./include/linux/acpi.h:1026:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1026 | { | ^ ./include/linux/pagemap.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page’: ./include/linux/pagemap.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/acpi.h: In function ‘acpi_node_get_property_reference’: ./include/linux/pagemap.h: In function ‘read_mapping_page’: ./include/linux/pagemap.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/acpi.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_has_props’: ./include/linux/pagemap.h: In function ‘page_to_index’: ./include/linux/pagemap.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/acpi.h:1094:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1094 | { | ^ ./include/linux/pagemap.h: In function ‘page_to_pgoff’: ./include/linux/pagemap.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/pagemap.h: In function ‘page_offset’: ./include/linux/pagemap.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/pagemap.h: In function ‘page_file_offset’: ./include/linux/pagemap.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/pagemap.h: In function ‘linear_page_index’: ./include/linux/pagemap.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/pagemap.h: In function ‘trylock_page’: ./include/linux/pagemap.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page’: ./include/linux/pagemap.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_killable’: ./include/linux/pagemap.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_or_retry’: ./include/linux/pagemap.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked’: ./include/linux/pagemap.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked_killable’: ./include/linux/pagemap.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/acpi.h: In function ‘acpi_irq_get’: ./include/linux/pagemap.h: In function ‘wait_on_page_writeback’: ./include/linux/acpi.h:1301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1301 | { | ^ ./include/linux/pagemap.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology’: ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read’: ./include/linux/pagemap.h: In function ‘fault_in_pages_writeable’: ./include/linux/percpu-rwsem.h:58:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 58 | { | ^ ./include/linux/acpi.h:1321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1321 | { | ^ ./include/linux/pagemap.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_down_read_trylock’: ./include/linux/percpu-rwsem.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology_package’: ./include/linux/acpi.h:1325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1325 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_cache_topology’: ./include/linux/acpi.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_readable’: ./include/linux/pagemap.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmalloc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 533 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vfree’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:547:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 547 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:555:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 555 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:563:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 563 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_iounmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/pagemap.h: In function ‘add_to_page_cache’: ./include/linux/pagemap.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/pagemap.h: In function ‘dir_pages’: ./include/linux/pagemap.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vunmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ In file included from ./include/linux/efi.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/proc_fs.h: In function ‘proc_net_mkdir’: ./include/linux/proc_fs.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/proc_fs.h: In function ‘proc_pid_ns’: ./include/linux/proc_fs.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_io_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1065:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1065 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_alloc_stack’: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./include/linux/percpu-rwsem.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1112 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rtc.h: In function ‘rtc_tm_sub’: ./include/linux/rtc.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/rtc.h: In function ‘rtc_time_to_tm’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_free_stack’: ./include/linux/rtc.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1126 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tm_to_time’: ./include/linux/rtc.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_init_flags’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1198 | { | ^ In file included from ./include/linux/rtc.h:50, from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/seq_file.h: In function ‘seq_has_overflowed’: ./include/linux/seq_file.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/seq_file.h: In function ‘seq_get_buf’: ./include/linux/seq_file.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1221 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’: ./include/linux/seq_file.h: In function ‘seq_commit’: ./include/linux/seq_file.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1243 | { | ^ ./include/linux/seq_file.h: In function ‘seq_setwidth’: ./include/linux/seq_file.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/seq_file.h: In function ‘seq_user_ns’: ./include/linux/seq_file.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seq_file.h: In function ‘seq_show_option’: ./include/linux/seq_file.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_node_end_pfn’: In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rtc.h: In function ‘is_leap_year’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ ./include/linux/rtc.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_pci_bus_address’: ./include/linux/percpu-rwsem.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/rtc.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_release’: ./include/linux/percpu-rwsem.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_release’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_acquire’: ./include/linux/percpu-rwsem.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ In file included from ./include/linux/fs.h:36, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/delayed_call.h: In function ‘set_delayed_call’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_compress_nvlink_addr’: ./include/linux/delayed_call.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/delayed_call.h: In function ‘do_delayed_call’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1894 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_expand_nvlink_addr’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1909:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1909 | { | ^ In file included from ./include/linux/efi.h:23, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/pstore.h: In function ‘pstore_ftrace_encode_cpu’: ./include/linux/pstore.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/delayed_call.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/delayed_call.h: In function ‘clear_delayed_call’: ./include/linux/pstore.h: In function ‘pstore_ftrace_decode_cpu’: ./include/linux/delayed_call.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ In file included from ./include/linux/kgdb.h:20, from ./include/linux/fb.h:5, from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./arch/x86/include/asm/kgdb.h: In function ‘arch_kgdb_breakpoint’: ./include/linux/pstore.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./arch/x86/include/asm/kgdb.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_read_timestamp’: ./include/linux/pstore.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_write_timestamp’: ./include/linux/pstore.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ In file included from ./include/linux/fs.h:37, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/uuid.h: In function ‘guid_equal’: ./include/linux/uuid.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/uuid.h: In function ‘guid_copy’: ./include/linux/uuid.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/uuid.h: In function ‘guid_is_null’: ./include/linux/uuid.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/uuid.h: In function ‘uuid_equal’: ./include/linux/uuid.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/uuid.h: In function ‘uuid_copy’: ./include/linux/uuid.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/uuid.h: In function ‘uuid_is_null’: ./include/linux/uuid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/uuid.h: In function ‘uuid_le_cmp’: ./include/linux/uuid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ In file included from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/refcount.h: In function ‘refcount_set’: ./include/linux/refcount.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./include/linux/refcount.h: In function ‘refcount_read’: ./include/linux/refcount.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ In file included from ./include/linux/refcount.h:72, from ./include/linux/ipc.h:9, from ./include/uapi/linux/sem.h:5, from ./include/linux/sem.h:5, from ./include/linux/sched.h:15, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/refcount.h: In function ‘refcount_add’: ./arch/x86/include/asm/refcount.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc’: ./arch/x86/include/asm/refcount.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec’: ./arch/x86/include/asm/refcount.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_sub_and_test’: ./arch/x86/include/asm/refcount.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_dec_and_test’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/efi.h: In function ‘efi_guidcmp’: ./arch/x86/include/asm/refcount.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/efi.h:1013:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1013 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_add_not_zero’: ./include/linux/efi.h: In function ‘efi_guid_to_str’: ./arch/x86/include/asm/refcount.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/efi.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./arch/x86/include/asm/refcount.h: In function ‘refcount_inc_not_zero’: ./arch/x86/include/asm/refcount.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/efi.h: In function ‘efi_fake_memmap’: ./include/linux/efi.h:1084:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1084 | static inline void efi_fake_memmap(void) { } | ^~~~~~ ./include/linux/efi.h: In function ‘efi_range_is_wc’: ./include/linux/efi.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/efi.h: In function ‘efi_enabled’: ./include/linux/efi.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/efi.h: In function ‘memrange_efi_to_native’: ./include/linux/efi.h:1335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1335 | { | ^ In file included from ./include/linux/sched.h:17, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kcov.h: In function ‘kcov_task_init’: ./include/linux/kcov.h:42:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | static inline void kcov_task_init(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_task_exit’: ./include/linux/kcov.h:43:42: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | static inline void kcov_task_exit(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_prepare_switch’: ./include/linux/kcov.h:44:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline void kcov_prepare_switch(struct task_struct *t) {} | ^~~~~~~~~~~ ./include/linux/kcov.h: In function ‘kcov_finish_switch’: ./include/linux/kcov.h:45:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline void kcov_finish_switch(struct task_struct *t) {} | ^~~~~~~~~~~ In file included from ./include/linux/sched.h:19, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/plist.h: In function ‘plist_head_init’: ./include/linux/efi.h: In function ‘efivar_unregister’: ./include/linux/efi.h:1483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1483 | { | ^ ./include/linux/plist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/plist.h: In function ‘plist_node_init’: ./include/linux/plist.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/plist.h: In function ‘plist_head_empty’: ./include/linux/plist.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/plist.h: In function ‘plist_node_empty’: ./include/linux/plist.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ ./include/linux/plist.h: In function ‘plist_first’: ./include/linux/plist.h:283:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 283 | { | ^ ./include/linux/plist.h: In function ‘plist_last’: ./include/linux/plist.h:295:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 295 | { | ^ In file included from ./include/linux/i2c.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/rtmutex.h: In function ‘rt_mutex_debug_check_no_locks_freed’: ./include/linux/rtmutex.h:55:2: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ In file included from ./include/linux/hrtimer.h:21, from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/timerqueue.h: In function ‘timerqueue_getnext’: ./include/linux/timerqueue.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/rtmutex.h: In function ‘rt_mutex_is_locked’: ./include/linux/rtmutex.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init’: ./include/linux/timerqueue.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/timerqueue.h: In function ‘timerqueue_init_head’: ./include/linux/timerqueue.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ In file included from ./include/linux/sched.h:20, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires’: ./include/linux/hrtimer.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range’: In file included from ./include/linux/of.h:22, from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/property.h: In function ‘device_property_read_bool’: ./include/linux/hrtimer.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 227 | { | ^ ./include/linux/property.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_range_ns’: ./include/linux/hrtimer.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u8’: ./include/linux/property.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_set_expires_tv64’: ./include/linux/hrtimer.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u16’: ./include/linux/property.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires’: ./include/linux/hrtimer.h:245:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 245 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u32’: ./include/linux/property.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_add_expires_ns’: ./include/linux/hrtimer.h:251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 251 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u64’: ./include/linux/property.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires’: ./include/linux/property.h: In function ‘fwnode_property_read_bool’: ./include/linux/hrtimer.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/property.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires’: ./include/linux/property.h: In function ‘fwnode_property_read_u8’: ./include/linux/hrtimer.h:262:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 262 | { | ^ ./include/linux/property.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_tv64’: ./include/linux/hrtimer.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u16’: ./include/linux/property.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_softexpires_tv64’: ./include/linux/hrtimer.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u32’: ./include/linux/property.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_get_expires_ns’: ./include/linux/hrtimer.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u64’: ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining’: ./include/linux/property.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/hrtimer.h:281:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 281 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’: ./include/linux/hrtimer.h:286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 286 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_is_hres_active’: ./include/linux/hrtimer.h:291:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 291 | { | ^ ./include/linux/hrtimer.h: In function ‘__hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 329 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_expires_remaining_adjusted’: ./include/linux/hrtimer.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ In file included from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/of.h: In function ‘of_node_init’: ./include/linux/of.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_init_on_stack’: ./include/linux/of.h: In function ‘of_node_get’: ./include/linux/hrtimer.h:374:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 374 | { | ^ ./include/linux/of.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/of.h: In function ‘of_node_put’: ./include/linux/hrtimer.h: In function ‘destroy_hrtimer_on_stack’: ./include/linux/of.h:129:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void of_node_put(struct device_node *node) { } | ^~~~~~~~~~~ ./include/linux/hrtimer.h:377:52: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } | ^~~~~~~ ./include/linux/hrtimer.h: In function ‘hrtimer_start’: ./include/linux/hrtimer.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_start_expires’: ./include/linux/hrtimer.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_restart’: ./include/linux/hrtimer.h:413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 413 | { | ^ ./include/linux/of.h: In function ‘of_core_init’: ./include/linux/hrtimer.h: In function ‘hrtimer_get_remaining’: ./include/linux/hrtimer.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/of.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/of.h: In function ‘is_of_node’: ./include/linux/of.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_is_queued’: ./include/linux/hrtimer.h:434:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 434 | { | ^ ./include/linux/of.h: In function ‘to_of_node’: ./include/linux/of.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_callback_running’: ./include/linux/hrtimer.h:443:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 443 | { | ^ ./include/linux/of.h: In function ‘of_node_name_eq’: ./include/linux/of.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/hrtimer.h: In function ‘hrtimer_forward_now’: ./include/linux/of.h: In function ‘of_node_name_prefix’: ./include/linux/hrtimer.h:469:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 469 | { | ^ ./include/linux/of.h:581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 581 | { | ^ ./include/linux/of.h: In function ‘of_node_full_name’: ./include/linux/of.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_name’: ./include/linux/of.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_type’: ./include/linux/of.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node_and_match’: ./include/linux/of.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_path’: ./include/linux/of.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/linux/of.h: In function ‘of_find_node_opts_by_path’: ./include/linux/of.h:617:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 617 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_phandle’: ./include/linux/of.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/of.h: In function ‘of_get_parent’: ./include/linux/of.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/of.h: In function ‘of_get_next_child’: ./include/linux/of.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/of.h: In function ‘of_get_next_available_child’: ./include/linux/of.h:639:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 639 | { | ^ ./include/linux/of.h: In function ‘of_find_node_with_property’: ./include/linux/of.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./include/linux/of.h: In function ‘of_have_populated_dt’: ./include/linux/of.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/of.h: In function ‘of_get_compatible_child’: ./include/linux/of.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/of.h: In function ‘of_get_child_by_name’: ./include/linux/of.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/of.h: In function ‘of_device_is_compatible’: ./include/linux/of.h:671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 671 | { | ^ In file included from ./arch/x86/include/asm/seccomp.h:19, from ./include/linux/seccomp.h:15, from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/seccomp.h: In function ‘get_compat_mode1_syscalls’: ./include/linux/of.h: In function ‘of_device_compatible_match’: ./include/linux/of.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./include/asm-generic/seccomp.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/of.h: In function ‘of_device_is_available’: ./include/linux/of.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/linux/of.h: In function ‘of_device_is_big_endian’: ./include/linux/of.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ In file included from ./include/linux/sched.h:21, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/seccomp.h: In function ‘secure_computing’: ./include/linux/of.h: In function ‘of_find_property’: ./include/linux/seccomp.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/of.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/of.h: In function ‘of_find_compatible_node’: ./include/linux/of.h:702:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 702 | { | ^ ./include/linux/seccomp.h: In function ‘seccomp_mode’: ./include/linux/seccomp.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/of.h: In function ‘of_property_count_elems_of_size’: ./include/linux/of.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8_array’: ./include/linux/of.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16_array’: In file included from ./include/linux/sched.h:25, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/latencytop.h: In function ‘account_scheduler_latency’: ./include/linux/of.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/latencytop.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./include/linux/latencytop.h: In function ‘clear_all_latency_tracing’: ./include/linux/of.h: In function ‘of_property_read_u32_array’: ./include/linux/latencytop.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/of.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_array’: In file included from ./include/linux/sched.h:26, from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/prio.h: In function ‘nice_to_rlimit’: ./include/linux/of.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/sched/prio.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_index’: ./include/linux/of.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/sched/prio.h: In function ‘rlimit_to_nice’: ./include/linux/sched/prio.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_index’: ./include/linux/of.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./include/linux/of.h: In function ‘of_get_property’: ./include/linux/of.h:753:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 753 | { | ^ ./include/linux/of.h: In function ‘of_get_cpu_node’: ./include/linux/of.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/of.h: In function ‘of_get_next_cpu_node’: ./include/linux/of.h:764:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 764 | { | ^ ./include/linux/of.h: In function ‘of_n_addr_cells’: ./include/linux/of.h:769:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 769 | { | ^ ./include/linux/of.h: In function ‘of_n_size_cells’: ./include/linux/of.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u8_array’: ./include/linux/of.h:781:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 781 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u16_array’: ./include/linux/of.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u32_array’: ./include/linux/of.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64’: ./include/linux/of.h:803:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 803 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u64_array’: ./include/linux/of.h:812:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 812 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string’: ./include/linux/of.h:819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 819 | { | ^ ./include/linux/of.h: In function ‘of_property_match_string’: ./include/linux/of.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_helper’: ./include/linux/of.h:833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 833 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle’: ./include/linux/of.h:840:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 840 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args’: ./include/linux/of.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args_map’: ./include/linux/of.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_fixed_args’: ./include/linux/of.h:865:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 865 | { | ^ ./include/linux/of.h: In function ‘of_count_phandle_with_args’: ./include/linux/of.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_init’: ./include/linux/of.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_next’: ./include/linux/of.h:886:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 886 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_args’: ./include/linux/of.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_id’: ./include/linux/of.h:898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 898 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_highest_id’: ./include/linux/of.h:903:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 903 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_alias_list’: ./include/linux/of.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/of.h: In function ‘of_machine_is_compatible’: ./include/linux/of.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/of.h: In function ‘of_console_check’: ./include/linux/of.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_u32’: ./include/linux/of.h:926:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 926 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_string’: ./include/linux/of.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | { | ^ ./include/linux/of.h: In function ‘of_node_check_flag’: ./include/linux/of.h:937:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 937 | { | ^ ./include/linux/of.h: In function ‘of_node_test_and_set_flag’: ./include/linux/of.h:943:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 943 | { | ^ ./include/linux/of.h: In function ‘of_node_set_flag’: ./include/linux/of.h:948:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 948 | { | ^ ./include/linux/of.h: In function ‘of_node_clear_flag’: ./include/linux/of.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/of.h: In function ‘of_property_check_flag’: ./include/linux/of.h:956:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 956 | { | ^ ./include/linux/of.h: In function ‘of_property_set_flag’: ./include/linux/of.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/of.h: In function ‘of_property_clear_flag’: ./include/linux/of.h:965:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 965 | { | ^ ./include/linux/of.h: In function ‘of_cpu_node_to_id’: ./include/linux/of.h:969:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 969 | { | ^ ./include/linux/of.h: In function ‘of_map_rid’: ./include/linux/of.h:976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 976 | { | ^ ./include/linux/of.h: In function ‘of_prop_val_eq’: ./include/linux/of.h:992:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 992 | { | ^ ./include/linux/of.h: In function ‘of_node_to_nid’: ./include/linux/of.h:1001:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1001 | { | ^ In file included from ./include/linux/ioprio.h:5, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched.h: In function ‘task_pid’: ./include/linux/of.h: In function ‘of_numa_init’: ./include/linux/of.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node’: ./include/linux/sched.h:1223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1223 | { | ^ ./include/linux/of.h:1018:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1018 | { | ^ ./include/linux/of.h: In function ‘of_node_get_device_type’: ./include/linux/of.h:1023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1023 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr’: ./include/linux/sched.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/sched.h: In function ‘task_pid_nr_ns’: ./include/linux/sched.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/of.h: In function ‘of_node_is_type’: ./include/linux/of.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/sched.h: In function ‘task_pid_vnr’: ./include/linux/sched.h:1251:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1251 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr’: ./include/linux/of.h: In function ‘of_property_count_u8_elems’: ./include/linux/sched.h:1257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1257 | { | ^ ./include/linux/of.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/sched.h: In function ‘pid_alive’: ./include/linux/sched.h:1272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1272 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u16_elems’: ./include/linux/sched.h: In function ‘task_pgrp_nr_ns’: ./include/linux/of.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/sched.h:1277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1277 | { | ^ ./include/linux/sched.h: In function ‘task_pgrp_vnr’: ./include/linux/of.h: In function ‘of_property_count_u32_elems’: ./include/linux/sched.h:1282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1282 | { | ^ ./include/linux/of.h:1081:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1081 | { | ^ ./include/linux/sched.h: In function ‘task_session_nr_ns’: ./include/linux/sched.h:1288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1288 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u64_elems’: ./include/linux/sched.h: In function ‘task_session_vnr’: ./include/linux/of.h:1098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1098 | { | ^ ./include/linux/sched.h:1293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1293 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_nr_ns’: ./include/linux/of.h: In function ‘of_property_read_string_array’: ./include/linux/sched.h:1298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1298 | { | ^ ./include/linux/of.h:1118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1118 | { | ^ ./include/linux/sched.h: In function ‘task_tgid_vnr’: ./include/linux/sched.h:1303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1303 | { | ^ ./include/linux/of.h: In function ‘of_property_count_strings’: ./include/linux/sched.h: In function ‘task_ppid_nr_ns’: ./include/linux/of.h:1136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1136 | { | ^ ./include/linux/sched.h:1308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1308 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_index’: ./include/linux/of.h:1161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1161 | { | ^ ./include/linux/of.h: In function ‘of_property_read_bool’: ./include/linux/of.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/sched.h: In function ‘task_ppid_nr’: ./include/linux/sched.h:1320:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1320 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8’: ./include/linux/sched.h: In function ‘task_pgrp_nr’: ./include/linux/sched.h:1326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1326 | { | ^ ./include/linux/of.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./include/linux/sched.h: In function ‘task_state_index’: ./include/linux/sched.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16’: ./include/linux/of.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32’: ./include/linux/of.h:1199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1199 | { | ^ ./include/linux/of.h: In function ‘of_property_read_s32’: ./include/linux/of.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/of.h: In function ‘of_get_child_count’: ./include/linux/sched.h: In function ‘task_index_to_char’: ./include/linux/sched.h:1347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1347 | { | ^ ./include/linux/of.h:1260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1260 | { | ^ ./include/linux/of.h: In function ‘of_get_available_child_count’: ./include/linux/of.h:1271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1271 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_register’: ./include/linux/of.h:1394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1394 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_unregister’: ./include/linux/of.h:1398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1398 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notify’: ./include/linux/of.h:1403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1403 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_get_state_change’: ./include/linux/of.h:1408:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1408 | { | ^ ./include/linux/of.h: In function ‘of_device_is_system_power_controller’: ./include/linux/of.h:1420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1420 | { | ^ ./include/linux/of.h: In function ‘of_overlay_fdt_apply’: ./include/linux/of.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove’: ./include/linux/of.h:1458:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove_all’: ./include/linux/of.h:1463:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1463 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_register’: ./include/linux/of.h:1468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1468 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_unregister’: ./include/linux/of.h:1473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1473 | { | ^ In file included from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/irqdomain.h: In function ‘irq_domain_get_of_node’: ./include/linux/irqdomain.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/sched.h: In function ‘task_state_to_char’: ./include/linux/sched.h:1356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1356 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_fwnode’: ./include/linux/sched.h: In function ‘is_global_init’: ./include/linux/irqdomain.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/linux/sched.h:1370:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1370 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_id_fwnode’: ./include/linux/irqdomain.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_fwnode’: ./include/linux/irqdomain.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/sched.h: In function ‘is_percpu_thread’: ./include/linux/sched.h:1439:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1439 | { | ^ ./include/linux/sched.h: In function ‘task_no_new_privs’: ./include/linux/irqdomain.h: In function ‘of_node_to_fwnode’: ./include/linux/irqdomain.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1469:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1469 | TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘is_fwnode_irqchip’: ./include/linux/irqdomain.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/sched.h: In function ‘task_set_no_new_privs’: ./include/linux/irqdomain.h: In function ‘irq_find_matching_fwnode’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1470:1: note: in expansion of macro ‘TASK_PFA_SET’ 1470 | TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) | ^~~~~~~~~~~~ ./include/linux/irqdomain.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/sched.h: In function ‘task_spread_page’: ./include/linux/irqdomain.h: In function ‘irq_find_matching_host’: ./include/linux/irqdomain.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1472:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1472 | TASK_PFA_TEST(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_find_host’: ./include/linux/irqdomain.h:305:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 305 | { | ^ ./include/linux/sched.h: In function ‘task_set_spread_page’: ./include/linux/irqdomain.h: In function ‘irq_domain_add_linear’: ./include/linux/irqdomain.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1473:1: note: in expansion of macro ‘TASK_PFA_SET’ 1473 | TASK_PFA_SET(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_domain_add_nomap’: ./include/linux/sched.h: In function ‘task_clear_spread_page’: ./include/linux/irqdomain.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1474:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1474 | TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) | ^~~~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_domain_add_legacy_isa’: ./include/linux/irqdomain.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./include/linux/sched.h: In function ‘task_spread_slab’: ./include/linux/irqdomain.h: In function ‘irq_domain_add_tree’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1476:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1476 | TASK_PFA_TEST(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_linear’: ./include/linux/irqdomain.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./include/linux/sched.h: In function ‘task_set_spread_slab’: ./include/linux/irqdomain.h: In function ‘irq_domain_create_tree’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1477:1: note: in expansion of macro ‘TASK_PFA_SET’ 1477 | TASK_PFA_SET(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~ ./include/linux/irqdomain.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/sched.h: In function ‘task_clear_spread_slab’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1478:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1478 | TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) | ^~~~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_linear_revmap’: ./include/linux/irqdomain.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ssb_disable’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1480:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1480 | TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_create_identity_mapping’: ./include/linux/irqdomain.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1481:1: note: in expansion of macro ‘TASK_PFA_SET’ 1481 | TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_clear_spec_ssb_disable’: ./include/linux/irqdomain.h: In function ‘irq_domain_add_hierarchy’: ./include/linux/irqdomain.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1482:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1482 | TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) | ^~~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_spec_ssb_force_disable’: ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_irqs’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1484:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1484 | TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./include/linux/sched.h: In function ‘task_set_spec_ssb_force_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1485:1: note: in expansion of macro ‘TASK_PFA_SET’ 1485 | TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) | ^~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_domain_is_hierarchy’: ./include/linux/irqdomain.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/sched.h: In function ‘task_spec_ib_disable’: ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi’: ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1487:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1487 | TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~ ./include/linux/irqdomain.h:498:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 498 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_per_cpu’: ./include/linux/sched.h: In function ‘task_set_spec_ib_disable’: ./include/linux/irqdomain.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1488:1: note: in expansion of macro ‘TASK_PFA_SET’ 1488 | TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_single’: ./include/linux/irqdomain.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/sched.h: In function ‘task_clear_spec_ib_disable’: ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi’: ./include/linux/sched.h:1466:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1466 | static inline void task_clear_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1489:1: note: in expansion of macro ‘TASK_PFA_CLEAR’ 1489 | TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) | ^~~~~~~~~~~~~~ ./include/linux/irqdomain.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi_remap’: ./include/linux/sched.h: In function ‘task_spec_ib_force_disable’: ./include/linux/irqdomain.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/sched.h:1458:40: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | static inline bool task_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1491:1: note: in expansion of macro ‘TASK_PFA_TEST’ 1491 | TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~~ ./include/linux/sched.h: In function ‘task_set_spec_ib_force_disable’: ./include/linux/sched.h:1462:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1462 | static inline void task_set_##func(struct task_struct *p) \ | ^~~~~~~~~~~ ./include/linux/sched.h:1492:1: note: in expansion of macro ‘TASK_PFA_SET’ 1492 | TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) | ^~~~~~~~~~~~ ./include/linux/sched.h: In function ‘current_restore_flags’: ./include/linux/sched.h:1496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1496 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/i2c.h: In function ‘i2c_master_recv’: ./include/linux/sched.h: In function ‘task_nice’: ./include/linux/i2c.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/sched.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_recv_dmasafe’: ./include/linux/i2c.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send’: ./include/linux/sched.h: In function ‘is_idle_task’: ./include/linux/i2c.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/sched.h:1554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1554 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send_dmasafe’: ./include/linux/i2c.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/sched.h: In function ‘task_thread_info’: ./include/linux/i2c.h: In function ‘i2c_smbus_read_word_swapped’: ./include/linux/i2c.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/sched.h:1581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1581 | { | ^ ./include/linux/i2c.h: In function ‘i2c_smbus_write_word_swapped’: ./include/linux/i2c.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/sched.h: In function ‘set_task_comm’: ./include/linux/sched.h:1620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1620 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_thread_flag’: ./include/linux/sched.h:1646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1646 | { | ^ ./include/linux/sched.h: In function ‘clear_tsk_thread_flag’: ./include/linux/sched.h:1651:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1651 | { | ^ ./include/linux/sched.h: In function ‘update_tsk_thread_flag’: ./include/linux/sched.h:1657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1657 | { | ^ ./include/linux/i2c.h: In function ‘kobj_to_i2c_client’: ./include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’: ./include/linux/i2c.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/sched.h:1662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1662 | { | ^ ./include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’: ./include/linux/sched.h:1667:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1667 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_thread_flag’: ./include/linux/sched.h:1672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1672 | { | ^ ./include/linux/sched.h: In function ‘set_tsk_need_resched’: ./include/linux/sched.h:1677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1677 | { | ^ ./include/linux/sched.h: In function ‘clear_tsk_need_resched’: ./include/linux/sched.h:1682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1682 | { | ^ ./include/linux/sched.h: In function ‘test_tsk_need_resched’: ./include/linux/sched.h:1687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1687 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_clientdata’: ./include/linux/i2c.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/sched.h: In function ‘cond_resched_rcu’: ./include/linux/i2c.h: In function ‘i2c_set_clientdata’: ./include/linux/i2c.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/sched.h:1716:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1716 | { | ^ ./include/linux/i2c.h: In function ‘i2c_detect_slave_mode’: ./include/linux/sched.h: In function ‘spin_needbreak’: ./include/linux/i2c.h:387:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | static inline bool i2c_detect_slave_mode(struct device *dev) { return false; } | ^~~~~~ ./include/linux/sched.h:1730:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1730 | { | ^ ./include/linux/sched.h: In function ‘need_resched’: ./include/linux/sched.h:1739:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1739 | { | ^ ./include/linux/sched.h: In function ‘task_cpu’: ./include/linux/sched.h:1749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1749 | { | ^ ./include/linux/sched.h: In function ‘rseq_set_notify_resume’: ./include/linux/sched.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_adapdata’: ./include/linux/sched.h: In function ‘rseq_handle_notify_resume’: ./include/linux/sched.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/i2c.h:700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 700 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_adapdata’: ./include/linux/sched.h: In function ‘rseq_signal_deliver’: ./include/linux/i2c.h:705:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 705 | { | ^ ./include/linux/sched.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/i2c.h: In function ‘i2c_parent_is_i2c_adapter’: ./include/linux/i2c.h:711:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 711 | { | ^ ./include/linux/sched.h: In function ‘rseq_preempt’: ./include/linux/sched.h:1835:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1835 | { | ^ ./include/linux/sched.h: In function ‘rseq_migrate’: ./include/linux/sched.h:1842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1842 | { | ^ ./include/linux/sched.h: In function ‘rseq_fork’: ./include/linux/i2c.h: In function ‘i2c_lock_bus’: ./include/linux/sched.h:1852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1852 | { | ^ ./include/linux/i2c.h:736:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 736 | { | ^ ./include/linux/i2c.h: In function ‘i2c_trylock_bus’: ./include/linux/i2c.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/sched.h: In function ‘rseq_execve’: ./include/linux/sched.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/i2c.h: In function ‘i2c_unlock_bus’: ./include/linux/i2c.h:762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 762 | { | ^ ./include/linux/sched.h: In function ‘exit_umh’: ./include/linux/sched.h:1905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1905 | { | ^ In file included from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/fb.h: In function ‘alloc_apertures’: ./include/linux/sched.h: In function ‘rseq_syscall’: ./include/linux/i2c.h: In function ‘i2c_get_functionality’: ./include/linux/fb.h:536:22: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | static inline struct apertures_struct *alloc_apertures(unsigned int max_num) { | ^~~~~~~~~~~~~~~~ ./include/linux/sched.h:1917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1917 | { | ^ ./include/linux/i2c.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_functionality’: In file included from ./include/linux/ioprio.h:6, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/rt.h: In function ‘rt_prio’: ./include/linux/i2c.h:829:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 829 | { | ^ ./include/linux/sched/rt.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_quirks’: ./include/linux/sched/rt.h: In function ‘rt_task’: ./include/linux/i2c.h:841:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 841 | { | ^ ./include/linux/sched/rt.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 17 | { | ^ ./include/linux/sched/rt.h: In function ‘task_is_realtime’: ./include/linux/sched/rt.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/i2c.h: In function ‘i2c_adapter_id’: ./include/linux/i2c.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/sched/rt.h: In function ‘rt_mutex_get_top_task’: ./include/linux/i2c.h: In function ‘i2c_8bit_addr_from_msg’: ./include/linux/sched/rt.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/i2c.h:854:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 854 | { | ^ ./include/linux/sched/rt.h: In function ‘tsk_is_pi_blocked’: ./include/linux/sched/rt.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_device_by_node’: ./include/linux/i2c.h:907:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 907 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_adapter_by_node’: In file included from ./include/linux/ioprio.h:7, from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/iocontext.h: In function ‘get_io_context_active’: ./include/linux/i2c.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/iocontext.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/i2c.h: In function ‘of_get_i2c_adapter_by_node’: ./include/linux/i2c.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/linux/i2c.h: In function ‘i2c_of_match_device’: ./include/linux/i2c.h:924:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 924 | { | ^ ./include/linux/i2c.h: In function ‘of_i2c_get_board_info’: ./include/linux/i2c.h:931:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 931 | { | ^ ./include/linux/iocontext.h: In function ‘ioc_task_link’: ./include/linux/iocontext.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ In file included from ./include/linux/fs.h:39, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ioprio.h: In function ‘task_nice_ioprio’: ./include/linux/ioprio.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/ioprio.h: In function ‘task_nice_ioclass’: ./include/linux/ioprio.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/ioprio.h: In function ‘get_current_ioprio’: ./include/linux/ioprio.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ In file included from ./include/linux/quota.h:40, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/percpu_counter.h: In function ‘percpu_counter_compare’: ./include/linux/percpu_counter.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_add’: ./include/linux/percpu_counter.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum_positive’: ./include/linux/percpu_counter.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sum’: ./include/linux/percpu_counter.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read’: ./include/linux/percpu_counter.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_read_positive’: ./include/linux/percpu_counter.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_initialized’: ./include/linux/percpu_counter.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_inc’: ./include/linux/percpu_counter.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_dec’: ./include/linux/percpu_counter.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/percpu_counter.h: In function ‘percpu_counter_sub’: ./include/linux/percpu_counter.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ In file included from ./include/linux/dqblk_v2.h:9, from ./include/linux/quota.h:44, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dqblk_qtree.h: In function ‘qtree_depth’: ./include/linux/dqblk_qtree.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./include/linux/quota.h:48, from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/projid.h: In function ‘__kprojid_val’: ./include/linux/projid.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/projid.h: In function ‘projid_eq’: ./include/linux/projid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/projid.h: In function ‘projid_lt’: ./include/linux/projid.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/projid.h: In function ‘projid_valid’: ./include/linux/projid.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | { | ^ ./include/linux/projid.h: In function ‘projid_valid_eq’: ./include/linux/projid.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/projid.h: In function ‘kprojid_has_mapping’: ./include/linux/projid.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ In file included from ./include/linux/fs.h:235, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/quota.h: In function ‘make_kqid’: ./include/linux/quota.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_invalid’: ./include/linux/quota.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_uid’: ./include/linux/quota.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_gid’: ./include/linux/quota.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/quota.h: In function ‘make_kqid_projid’: ./include/linux/quota.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ ./include/linux/quota.h: In function ‘qid_has_mapping’: ./include/linux/quota.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/quota.h: In function ‘info_dirty’: ./include/linux/quota.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./include/linux/quota.h: In function ‘dqstats_inc’: ./include/linux/quota.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/quota.h: In function ‘dqstats_dec’: ./include/linux/quota.h:278:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 278 | { | ^ ./include/linux/quota.h: In function ‘dquot_state_flag’: ./include/linux/quota.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/quota.h: In function ‘dquot_generic_flag’: ./include/linux/quota.h:496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 496 | { | ^ ./include/linux/quota.h: In function ‘dquot_state_types’: ./include/linux/quota.h:502:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 502 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/fs.h: In function ‘is_sync_kiocb’: ./include/linux/fs.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/linux/fs.h: In function ‘mapping_tagged’: ./include/linux/fs.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_write’: ./include/linux/fs.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_write’: ./include/linux/fs.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_lock_read’: ./include/linux/fs.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/fs.h: In function ‘i_mmap_unlock_read’: ./include/linux/fs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/fs.h: In function ‘mapping_mapped’: ./include/linux/fs.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/fs.h: In function ‘mapping_writably_mapped’: ./include/linux/fs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/fs.h: In function ‘mapping_map_writable’: ./include/linux/fs.h:551:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 551 | { | ^ ./include/linux/fs.h: In function ‘mapping_unmap_writable’: ./include/linux/fs.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/fs.h: In function ‘mapping_deny_writable’: ./include/linux/fs.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/fs.h: In function ‘mapping_allow_writable’: ./include/linux/fs.h:568:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 568 | { | ^ ./include/linux/fs.h: In function ‘uncached_acl_sentinel’: ./include/linux/fs.h:589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 589 | { | ^ ./include/linux/fs.h: In function ‘is_uncached_acl’: ./include/linux/fs.h:595:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 595 | { | ^ ./include/linux/fs.h: In function ‘i_blocksize’: ./include/linux/fs.h:718:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 718 | { | ^ In file included from ./include/acpi/platform/acenvex.h:23, from ./include/acpi/acpi.h:28, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate’: ./include/linux/fs.h: In function ‘inode_unhashed’: ./include/linux/fs.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/acpi/platform/aclinuxex.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/fs.h: In function ‘inode_fake_hash’: ./include/linux/fs.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/fs.h: In function ‘inode_lock’: ./include/linux/fs.h:765:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 765 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate_zeroed’: ./include/acpi/platform/aclinuxex.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/fs.h: In function ‘inode_unlock’: ./include/linux/fs.h:770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 770 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared’: ./include/linux/fs.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/fs.h: In function ‘inode_unlock_shared’: ./include/linux/fs.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_free’: ./include/acpi/platform/aclinuxex.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock’: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_object’: ./include/linux/fs.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/acpi/platform/aclinuxex.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/fs.h: In function ‘inode_trylock_shared’: ./include/linux/fs.h:790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 790 | { | ^ ./include/linux/fs.h: In function ‘inode_is_locked’: ./include/linux/fs.h:795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 795 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_get_thread_id’: ./include/acpi/platform/aclinuxex.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_nested’: ./include/linux/fs.h:800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 800 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_raw_lock’: ./include/acpi/platform/aclinuxex.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/linux/fs.h: In function ‘inode_lock_shared_nested’: ./include/linux/fs.h:805:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 805 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_release_raw_lock’: ./include/linux/fs.h: In function ‘i_size_read’: ./include/acpi/platform/aclinuxex.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/fs.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_delete_raw_lock’: ./include/acpi/platform/aclinuxex.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/fs.h: In function ‘i_size_write’: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_readable’: ./include/linux/fs.h:851:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 851 | { | ^ ./include/acpi/platform/aclinuxex.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_initialize_debugger’: ./include/linux/fs.h: In function ‘iminor’: ./include/acpi/platform/aclinuxex.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/fs.h:868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 868 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_terminate_debugger’: ./include/acpi/platform/aclinuxex.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ ./include/linux/fs.h: In function ‘imajor’: ./include/linux/fs.h:873:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 873 | { | ^ ./include/linux/fs.h: In function ‘ra_has_index’: ./include/linux/fs.h:905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 905 | { | ^ ./include/linux/fs.h: In function ‘get_file’: ./include/linux/fs.h:959:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 959 | { | ^ In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/fs.h: In function ‘file_inode’: ./include/linux/fs.h:1287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1287 | { | ^ ./include/linux/fs.h: In function ‘file_dentry’: ./include/linux/fs.h:1292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1292 | { | ^ ./include/linux/fs.h: In function ‘locks_lock_file_wait’: ./include/linux/fs.h:1297:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1297 | { | ^ ./include/linux/fs.h: In function ‘i_uid_read’: ./include/linux/fs.h:1523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1523 | { | ^ ./include/linux/fs.h: In function ‘i_gid_read’: ./include/linux/fs.h:1528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1528 | { | ^ ./include/linux/fs.h: In function ‘i_uid_write’: ./include/linux/fs.h:1533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1533 | { | ^ ./include/linux/fs.h: In function ‘i_gid_write’: ./include/linux/fs.h:1538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1538 | { | ^ ./include/linux/fs.h: In function ‘sb_end_write’: ./include/linux/fs.h:1565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1565 | { | ^ ./include/linux/fs.h: In function ‘sb_end_pagefault’: ./include/linux/fs.h:1577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1577 | { | ^ ./include/linux/fs.h: In function ‘sb_end_intwrite’: ./include/linux/fs.h:1589:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1589 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write’: ./include/linux/fs.h:1613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1613 | { | ^ ./include/linux/fs.h: In function ‘sb_start_write_trylock’: ./include/linux/fs.h:1618:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1618 | { | ^ ./include/linux/fs.h: In function ‘sb_start_pagefault’: ./include/linux/fs.h:1642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1642 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite’: ./include/linux/fs.h:1660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1660 | { | ^ ./include/linux/fs.h: In function ‘sb_start_intwrite_trylock’: ./include/linux/fs.h:1665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1665 | { | ^ ./include/linux/fb.h: In function ‘unlock_fb_info’: ./include/linux/fb.h:666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 666 | { | ^ In file included from ./include/acpi/acpi.h:31, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/acpi/acpixf.h: In function ‘acpi_debug_print’: ./include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: ./include/linux/fb.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/acpi/acpixf.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/acpi/acpixf.h: In function ‘acpi_debug_print_raw’: ./include/acpi/acpixf.h:923:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 923 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/fb.h: In function ‘fb_be_math’: ./include/acpi/acpixf.h: In function ‘acpi_trace_point’: ./include/linux/fb.h:696:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | { | ^ ./include/acpi/acpixf.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | ACPI_DBG_DEPENDENT_RETURN_VOID(void | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/acpi.h:44, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/acpi/acpi_bus.h: In function ‘acpi_evaluate_dsm_typed’: ./include/acpi/acpi_bus.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/fs.h: In function ‘call_read_iter’: ./include/acpi/acpi_bus.h: In function ‘to_acpi_hotplug_profile’: ./include/linux/fs.h:1868:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1868 | { | ^ ./include/acpi/acpi_bus.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/fs.h: In function ‘call_write_iter’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:24: ./include/linux/backlight.h: In function ‘backlight_update_status’: ./include/linux/fs.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/backlight.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/fs.h: In function ‘call_mmap’: ./include/linux/fs.h:1879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1879 | { | ^ ./include/linux/fs.h: In function ‘sb_rdonly’: ./include/linux/fs.h:1994:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1994 | static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } | ^~~~~~~~~~~ ./include/linux/fs.h: In function ‘HAS_UNMAPPED_ID’: ./include/acpi/acpi_bus.h: In function ‘is_acpi_node’: ./include/acpi/acpi_bus.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/linux/fs.h:2023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2023 | { | ^ ./include/linux/fs.h: In function ‘file_write_hint’: ./include/acpi/acpi_bus.h: In function ‘is_acpi_static_node’: ./include/acpi/acpi_bus.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/fs.h:2028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2028 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_data_node_match’: ./include/acpi/acpi_bus.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/linux/fs.h: In function ‘ki_hint_validate’: ./include/linux/fs.h:2038:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2038 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_fwnode_handle’: ./include/acpi/acpi_bus.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_driver_data’: ./include/acpi/acpi_bus.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/linux/fs.h: In function ‘init_sync_kiocb’: ./include/acpi/acpi_bus.h: In function ‘acpi_set_device_status’: ./include/linux/fs.h:2047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2047 | { | ^ ./include/acpi/acpi_bus.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_set_hp_context’: ./include/acpi/acpi_bus.h:473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty’: ./include/linux/fs.h:2146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2146 | { | ^ ./include/linux/fs.h: In function ‘mark_inode_dirty_sync’: ./include/linux/fs.h:2151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2151 | { | ^ ./include/linux/fs.h: In function ‘inode_inc_link_count’: ./include/acpi/acpi_bus.h: In function ‘acpi_device_enumerated’: ./include/acpi/acpi_bus.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/linux/fs.h:2161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2161 | { | ^ ./include/linux/fs.h: In function ‘inode_dec_link_count’: ./include/linux/fs.h:2167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2167 | { | ^ ./include/linux/fs.h: In function ‘file_accessed’: ./include/linux/fs.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_power_manageable’: ./include/acpi/acpi_bus.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_wakeup’: ./include/acpi/acpi_bus.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_poweroff’: ./include/acpi/acpi_bus.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/fs.h: In function ‘mount_pseudo’: ./include/linux/fs.h:2274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2274 | { | ^ In file included from ./include/linux/acpi.h:47, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/acpi/acpi_io.h: In function ‘acpi_os_ioremap’: ./include/acpi/acpi_io.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ ./include/linux/fs.h: In function ‘__mandatory_lock’: ./include/linux/fs.h:2340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2340 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/acpi.h: In function ‘acpi_device_handle’: ./include/linux/acpi.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/fs.h: In function ‘mandatory_lock’: ./include/linux/fs.h:2350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2350 | { | ^ ./include/linux/acpi.h: In function ‘acpi_alloc_fwnode_static’: ./include/linux/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_locked’: ./include/linux/fs.h:2355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2355 | { | ^ ./include/linux/acpi.h: In function ‘acpi_free_fwnode_static’: ./include/linux/acpi.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/fs.h: In function ‘locks_verify_truncate’: ./include/linux/acpi.h: In function ‘has_acpi_companion’: ./include/linux/fs.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/acpi.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/acpi.h: In function ‘acpi_preset_companion’: ./include/linux/acpi.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_name’: ./include/linux/acpi.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/fs.h: In function ‘break_lease’: ./include/linux/fs.h:2416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2416 | { | ^ ./include/linux/fs.h: In function ‘break_deleg’: ./include/linux/acpi.h: In function ‘acpi_numa_gicc_affinity_init’: ./include/linux/fs.h:2430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2430 | { | ^ ./include/linux/acpi.h:268:37: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) { } | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/acpi.h: In function ‘invalid_logical_cpuid’: ./include/linux/acpi.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/acpi.h: In function ‘invalid_phys_cpuid’: ./include/linux/acpi.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/fs.h: In function ‘try_break_deleg’: ./include/linux/backlight.h: In function ‘backlight_enable’: ./include/linux/backlight.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/fs.h:2444:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2444 | { | ^ ./include/linux/acpi.h: In function ‘acpi_sci_irq_valid’: ./include/linux/acpi.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/backlight.h: In function ‘backlight_disable’: ./include/linux/backlight.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/fs.h: In function ‘break_deleg_wait’: ./include/linux/backlight.h: In function ‘backlight_put’: ./include/linux/backlight.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/fs.h:2456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2456 | { | ^ ./include/linux/fs.h: In function ‘break_layout’: ./include/linux/backlight.h: In function ‘bl_get_data’: ./include/linux/backlight.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/fs.h:2466:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2466 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_filter_resource_type_cb’: ./include/linux/backlight.h: In function ‘of_find_backlight_by_node’: ./include/linux/backlight.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/acpi.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/linux/fs.h: In function ‘file_clone_open’: ./include/linux/fs.h:2530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2530 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_set_enumerated’: ./include/linux/acpi.h:614:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 614 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_clear_enumerated’: ./include/linux/acpi.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/fs.h: In function ‘sb_is_blkdev_sb’: ./include/linux/fs.h:2579:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2579 | { | ^ ./include/linux/fs.h: In function ‘register_chrdev’: In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:26: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘nvPopCount32’: ./include/linux/fs.h:2666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2666 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_remove_driver_gpios’: ./include/linux/fs.h: In function ‘unregister_chrdev’: ./include/linux/acpi.h:1026:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1026 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘nvPopCount64’: ./include/linux/fs.h:2671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2671 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:389:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 389 | { | ^ ./include/linux/acpi.h: In function ‘acpi_node_get_property_reference’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘nvMaskPos32’: ./include/linux/fs.h: In function ‘invalidate_remote_inode’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/acpi.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/fs.h:2708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2708 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_has_props’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘nvNextPow2_U32’: ./include/linux/acpi.h:1094:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1094 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 453 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘nvPrevPow2_U32’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/fs.h: In function ‘filemap_fdatawait’: ./include/linux/fs.h:2724:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2724 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘NVMISC_MEMSET’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 630 | { | ^ ./include/linux/acpi.h: In function ‘acpi_irq_get’: ./include/linux/fs.h: In function ‘file_write_and_wait’: ./include/linux/acpi.h:1301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1301 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘NVMISC_MEMCPY’: ./include/linux/fs.h:2747:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2747 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./include/linux/acpi.h:1321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1321 | { | ^ ./include/linux/fs.h: In function ‘filemap_set_wb_err’: ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology_package’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h: In function ‘NVMISC_STRNCPY’: /var/lib/dkms/nvidia/390.129/build/common/inc/nvmisc.h:660:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 660 | { | ^ ./include/linux/acpi.h:1325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1325 | { | ^ ./include/linux/fs.h:2766:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2766 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_cache_topology’: ./include/linux/acpi.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/fs.h: In function ‘filemap_check_wb_err’: ./include/linux/fs.h:2784:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2784 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘mem_state_to_string’: ./include/linux/fs.h: In function ‘filemap_sample_wb_err’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/fs.h:2796:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2796 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘bad_idea_write_string_to_file’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/fs.h: In function ‘generic_write_sync’: ./include/linux/fs.h:2810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2810 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘filldir_get_memblock_id’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/fs.h: In function ‘execute_ok’: ./include/linux/fs.h:2833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2833 | { | ^ ./include/linux/fs.h: In function ‘file_start_write’: ./include/linux/fs.h:2838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2838 | { | ^ ./include/linux/fs.h: In function ‘file_start_write_trylock’: In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmalloc’: ./include/linux/fs.h:2845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2845 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘change_memblock_state’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 533 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/fs.h: In function ‘file_end_write’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vfree’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/fs.h:2852:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2852 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:547:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 547 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:555:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 555 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:563:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 563 | { | ^ ./include/linux/fs.h: In function ‘get_write_access’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘change_numa_node_state’: ./include/linux/fs.h:2875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2875 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_iounmap’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/fs.h: In function ‘deny_write_access’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/fs.h:2879:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2879 | { | ^ ./include/linux/fs.h: In function ‘put_write_access’: ./include/linux/fs.h:2884:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2884 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘probe_node_memory’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:348:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 348 | { | ^ ./include/linux/fs.h: In function ‘allow_write_access’: ./include/linux/fs.h:2888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2888 | { | ^ ./include/linux/fs.h: In function ‘inode_is_open_for_write’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vunmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/fs.h:2893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2893 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_dec’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘nv_numa_memblock_size’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:397:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 397 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/fs.h:2899:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2899 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘nv_numa_online_memory’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:418:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 418 | { | ^ ./include/linux/fs.h: In function ‘i_readcount_inc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/fs.h:2904:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2904 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c: In function ‘nv_numa_offline_memory’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.c:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_io_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1065:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1065 | { | ^ ./include/linux/fs.h: In function ‘kernel_read_file_id_str’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_alloc_stack’: ./include/linux/fs.h:2942:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2942 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1112 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_free_stack’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1126 | { | ^ ./include/linux/fs.h: In function ‘generic_drop_inode’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_init_flags’: ./include/linux/fs.h:2981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2981 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1198 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’: In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/fs.h: In function ‘lockdep_annotate_inode_mutex_key’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1221 | { | ^ ./include/linux/fs.h:3008:60: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3008 | static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; | ^~~~~ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1243 | { | ^ ./include/linux/fs.h: In function ‘insert_inode_hash’: ./include/linux/fs.h:3027:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3027 | { | ^ ./include/linux/fs.h: In function ‘remove_inode_hash’: ./include/linux/fs.h:3033:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3033 | { | ^ ./include/linux/fs.h: In function ‘blockdev_direct_IO’: ./include/linux/fs.h:3123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3123 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_begin’: ./include/linux/fs.h:3139:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3139 | { | ^ ./include/linux/fs.h: In function ‘inode_dio_end’: ./include/linux/fs.h:3151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3151 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_node_end_pfn’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_pci_bus_address’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ ./include/linux/fs.h: In function ‘__inode_get_bytes’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_release’: ./include/linux/fs.h:3181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3181 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/fs.h: In function ‘vfs_stat’: ./include/linux/fs.h:3196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3196 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_compress_nvlink_addr’: ./include/linux/fs.h: In function ‘vfs_lstat’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1894 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_expand_nvlink_addr’: ./include/linux/fs.h:3201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3201 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1909:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1909 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstatat’: ./include/linux/fs.h:3207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3207 | { | ^ ./include/linux/fs.h: In function ‘vfs_fstat’: In file included from ./include/linux/kgdb.h:20, from ./include/linux/fb.h:5, from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./arch/x86/include/asm/kgdb.h: In function ‘arch_kgdb_breakpoint’: ./arch/x86/include/asm/kgdb.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/fs.h:3212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3212 | { | ^ ./include/linux/fs.h: In function ‘io_is_direct’: ./include/linux/fs.h:3314:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3314 | { | ^ ./include/linux/fs.h: In function ‘vma_is_dax’: ./include/linux/fs.h:3319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3319 | { | ^ ./include/linux/fs.h: In function ‘vma_is_fsdax’: ./include/linux/fs.h:3324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3324 | { | ^ ./include/linux/fs.h: In function ‘iocb_flags’: ./include/linux/fs.h:3338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3338 | { | ^ ./include/linux/fs.h: In function ‘kiocb_set_rw_flags’: ./include/linux/fs.h:3352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3352 | { | ^ ./include/linux/fs.h: In function ‘parent_ino’: ./include/linux/fs.h:3373:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3373 | { | ^ ./include/linux/fs.h: In function ‘__simple_attr_check_format’: ./include/linux/fs.h:3440:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3440 | { | ^ ./include/linux/fs.h: In function ‘is_sxid’: ./include/linux/fs.h:3470:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3470 | { | ^ ./include/linux/fs.h: In function ‘check_sticky’: ./include/linux/fs.h:3475:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3475 | { | ^ ./include/linux/fs.h: In function ‘inode_has_no_xattr’: ./include/linux/fs.h:3483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3483 | { | ^ ./include/linux/fs.h: In function ‘is_root_inode’: ./include/linux/fs.h:3489:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3489 | { | ^ ./include/linux/fs.h: In function ‘dir_emit’: ./include/linux/fs.h:3496:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3496 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dot’: ./include/linux/fs.h:3500:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3500 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dotdot’: ./include/linux/fs.h:3505:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3505 | { | ^ ./include/linux/fs.h: In function ‘dir_emit_dots’: ./include/linux/fs.h:3510:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3510 | { | ^ ./include/linux/fs.h: In function ‘dir_relax’: ./include/linux/fs.h:3524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3524 | { | ^ ./include/linux/fs.h: In function ‘dir_relax_shared’: In file included from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/fb.h: In function ‘alloc_apertures’: ./include/linux/fs.h:3531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3531 | { | ^ ./include/linux/fb.h:536:22: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | static inline struct apertures_struct *alloc_apertures(unsigned int max_num) { | ^~~~~~~~~~~~~~~~ In file included from ./include/linux/mm.h:526, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/huge_mm.h: In function ‘__transparent_hugepage_enabled’: ./include/linux/huge_mm.h:99:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 99 | { | ^ ./include/linux/fb.h: In function ‘unlock_fb_info’: ./include/linux/fb.h:666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 666 | { | ^ ./include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: ./include/linux/fb.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/huge_mm.h: In function ‘split_huge_page’: ./include/linux/fb.h: In function ‘fb_be_math’: ./include/linux/huge_mm.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/fb.h:696:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | { | ^ ./include/linux/huge_mm.h: In function ‘is_swap_pmd’: ./include/linux/huge_mm.h:189:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 189 | { | ^ ./include/linux/huge_mm.h: In function ‘pmd_trans_huge_lock’: ./include/linux/huge_mm.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/huge_mm.h: In function ‘pud_trans_huge_lock’: ./include/linux/huge_mm.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ ./include/linux/huge_mm.h: In function ‘hpage_nr_pages’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:13: ./include/linux/backlight.h: In function ‘backlight_update_status’: ./include/linux/huge_mm.h:213:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 213 | { | ^ ./include/linux/backlight.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_page’: ./include/linux/backlight.h: In function ‘backlight_enable’: ./include/linux/huge_mm.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/backlight.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/backlight.h: In function ‘backlight_disable’: ./include/linux/backlight.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pmd’: ./include/linux/huge_mm.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/backlight.h: In function ‘backlight_put’: ./include/linux/backlight.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/huge_mm.h: In function ‘is_huge_zero_pud’: ./include/linux/huge_mm.h:239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 239 | { | ^ ./include/linux/huge_mm.h: In function ‘thp_migration_supported’: ./include/linux/huge_mm.h:249:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 249 | { | ^ ./include/linux/backlight.h: In function ‘bl_get_data’: ./include/linux/backlight.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/backlight.h: In function ‘of_find_backlight_by_node’: In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm.h: In function ‘put_page_testzero’: ./include/linux/backlight.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/mm.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/mm.h: In function ‘get_page_unless_zero’: ./include/linux/mm.h:557:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 557 | { | ^ ./include/linux/mm.h: In function ‘is_vmalloc_addr’: ./include/linux/mm.h:583:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 583 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc’: ./include/linux/mm.h:603:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 603 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc_node’: ./include/linux/mm.h:607:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 607 | { | ^ ./include/linux/mm.h: In function ‘kvzalloc’: ./include/linux/mm.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/linux/mm.h: In function ‘kvmalloc_array’: ./include/linux/mm.h:616:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 616 | { | ^ ./include/linux/mm.h: In function ‘kvcalloc’: ./include/linux/mm.h:626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 626 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount_ptr’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘add_device’: ./include/linux/mm.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:79:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | { | ^ ./include/linux/mm.h: In function ‘compound_mapcount’: ./include/linux/mm.h:638:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 638 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘remove_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount_reset’: ./include/linux/mm.h:650:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 650 | { | ^ ./include/linux/mm.h: In function ‘page_mapcount’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_register_module’: ./include/linux/mm.h:657:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 657 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/mm.h: In function ‘virt_to_head_page’: ./include/linux/mm.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_unregister_module’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/mm.h: In function ‘set_compound_page_dtor’: ./include/linux/mm.h:719:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 719 | { | ^ ./include/linux/mm.h: In function ‘get_compound_page_dtor’: ./include/linux/mm.h:725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 725 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_add_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 176 | { | ^ ./include/linux/mm.h: In function ‘compound_order’: ./include/linux/mm.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/mm.h: In function ‘set_compound_order’: ./include/linux/mm.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/mm.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_remove_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/mm.h: In function ‘page_zonenum’: ./include/linux/mm.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_open’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:225:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 225 | { | ^ ./include/linux/mm.h: In function ‘is_zone_device_page’: ./include/linux/mm.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | { | ^ ./include/linux/mm.h: In function ‘put_devmap_managed_page’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_close’: ./include/linux/mm.h:896:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 896 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 259 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_poll’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/mm.h: In function ‘is_device_private_page’: ./include/linux/mm.h:914:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 914 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_ioctl’: ./include/linux/mm.h: In function ‘is_device_public_page’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:299:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 299 | { | ^ ./include/linux/mm.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/mm.h: In function ‘is_pci_p2pdma_page’: ./include/linux/mm.h:933:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 933 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_unlocked_ioctl’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:317:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 317 | { | ^ ./include/linux/mm.h: In function ‘get_page’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_compat_ioctl’: ./include/linux/mm.h:973:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 973 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_mmap’: ./include/linux/mm.h: In function ‘try_get_page’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/mm.h:984:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 984 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nv_init_module’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nv_exit_module’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:363:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 363 | { | ^ ./include/linux/mm.h: In function ‘put_page’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_init_module’: ./include/linux/mm.h:993:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 993 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:375:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 375 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘nvidia_frontend_exit_module’: ./include/linux/mm.h: In function ‘page_zone_id’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:401:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 401 | { | ^ ./include/linux/mm.h:1022:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1022 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘__inittest’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | module_init(nvidia_frontend_init_module); | ^~~~~~~~~~~ ./include/linux/mm.h: In function ‘page_to_nid’: ./include/linux/mm.h:1030:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1030 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c: In function ‘__exittest’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.c:415:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 415 | module_exit(nvidia_frontend_exit_module); | ^~~~~~~~~~~ ./include/linux/mm.h: In function ‘cpu_pid_to_cpupid’: ./include/linux/mm.h:1039:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1039 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_pid’: ./include/linux/mm.h:1044:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1044 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_cpu’: ./include/linux/mm.h:1049:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1049 | { | ^ ./include/linux/mm.h: In function ‘cpupid_to_nid’: ./include/linux/mm.h:1054:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1054 | { | ^ ./include/linux/mm.h: In function ‘cpupid_pid_unset’: ./include/linux/mm.h:1059:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1059 | { | ^ ./include/linux/mm.h: In function ‘cpupid_cpu_unset’: ./include/linux/mm.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/mm.h: In function ‘__cpupid_match_pid’: ./include/linux/mm.h:1069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1069 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_last’: ./include/linux/mm.h:1090:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1090 | { | ^ ./include/linux/mm.h: In function ‘page_cpupid_reset_last’: ./include/linux/mm.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag’: ./include/linux/mm.h:1165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1165 | { | ^ ./include/linux/mm.h: In function ‘page_kasan_tag_set’: ./include/linux/mm.h:1169:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | static inline void page_kasan_tag_set(struct page *page, u8 tag) { } | ^~~~ ./include/linux/mm.h: In function ‘page_kasan_tag_reset’: ./include/linux/mm.h:1170:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1170 | static inline void page_kasan_tag_reset(struct page *page) { } | ^~~~ ./include/linux/mm.h: In function ‘page_zone’: ./include/linux/mm.h:1174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1174 | { | ^ ./include/linux/mm.h: In function ‘page_pgdat’: ./include/linux/mm.h:1179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1179 | { | ^ ./include/linux/mm.h: In function ‘set_page_zone’: ./include/linux/mm.h:1197:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1197 | { | ^ ./include/linux/mm.h: In function ‘set_page_node’: ./include/linux/mm.h:1203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1203 | { | ^ ./include/linux/mm.h: In function ‘set_page_links’: ./include/linux/mm.h:1210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1210 | { | ^ ./include/linux/mm.h: In function ‘page_memcg’: ./include/linux/mm.h:1220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1220 | { | ^ ./include/linux/mm.h: In function ‘page_memcg_rcu’: ./include/linux/mm.h:1224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1224 | { | ^ In file included from ./include/linux/mm.h:1243, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/vmstat.h: In function ‘__count_vm_event’: ./include/linux/vmstat.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_event’: ./include/linux/vmstat.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/linux/vmstat.h: In function ‘__count_vm_events’: ./include/linux/vmstat.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/linux/vmstat.h: In function ‘count_vm_events’: ./include/linux/vmstat.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/vmstat.h: In function ‘zone_numa_state_add’: ./include/linux/vmstat.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/vmstat.h: In function ‘global_numa_state’: ./include/linux/vmstat.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ make[2]: *** [scripts/Makefile.build:286: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-gpu-numa.o] Error 1 ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/vmstat.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_add’: ./include/linux/vmstat.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/vmstat.h: In function ‘node_page_state_add’: ./include/linux/vmstat.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/vmstat.h: In function ‘global_zone_page_state’: ./include/linux/vmstat.h:178:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 178 | { | ^ ./include/linux/vmstat.h: In function ‘global_node_page_state’: ./include/linux/vmstat.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state’: ./include/linux/vmstat.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/vmstat.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/vmstat.h: In function ‘__mod_zone_freepage_state’: ./include/linux/vmstat.h:376:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 376 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm.h: In function ‘lowmem_page_address’: ./include/linux/mm.h:1246:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1246 | { | ^ ./include/linux/mm.h: In function ‘page_file_mapping’: ./include/linux/mm.h:1286:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1286 | { | ^ ./include/linux/mm.h: In function ‘page_index’: ./include/linux/mm.h:1300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1300 | { | ^ ./include/linux/mm.h: In function ‘page_is_pfmemalloc’: ./include/linux/mm.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/mm.h: In function ‘set_page_pfmemalloc’: ./include/linux/mm.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ ./include/linux/mm.h: In function ‘clear_page_pfmemalloc’: ./include/linux/mm.h:1334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1334 | { | ^ ./include/linux/mm.h: In function ‘unmap_shared_mapping_range’: ./include/linux/mm.h:1530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1530 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_count’: ./include/linux/mm.h:1610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1610 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pages’: ./include/linux/mm.h:1615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1615 | { | ^ ./include/linux/mm.h: In function ‘frame_vector_pfns’: ./include/linux/mm.h:1626:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1626 | { | ^ ./include/linux/mm.h: In function ‘cancel_dirty_page’: ./include/linux/mm.h:1654:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1654 | { | ^ ./include/linux/mm.h: In function ‘vma_is_anonymous’: ./include/linux/mm.h:1664:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1664 | { | ^ make[2]: *** [scripts/Makefile.build:286: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-frontend.o] Error 1 ./include/linux/mm.h: In function ‘get_mm_counter’: ./include/linux/mm.h:1700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1700 | { | ^ ./include/linux/mm.h: In function ‘add_mm_counter’: ./include/linux/mm.h:1715:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1715 | { | ^ ./include/linux/mm.h: In function ‘inc_mm_counter’: ./include/linux/mm.h:1720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1720 | { | ^ ./include/linux/mm.h: In function ‘dec_mm_counter’: ./include/linux/mm.h:1725:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1725 | { | ^ ./include/linux/mm.h: In function ‘mm_counter_file’: ./include/linux/mm.h:1731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1731 | { | ^ ./include/linux/mm.h: In function ‘mm_counter’: ./include/linux/mm.h:1738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1738 | { | ^ ./include/linux/mm.h: In function ‘get_mm_rss’: ./include/linux/mm.h:1745:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1745 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_rss’: ./include/linux/mm.h:1752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1752 | { | ^ ./include/linux/mm.h: In function ‘get_mm_hiwater_vm’: ./include/linux/mm.h:1757:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1757 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_rss’: ./include/linux/mm.h:1762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1762 | { | ^ ./include/linux/mm.h: In function ‘update_hiwater_vm’: ./include/linux/mm.h:1770:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1770 | { | ^ ./include/linux/mm.h: In function ‘reset_mm_hiwater_rss’: ./include/linux/mm.h:1776:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1776 | { | ^ ./include/linux/mm.h: In function ‘setmax_mm_hiwater_rss’: ./include/linux/mm.h:1782:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1782 | { | ^ ./include/linux/mm.h: In function ‘get_locked_pte’: ./include/linux/mm.h:1810:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1810 | { | ^ ./include/linux/mm.h: In function ‘__p4d_alloc’: ./include/linux/mm.h:1819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1819 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_puds’: ./include/linux/mm.h:1839:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1839 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_puds’: ./include/linux/mm.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/mm.h:1867:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1867 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/mm.h:1874:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1874 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes_init’: ./include/linux/mm.h:1883:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1883 | { | ^ ./include/linux/mm.h: In function ‘mm_pgtables_bytes’: ./include/linux/mm.h:1888:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1888 | { | ^ ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/mm.h:1893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1893 | { | ^ ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/mm.h:1898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1898 | { | ^ ./include/linux/mm.h: In function ‘p4d_alloc’: ./include/linux/mm.h:1925:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1925 | { | ^ ./include/linux/mm.h: In function ‘pud_alloc’: ./include/linux/mm.h:1932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1932 | { | ^ ./include/linux/mm.h: In function ‘pmd_alloc’: ./include/linux/mm.h:1939:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1939 | { | ^ ./include/linux/mm.h: In function ‘ptlock_cache_init’: ./include/linux/mm.h:1957:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1957 | { | ^ ./include/linux/mm.h: In function ‘ptlock_alloc’: ./include/linux/mm.h:1961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1961 | { | ^ ./include/linux/mm.h: In function ‘ptlock_free’: ./include/linux/mm.h:1966:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1966 | { | ^ ./include/linux/mm.h: In function ‘ptlock_ptr’: ./include/linux/mm.h:1970:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1970 | { | ^ ./include/linux/mm.h: In function ‘pte_lockptr’: ./include/linux/mm.h:1976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1976 | { | ^ ./include/linux/mm.h: In function ‘ptlock_init’: ./include/linux/mm.h:1981:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1981 | { | ^ ./include/linux/mm.h: In function ‘pgtable_init’: ./include/linux/mm.h:2010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2010 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_ctor’: ./include/linux/mm.h:2016:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2016 | { | ^ ./include/linux/mm.h: In function ‘pgtable_page_dtor’: ./include/linux/mm.h:2025:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2025 | { | ^ ./include/linux/mm.h: In function ‘pmd_to_page’: ./include/linux/mm.h:2061:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2061 | { | ^ ./include/linux/mm.h: In function ‘pmd_lockptr’: ./include/linux/mm.h:2067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2067 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_ctor’: ./include/linux/mm.h:2072:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2072 | { | ^ ./include/linux/mm.h: In function ‘pgtable_pmd_page_dtor’: ./include/linux/mm.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/mm.h: In function ‘pmd_lock’: ./include/linux/mm.h:2104:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2104 | { | ^ ./include/linux/mm.h: In function ‘pud_lockptr’: ./include/linux/mm.h:2117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2117 | { | ^ ./include/linux/mm.h: In function ‘pud_lock’: ./include/linux/mm.h:2122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2122 | { | ^ ./include/linux/mm.h: In function ‘__free_reserved_page’: ./include/linux/mm.h:2159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2159 | { | ^ ./include/linux/mm.h: In function ‘free_reserved_page’: ./include/linux/mm.h:2166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2166 | { | ^ ./include/linux/mm.h: In function ‘mark_page_reserved’: ./include/linux/mm.h:2172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2172 | { | ^ ./include/linux/mm.h: In function ‘free_initmem_default’: ./include/linux/mm.h:2184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2184 | { | ^ ./include/linux/mm.h: In function ‘get_num_physpages’: ./include/linux/mm.h:2192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2192 | { | ^ ./include/linux/mm.h: In function ‘vma_adjust’: ./include/linux/mm.h:2338:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2338 | { | ^ ./include/linux/mm.h: In function ‘check_data_rlimit’: ./include/linux/mm.h:2364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2364 | { | ^ ./include/linux/mm.h: In function ‘do_mmap_pgoff’: ./include/linux/mm.h:2413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2413 | { | ^ ./include/linux/mm.h: In function ‘mm_populate’: ./include/linux/mm.h:2421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2421 | { | ^ ./include/linux/mm.h: In function ‘vm_unmapped_area’: ./include/linux/mm.h:2461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2461 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/mm.h: In function ‘find_vma_intersection’: ./include/linux/mm.h:2525:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2525 | { | ^ ./include/linux/mm.h: In function ‘vm_start_gap’: ./include/linux/mm.h:2534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2534 | { | ^ ./include/linux/mm.h: In function ‘vm_end_gap’: ./include/linux/mm.h:2546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2546 | { | ^ ./include/linux/mm.h: In function ‘vma_pages’: ./include/linux/mm.h:2558:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2558 | { | ^ ./include/linux/mm.h: In function ‘find_exact_vma’: ./include/linux/mm.h:2565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2565 | { | ^ ./include/linux/mm.h: In function ‘range_in_vma’: ./include/linux/mm.h:2576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2576 | { | ^ ./include/linux/mm.h: In function ‘vmf_insert_page’: ./include/linux/mm.h:2615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2615 | { | ^ ./include/linux/mm.h: In function ‘vmf_error’: ./include/linux/mm.h:2627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2627 | { | ^ ./include/linux/mm.h: In function ‘vm_fault_to_errno’: ./include/linux/mm.h:2655:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2655 | { | ^ ./include/linux/mm.h: In function ‘kernel_map_pages’: ./include/linux/mm.h:2702:25: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2702 | kernel_map_pages(struct page *page, int numpages, int enable) {} | ^~~~ ./include/linux/mm.h: In function ‘kernel_page_present’: ./include/linux/mm.h:2704:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2704 | static inline bool kernel_page_present(struct page *page) { return true; } | ^~~~ ./include/linux/mm.h: In function ‘debug_pagealloc_enabled’: ./include/linux/mm.h:2707:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2707 | { | ^ ./include/linux/mm.h: In function ‘debug_guardpage_minorder’: ./include/linux/mm.h:2870:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2870 | static inline unsigned int debug_guardpage_minorder(void) { return 0; } | ^~~~~~ ./include/linux/mm.h: In function ‘debug_guardpage_enabled’: ./include/linux/mm.h:2871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2871 | static inline bool debug_guardpage_enabled(void) { return false; } | ^~~~~~ ./include/linux/mm.h: In function ‘page_is_guard’: ./include/linux/mm.h:2872:41: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2872 | static inline bool page_is_guard(struct page *page) { return false; } | ^~~~ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:20, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_noncached_weak’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:23:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 23 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h: In function ‘pgprot_modify_writecombine’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-pgprot.h:40:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:21, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:88:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:134:9: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h: In function ‘nv_page_fault_va’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-mm.h:207:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:23, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_typed_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_callback_anon_data’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h: In function ‘nv_timer_setup’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-timer.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ In file included from ./include/linux/utsname.h:7, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kref.h: In function ‘kref_init’: ./include/linux/kref.h:32:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 32 | { | ^ ./include/linux/kref.h: In function ‘kref_read’: ./include/linux/kref.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./include/linux/kref.h: In function ‘kref_get’: ./include/linux/kref.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/kref.h: In function ‘kref_put’: ./include/linux/kref.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/kref.h: In function ‘kref_put_mutex’: ./include/linux/kref.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/kref.h: In function ‘kref_put_lock’: ./include/linux/kref.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/kref.h: In function ‘kref_get_unless_zero’: ./include/linux/kref.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/utsname.h:8, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/nsproxy.h: In function ‘put_nsproxy’: ./include/linux/nsproxy.h:77:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | { | ^ ./include/linux/nsproxy.h: In function ‘get_nsproxy’: ./include/linux/nsproxy.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:44, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/utsname.h: In function ‘get_uts_ns’: ./include/linux/utsname.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 35 | { | ^ ./include/linux/utsname.h: In function ‘put_uts_ns’: ./include/linux/utsname.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/utsname.h: In function ‘utsname’: ./include/linux/utsname.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/utsname.h: In function ‘init_utsname’: ./include/linux/utsname.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ In file included from ./include/linux/umh.h:9, from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sysctl.h: In function ‘proc_sys_poll_event’: ./include/linux/sysctl.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ In file included from ./include/linux/kmod.h:22, from ./include/linux/module.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/umh.h: In function ‘usermodehelper_disable’: ./include/linux/umh.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/umh.h: In function ‘usermodehelper_enable’: ./include/linux/umh.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ In file included from ./arch/x86/include/asm/elf.h:13, from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_read_cpu’: ./arch/x86/include/asm/fsgsbase.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_read_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:34:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 34 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_fsbase_write_cpu’: ./arch/x86/include/asm/fsgsbase.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/fsgsbase.h: In function ‘x86_gsbase_write_cpu_inactive’: ./arch/x86/include/asm/fsgsbase.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./include/linux/elf.h:5, from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/elf.h: In function ‘elf_common_init’: ./arch/x86/include/asm/elf.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./arch/x86/include/asm/elf.h: In function ‘mmap_is_ia32’: ./arch/x86/include/asm/elf.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ In file included from ./include/linux/module.h:15, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_size’: ./include/linux/elf.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | static inline int elf_coredump_extra_notes_size(void) { return 0; } | ^~~~~~ ./include/linux/elf.h: In function ‘elf_coredump_extra_notes_write’: ./include/linux/elf.h:54:57: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; } | ^~~~~~~~~~~~~~~ In file included from ./include/linux/kernfs.h:14, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/idr.h: In function ‘idr_get_cursor’: ./include/linux/idr.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/idr.h: In function ‘idr_set_cursor’: ./include/linux/idr.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/idr.h: In function ‘idr_init_base’: ./include/linux/idr.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/idr.h: In function ‘idr_init’: ./include/linux/idr.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/idr.h: In function ‘idr_is_empty’: ./include/linux/idr.h:161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 161 | { | ^ ./include/linux/idr.h: In function ‘idr_preload_end’: ./include/linux/idr.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc’: ./include/linux/idr.h:254:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 254 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_min’: ./include/linux/idr.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/idr.h: In function ‘ida_alloc_max’: ./include/linux/idr.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/linux/idr.h: In function ‘ida_init’: ./include/linux/idr.h:293:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 293 | { | ^ ./include/linux/idr.h: In function ‘ida_is_empty’: ./include/linux/idr.h:302:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 302 | { | ^ In file included from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kernfs.h: In function ‘kernfs_type’: ./include/linux/kernfs.h:274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 274 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_enable_ns’: ./include/linux/kernfs.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_ns_enabled’: ./include/linux/kernfs.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_path’: ./include/linux/kernfs.h:487:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 487 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_find_and_get’: ./include/linux/kernfs.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_walk_and_get’: ./include/linux/kernfs.h:499:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 499 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_dir’: ./include/linux/kernfs.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file_ns’: ./include/linux/kernfs.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_create_file’: ./include/linux/kernfs.h:530:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 530 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_remove_by_name’: ./include/linux/kernfs.h:538:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 538 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_rename’: ./include/linux/kernfs.h:545:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 545 | { | ^ ./include/linux/kernfs.h: In function ‘kernfs_mount’: ./include/linux/kernfs.h:553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 553 | { | ^ In file included from ./include/linux/kobject.h:20, from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sysfs.h: In function ‘sysfs_enable_ns’: ./include/linux/sysfs.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_create_file’: ./include/linux/sysfs.h:512:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 512 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_remove_file’: ./include/linux/sysfs.h:518:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 518 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_rename_link’: ./include/linux/sysfs.h:524:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 524 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_notify_dirent’: ./include/linux/sysfs.h:529:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 529 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get_dirent’: ./include/linux/sysfs.h:535:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 535 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_get’: ./include/linux/sysfs.h:540:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 540 | { | ^ ./include/linux/sysfs.h: In function ‘sysfs_put’: ./include/linux/sysfs.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ In file included from ./include/linux/module.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kobject.h: In function ‘kobject_name’: ./include/linux/kobject.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/kobject.h: In function ‘kobject_has_children’: ./include/linux/kobject.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/kobject.h: In function ‘to_kset’: ./include/linux/kobject.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/kobject.h: In function ‘kset_get’: ./include/linux/kobject.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/kobject.h: In function ‘kset_put’: ./include/linux/kobject.h:217:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 217 | { | ^ ./include/linux/kobject.h: In function ‘get_ktype’: ./include/linux/kobject.h:222:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 222 | { | ^ In file included from ./include/linux/module.h:21, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rbtree_latch.h: In function ‘__lt_from_rb’: ./include/linux/rbtree_latch.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ ./include/linux/rbtree_latch.h: In function ‘__lt_insert’: ./include/linux/rbtree_latch.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/rbtree_latch.h: In function ‘__lt_erase’: ./include/linux/rbtree_latch.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/rbtree_latch.h: In function ‘__lt_find’: ./include/linux/rbtree_latch.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_insert’: ./include/linux/rbtree_latch.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_erase’: ./include/linux/rbtree_latch.h:174:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 174 | { | ^ ./include/linux/rbtree_latch.h: In function ‘latch_tree_find’: ./include/linux/rbtree_latch.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/module.h: In function ‘kallsyms_symbol_value’: ./include/linux/module.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/module.h: In function ‘module_is_live’: ./include/linux/module.h:506:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 506 | { | ^ ./include/linux/module.h: In function ‘within_module_core’: ./include/linux/module.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ ./include/linux/module.h: In function ‘within_module_init’: ./include/linux/module.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/module.h: In function ‘within_module’: ./include/linux/module.h:532:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 532 | { | ^ ./include/linux/module.h: In function ‘module_requested_async_probing’: ./include/linux/module.h:646:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 646 | { | ^ ./include/linux/module.h: In function ‘is_livepatch_module’: ./include/linux/module.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:65, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/module.h: In function ‘module_sig_ok’: ./include/linux/module.h:842:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 842 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:89, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ctype.h: In function ‘isdigit’: ./include/linux/ctype.h:27:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 27 | { | ^ ./include/linux/ctype.h: In function ‘__tolower’: ./include/linux/ctype.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./include/linux/ctype.h: In function ‘__toupper’: ./include/linux/ctype.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/ctype.h: In function ‘_tolower’: ./include/linux/ctype.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/ctype.h: In function ‘isodigit’: ./include/linux/ctype.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./include/linux/cpufreq.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/clk.h: In function ‘clk_prepare_enable’: ./include/linux/clk.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/clk.h: In function ‘clk_disable_unprepare’: ./include/linux/clk.h:838:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 838 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_prepare_enable’: ./include/linux/clk.h:845:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 845 | { | ^ ./include/linux/clk.h: In function ‘clk_bulk_disable_unprepare’: ./include/linux/clk.h:860:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 860 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get’: ./include/linux/clk.h:871:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 871 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_by_name’: ./include/linux/clk.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | { | ^ ./include/linux/clk.h: In function ‘of_clk_get_from_provider’: ./include/linux/clk.h:880:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 880 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:91, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/cpufreq.h: In function ‘policy_is_shared’: ./include/linux/cpufreq.h:179:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 179 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_limits’: ./include/linux/cpufreq.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_verify_within_cpu_limits’: ./include/linux/cpufreq.h:404:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 404 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_scale’: ./include/linux/cpufreq.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_policy_apply_limits’: ./include/linux/cpufreq.h:536:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_this_cpu_can_update’: ./include/linux/cpufreq.h:567:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 567 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_al’: ./include/linux/cpufreq.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dl’: ./include/linux/cpufreq.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_l’: ./include/linux/cpufreq.h:738:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 738 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ah’: ./include/linux/cpufreq.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dh’: ./include/linux/cpufreq.h:780:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 780 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_h’: ./include/linux/cpufreq.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_ac’: ./include/linux/cpufreq.h:813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 813 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_dc’: ./include/linux/cpufreq.h:847:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 847 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_find_index_c’: ./include/linux/cpufreq.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_frequency_table_target’: ./include/linux/cpufreq.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/cpufreq.h: In function ‘cpufreq_table_count_valid_entries’: ./include/linux/cpufreq.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/cpufreq.h: In function ‘sched_cpufreq_governor_change’: ./include/linux/cpufreq.h:950:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 950 | struct cpufreq_governor *old_gov) { } | ^~~~~~~~~~~~~~~~ In file included from ./include/linux/slab.h:131, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/kasan.h: In function ‘kasan_unpoison_shadow’: ./include/linux/kasan.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | static inline void kasan_unpoison_shadow(const void *address, size_t size) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_task_stack’: ./include/linux/kasan.h:90:53: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | static inline void kasan_unpoison_task_stack(struct task_struct *task) {} | ^~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_stack_above_sp_to’: ./include/linux/kasan.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | static inline void kasan_unpoison_stack_above_sp_to(const void *watermark) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_enable_current’: ./include/linux/kasan.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void kasan_enable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_disable_current’: ./include/linux/kasan.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void kasan_disable_current(void) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_alloc_pages’: ./include/linux/kasan.h:96:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | static inline void kasan_alloc_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_free_pages’: ./include/linux/kasan.h:97:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | static inline void kasan_free_pages(struct page *page, unsigned int order) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_cache_create’: ./include/linux/kasan.h:101:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | slab_flags_t *flags) {} | ^~~~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_poison_slab’: ./include/linux/kasan.h:103:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | static inline void kasan_poison_slab(struct page *page) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_unpoison_object_data’: ./include/linux/kasan.h:105:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_poison_object_data’: ./include/linux/kasan.h:107:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | void *object) {} | ^~~~ ./include/linux/kasan.h: In function ‘kasan_init_slab_obj’: ./include/linux/kasan.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kmalloc_large’: ./include/linux/kasan.h:115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 115 | { | ^ ./include/linux/kasan.h: In function ‘kasan_kfree_large’: ./include/linux/kasan.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_poison_kfree’: ./include/linux/kasan.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_kmalloc’: ./include/linux/kasan.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/kasan.h: In function ‘kasan_krealloc’: ./include/linux/kasan.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_alloc’: ./include/linux/kasan.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/kasan.h: In function ‘kasan_slab_free’: ./include/linux/kasan.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/kasan.h: In function ‘kasan_module_alloc’: ./include/linux/kasan.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | static inline int kasan_module_alloc(void *addr, size_t size) { return 0; } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_free_shadow’: ./include/linux/kasan.h:143:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 143 | static inline void kasan_free_shadow(const struct vm_struct *vm) {} | ^~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_add_zero_shadow’: ./include/linux/kasan.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/kasan.h: In function ‘kasan_remove_zero_shadow’: ./include/linux/kasan.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | {} | ^ ./include/linux/kasan.h: In function ‘kasan_unpoison_slab’: ./include/linux/kasan.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | static inline void kasan_unpoison_slab(const void *ptr) { } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_metadata_size’: ./include/linux/kasan.h:154:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shrink’: ./include/linux/kasan.h:167:46: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | static inline void kasan_cache_shrink(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_cache_shutdown’: ./include/linux/kasan.h:168:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} | ^~~~~~~~~~ ./include/linux/kasan.h: In function ‘kasan_init_tags’: ./include/linux/kasan.h:185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 185 | static inline void kasan_init_tags(void) { } | ^~~~~~ ./include/linux/kasan.h: In function ‘kasan_reset_tag’: ./include/linux/kasan.h:188:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 188 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:93, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/slab.h: In function ‘kmalloc_type’: ./include/linux/slab.h:318:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 318 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_index’: ./include/linux/slab.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./include/linux/slab.h: In function ‘kfree_bulk’: ./include/linux/slab.h:407:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 407 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_large’: ./include/linux/slab.h:478:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 478 | { | ^ ./include/linux/slab.h: In function ‘kmalloc’: ./include/linux/slab.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_size’: ./include/linux/slab.h:561:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 561 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_node’: ./include/linux/slab.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array’: ./include/linux/slab.h:663:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 663 | { | ^ ./include/linux/slab.h: In function ‘kcalloc’: ./include/linux/slab.h:680:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 680 | { | ^ ./include/linux/slab.h: In function ‘kmalloc_array_node’: ./include/linux/slab.h:698:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 698 | { | ^ ./include/linux/slab.h: In function ‘kcalloc_node’: ./include/linux/slab.h:709:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 709 | { | ^ ./include/linux/slab.h: In function ‘kmem_cache_zalloc’: ./include/linux/slab.h:731:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 731 | { | ^ ./include/linux/slab.h: In function ‘kzalloc’: ./include/linux/slab.h:741:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 741 | { | ^ ./include/linux/slab.h: In function ‘kzalloc_node’: ./include/linux/slab.h:752:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 752 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:12, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/smap.h: In function ‘clac’: ./arch/x86/include/asm/smap.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./arch/x86/include/asm/smap.h: In function ‘stac’: ./arch/x86/include/asm/smap.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: ./arch/x86/include/asm/uaccess.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/uaccess.h: In function ‘__chk_range_not_ok’: ./arch/x86/include/asm/uaccess.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ In file included from ./arch/x86/include/asm/uaccess.h:695, from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_user_generic’: ./arch/x86/include/asm/uaccess_64.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user_mcsafe’: ./arch/x86/include/asm/uaccess_64.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_from_user’: ./arch/x86/include/asm/uaccess_64.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_to_user’: ./arch/x86/include/asm/uaccess_64.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘raw_copy_in_user’: ./arch/x86/include/asm/uaccess_64.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_inatomic_nocache’: ./arch/x86/include/asm/uaccess_64.h:198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 198 | { | ^ ./arch/x86/include/asm/uaccess_64.h: In function ‘__copy_from_user_flushcache’: ./arch/x86/include/asm/uaccess_64.h:205:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 205 | { | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘user_access_begin’: ./arch/x86/include/asm/uaccess.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ In file included from ./include/linux/poll.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/uaccess.h: In function ‘__copy_from_user_inatomic’: ./include/linux/uaccess.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_from_user’: ./include/linux/uaccess.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_to_user_inatomic’: ./include/linux/uaccess.h:90:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 90 | { | ^ ./include/linux/uaccess.h: In function ‘__copy_to_user’: ./include/linux/uaccess.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/uaccess.h: In function ‘copy_from_user’: ./include/linux/uaccess.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/uaccess.h: In function ‘copy_to_user’: ./include/linux/uaccess.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | { | ^ ./include/linux/uaccess.h: In function ‘copy_in_user’: ./include/linux/uaccess.h:158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 158 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_inc’: ./include/linux/uaccess.h:167:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 167 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disabled_dec’: ./include/linux/uaccess.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_disable’: ./include/linux/uaccess.h:184:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 184 | { | ^ ./include/linux/uaccess.h: In function ‘pagefault_enable’: ./include/linux/uaccess.h:194:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 194 | { | ^ In file included from ./include/linux/poll.h:14, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/uapi/linux/eventpoll.h: In function ‘ep_take_care_of_epollwakeup’: ./include/uapi/linux/eventpoll.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:96, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/poll.h: In function ‘poll_wait’: ./include/linux/poll.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/poll.h: In function ‘poll_does_not_wait’: ./include/linux/poll.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/linux/poll.h: In function ‘poll_requested_events’: ./include/linux/poll.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/poll.h: In function ‘init_poll_funcptr’: ./include/linux/poll.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/linux/poll.h: In function ‘file_can_poll’: ./include/linux/poll.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | { | ^ ./include/linux/poll.h: In function ‘vfs_poll’: ./include/linux/poll.h:83:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 83 | { | ^ ./include/linux/poll.h: In function ‘mangle_poll’: ./include/linux/poll.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/poll.h: In function ‘demangle_poll’: ./include/linux/poll.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:97, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/delay.h: In function ‘ssleep’: ./include/linux/delay.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ In file included from ./include/linux/sched/signal.h:6, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/signal.h: In function ‘copy_siginfo’: ./include/linux/signal.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/signal.h: In function ‘clear_siginfo’: ./include/linux/signal.h:21:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 21 | { | ^ ./include/linux/signal.h: In function ‘sigaddset’: ./include/linux/signal.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/signal.h: In function ‘sigdelset’: ./include/linux/signal.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/signal.h: In function ‘sigismember’: ./include/linux/signal.h:73:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 73 | { | ^ ./include/linux/signal.h: In function ‘sigisemptyset’: ./include/linux/signal.h:84:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 84 | { | ^ ./include/linux/signal.h: In function ‘sigequalsets’: ./include/linux/signal.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/signal.h: In function ‘sigorsets’: ./include/linux/signal.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~ ./include/linux/signal.h: In function ‘sigandsets’: ./include/linux/signal.h:150:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 150 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~ ./include/linux/signal.h: In function ‘sigandnsets’: ./include/linux/signal.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~ ./include/linux/signal.h: In function ‘signotset’: ./include/linux/signal.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~ ./include/linux/signal.h: In function ‘sigemptyset’: ./include/linux/signal.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 183 | { | ^ ./include/linux/signal.h: In function ‘sigfillset’: ./include/linux/signal.h:196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 196 | { | ^ ./include/linux/signal.h: In function ‘sigaddsetmask’: ./include/linux/signal.h:211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 211 | { | ^ ./include/linux/signal.h: In function ‘sigdelsetmask’: ./include/linux/signal.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/signal.h: In function ‘sigtestsetmask’: ./include/linux/signal.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/signal.h: In function ‘siginitset’: ./include/linux/signal.h:226:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 226 | { | ^ ./include/linux/signal.h: In function ‘siginitsetinv’: ./include/linux/signal.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/signal.h: In function ‘init_sigpending’: ./include/linux/signal.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/signal.h: In function ‘valid_signal’: ./include/linux/signal.h:261:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 261 | { | ^ ./include/linux/signal.h: In function ‘allow_signal’: ./include/linux/signal.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/signal.h: In function ‘disallow_signal’: ./include/linux/signal.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ In file included from ./include/linux/sched/signal.h:9, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/task.h: In function ‘put_task_struct’: ./include/linux/sched/task.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/sched/task.h: In function ‘task_stack_vm_area’: ./include/linux/sched/task.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/sched/task.h: In function ‘task_lock’: ./include/linux/sched/task.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/sched/task.h: In function ‘task_unlock’: ./include/linux/sched/task.h:151:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 151 | { | ^ In file included from ./include/linux/key.h:25, from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/assoc_array.h: In function ‘assoc_array_init’: ./include/linux/assoc_array.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ In file included from ./include/linux/cred.h:17, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/key.h: In function ‘make_key_ref’: ./include/linux/key.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/key.h: In function ‘key_ref_to_ptr’: ./include/linux/key.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./include/linux/key.h: In function ‘is_key_possessed’: ./include/linux/key.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 127 | { | ^ ./include/linux/key.h: In function ‘__key_get’: ./include/linux/key.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/key.h: In function ‘key_get’: ./include/linux/key.h:264:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 264 | { | ^ ./include/linux/key.h: In function ‘key_ref_put’: ./include/linux/key.h:269:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 269 | { | ^ ./include/linux/key.h: In function ‘key_serial’: ./include/linux/key.h:343:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 343 | { | ^ ./include/linux/key.h: In function ‘key_read_state’: ./include/linux/key.h:364:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 364 | { | ^ ./include/linux/key.h: In function ‘key_is_positive’: ./include/linux/key.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/linux/key.h: In function ‘key_is_negative’: ./include/linux/key.h:382:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 382 | { | ^ In file included from ./include/linux/sched/user.h:8, from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ratelimit.h: In function ‘ratelimit_state_init’: ./include/linux/ratelimit.h:42:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 42 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_default_init’: ./include/linux/ratelimit.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_state_exit’: ./include/linux/ratelimit.h:57:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 57 | { | ^ ./include/linux/ratelimit.h: In function ‘ratelimit_set_flags’: ./include/linux/ratelimit.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 70 | { | ^ In file included from ./include/linux/cred.h:21, from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/user.h: In function ‘get_uid’: ./include/linux/sched/user.h:62:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 62 | { | ^ In file included from ./include/linux/sched/signal.h:10, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/cred.h: In function ‘get_group_info’: ./include/linux/cred.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | { | ^ ./include/linux/cred.h: In function ‘validate_creds’: ./include/linux/cred.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/cred.h: In function ‘validate_creds_for_do_exit’: ./include/linux/cred.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/cred.h: In function ‘validate_process_creds’: ./include/linux/cred.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 210 | { | ^ ./include/linux/cred.h: In function ‘cap_ambient_invariant_ok’: ./include/linux/cred.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/cred.h: In function ‘get_new_cred’: ./include/linux/cred.h:229:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 229 | { | ^ ./include/linux/cred.h: In function ‘get_cred’: ./include/linux/cred.h:248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 248 | { | ^ ./include/linux/cred.h: In function ‘get_cred_rcu’: ./include/linux/cred.h:257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 257 | { | ^ ./include/linux/cred.h: In function ‘put_cred’: ./include/linux/cred.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:106, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/sched/signal.h: In function ‘signal_set_stop_flags’: ./include/linux/sched/signal.h:258:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 258 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_group_exit’: ./include/linux/sched/signal.h:265:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 265 | { | ^ ./include/linux/sched/signal.h: In function ‘kernel_dequeue_signal’: ./include/linux/sched/signal.h:276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 276 | { | ^ ./include/linux/sched/signal.h: In function ‘kernel_signal_stop’: ./include/linux/sched/signal.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/sched/signal.h: In function ‘restart_syscall’: ./include/linux/sched/signal.h:345:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 345 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending’: ./include/linux/sched/signal.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/sched/signal.h: In function ‘__fatal_signal_pending’: ./include/linux/sched/signal.h:356:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 356 | { | ^ ./include/linux/sched/signal.h: In function ‘fatal_signal_pending’: ./include/linux/sched/signal.h:361:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 361 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_pending_state’: ./include/linux/sched/signal.h:366:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 366 | { | ^ ./include/linux/sched/signal.h: In function ‘signal_wake_up’: ./include/linux/sched/signal.h:388:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 388 | { | ^ ./include/linux/sched/signal.h: In function ‘ptrace_signal_wake_up’: ./include/linux/sched/signal.h:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ ./include/linux/sched/signal.h: In function ‘set_restore_sigmask’: ./include/linux/sched/signal.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 447 | { | ^ ./include/linux/sched/signal.h: In function ‘clear_tsk_restore_sigmask’: ./include/linux/sched/signal.h:452:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 452 | { | ^ ./include/linux/sched/signal.h: In function ‘clear_restore_sigmask’: ./include/linux/sched/signal.h:456:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 456 | { | ^ ./include/linux/sched/signal.h: In function ‘test_restore_sigmask’: ./include/linux/sched/signal.h:460:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 460 | { | ^ ./include/linux/sched/signal.h: In function ‘test_tsk_restore_sigmask’: ./include/linux/sched/signal.h:464:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 464 | { | ^ ./include/linux/sched/signal.h: In function ‘test_and_clear_restore_sigmask’: ./include/linux/sched/signal.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/sched/signal.h: In function ‘restore_saved_sigmask’: ./include/linux/sched/signal.h:477:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 477 | { | ^ ./include/linux/sched/signal.h: In function ‘sigmask_to_save’: ./include/linux/sched/signal.h:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ ./include/linux/sched/signal.h: In function ‘kill_cad_pid’: ./include/linux/sched/signal.h:491:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 491 | { | ^ ./include/linux/sched/signal.h: In function ‘on_sig_stack’: ./include/linux/sched/signal.h:503:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 503 | { | ^ ./include/linux/sched/signal.h: In function ‘sas_ss_flags’: ./include/linux/sched/signal.h:526:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 526 | { | ^ ./include/linux/sched/signal.h: In function ‘sas_ss_reset’: ./include/linux/sched/signal.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/sched/signal.h: In function ‘sigsp’: ./include/linux/sched/signal.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pid_type’: ./include/linux/sched/signal.h:590:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 590 | { | ^ ./include/linux/sched/signal.h: In function ‘task_tgid’: ./include/linux/sched/signal.h:600:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 600 | { | ^ ./include/linux/sched/signal.h: In function ‘task_pgrp’: ./include/linux/sched/signal.h:610:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 610 | { | ^ ./include/linux/sched/signal.h: In function ‘task_session’: ./include/linux/sched/signal.h:615:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 615 | { | ^ ./include/linux/sched/signal.h: In function ‘get_nr_threads’: ./include/linux/sched/signal.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_leader’: ./include/linux/sched/signal.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/sched/signal.h: In function ‘has_group_leader_pid’: ./include/linux/sched/signal.h:636:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 636 | { | ^ ./include/linux/sched/signal.h: In function ‘same_thread_group’: ./include/linux/sched/signal.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/sched/signal.h: In function ‘next_thread’: ./include/linux/sched/signal.h:647:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 647 | { | ^ ./include/linux/sched/signal.h: In function ‘thread_group_empty’: ./include/linux/sched/signal.h:653:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 653 | { | ^ ./include/linux/sched/signal.h: In function ‘lock_task_sighand’: ./include/linux/sched/signal.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/sched/signal.h: In function ‘unlock_task_sighand’: ./include/linux/sched/signal.h:675:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 675 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit’: ./include/linux/sched/signal.h:681:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 681 | { | ^ ./include/linux/sched/signal.h: In function ‘task_rlimit_max’: ./include/linux/sched/signal.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/sched/signal.h: In function ‘rlimit’: ./include/linux/sched/signal.h:692:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 692 | { | ^ ./include/linux/sched/signal.h: In function ‘rlimit_max’: ./include/linux/sched/signal.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ In file included from ./arch/x86/include/asm/tlbflush.h:12, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/invpcid.h: In function ‘__invpcid’: ./arch/x86/include/asm/invpcid.h:7:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 7 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_one’: ./arch/x86/include/asm/invpcid.h:31:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 31 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_single_context’: ./arch/x86/include/asm/invpcid.h:37:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 37 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all’: ./arch/x86/include/asm/invpcid.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ ./arch/x86/include/asm/invpcid.h: In function ‘invpcid_flush_all_nonglobals’: ./arch/x86/include/asm/invpcid.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:117, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/tlbflush.h: In function ‘kern_pcid’: ./arch/x86/include/asm/tlbflush.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘user_pcid’: ./arch/x86/include/asm/tlbflush.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3’: ./arch/x86/include/asm/tlbflush.h:122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 122 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘build_cr3_noflush’: ./arch/x86/include/asm/tlbflush.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘nmi_uaccess_okay’: ./arch/x86/include/asm/tlbflush.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_init_shadow’: ./arch/x86/include/asm/tlbflush.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__cr4_set’: ./arch/x86/include/asm/tlbflush.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits’: ./arch/x86/include/asm/tlbflush.h:292:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 292 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_clear_bits’: ./arch/x86/include/asm/tlbflush.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_toggle_bits_irqsoff’: ./arch/x86/include/asm/tlbflush.h:315:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 315 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_read_shadow’: ./arch/x86/include/asm/tlbflush.h:324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 324 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_other_asid’: ./arch/x86/include/asm/tlbflush.h:332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 332 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘cr4_set_bits_and_update_boot’: ./arch/x86/include/asm/tlbflush.h:346:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 346 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘invalidate_user_asid’: ./arch/x86/include/asm/tlbflush.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb’: ./arch/x86/include/asm/tlbflush.h:385:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 385 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_global’: ./arch/x86/include/asm/tlbflush.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb_one_user’: ./arch/x86/include/asm/tlbflush.h:437:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 437 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_all’: ./arch/x86/include/asm/tlbflush.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘__flush_tlb_one_kernel’: ./arch/x86/include/asm/tlbflush.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘flush_tlb_page’: ./arch/x86/include/asm/tlbflush.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘inc_mm_tlb_gen’: ./arch/x86/include/asm/tlbflush.h:574:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 574 | { | ^ ./arch/x86/include/asm/tlbflush.h: In function ‘arch_tlbbatch_add_mm’: ./arch/x86/include/asm/tlbflush.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/device.h: In function ‘class_create_file’: ./include/linux/device.h:495:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 495 | { | ^ ./include/linux/device.h: In function ‘class_remove_file’: ./include/linux/device.h:501:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 501 | { | ^ ./include/linux/device.h: In function ‘devres_alloc’: ./include/linux/device.h:642:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 642 | { | ^ ./include/linux/device.h: In function ‘devm_kzalloc’: ./include/linux/device.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/linux/device.h: In function ‘devm_kmalloc_array’: ./include/linux/device.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ ./include/linux/device.h: In function ‘devm_kcalloc’: ./include/linux/device.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/device.h: In function ‘devm_add_action_or_reset’: ./include/linux/device.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/device.h: In function ‘device_connections_add’: ./include/linux/device.h:785:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 785 | { | ^ ./include/linux/device.h: In function ‘device_connections_remove’: ./include/linux/device.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/device.h: In function ‘kobj_to_dev’: ./include/linux/device.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/device.h: In function ‘device_iommu_mapped’: ./include/linux/device.h:1067:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1067 | { | ^ In file included from ./include/linux/device.h:1072, from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pm_wakeup.h: In function ‘device_can_wakeup’: ./include/linux/pm_wakeup.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_may_wakeup’: ./include/linux/pm_wakeup.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/pm_wakeup.h: In function ‘device_set_wakeup_path’: ./include/linux/pm_wakeup.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_init’: ./include/linux/pm_wakeup.h:202:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 202 | { | ^ ./include/linux/pm_wakeup.h: In function ‘wakeup_source_trash’: ./include/linux/pm_wakeup.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/pm_wakeup.h: In function ‘__pm_wakeup_event’: ./include/linux/pm_wakeup.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_event’: ./include/linux/pm_wakeup.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/linux/pm_wakeup.h: In function ‘pm_wakeup_hard_event’: ./include/linux/pm_wakeup.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ In file included from ./include/linux/pci.h:31, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/device.h: In function ‘dev_name’: ./include/linux/device.h:1075:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1075 | { | ^ ./include/linux/device.h: In function ‘dev_to_node’: ./include/linux/device.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/device.h: In function ‘set_dev_node’: ./include/linux/device.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/device.h: In function ‘dev_get_msi_domain’: ./include/linux/device.h:1106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1106 | { | ^ ./include/linux/device.h: In function ‘dev_set_msi_domain’: ./include/linux/device.h:1115:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1115 | { | ^ ./include/linux/device.h: In function ‘dev_get_drvdata’: ./include/linux/device.h:1122:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1122 | { | ^ ./include/linux/device.h: In function ‘dev_set_drvdata’: ./include/linux/device.h:1127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1127 | { | ^ ./include/linux/device.h: In function ‘dev_to_psd’: ./include/linux/device.h:1132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1132 | { | ^ ./include/linux/device.h: In function ‘dev_get_uevent_suppress’: ./include/linux/device.h:1137:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1137 | { | ^ ./include/linux/device.h: In function ‘dev_set_uevent_suppress’: ./include/linux/device.h:1142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1142 | { | ^ ./include/linux/device.h: In function ‘device_is_registered’: ./include/linux/device.h:1147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1147 | { | ^ ./include/linux/device.h: In function ‘device_enable_async_suspend’: ./include/linux/device.h:1152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1152 | { | ^ ./include/linux/device.h: In function ‘device_disable_async_suspend’: ./include/linux/device.h:1158:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1158 | { | ^ ./include/linux/device.h: In function ‘device_async_suspend_enabled’: ./include/linux/device.h:1164:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1164 | { | ^ ./include/linux/device.h: In function ‘dev_pm_syscore_device’: ./include/linux/device.h:1169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1169 | { | ^ ./include/linux/device.h: In function ‘dev_pm_set_driver_flags’: ./include/linux/device.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/device.h: In function ‘dev_pm_test_driver_flags’: ./include/linux/device.h:1181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1181 | { | ^ ./include/linux/device.h: In function ‘device_lock’: ./include/linux/device.h:1186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1186 | { | ^ ./include/linux/device.h: In function ‘device_lock_interruptible’: ./include/linux/device.h:1191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1191 | { | ^ ./include/linux/device.h: In function ‘device_trylock’: ./include/linux/device.h:1196:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1196 | { | ^ ./include/linux/device.h: In function ‘device_unlock’: ./include/linux/device.h:1201:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1201 | { | ^ ./include/linux/device.h: In function ‘device_lock_assert’: ./include/linux/device.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/device.h: In function ‘dev_of_node’: ./include/linux/device.h:1211:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1211 | { | ^ ./include/linux/device.h: In function ‘device_supports_offline’: ./include/linux/device.h:1241:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1241 | { | ^ ./include/linux/device.h: In function ‘dev_num_vf’: ./include/linux/device.h:1255:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1255 | { | ^ ./include/linux/device.h: In function ‘dev_get_platdata’: ./include/linux/device.h:1274:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1274 | { | ^ ./include/linux/device.h: In function ‘device_add_group’: ./include/linux/device.h:1316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1316 | { | ^ ./include/linux/device.h: In function ‘device_remove_group’: ./include/linux/device.h:1324:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1324 | { | ^ In file included from ./include/linux/hardirq.h:7, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | static inline void arch_ftrace_nmi_enter(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘arch_ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:11:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 11 | static inline void arch_ftrace_nmi_exit(void) { } | ^~~~~~ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_enter’: ./include/linux/ftrace_irq.h:20:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 20 | { | ^ ./include/linux/ftrace_irq.h: In function ‘ftrace_nmi_exit’: ./include/linux/ftrace_irq.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/vtime.h:5, from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/context_tracking_state.h: In function ‘context_tracking_in_user’: ./include/linux/context_tracking_state.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | static inline bool context_tracking_in_user(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_active’: ./include/linux/context_tracking_state.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 45 | static inline bool context_tracking_active(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_is_enabled’: ./include/linux/context_tracking_state.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | static inline bool context_tracking_is_enabled(void) { return false; } | ^~~~~~ ./include/linux/context_tracking_state.h: In function ‘context_tracking_cpu_is_enabled’: ./include/linux/context_tracking_state.h:47:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 47 | static inline bool context_tracking_cpu_is_enabled(void) { return false; } | ^~~~~~ In file included from ./include/linux/hardirq.h:8, from ./include/linux/interrupt.h:11, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/vtime.h: In function ‘vtime_accounting_cpu_enabled’: ./include/linux/vtime.h:40:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 40 | static inline bool vtime_accounting_cpu_enabled(void) { return false; } | ^~~~~~ ./include/linux/vtime.h: In function ‘vtime_task_switch’: ./include/linux/vtime.h:65:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | static inline void vtime_task_switch(struct task_struct *prev) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_system’: ./include/linux/vtime.h:66:48: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | static inline void vtime_account_system(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_enter’: ./include/linux/vtime.h:77:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 77 | static inline void vtime_user_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_user_exit’: ./include/linux/vtime.h:78:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline void vtime_user_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_guest_enter’: ./include/linux/vtime.h:79:45: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 79 | static inline void vtime_guest_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_guest_exit’: ./include/linux/vtime.h:80:44: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | static inline void vtime_guest_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_init_idle’: ./include/linux/vtime.h:81:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_irq_enter’: ./include/linux/vtime.h:93:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | static inline void vtime_account_irq_enter(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_account_irq_exit’: ./include/linux/vtime.h:94:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | static inline void vtime_account_irq_exit(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘vtime_flush’: ./include/linux/vtime.h:95:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | static inline void vtime_flush(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘irqtime_account_irq’: ./include/linux/vtime.h:102:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | static inline void irqtime_account_irq(struct task_struct *tsk) { } | ^~~~~~~~~~~ ./include/linux/vtime.h: In function ‘account_irq_enter_time’: ./include/linux/vtime.h:106:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 106 | { | ^ ./include/linux/vtime.h: In function ‘account_irq_exit_time’: ./include/linux/vtime.h:112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 112 | { | ^ In file included from ./include/linux/interrupt.h:19, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/irq.h: In function ‘irq_canonicalize’: ./arch/x86/include/asm/irq.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ In file included from ./arch/x86/include/asm/sections.h:5, from ./include/linux/interrupt.h:20, from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/sections.h: In function ‘arch_is_kernel_text’: ./include/asm-generic/sections.h:68:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 68 | { | ^ ./include/asm-generic/sections.h: In function ‘arch_is_kernel_data’: ./include/asm-generic/sections.h:75:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 75 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_contains’: ./include/asm-generic/sections.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/asm-generic/sections.h: In function ‘memory_intersects’: ./include/asm-generic/sections.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_contains’: ./include/asm-generic/sections.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/asm-generic/sections.h: In function ‘init_section_intersects’: ./include/asm-generic/sections.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ ./include/asm-generic/sections.h: In function ‘is_kernel_rodata’: ./include/asm-generic/sections.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ In file included from ./include/linux/pci.h:32, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/interrupt.h: In function ‘request_irq’: ./include/linux/interrupt.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/interrupt.h: In function ‘request_percpu_irq’: ./include/linux/interrupt.h:162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 162 | { | ^ ./include/linux/interrupt.h: In function ‘devm_request_irq’: ./include/linux/interrupt.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/interrupt.h: In function ‘irq_set_affinity’: ./include/linux/interrupt.h:287:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 287 | { | ^ ./include/linux/interrupt.h: In function ‘irq_force_affinity’: ./include/linux/interrupt.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep’: ./include/linux/interrupt.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_nosync_lockdep_irqsave’: ./include/linux/interrupt.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_lockdep’: ./include/linux/interrupt.h:394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 394 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep’: ./include/linux/interrupt.h:402:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 402 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_lockdep_irqrestore’: ./include/linux/interrupt.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/interrupt.h: In function ‘enable_irq_wake’: ./include/linux/interrupt.h:421:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 421 | { | ^ ./include/linux/interrupt.h: In function ‘disable_irq_wake’: ./include/linux/interrupt.h:426:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 426 | { | ^ ./include/linux/interrupt.h: In function ‘this_cpu_ksoftirqd’: ./include/linux/interrupt.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_trylock’: ./include/linux/interrupt.h:582:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 582 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock’: ./include/linux/interrupt.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_unlock_wait’: ./include/linux/interrupt.h:593:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 593 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_schedule’: ./include/linux/interrupt.h:605:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 605 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hi_schedule’: ./include/linux/interrupt.h:613:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 613 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_disable_nosync’: ./include/linux/interrupt.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_disable’: ./include/linux/interrupt.h:625:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 625 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_enable’: ./include/linux/interrupt.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_start’: ./include/linux/interrupt.h:656:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 656 | { | ^ ./include/linux/interrupt.h: In function ‘tasklet_hrtimer_cancel’: ./include/linux/interrupt.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ In file included from ./include/linux/pci.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/io.h: In function ‘pci_remap_cfgspace’: ./include/linux/io.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ In file included from ./include/linux/pci.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/resource_ext.h: In function ‘resource_list_add’: ./include/linux/resource_ext.h:44:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 44 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_add_tail’: ./include/linux/resource_ext.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 50 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_del’: ./include/linux/resource_ext.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_free_entry’: ./include/linux/resource_ext.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/resource_ext.h: In function ‘resource_list_destroy_entry’: ./include/linux/resource_ext.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pci.h: In function ‘pci_slot_name’: ./include/linux/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/pci.h: In function ‘pci_power_name’: ./include/linux/pci.h:144:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 144 | { | ^ ./include/linux/pci.h: In function ‘pci_physfn’: ./include/linux/pci.h:468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 468 | { | ^ ./include/linux/pci.h: In function ‘pci_channel_offline’: ./include/linux/pci.h:482:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 482 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_priv’: ./include/linux/pci.h:517:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 517 | { | ^ ./include/linux/pci.h: In function ‘pci_host_bridge_from_priv’: ./include/linux/pci.h:522:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 522 | { | ^ ./include/linux/pci.h: In function ‘pci_is_root_bus’: ./include/linux/pci.h:608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 608 | { | ^ ./include/linux/pci.h: In function ‘pci_is_bridge’: ./include/linux/pci.h:620:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 620 | { | ^ ./include/linux/pci.h: In function ‘pci_upstream_bridge’: ./include/linux/pci.h:630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 630 | { | ^ ./include/linux/pci.h: In function ‘pci_dev_msi_enabled’: ./include/linux/pci.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/pci.h: In function ‘pcibios_err_to_errno’: ./include/linux/pci.h:661:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 661 | { | ^ ./include/linux/pci.h: In function ‘pci_set_flags’: ./include/linux/pci.h:875:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 875 | static inline void pci_set_flags(int flags) { pci_flags = flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_add_flags’: ./include/linux/pci.h:876:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 876 | static inline void pci_add_flags(int flags) { pci_flags |= flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_clear_flags’: ./include/linux/pci.h:877:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 877 | static inline void pci_clear_flags(int flags) { pci_flags &= ~flags; } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_has_flag’: ./include/linux/pci.h:878:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 878 | static inline int pci_has_flag(int flag) { return pci_flags & flag; } | ^~~~~~ ./include/linux/pci.h: In function ‘pcie_capability_set_word’: ./include/linux/pci.h:1045:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1045 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_set_dword’: ./include/linux/pci.h:1051:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1051 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_word’: ./include/linux/pci.h:1057:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1057 | { | ^ ./include/linux/pci.h: In function ‘pcie_capability_clear_dword’: ./include/linux/pci.h:1063:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1063 | { | ^ ./include/linux/pci.h: In function ‘pci_intx_mask_supported’: ./include/linux/pci.h:1083:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1083 | { | ^ ./include/linux/pci.h: In function ‘pci_is_enabled’: ./include/linux/pci.h:1092:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1092 | { | ^ ./include/linux/pci.h: In function ‘pci_is_managed’: ./include/linux/pci.h:1097:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1097 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_address’: ./include/linux/pci.h:1290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1290 | { | ^ In file included from ./include/linux/dmapool.h:14, from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/scatterlist.h: In function ‘sg_assign_page’: ./include/linux/scatterlist.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_page’: ./include/linux/scatterlist.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page’: ./include/linux/scatterlist.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_set_buf’: ./include/linux/scatterlist.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_chain’: ./include/linux/scatterlist.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_mark_end’: ./include/linux/scatterlist.h:191:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 191 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_unmark_end’: ./include/linux/scatterlist.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_phys’: ./include/linux/scatterlist.h:223:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 223 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_virt’: ./include/linux/scatterlist.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_init_marker’: ./include/linux/scatterlist.h:250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 250 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_page’: ./include/linux/scatterlist.h:368:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 368 | { | ^ ./include/linux/scatterlist.h: In function ‘sg_page_iter_dma_address’: ./include/linux/scatterlist.h:378:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 378 | { | ^ In file included from ./include/linux/pci.h:1363, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dmapool.h: In function ‘dma_pool_zalloc’: ./include/linux/dmapool.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pci.h: In function ‘pci_enable_msix_exact’: ./include/linux/pci.h:1391:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1391 | { | ^ ./include/linux/pci.h: In function ‘pci_alloc_irq_vectors’: ./include/linux/pci.h:1457:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1457 | { | ^ ./include/linux/pci.h: In function ‘pci_irqd_intx_xlate’: ./include/linux/pci.h:1484:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1484 | { | ^ ./include/linux/pci.h: In function ‘pcie_set_ecrc_checking’: ./include/linux/pci.h:1518:50: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1518 | static inline void pcie_set_ecrc_checking(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pcie_ecrc_get_policy’: ./include/linux/pci.h:1519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1519 | static inline void pcie_ecrc_get_policy(char *str) { } | ^~~~~~ ./include/linux/pci.h: In function ‘pci_request_io_regions’: ./include/linux/pci.h:1587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1587 | { | ^ ./include/linux/pci.h: In function ‘pci_release_io_regions’: ./include/linux/pci.h:1594:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1594 | { | ^ ./include/linux/pci.h: In function ‘pci_request_mem_regions’: ./include/linux/pci.h:1601:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1601 | { | ^ ./include/linux/pci.h: In function ‘pci_release_mem_regions’: ./include/linux/pci.h:1608:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1608 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pci.h: In function ‘pci_domain_nr’: ./arch/x86/include/asm/pci.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘pci_proc_domain’: ./arch/x86/include/asm/pci.h:48:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 48 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘_pci_root_bus_fwnode’: ./arch/x86/include/asm/pci.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘is_vmd’: ./arch/x86/include/asm/pci.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ In file included from ./arch/x86/include/asm/pci.h:123, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pci_64.h: In function ‘pci_iommu’: ./arch/x86/include/asm/pci_64.h:9:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 9 | { | ^ ./arch/x86/include/asm/pci_64.h: In function ‘set_pci_iommu’: ./arch/x86/include/asm/pci_64.h:15:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 15 | { | ^ In file included from ./arch/x86/include/asm/pci.h:127, from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/asm-generic/pci.h: In function ‘pci_get_legacy_ide_irq’: ./include/asm-generic/pci.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from ./include/linux/pci.h:1733, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/pci.h: In function ‘__pcibus_to_node’: ./arch/x86/include/asm/pci.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | { | ^ ./arch/x86/include/asm/pci.h: In function ‘cpumask_of_pcibus’: ./arch/x86/include/asm/pci.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pci.h: In function ‘pci_get_drvdata’: ./include/linux/pci.h:1790:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1790 | { | ^ ./include/linux/pci.h: In function ‘pci_set_drvdata’: ./include/linux/pci.h:1795:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1795 | { | ^ ./include/linux/pci.h: In function ‘pci_name’: ./include/linux/pci.h:1800:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1800 | { | ^ ./include/linux/pci.h: In function ‘pci_resource_to_user’: ./include/linux/pci.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_cap’: ./include/linux/pci.h:2069:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2069 | { | ^ ./include/linux/pci.h: In function ‘pci_is_pcie’: ./include/linux/pci.h:2080:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2080 | { | ^ ./include/linux/pci.h: In function ‘pcie_caps_reg’: ./include/linux/pci.h:2089:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2089 | { | ^ ./include/linux/pci.h: In function ‘pci_pcie_type’: ./include/linux/pci.h:2098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2098 | { | ^ ./include/linux/pci.h: In function ‘pcie_find_root_port’: ./include/linux/pci.h:2103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2103 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_size’: ./include/linux/pci.h:2160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2160 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_lrdt_tag’: ./include/linux/pci.h:2171:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2171 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_size’: ./include/linux/pci.h:2182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2182 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_srdt_tag’: ./include/linux/pci.h:2193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2193 | { | ^ ./include/linux/pci.h: In function ‘pci_vpd_info_field_size’: ./include/linux/pci.h:2204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2204 | { | ^ ./include/linux/pci.h: In function ‘pci_set_of_node’: ./include/linux/pci.h:2250:43: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2250 | static inline void pci_set_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_of_node’: ./include/linux/pci.h:2251:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2251 | static inline void pci_release_of_node(struct pci_dev *dev) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_set_bus_of_node’: ./include/linux/pci.h:2252:47: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2252 | static inline void pci_set_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_release_bus_of_node’: ./include/linux/pci.h:2253:51: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2253 | static inline void pci_release_bus_of_node(struct pci_bus *bus) { } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_host_bridge_of_msi_domain’: ./include/linux/pci.h:2255:38: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2255 | pci_host_bridge_of_msi_domain(struct pci_bus *bus) { return NULL; } | ^~~~~~~ ./include/linux/pci.h: In function ‘pci_parse_request_of_pci_ranges’: ./include/linux/pci.h:2259:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2259 | { | ^ ./include/linux/pci.h: In function ‘pci_device_to_OF_node’: ./include/linux/pci.h:2266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2266 | { | ^ ./include/linux/pci.h: In function ‘pci_bus_to_OF_node’: ./include/linux/pci.h:2271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2271 | { | ^ ./include/linux/pci.h: In function ‘pci_set_dev_assigned’: ./include/linux/pci.h:2300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2300 | { | ^ ./include/linux/pci.h: In function ‘pci_clear_dev_assigned’: ./include/linux/pci.h:2304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2304 | { | ^ ./include/linux/pci.h: In function ‘pci_is_dev_assigned’: ./include/linux/pci.h:2308:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2308 | { | ^ ./include/linux/pci.h: In function ‘pci_ari_enabled’: ./include/linux/pci.h:2319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2319 | { | ^ ./include/linux/pci.h: In function ‘pci_is_thunderbolt_attached’: ./include/linux/pci.h:2332:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2332 | { | ^ In file included from ./include/linux/dma-mapping.h:9, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dma-debug.h: In function ‘dma_debug_add_bus’: ./include/linux/dma-debug.h:87:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 87 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_single’: ./include/linux/dma-debug.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_page’: ./include/linux/dma-debug.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_mapping_error’: ./include/linux/dma-debug.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_page’: ./include/linux/dma-debug.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_sg’: ./include/linux/dma-debug.h:113:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 113 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_sg’: ./include/linux/dma-debug.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_alloc_coherent’: ./include/linux/dma-debug.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_free_coherent’: ./include/linux/dma-debug.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_map_resource’: ./include/linux/dma-debug.h:135:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 135 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_unmap_resource’: ./include/linux/dma-debug.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 141 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_cpu’: ./include/linux/dma-debug.h:147:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 147 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_single_for_device’: ./include/linux/dma-debug.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_cpu’: ./include/linux/dma-debug.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_sync_sg_for_device’: ./include/linux/dma-debug.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_dump_mappings’: ./include/linux/dma-debug.h:169:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 169 | { | ^ ./include/linux/dma-debug.h: In function ‘debug_dma_assert_idle’: ./include/linux/dma-debug.h:173:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 173 | { | ^ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dma-mapping.h: In function ‘valid_dma_direction’: ./include/linux/dma-mapping.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 146 | { | ^ ./include/linux/dma-mapping.h: In function ‘is_device_dma_capable’: ./include/linux/dma-mapping.h:153:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 153 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_from_global_coherent’: ./include/linux/dma-mapping.h:181:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 181 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_from_global_coherent’: ./include/linux/dma-mapping.h:186:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 186 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_from_global_coherent’: ./include/linux/dma-mapping.h:193:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 193 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_is_direct’: ./include/linux/dma-mapping.h:199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 199 | { | ^ In file included from ./arch/x86/include/asm/swiotlb.h:5, from ./arch/x86/include/asm/dma-mapping.h:13, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/swiotlb.h: In function ‘is_swiotlb_buffer’: ./include/linux/swiotlb.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | { | ^ In file included from ./arch/x86/include/asm/dma-mapping.h:14, from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dma-contiguous.h: In function ‘dev_get_cma_area’: ./include/linux/dma-contiguous.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dev_set_cma_area’: ./include/linux/dma-contiguous.h:129:64: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void dev_set_cma_area(struct device *dev, struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_set_default’: ./include/linux/dma-contiguous.h:131:54: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void dma_contiguous_set_default(struct cma *cma) { } | ^~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve’: ./include/linux/dma-contiguous.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void dma_contiguous_reserve(phys_addr_t limit) { } | ^~~~~~ ./include/linux/dma-contiguous.h: In function ‘dma_contiguous_reserve_area’: ./include/linux/dma-contiguous.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_declare_contiguous’: ./include/linux/dma-contiguous.h:145:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 145 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_from_contiguous’: ./include/linux/dma-contiguous.h:152:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 152 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_release_from_contiguous’: ./include/linux/dma-contiguous.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_alloc_contiguous’: ./include/linux/dma-contiguous.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/dma-contiguous.h: In function ‘dma_free_contiguous’: ./include/linux/dma-contiguous.h:175:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 175 | { | ^ In file included from ./include/linux/dma-mapping.h:264, from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/dma-mapping.h: In function ‘get_arch_dma_ops’: ./arch/x86/include/asm/dma-mapping.h:29:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 29 | { | ^ In file included from ./include/linux/pci-dma-compat.h:8, from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/dma-mapping.h: In function ‘get_dma_ops’: ./include/linux/dma-mapping.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ ./include/linux/dma-mapping.h: In function ‘set_dma_ops’: ./include/linux/dma-mapping.h:275:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 275 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_page_attrs’: ./include/linux/dma-mapping.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_page_attrs’: ./include/linux/dma-mapping.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_sg_attrs’: ./include/linux/dma-mapping.h:316:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 316 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_sg_attrs’: ./include/linux/dma-mapping.h:334:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 334 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_resource’: ./include/linux/dma-mapping.h:350:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 350 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_resource’: ./include/linux/dma-mapping.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_cpu’: ./include/linux/dma-mapping.h:383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 383 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_for_device’: ./include/linux/dma-mapping.h:397:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 397 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_cpu’: ./include/linux/dma-mapping.h:411:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 411 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_sg_for_device’: ./include/linux/dma-mapping.h:425:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 425 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mapping_error’: ./include/linux/dma-mapping.h:438:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 438 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_map_single_attrs’: ./include/linux/dma-mapping.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_unmap_single_attrs’: ./include/linux/dma-mapping.h:584:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 584 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_cpu’: ./include/linux/dma-mapping.h:591:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 591 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_sync_single_range_for_device’: ./include/linux/dma-mapping.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_coherent’: ./include/linux/dma-mapping.h:635:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 635 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_coherent’: ./include/linux/dma-mapping.h:643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 643 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_mask’: ./include/linux/dma-mapping.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_mask_and_coherent’: ./include/linux/dma-mapping.h:662:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 662 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_coerce_mask_and_coherent’: ./include/linux/dma-mapping.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/linux/dma-mapping.h: In function ‘arch_setup_dma_ops’: ./include/linux/dma-mapping.h:682:11: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | bool coherent) { } | ^~~~ ./include/linux/dma-mapping.h: In function ‘arch_teardown_dma_ops’: ./include/linux/dma-mapping.h:686:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 686 | static inline void arch_teardown_dma_ops(struct device *dev) { } | ^~~~~~ ./include/linux/dma-mapping.h: In function ‘dma_get_max_seg_size’: ./include/linux/dma-mapping.h:690:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 690 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_max_seg_size’: ./include/linux/dma-mapping.h:697:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 697 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_seg_boundary’: ./include/linux/dma-mapping.h:706:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 706 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_set_seg_boundary’: ./include/linux/dma-mapping.h:713:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 713 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_max_pfn’: ./include/linux/dma-mapping.h:723:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 723 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_get_cache_alignment’: ./include/linux/dma-mapping.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_declare_coherent_memory’: ./include/linux/dma-mapping.h:749:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 749 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_release_declared_memory’: ./include/linux/dma-mapping.h:755:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 755 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mark_declared_memory_occupied’: ./include/linux/dma-mapping.h:761:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 761 | { | ^ ./include/linux/dma-mapping.h: In function ‘dmam_alloc_coherent’: ./include/linux/dma-mapping.h:768:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 768 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_alloc_wc’: ./include/linux/dma-mapping.h:775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 775 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_free_wc’: ./include/linux/dma-mapping.h:789:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 789 | { | ^ ./include/linux/dma-mapping.h: In function ‘dma_mmap_wc’: ./include/linux/dma-mapping.h:801:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 801 | { | ^ In file included from ./include/linux/pci.h:2350, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:120, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pci-dma-compat.h: In function ‘pci_alloc_consistent’: ./include/linux/pci-dma-compat.h:19:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 19 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_zalloc_consistent’: ./include/linux/pci-dma-compat.h:26:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 26 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_free_consistent’: ./include/linux/pci-dma-compat.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_single’: ./include/linux/pci-dma-compat.h:39:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 39 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_single’: ./include/linux/pci-dma-compat.h:46:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 46 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_page’: ./include/linux/pci-dma-compat.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 53 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_page’: ./include/linux/pci-dma-compat.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 60 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_map_sg’: ./include/linux/pci-dma-compat.h:67:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 67 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_unmap_sg’: ./include/linux/pci-dma-compat.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_cpu’: ./include/linux/pci-dma-compat.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_device’: ./include/linux/pci-dma-compat.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_cpu’: ./include/linux/pci-dma-compat.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_sync_sg_for_device’: ./include/linux/pci-dma-compat.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_dma_mapping_error’: ./include/linux/pci-dma-compat.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_dma_mask’: ./include/linux/pci-dma-compat.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/linux/pci-dma-compat.h: In function ‘pci_set_consistent_dma_mask’: ./include/linux/pci-dma-compat.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:123, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/file.h: In function ‘fput_light’: ./include/linux/file.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/file.h: In function ‘fdput’: ./include/linux/file.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 41 | { | ^ ./include/linux/file.h: In function ‘__to_fd’: ./include/linux/file.h:54:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 54 | { | ^ ./include/linux/file.h: In function ‘fdget’: ./include/linux/file.h:59:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 59 | { | ^ ./include/linux/file.h: In function ‘fdget_raw’: ./include/linux/file.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/file.h: In function ‘fdget_pos’: ./include/linux/file.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/file.h: In function ‘fdput_pos’: ./include/linux/file.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ In file included from ./include/linux/cpu.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/node.h: In function ‘register_one_node’: ./include/linux/node.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ In file included from ./include/linux/cpu.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state’: ./include/linux/cpuhotplug.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_cpuslocked’: ./include/linux/cpuhotplug.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls’: ./include/linux/cpuhotplug.h:234:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 234 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_setup_state_multi’: ./include/linux/cpuhotplug.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance’: ./include/linux/cpuhotplug.h:289:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 289 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls’: ./include/linux/cpuhotplug.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_add_instance_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:311:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 311 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state’: ./include/linux/cpuhotplug.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls’: ./include/linux/cpuhotplug.h:336:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 336 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_state_nocalls_cpuslocked’: ./include/linux/cpuhotplug.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_remove_multi_state’: ./include/linux/cpuhotplug.h:354:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 354 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance’: ./include/linux/cpuhotplug.h:372:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 372 | { | ^ ./include/linux/cpuhotplug.h: In function ‘cpuhp_state_remove_instance_nocalls’: ./include/linux/cpuhotplug.h:386:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 386 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:125, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/cpu.h: In function ‘cpu_hotplug_begin’: ./include/linux/cpu.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | static inline void cpu_hotplug_begin(void) { cpus_write_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘cpu_hotplug_done’: ./include/linux/cpu.h:131:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 131 | static inline void cpu_hotplug_done(void) { cpus_write_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘get_online_cpus’: ./include/linux/cpu.h:132:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 132 | static inline void get_online_cpus(void) { cpus_read_lock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘put_online_cpus’: ./include/linux/cpu.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | static inline void put_online_cpus(void) { cpus_read_unlock(); } | ^~~~~~ ./include/linux/cpu.h: In function ‘disable_nonboot_cpus’: ./include/linux/cpu.h:138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 138 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_off’: ./include/linux/cpu.h:206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 206 | { | ^ ./include/linux/cpu.h: In function ‘cpu_mitigations_auto_nosmt’: ./include/linux/cpu.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:136, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h: In function ‘list_is_first’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-list-helpers.h:97:5: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ In file included from ./arch/x86/include/asm/vga.h:11, from ./include/video/vga.h:22, from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/set_memory.h: In function ‘set_mce_nospec’: ./arch/x86/include/asm/set_memory.h:94:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 94 | { | ^ ./arch/x86/include/asm/set_memory.h: In function ‘clear_mce_nospec’: ./arch/x86/include/asm/set_memory.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ In file included from ./include/linux/vgaarb.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/video/vga.h: In function ‘vga_io_r’: ./include/video/vga.h:203:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 203 | { | ^ ./include/video/vga.h: In function ‘vga_io_w’: ./include/video/vga.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ ./include/video/vga.h: In function ‘vga_io_w_fast’: ./include/video/vga.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 214 | { | ^ ./include/video/vga.h: In function ‘vga_mm_r’: ./include/video/vga.h:219:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 219 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w’: ./include/video/vga.h:224:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 224 | { | ^ ./include/video/vga.h: In function ‘vga_mm_w_fast’: ./include/video/vga.h:230:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 230 | { | ^ ./include/video/vga.h: In function ‘vga_r’: ./include/video/vga.h:235:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 235 | { | ^ ./include/video/vga.h: In function ‘vga_w’: ./include/video/vga.h:243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 243 | { | ^ ./include/video/vga.h: In function ‘vga_w_fast’: ./include/video/vga.h:253:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 253 | { | ^ ./include/video/vga.h: In function ‘vga_rcrt’: ./include/video/vga.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/video/vga.h: In function ‘vga_wcrt’: ./include/video/vga.h:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ ./include/video/vga.h: In function ‘vga_io_rcrt’: ./include/video/vga.h:282:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 282 | { | ^ ./include/video/vga.h: In function ‘vga_io_wcrt’: ./include/video/vga.h:288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 288 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rcrt’: ./include/video/vga.h:298:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 298 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wcrt’: ./include/video/vga.h:304:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 304 | { | ^ ./include/video/vga.h: In function ‘vga_rseq’: ./include/video/vga.h:319:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 319 | { | ^ ./include/video/vga.h: In function ‘vga_wseq’: ./include/video/vga.h:325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 325 | { | ^ ./include/video/vga.h: In function ‘vga_io_rseq’: ./include/video/vga.h:335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 335 | { | ^ ./include/video/vga.h: In function ‘vga_io_wseq’: ./include/video/vga.h:341:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 341 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rseq’: ./include/video/vga.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wseq’: ./include/video/vga.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/video/vga.h: In function ‘vga_rgfx’: ./include/video/vga.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/video/vga.h: In function ‘vga_wgfx’: ./include/video/vga.h:377:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 377 | { | ^ ./include/video/vga.h: In function ‘vga_io_rgfx’: ./include/video/vga.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/video/vga.h: In function ‘vga_io_wgfx’: ./include/video/vga.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rgfx’: ./include/video/vga.h:403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 403 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wgfx’: ./include/video/vga.h:409:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 409 | { | ^ ./include/video/vga.h: In function ‘vga_rattr’: ./include/video/vga.h:424:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 424 | { | ^ ./include/video/vga.h: In function ‘vga_wattr’: ./include/video/vga.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/video/vga.h: In function ‘vga_io_rattr’: ./include/video/vga.h:436:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 436 | { | ^ ./include/video/vga.h: In function ‘vga_io_wattr’: ./include/video/vga.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/video/vga.h: In function ‘vga_mm_rattr’: ./include/video/vga.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/video/vga.h: In function ‘vga_mm_wattr’: ./include/video/vga.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:173, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/vgaarb.h: In function ‘vga_get_interruptible’: ./include/linux/vgaarb.h:93:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 93 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_get_uninterruptible’: ./include/linux/vgaarb.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/vgaarb.h: In function ‘vga_conflicts’: ./include/linux/vgaarb.h:140:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 140 | { | ^ In file included from ./include/linux/pagemap.h:11, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/highmem.h: In function ‘flush_anon_page’: ./include/linux/highmem.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 16 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_dcache_page’: ./include/linux/highmem.h:22:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 22 | { | ^ ./include/linux/highmem.h: In function ‘flush_kernel_vmap_range’: ./include/linux/highmem.h:25:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 25 | { | ^ ./include/linux/highmem.h: In function ‘invalidate_kernel_vmap_range’: ./include/linux/highmem.h:28:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 28 | { | ^ ./include/linux/highmem.h: In function ‘nr_free_highpages’: ./include/linux/highmem.h:71:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 71 | static inline unsigned int nr_free_highpages(void) { return 0; } | ^~~~~~ ./include/linux/highmem.h: In function ‘kmap_to_page’: ./include/linux/highmem.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/highmem.h: In function ‘totalhigh_pages’: ./include/linux/highmem.h:78:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 78 | static inline unsigned long totalhigh_pages(void) { return 0UL; } | ^~~~~~ ./include/linux/highmem.h: In function ‘kmap’: ./include/linux/highmem.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ ./include/linux/highmem.h: In function ‘kunmap’: ./include/linux/highmem.h:88:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 88 | { | ^ ./include/linux/highmem.h: In function ‘kmap_atomic’: ./include/linux/highmem.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 92 | { | ^ ./include/linux/highmem.h: In function ‘__kunmap_atomic’: ./include/linux/highmem.h:100:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 100 | { | ^ ./include/linux/highmem.h: In function ‘clear_user_highpage’: ./include/linux/highmem.h:159:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 159 | { | ^ ./include/linux/highmem.h: In function ‘alloc_zeroed_user_highpage_movable’: ./include/linux/highmem.h:207:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 207 | { | ^ ./include/linux/highmem.h: In function ‘clear_highpage’: ./include/linux/highmem.h:212:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 212 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segments’: ./include/linux/highmem.h:221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 221 | { | ^ ./include/linux/highmem.h: In function ‘zero_user_segment’: ./include/linux/highmem.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/highmem.h: In function ‘zero_user’: ./include/linux/highmem.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/highmem.h: In function ‘copy_user_highpage’: ./include/linux/highmem.h:252:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 252 | { | ^ ./include/linux/highmem.h: In function ‘copy_highpage’: ./include/linux/highmem.h:267:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 267 | { | ^ In file included from ./include/linux/pagemap.h:17, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/hugetlb_inline.h: In function ‘is_vm_hugetlb_page’: ./include/linux/hugetlb_inline.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 10 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:177, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pagemap.h: In function ‘mapping_set_error’: ./include/linux/pagemap.h:49:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 49 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_unevictable’: ./include/linux/pagemap.h:64:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 64 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_clear_unevictable’: ./include/linux/pagemap.h:69:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 69 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_unevictable’: ./include/linux/pagemap.h:74:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 74 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_exiting’: ./include/linux/pagemap.h:81:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 81 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_exiting’: ./include/linux/pagemap.h:86:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 86 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_no_writeback_tags’: ./include/linux/pagemap.h:91:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 91 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_use_writeback_tags’: ./include/linux/pagemap.h:96:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 96 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_mask’: ./include/linux/pagemap.h:101:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 101 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_gfp_constraint’: ./include/linux/pagemap.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/pagemap.h: In function ‘mapping_set_gfp_mask’: ./include/linux/pagemap.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_get_speculative’: ./include/linux/pagemap.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_add_speculative’: ./include/linux/pagemap.h:204:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 204 | { | ^ ./include/linux/pagemap.h: In function ‘page_cache_alloc’: ./include/linux/pagemap.h:233:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 233 | { | ^ ./include/linux/pagemap.h: In function ‘readahead_gfp_mask’: ./include/linux/pagemap.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page’: ./include/linux/pagemap.h:271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 271 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_page_flags’: ./include/linux/pagemap.h:277:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 277 | { | ^ ./include/linux/pagemap.h: In function ‘find_lock_page’: ./include/linux/pagemap.h:296:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 296 | { | ^ ./include/linux/pagemap.h: In function ‘find_or_create_page’: ./include/linux/pagemap.h:321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 321 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page_nowait’: ./include/linux/pagemap.h:342:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 342 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages’: ./include/linux/pagemap.h:359:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 359 | { | ^ ./include/linux/pagemap.h: In function ‘find_get_pages_tag’: ./include/linux/pagemap.h:371:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 371 | { | ^ ./include/linux/pagemap.h: In function ‘grab_cache_page’: ./include/linux/pagemap.h:387:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | { | ^ ./include/linux/pagemap.h: In function ‘read_mapping_page’: ./include/linux/pagemap.h:400:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 400 | { | ^ ./include/linux/pagemap.h: In function ‘page_to_index’: ./include/linux/pagemap.h:410:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 410 | { | ^ ./include/linux/pagemap.h: In function ‘page_to_pgoff’: ./include/linux/pagemap.h:430:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 430 | { | ^ ./include/linux/pagemap.h: In function ‘page_offset’: ./include/linux/pagemap.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/linux/pagemap.h: In function ‘page_file_offset’: ./include/linux/pagemap.h:446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 446 | { | ^ ./include/linux/pagemap.h: In function ‘linear_page_index’: ./include/linux/pagemap.h:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ ./include/linux/pagemap.h: In function ‘trylock_page’: ./include/linux/pagemap.h:471:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 471 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page’: ./include/linux/pagemap.h:480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 480 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_killable’: ./include/linux/pagemap.h:492:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 492 | { | ^ ./include/linux/pagemap.h: In function ‘lock_page_or_retry’: ./include/linux/pagemap.h:508:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 508 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked’: ./include/linux/pagemap.h:528:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 528 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_locked_killable’: ./include/linux/pagemap.h:534:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 534 | { | ^ ./include/linux/pagemap.h: In function ‘wait_on_page_writeback’: ./include/linux/pagemap.h:546:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 546 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_writeable’: ./include/linux/pagemap.h:565:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 565 | { | ^ ./include/linux/pagemap.h: In function ‘fault_in_pages_readable’: ./include/linux/pagemap.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/pagemap.h: In function ‘add_to_page_cache’: ./include/linux/pagemap.h:634:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 634 | { | ^ ./include/linux/pagemap.h: In function ‘dir_pages’: ./include/linux/pagemap.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ In file included from ./include/linux/efi.h:19, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/proc_fs.h: In function ‘proc_net_mkdir’: ./include/linux/proc_fs.h:123:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 123 | { | ^ ./include/linux/proc_fs.h: In function ‘proc_pid_ns’: ./include/linux/proc_fs.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rtc.h: In function ‘rtc_tm_sub’: ./include/linux/rtc.h:33:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 33 | { | ^ ./include/linux/rtc.h: In function ‘rtc_time_to_tm’: ./include/linux/rtc.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 38 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tm_to_time’: ./include/linux/rtc.h:43:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 43 | { | ^ In file included from ./include/linux/rtc.h:50, from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/seq_file.h: In function ‘seq_has_overflowed’: ./include/linux/seq_file.h:52:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 52 | { | ^ ./include/linux/seq_file.h: In function ‘seq_get_buf’: ./include/linux/seq_file.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 65 | { | ^ ./include/linux/seq_file.h: In function ‘seq_commit’: ./include/linux/seq_file.h:85:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 85 | { | ^ ./include/linux/seq_file.h: In function ‘seq_setwidth’: ./include/linux/seq_file.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/seq_file.h: In function ‘seq_user_ns’: ./include/linux/seq_file.h:163:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 163 | { | ^ ./include/linux/seq_file.h: In function ‘seq_show_option’: ./include/linux/seq_file.h:180:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 180 | { | ^ In file included from ./include/linux/efi.h:20, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rtc.h: In function ‘is_leap_year’: ./include/linux/rtc.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 215 | { | ^ ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:231:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 231 | { | ^ In file included from ./include/linux/efi.h:23, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/pstore.h: In function ‘pstore_ftrace_encode_cpu’: ./include/linux/pstore.h:266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 266 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_decode_cpu’: ./include/linux/pstore.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_read_timestamp’: ./include/linux/pstore.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/pstore.h: In function ‘pstore_ftrace_write_timestamp’: ./include/linux/pstore.h:285:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 285 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:196, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/efi.h: In function ‘efi_guidcmp’: ./include/linux/efi.h:1013:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1013 | { | ^ ./include/linux/efi.h: In function ‘efi_guid_to_str’: ./include/linux/efi.h:1019:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1019 | { | ^ ./include/linux/efi.h: In function ‘efi_fake_memmap’: ./include/linux/efi.h:1084:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1084 | static inline void efi_fake_memmap(void) { } | ^~~~~~ ./include/linux/efi.h: In function ‘efi_range_is_wc’: ./include/linux/efi.h:1162:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1162 | { | ^ ./include/linux/efi.h: In function ‘efi_enabled’: ./include/linux/efi.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/efi.h: In function ‘memrange_efi_to_native’: ./include/linux/efi.h:1335:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1335 | { | ^ ./include/linux/efi.h: In function ‘efivar_unregister’: ./include/linux/efi.h:1483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1483 | { | ^ In file included from ./include/linux/i2c.h:33, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/rtmutex.h: In function ‘rt_mutex_debug_check_no_locks_freed’: ./include/linux/rtmutex.h:55:2: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 55 | { | ^ ./include/linux/rtmutex.h: In function ‘rt_mutex_is_locked’: ./include/linux/rtmutex.h:102:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 102 | { | ^ In file included from ./include/linux/of.h:22, from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/property.h: In function ‘device_property_read_bool’: ./include/linux/property.h:118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 118 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u8’: ./include/linux/property.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u16’: ./include/linux/property.h:130:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 130 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u32’: ./include/linux/property.h:136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 136 | { | ^ ./include/linux/property.h: In function ‘device_property_read_u64’: ./include/linux/property.h:142:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 142 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_bool’: ./include/linux/property.h:148:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 148 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u8’: ./include/linux/property.h:154:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 154 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u16’: ./include/linux/property.h:160:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 160 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u32’: ./include/linux/property.h:166:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 166 | { | ^ ./include/linux/property.h: In function ‘fwnode_property_read_u64’: ./include/linux/property.h:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ In file included from ./include/linux/irqdomain.h:35, from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/of.h: In function ‘of_node_init’: ./include/linux/of.h:107:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 107 | { | ^ ./include/linux/of.h: In function ‘of_node_get’: ./include/linux/of.h:126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 126 | { | ^ ./include/linux/of.h: In function ‘of_node_put’: ./include/linux/of.h:129:39: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | static inline void of_node_put(struct device_node *node) { } | ^~~~~~~~~~~ ./include/linux/of.h: In function ‘of_core_init’: ./include/linux/of.h:562:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 562 | { | ^ ./include/linux/of.h: In function ‘is_of_node’: ./include/linux/of.h:566:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 566 | { | ^ ./include/linux/of.h: In function ‘to_of_node’: ./include/linux/of.h:571:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 571 | { | ^ ./include/linux/of.h: In function ‘of_node_name_eq’: ./include/linux/of.h:576:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 576 | { | ^ ./include/linux/of.h: In function ‘of_node_name_prefix’: ./include/linux/of.h:581:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 581 | { | ^ ./include/linux/of.h: In function ‘of_node_full_name’: ./include/linux/of.h:586:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 586 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_name’: ./include/linux/of.h:592:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 592 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_type’: ./include/linux/of.h:598:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 598 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node_and_match’: ./include/linux/of.h:606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 606 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_path’: ./include/linux/of.h:611:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 611 | { | ^ ./include/linux/of.h: In function ‘of_find_node_opts_by_path’: ./include/linux/of.h:617:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 617 | { | ^ ./include/linux/of.h: In function ‘of_find_node_by_phandle’: ./include/linux/of.h:622:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 622 | { | ^ ./include/linux/of.h: In function ‘of_get_parent’: ./include/linux/of.h:627:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 627 | { | ^ ./include/linux/of.h: In function ‘of_get_next_child’: ./include/linux/of.h:633:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 633 | { | ^ ./include/linux/of.h: In function ‘of_get_next_available_child’: ./include/linux/of.h:639:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 639 | { | ^ ./include/linux/of.h: In function ‘of_find_node_with_property’: ./include/linux/of.h:645:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 645 | { | ^ ./include/linux/of.h: In function ‘of_have_populated_dt’: ./include/linux/of.h:652:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 652 | { | ^ ./include/linux/of.h: In function ‘of_get_compatible_child’: ./include/linux/of.h:658:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 658 | { | ^ ./include/linux/of.h: In function ‘of_get_child_by_name’: ./include/linux/of.h:665:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 665 | { | ^ ./include/linux/of.h: In function ‘of_device_is_compatible’: ./include/linux/of.h:671:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 671 | { | ^ ./include/linux/of.h: In function ‘of_device_compatible_match’: ./include/linux/of.h:677:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 677 | { | ^ ./include/linux/of.h: In function ‘of_device_is_available’: ./include/linux/of.h:682:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 682 | { | ^ ./include/linux/of.h: In function ‘of_device_is_big_endian’: ./include/linux/of.h:687:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 687 | { | ^ ./include/linux/of.h: In function ‘of_find_property’: ./include/linux/of.h:694:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 694 | { | ^ ./include/linux/of.h: In function ‘of_find_compatible_node’: ./include/linux/of.h:702:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 702 | { | ^ ./include/linux/of.h: In function ‘of_property_count_elems_of_size’: ./include/linux/of.h:708:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 708 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8_array’: ./include/linux/of.h:714:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 714 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16_array’: ./include/linux/of.h:720:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 720 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_array’: ./include/linux/of.h:727:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 727 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_array’: ./include/linux/of.h:734:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 734 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32_index’: ./include/linux/of.h:740:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 740 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64_index’: ./include/linux/of.h:746:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 746 | { | ^ ./include/linux/of.h: In function ‘of_get_property’: ./include/linux/of.h:753:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 753 | { | ^ ./include/linux/of.h: In function ‘of_get_cpu_node’: ./include/linux/of.h:759:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 759 | { | ^ ./include/linux/of.h: In function ‘of_get_next_cpu_node’: ./include/linux/of.h:764:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 764 | { | ^ ./include/linux/of.h: In function ‘of_n_addr_cells’: ./include/linux/of.h:769:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 769 | { | ^ ./include/linux/of.h: In function ‘of_n_size_cells’: ./include/linux/of.h:774:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 774 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u8_array’: ./include/linux/of.h:781:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 781 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u16_array’: ./include/linux/of.h:788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 788 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u32_array’: ./include/linux/of.h:797:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 797 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u64’: ./include/linux/of.h:803:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 803 | { | ^ ./include/linux/of.h: In function ‘of_property_read_variable_u64_array’: ./include/linux/of.h:812:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 812 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string’: ./include/linux/of.h:819:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 819 | { | ^ ./include/linux/of.h: In function ‘of_property_match_string’: ./include/linux/of.h:826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 826 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_helper’: ./include/linux/of.h:833:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 833 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle’: ./include/linux/of.h:840:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 840 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args’: ./include/linux/of.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_args_map’: ./include/linux/of.h:858:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 858 | { | ^ ./include/linux/of.h: In function ‘of_parse_phandle_with_fixed_args’: ./include/linux/of.h:865:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 865 | { | ^ ./include/linux/of.h: In function ‘of_count_phandle_with_args’: ./include/linux/of.h:872:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 872 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_init’: ./include/linux/of.h:881:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 881 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_next’: ./include/linux/of.h:886:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 886 | { | ^ ./include/linux/of.h: In function ‘of_phandle_iterator_args’: ./include/linux/of.h:893:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 893 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_id’: ./include/linux/of.h:898:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 898 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_highest_id’: ./include/linux/of.h:903:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 903 | { | ^ ./include/linux/of.h: In function ‘of_alias_get_alias_list’: ./include/linux/of.h:910:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 910 | { | ^ ./include/linux/of.h: In function ‘of_machine_is_compatible’: ./include/linux/of.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | { | ^ ./include/linux/of.h: In function ‘of_console_check’: ./include/linux/of.h:920:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 920 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_u32’: ./include/linux/of.h:926:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 926 | { | ^ ./include/linux/of.h: In function ‘of_prop_next_string’: ./include/linux/of.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | { | ^ ./include/linux/of.h: In function ‘of_node_check_flag’: ./include/linux/of.h:937:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 937 | { | ^ ./include/linux/of.h: In function ‘of_node_test_and_set_flag’: ./include/linux/of.h:943:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 943 | { | ^ ./include/linux/of.h: In function ‘of_node_set_flag’: ./include/linux/of.h:948:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 948 | { | ^ ./include/linux/of.h: In function ‘of_node_clear_flag’: ./include/linux/of.h:952:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 952 | { | ^ ./include/linux/of.h: In function ‘of_property_check_flag’: ./include/linux/of.h:956:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 956 | { | ^ ./include/linux/of.h: In function ‘of_property_set_flag’: ./include/linux/of.h:961:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 961 | { | ^ ./include/linux/of.h: In function ‘of_property_clear_flag’: ./include/linux/of.h:965:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 965 | { | ^ ./include/linux/of.h: In function ‘of_cpu_node_to_id’: ./include/linux/of.h:969:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 969 | { | ^ ./include/linux/of.h: In function ‘of_map_rid’: ./include/linux/of.h:976:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 976 | { | ^ ./include/linux/of.h: In function ‘of_prop_val_eq’: ./include/linux/of.h:992:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 992 | { | ^ ./include/linux/of.h: In function ‘of_node_to_nid’: ./include/linux/of.h:1001:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1001 | { | ^ ./include/linux/of.h: In function ‘of_numa_init’: ./include/linux/of.h:1010:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1010 | { | ^ ./include/linux/of.h: In function ‘of_find_matching_node’: ./include/linux/of.h:1018:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1018 | { | ^ ./include/linux/of.h: In function ‘of_node_get_device_type’: ./include/linux/of.h:1023:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1023 | { | ^ ./include/linux/of.h: In function ‘of_node_is_type’: ./include/linux/of.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u8_elems’: ./include/linux/of.h:1047:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1047 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u16_elems’: ./include/linux/of.h:1064:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1064 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u32_elems’: ./include/linux/of.h:1081:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1081 | { | ^ ./include/linux/of.h: In function ‘of_property_count_u64_elems’: ./include/linux/of.h:1098:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1098 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_array’: ./include/linux/of.h:1118:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1118 | { | ^ ./include/linux/of.h: In function ‘of_property_count_strings’: ./include/linux/of.h:1136:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1136 | { | ^ ./include/linux/of.h: In function ‘of_property_read_string_index’: ./include/linux/of.h:1161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1161 | { | ^ ./include/linux/of.h: In function ‘of_property_read_bool’: ./include/linux/of.h:1176:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1176 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u8’: ./include/linux/of.h:1185:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1185 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u16’: ./include/linux/of.h:1192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1192 | { | ^ ./include/linux/of.h: In function ‘of_property_read_u32’: ./include/linux/of.h:1199:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1199 | { | ^ ./include/linux/of.h: In function ‘of_property_read_s32’: ./include/linux/of.h:1206:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1206 | { | ^ ./include/linux/of.h: In function ‘of_get_child_count’: ./include/linux/of.h:1260:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1260 | { | ^ ./include/linux/of.h: In function ‘of_get_available_child_count’: ./include/linux/of.h:1271:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1271 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_register’: ./include/linux/of.h:1394:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1394 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notifier_unregister’: ./include/linux/of.h:1398:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1398 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_notify’: ./include/linux/of.h:1403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1403 | { | ^ ./include/linux/of.h: In function ‘of_reconfig_get_state_change’: ./include/linux/of.h:1408:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1408 | { | ^ ./include/linux/of.h: In function ‘of_device_is_system_power_controller’: ./include/linux/of.h:1420:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1420 | { | ^ ./include/linux/of.h: In function ‘of_overlay_fdt_apply’: ./include/linux/of.h:1453:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1453 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove’: ./include/linux/of.h:1458:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1458 | { | ^ ./include/linux/of.h: In function ‘of_overlay_remove_all’: ./include/linux/of.h:1463:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1463 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_register’: ./include/linux/of.h:1468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1468 | { | ^ ./include/linux/of.h: In function ‘of_overlay_notifier_unregister’: ./include/linux/of.h:1473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1473 | { | ^ In file included from ./include/linux/i2c.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/irqdomain.h: In function ‘irq_domain_get_of_node’: ./include/linux/irqdomain.h:216:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 216 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_fwnode’: ./include/linux/irqdomain.h:232:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 232 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_named_id_fwnode’: ./include/linux/irqdomain.h:238:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 238 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_fwnode’: ./include/linux/irqdomain.h:244:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 244 | { | ^ ./include/linux/irqdomain.h: In function ‘of_node_to_fwnode’: ./include/linux/irqdomain.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 273 | { | ^ ./include/linux/irqdomain.h: In function ‘is_fwnode_irqchip’: ./include/linux/irqdomain.h:280:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 280 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_fwnode’: ./include/linux/irqdomain.h:290:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 290 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_matching_host’: ./include/linux/irqdomain.h:300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 300 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_find_host’: ./include/linux/irqdomain.h:305:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 305 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_linear’: ./include/linux/irqdomain.h:326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 326 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_nomap’: ./include/linux/irqdomain.h:333:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 333 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_legacy_isa’: ./include/linux/irqdomain.h:340:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 340 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_tree’: ./include/linux/irqdomain.h:347:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 347 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_linear’: ./include/linux/irqdomain.h:355:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 355 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_create_tree’: ./include/linux/irqdomain.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_linear_revmap’: ./include/linux/irqdomain.h:393:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 393 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_create_identity_mapping’: ./include/linux/irqdomain.h:405:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 405 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_add_hierarchy’: ./include/linux/irqdomain.h:445:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 445 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_alloc_irqs’: ./include/linux/irqdomain.h:461:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 461 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_hierarchy’: ./include/linux/irqdomain.h:493:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 493 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi’: ./include/linux/irqdomain.h:498:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 498 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_per_cpu’: ./include/linux/irqdomain.h:504:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 504 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_ipi_single’: ./include/linux/irqdomain.h:509:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 509 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi’: ./include/linux/irqdomain.h:514:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 514 | { | ^ ./include/linux/irqdomain.h: In function ‘irq_domain_is_msi_remap’: ./include/linux/irqdomain.h:519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 519 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:323, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/i2c.h: In function ‘i2c_master_recv’: ./include/linux/i2c.h:80:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 80 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_recv_dmasafe’: ./include/linux/i2c.h:95:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 95 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send’: ./include/linux/i2c.h:110:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 110 | { | ^ ./include/linux/i2c.h: In function ‘i2c_master_send_dmasafe’: ./include/linux/i2c.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 125 | { | ^ ./include/linux/i2c.h: In function ‘i2c_smbus_read_word_swapped’: ./include/linux/i2c.h:168:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 168 | { | ^ ./include/linux/i2c.h: In function ‘i2c_smbus_write_word_swapped’: ./include/linux/i2c.h:177:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 177 | { | ^ ./include/linux/i2c.h: In function ‘kobj_to_i2c_client’: ./include/linux/i2c.h:351:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 351 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_clientdata’: ./include/linux/i2c.h:357:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 357 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_clientdata’: ./include/linux/i2c.h:362:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 362 | { | ^ ./include/linux/i2c.h: In function ‘i2c_detect_slave_mode’: ./include/linux/i2c.h:387:49: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 387 | static inline bool i2c_detect_slave_mode(struct device *dev) { return false; } | ^~~~~~ ./include/linux/i2c.h: In function ‘i2c_get_adapdata’: ./include/linux/i2c.h:700:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 700 | { | ^ ./include/linux/i2c.h: In function ‘i2c_set_adapdata’: ./include/linux/i2c.h:705:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 705 | { | ^ ./include/linux/i2c.h: In function ‘i2c_parent_is_i2c_adapter’: ./include/linux/i2c.h:711:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 711 | { | ^ ./include/linux/i2c.h: In function ‘i2c_lock_bus’: ./include/linux/i2c.h:736:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 736 | { | ^ ./include/linux/i2c.h: In function ‘i2c_trylock_bus’: ./include/linux/i2c.h:750:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 750 | { | ^ ./include/linux/i2c.h: In function ‘i2c_unlock_bus’: ./include/linux/i2c.h:762:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 762 | { | ^ ./include/linux/i2c.h: In function ‘i2c_get_functionality’: ./include/linux/i2c.h:823:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 823 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_functionality’: ./include/linux/i2c.h:829:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 829 | { | ^ ./include/linux/i2c.h: In function ‘i2c_check_quirks’: ./include/linux/i2c.h:841:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 841 | { | ^ ./include/linux/i2c.h: In function ‘i2c_adapter_id’: ./include/linux/i2c.h:849:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 849 | { | ^ ./include/linux/i2c.h: In function ‘i2c_8bit_addr_from_msg’: ./include/linux/i2c.h:854:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 854 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_device_by_node’: ./include/linux/i2c.h:907:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 907 | { | ^ ./include/linux/i2c.h: In function ‘of_find_i2c_adapter_by_node’: ./include/linux/i2c.h:912:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 912 | { | ^ ./include/linux/i2c.h: In function ‘of_get_i2c_adapter_by_node’: ./include/linux/i2c.h:917:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 917 | { | ^ ./include/linux/i2c.h: In function ‘i2c_of_match_device’: ./include/linux/i2c.h:924:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 924 | { | ^ ./include/linux/i2c.h: In function ‘of_i2c_get_board_info’: ./include/linux/i2c.h:931:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 931 | { | ^ In file included from ./include/acpi/platform/acenvex.h:23, from ./include/acpi/acpi.h:28, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate’: ./include/acpi/platform/aclinuxex.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_allocate_zeroed’: ./include/acpi/platform/aclinuxex.h:56:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 56 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_free’: ./include/acpi/platform/aclinuxex.h:61:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 61 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_object’: ./include/acpi/platform/aclinuxex.h:66:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 66 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_get_thread_id’: ./include/acpi/platform/aclinuxex.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_acquire_raw_lock’: ./include/acpi/platform/aclinuxex.h:105:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 105 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_release_raw_lock’: ./include/acpi/platform/aclinuxex.h:114:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 114 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_delete_raw_lock’: ./include/acpi/platform/aclinuxex.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 119 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_readable’: ./include/acpi/platform/aclinuxex.h:124:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 124 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_initialize_debugger’: ./include/acpi/platform/aclinuxex.h:129:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 129 | { | ^ ./include/acpi/platform/aclinuxex.h: In function ‘acpi_os_terminate_debugger’: ./include/acpi/platform/aclinuxex.h:134:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 134 | { | ^ In file included from ./include/acpi/acpi.h:31, from ./include/linux/acpi.h:34, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/acpi/acpixf.h: In function ‘acpi_debug_print’: ./include/acpi/acpixf.h:915:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 915 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/acpi/acpixf.h: In function ‘acpi_debug_print_raw’: ./include/acpi/acpixf.h:923:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 923 | ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/acpi/acpixf.h: In function ‘acpi_trace_point’: ./include/acpi/acpixf.h:932:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 932 | ACPI_DBG_DEPENDENT_RETURN_VOID(void | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/acpi.h:44, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/acpi/acpi_bus.h: In function ‘acpi_evaluate_dsm_typed’: ./include/acpi/acpi_bus.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 72 | { | ^ ./include/acpi/acpi_bus.h: In function ‘to_acpi_hotplug_profile’: ./include/acpi/acpi_bus.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_node’: ./include/acpi/acpi_bus.h:416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 416 | { | ^ ./include/acpi/acpi_bus.h: In function ‘is_acpi_static_node’: ./include/acpi/acpi_bus.h:441:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 441 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_data_node_match’: ./include/acpi/acpi_bus.h:448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 448 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_fwnode_handle’: ./include/acpi/acpi_bus.h:454:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 454 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_driver_data’: ./include/acpi/acpi_bus.h:459:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 459 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_set_device_status’: ./include/acpi/acpi_bus.h:467:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 467 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_set_hp_context’: ./include/acpi/acpi_bus.h:473:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 473 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_enumerated’: ./include/acpi/acpi_bus.h:554:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 554 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_power_manageable’: ./include/acpi/acpi_bus.h:674:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 674 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_wakeup’: ./include/acpi/acpi_bus.h:679:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 679 | { | ^ ./include/acpi/acpi_bus.h: In function ‘acpi_device_can_poweroff’: ./include/acpi/acpi_bus.h:684:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 684 | { | ^ In file included from ./include/linux/acpi.h:47, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/acpi/acpi_io.h: In function ‘acpi_os_ioremap’: ./include/acpi/acpi_io.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 12 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:327, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/acpi.h: In function ‘acpi_device_handle’: ./include/linux/acpi.h:51:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 51 | { | ^ ./include/linux/acpi.h: In function ‘acpi_alloc_fwnode_static’: ./include/linux/acpi.h:63:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 63 | { | ^ ./include/linux/acpi.h: In function ‘acpi_free_fwnode_static’: ./include/linux/acpi.h:76:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 76 | { | ^ ./include/linux/acpi.h: In function ‘has_acpi_companion’: ./include/linux/acpi.h:97:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 97 | { | ^ ./include/linux/acpi.h: In function ‘acpi_preset_companion’: ./include/linux/acpi.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_name’: ./include/linux/acpi.h:108:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 108 | { | ^ ./include/linux/acpi.h: In function ‘acpi_numa_gicc_affinity_init’: ./include/linux/acpi.h:268:37: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 268 | acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) { } | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/acpi.h: In function ‘invalid_logical_cpuid’: ./include/linux/acpi.h:279:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 279 | { | ^ ./include/linux/acpi.h: In function ‘invalid_phys_cpuid’: ./include/linux/acpi.h:284:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 284 | { | ^ ./include/linux/acpi.h: In function ‘acpi_sci_irq_valid’: ./include/linux/acpi.h:312:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 312 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_filter_resource_type_cb’: ./include/linux/acpi.h:442:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 442 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_set_enumerated’: ./include/linux/acpi.h:614:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 614 | { | ^ ./include/linux/acpi.h: In function ‘acpi_device_clear_enumerated’: ./include/linux/acpi.h:619:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 619 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_remove_driver_gpios’: ./include/linux/acpi.h:1026:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1026 | { | ^ ./include/linux/acpi.h: In function ‘acpi_node_get_property_reference’: ./include/linux/acpi.h:1088:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1088 | { | ^ ./include/linux/acpi.h: In function ‘acpi_dev_has_props’: ./include/linux/acpi.h:1094:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1094 | { | ^ ./include/linux/acpi.h: In function ‘acpi_irq_get’: ./include/linux/acpi.h:1301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1301 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology’: ./include/linux/acpi.h:1321:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1321 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_topology_package’: ./include/linux/acpi.h:1325:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1325 | { | ^ ./include/linux/acpi.h: In function ‘find_acpi_cpu_cache_topology’: ./include/linux/acpi.h:1329:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1329 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmalloc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:533:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 533 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vfree’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:541:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 541 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:547:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 547 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:555:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 555 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:563:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 563 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:575:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 575 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_iounmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:587:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 587 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 632 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_vunmap’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:649:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 649 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:729:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 729 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1028:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1028 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_io_remap_page_range’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1065:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1065 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_alloc_stack’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1112:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1112 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_kmem_cache_free_stack’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1126:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1126 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_init_flags’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1198:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1198 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1221:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1221 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_dma_maps_swiotlb’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1243:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1243 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_node_end_pfn’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1817:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1817 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_pci_bus_address’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1826:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1826 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_alloc_release’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1846:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1846 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_compress_nvlink_addr’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1894:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1894 | { | ^ /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h: In function ‘nv_expand_nvlink_addr’: /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1909:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1909 | { | ^ In file included from ./include/linux/kgdb.h:20, from ./include/linux/fb.h:5, from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./arch/x86/include/asm/kgdb.h: In function ‘arch_kgdb_breakpoint’: ./arch/x86/include/asm/kgdb.h:82:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 82 | { | ^ In file included from ./include/linux/backlight.h:13, from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/fb.h: In function ‘alloc_apertures’: ./include/linux/fb.h:536:22: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 536 | static inline struct apertures_struct *alloc_apertures(unsigned int max_num) { | ^~~~~~~~~~~~~~~~ ./include/linux/fb.h: In function ‘unlock_fb_info’: ./include/linux/fb.h:666:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 666 | { | ^ ./include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: ./include/linux/fb.h:672:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 672 | { | ^ ./include/linux/fb.h: In function ‘fb_be_math’: ./include/linux/fb.h:696:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 696 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/common/inc/nv-linux.h:1923, from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:13: ./include/linux/backlight.h: In function ‘backlight_update_status’: ./include/linux/backlight.h:117:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 117 | { | ^ ./include/linux/backlight.h: In function ‘backlight_enable’: ./include/linux/backlight.h:133:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 133 | { | ^ ./include/linux/backlight.h: In function ‘backlight_disable’: ./include/linux/backlight.h:149:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 149 | { | ^ ./include/linux/backlight.h: In function ‘backlight_put’: ./include/linux/backlight.h:165:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 165 | { | ^ ./include/linux/backlight.h: In function ‘bl_get_data’: ./include/linux/backlight.h:190:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 190 | { | ^ ./include/linux/backlight.h: In function ‘of_find_backlight_by_node’: ./include/linux/backlight.h:208:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 208 | { | ^ In file included from /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:31: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-ibmnpu.h: In function ‘nv_get_numa_status’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-ibmnpu.h:98:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 98 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv-ibmnpu.h: In function ‘nv_set_numa_status’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv-ibmnpu.h:103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 103 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘verify_pci_bars’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:172:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 172 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_check_pci_config_space’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:228:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 228 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_verify_pci_config’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:272:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 272 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvos_create_alloc’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:344:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 344 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvos_free_alloc’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:392:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 392 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_find_pci_capability’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:414:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 414 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘find_pci’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:455:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 455 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_state_init_gpu_uuid_cache’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:478:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 478 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_state_set_gpu_uuid_cache’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:483:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 483 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_state_get_gpu_uuid_cache’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:499:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 499 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_init_module’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:771:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 771 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_exit_module’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1161:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1161 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_alloc_file_private’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1227 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_free_file_private’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1248:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1248 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_is_control_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1266:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1266 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘find_minor’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1276:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1276 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘find_gpu_id’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1300:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1300 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘find_uuid’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1326:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1326 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘find_uuid_candidate’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1365:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1365 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_dev_free_stacks’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1416:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1416 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_dev_alloc_stacks’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1429 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘validate_numa_start_state’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1447 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_start_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1468:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1468 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_open_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1680:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1680 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_open’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1732 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘validate_numa_shutdown_state’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1825:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1825 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_shutdown_adapter’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1834:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1834 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_stop_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1862:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1862 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_close_device’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1919:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1919 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_close’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1946:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1946 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_poll’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:1997:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 1997 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_read_card_info’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2053:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2053 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_ioctl’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2103:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2103 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_unlocked_ioctl’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2446:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2446 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_isr’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2462:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2462 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_isr_kthread_bh’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2523:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2523 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_isr_tasklet_bh’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2531:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2531 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_isr_common_bh’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2539:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2539 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_isr_bh_unlocked’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2553:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2553 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_rc_timer_callback’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2582:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2582 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_ctl_open’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2606:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2606 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_ctl_close’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2648:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2648 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_set_dma_address_size’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2732:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2732 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_map_guest_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2753:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2753 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_alias_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2788 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_register_peer_io_mem’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2844:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2844 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_unregister_peer_io_mem’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2883:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2883 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_register_user_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2903:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2903 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_unregister_user_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2954:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2954 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_alloc_kernel_mapping’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:2979:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 2979 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_free_kernel_mapping’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3056:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3056 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_alloc_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3085:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3085 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_free_pages’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3182:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3182 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_lock_init_locks’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3220:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3220 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_lock_destroy_locks’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3239:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3239 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_post_event’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3250:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3250 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_fd_memdesc’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3288:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3288 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_add_fd_memdesc_to_fd’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3301:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3301 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_export_rm_object_to_fd’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3352:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3352 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_import_rm_object_from_fd’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3399:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3399 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_event’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3448:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3448 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_start_rc_timer’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3480:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3480 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_stop_rc_timer’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3503:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3503 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvos_validate_assigned_gpus’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3519:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3519 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvos_count_devices’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3543:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3543 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvos_is_chipset_io_coherent’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3596:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3596 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_treat_missing_irq_as_error’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3617:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3617 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_probe’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:3632:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 3632 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_remove’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4000:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4000 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_power_management’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4138:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4138 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_suspend’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4214 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_resume’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4257:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4257 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_adapter_state’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4383:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4383 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_ctl_state’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4403:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4403 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_log_error’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4413:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4413 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_dma_start_address’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4429:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4429 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_set_primary_vga_status’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4577:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4577 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_pci_trigger_recovery’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4597:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4597 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_requires_dma_remap’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4630:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4630 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_get_gpuid_list’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4643:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4643 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_dev_get’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4689:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4689 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_dev_put’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4710:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4710 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_dev_get_uuid’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4728:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4728 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_dev_put_uuid’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4775:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4775 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nvidia_dev_get_pci_info’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4788:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4788 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_device_memory_config’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4813:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4813 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_update_backlight_status’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4905:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4905 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_get_backlight_brightness’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4930:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4930 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_register_backlight’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4969:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4969 | { | ^ /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c: In function ‘nv_unregister_backlight’: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.c:4994:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible 4994 | { | ^ make[2]: *** [scripts/Makefile.build:286: /var/lib/dkms/nvidia/390.129/build/nvidia/nv.o] Error 1 make[1]: *** [Makefile:1606: _module_/var/lib/dkms/nvidia/390.129/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-27-generic' make: *** [Makefile:81: modules] Error 2