Opened 5 years ago
Closed 5 years ago
#19473 closed defect (duplicate)
6.1.4r136177 + linux kernel 5.6.3 module build error: "invalid use of undefined type ‘struct timeval’"
Reported by: | pgnd | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 6.1.4 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Linux |
Description
on linux/64, with kernel
uname -rm 5.6.3-24.ge840c7b-default x86_64
with
rpm -qa | grep -i VirtualBox VirtualBox-6.1-6.1.4_136177_openSUSE150-1.x86_64
installed from upstream repo @
app launches, but can't launch a VM.
error advises exec of,
/sbin/vboxconfig
which fails
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service. vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. If your system is using EFI Secure Boot you may need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
checking log
cat /var/log/vbox-setup.log Building the main VirtualBox module. Error building the module: make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.6.3-24.ge840c7b-default/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j16 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. make -C /usr/src/linux-5.6.3-24.ge840c7b-obj/x86_64/default -f /usr/src/linux-5.6.3-24.ge840c7b/Makefile modules make -f /usr/src/linux-5.6.3-24.ge840c7b/scripts/Makefile.build obj=/tmp/vbox.0 \ single-build= \ need-builtin=1 need-modorder=1 gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"SUPDrv_linux"' -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c ... ... /tmp/vbox.0/include/iprt/time.h:379:32: error: expected ‘;’ before ‘i64’ 379 | pTimeval->tv_sec = (time_t)i64; | ^~~ | ; /tmp/vbox.0/include/iprt/time.h:380:13: error: invalid use of undefined type ‘struct timeval’ 380 | pTimeval->tv_usec = i32Micro; | ^~ /tmp/vbox.0/include/iprt/time.h: In function ‘RTTimeSpecSetTimeval’: /tmp/vbox.0/include/iprt/time.h:393:67: error: invalid use of undefined type ‘const struct timeval’ 393 | return RTTimeSpecAddMicro(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_usec); | ^~ /tmp/vbox.0/include/iprt/time.h:393:86: error: invalid use of undefined type ‘const struct timeval’ 393 | return RTTimeSpecAddMicro(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_usec); | ^~ make[3]: *** [/usr/src/linux-5.6.3-24.ge840c7b/scripts/Makefile.build:269: /tmp/vbox.0/r0drv/linux/semevent-r0drv-linux.o] Error 1 In file included from /tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:38, from /tmp/vbox.0/r0drv/linux/semeventmulti-r0drv-linux.c:42: /tmp/vbox.0/include/iprt/time.h: In function ‘RTTimeSpecGetTimeval’: /tmp/vbox.0/include/iprt/time.h:379:13: error: invalid use of undefined type ‘struct timeval’ 379 | pTimeval->tv_sec = (time_t)i64; | ^~ /tmp/vbox.0/include/iprt/time.h:379:25: error: ‘time_t’ undeclared (first use in this function); did you mean ‘ktime_t’? 379 | pTimeval->tv_sec = (time_t)i64; | ^~~~~~ | ktime_t /tmp/vbox.0/include/iprt/time.h:379:25: note: each undeclared identifier is reported only once for each function it appears in /tmp/vbox.0/include/iprt/time.h:379:32: error: expected ‘;’ before ‘i64’ 379 | pTimeval->tv_sec = (time_t)i64; | ^~~ | ; /tmp/vbox.0/include/iprt/time.h:380:13: error: invalid use of undefined type ‘struct timeval’ 380 | pTimeval->tv_usec = i32Micro; | ^~ /tmp/vbox.0/include/iprt/time.h: In function ‘RTTimeSpecSetTimeval’: /tmp/vbox.0/include/iprt/time.h:393:67: error: invalid use of undefined type ‘const struct timeval’ 393 | return RTTimeSpecAddMicro(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_usec); | ^~ /tmp/vbox.0/include/iprt/time.h:393:86: error: invalid use of undefined type ‘const struct timeval’ 393 | return RTTimeSpecAddMicro(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_usec); | ^~ make[3]: *** [/usr/src/linux-5.6.3-24.ge840c7b/scripts/Makefile.build:269: /tmp/vbox.0/r0drv/linux/semeventmulti-r0drv-linux.o] Error 1 ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.o if objdump -h /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.semfastmutex-r0drv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"semfastmutex_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_semfastmutex-r0drv-linux.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_semfastmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_semfastmutex-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_semfastmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_semfastmutex-r0drv-linux.ver; fi ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.o if objdump -h /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.thread2-r0drv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"thread2_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_thread2-r0drv-linux.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_thread2-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_thread2-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_thread2-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_thread2-r0drv-linux.ver; fi ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/SUPDrvGip.o ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.o if objdump -h /tmp/vbox.0/SUPDrvGip.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/.SUPDrvGip.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"SUPDrvGip"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/SUPDrvGip.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/.tmp_SUPDrvGip.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/.tmp_SUPDrvGip.o /tmp/vbox.0/SUPDrvGip.o -T /tmp/vbox.0/.tmp_SUPDrvGip.ver; mv -f /tmp/vbox.0/.tmp_SUPDrvGip.o /tmp/vbox.0/SUPDrvGip.o; rm -f /tmp/vbox.0/.tmp_SUPDrvGip.ver; fi ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.o if objdump -h /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.spinlock-r0drv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"spinlock_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_spinlock-r0drv-linux.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_spinlock-r0drv-linux.o /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_spinlock-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_spinlock-r0drv-linux.o /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_spinlock-r0drv-linux.ver; fi if objdump -h /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.thread-r0drv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"thread_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_thread-r0drv-linux.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_thread-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_thread-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_thread-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_thread-r0drv-linux.ver; fi ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.o if objdump -h /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.semmutex-r0drv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"semmutex_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_semmutex-r0drv-linux.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_semmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_semmutex-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_semmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_semmutex-r0drv-linux.ver; fi ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /tmp/vbox.0/SUPDrv.o if objdump -h /tmp/vbox.0/SUPDrv.o | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/10/include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.6.3-24.ge840c7b/include -I./include -I/usr/src/linux-5.6.3-24.ge840c7b/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.6.3-24.ge840c7b/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.6.3-24.ge840c7b/include/linux/kconfig.h -include /usr/src/linux-5.6.3-24.ge840c7b/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_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=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-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -flive-patching=inline-clone -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=/usr/src/linux-5.6.3-24.ge840c7b/= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I/usr/src/linux-5.6.3-24.ge840c7b/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"SUPDrv"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/SUPDrv.c | scripts/genksyms/genksyms -r /dev/null > /tmp/vbox.0/.tmp_SUPDrv.ver; ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/vbox.0/.tmp_SUPDrv.o /tmp/vbox.0/SUPDrv.o -T /tmp/vbox.0/.tmp_SUPDrv.ver; mv -f /tmp/vbox.0/.tmp_SUPDrv.o /tmp/vbox.0/SUPDrv.o; rm -f /tmp/vbox.0/.tmp_SUPDrv.ver; fi make[2]: *** [/usr/src/linux-5.6.3-24.ge840c7b/Makefile:1698: /tmp/vbox.0] Error 2 make[1]: *** [../../../linux-5.6.3-24.ge840c7b/Makefile:180: sub-make] Error 2 make: *** [/tmp/vbox.0/Makefile-footer.gmk:114: vboxdrv] Error 2
Note:
See TracTickets
for help on using tickets.
duplicate of ticket #19312