kBuild: Compiling RuntimeGuestR0 - /home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime/common/alloc/alloc.cpp In file included from /home/vagrant/VirtualBox-5.0.26/include/iprt/types.h:116:0, from /home/vagrant/VirtualBox-5.0.26/include/iprt/mem.h:31, from /home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime/common/alloc/alloc.cpp:34: /lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/linux/compiler.h:184:29: error: can’t set ‘no_instrument_function’ attribute after definition static __always_inline void __read_once_size(const volatile void *p, void *res, int size) ^ /lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/linux/compiler.h:198:29: error: can’t set ‘no_instrument_function’ attribute after definition static __always_inline void __write_once_size(volatile void *p, void *res, int size) ^ kmk: *** [/home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/alloc.o] Error 1 The failing command: @g++ -c -O2 -fno-pie -nostdinc -iwithprefix include -include /lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/linux/kconfig.h -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op -Wno-sign-compare -fdiagnostics-show-option -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -include /home/vagrant/VirtualBox-5.0.26/include/VBox/VBoxGuestMangling.h -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-reorder-blocks -fno-asynchronous-unwind-tables -funit-at-a-time -Wno-sign-compare -fno-exceptions -fno-rtti -include /home/vagrant/VirtualBox-5.0.26/include/VBox/VBoxGuestMangling.h -I/home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime/r0drv/linux -I/home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime -I/home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime/include -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/asm-i386/mach-default -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/asm-x86/mach-default -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/drm -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/arch/x86/include -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/arch/x86/include/asm/mach-default -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/arch/x86/include/uapi -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/arch/x86/include/generated -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/arch/x86/include/generated/uapi -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/uapi -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include/generated/uapi -I/lib/modules/3.10.0-327.28.3.el7.x86_64/build/include -I/home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release/obj/RuntimeGuestR0/dtrace -I/home/vagrant/VirtualBox-5.0.26/include -I/home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release -DVBOX -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRTPATH_APP_PRIVATE_ARCH=\"/opt/VirtualBox\" -DRTPATH_SHARED_LIBS=\"/opt/VirtualBox\" -DRTPATH_APP_DOCS=\"/opt/VirtualBox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D__KERNEL__ -DMODULE -DIN_GUEST -DIN_GUEST_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -DRT_NO_EXPORT_SYMBOL -DMODULE -DKBUILD_MODNAME=KBUILD_STR\(vboxdrv\) -DKBUILD_BASENAME=KBUILD_STR\(vboxdrv\) -DIN_SUP_R0 -Wp,-MD,/home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/alloc.o.dep -Wp,-MT,/home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/alloc.o -Wp,-MP -o /home/vagrant/VirtualBox-5.0.26/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/alloc.o /home/vagrant/VirtualBox-5.0.26/src/VBox/Runtime/common/alloc/alloc.cpp