Created attachment 630950 [details]
1.Corresponding to the version of app-emulation/virtualbox-6.1.4-r2
2.According to https://www.virtualbox.org/ticket/19312 time.patch and ioremap_nocache replacement patches are required
Created attachment 630952 [details, diff]
No patch compilation error：
/var/tmp/portage/app-emulation/virtualbox-modules-6.1.4-r2/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1465:32: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
1465 | ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
/var/tmp/portage/app-emulation/virtualbox-modules-6.1.4-r2/work/vboxdrv/include/iprt/time.h:379:13: error: dereferencing pointer to incomplete type ‘struct timeval’
379 | pTimeval->tv_sec = (time_t)i64;
Thanks for the report. In this instance, it looks like a duplicate. Have a look at the bug I've marked it as a dup of.
*** This bug has been marked as a duplicate of bug 715726 ***
(In reply to Sam James (sam_c) (security padawan) from comment #2)
> Thanks for the report. In this instance, it looks like a duplicate. Have a
> look at the bug I've marked it as a dup of.
> *** This bug has been marked as a duplicate of bug 715726 ***