Applying the patch referenced below to the last file only (/usr/src/virtualbox-6.1.14/r0drv/linux/thread2-r0drv-linux.c) fixed the issue for me: https://747946.bugs.gentoo.org/attachment.cgi?id=664933
- Bug#972483: virtualbox-dkms: Cannot compile modules on ke... Holger Schröder
- Bug#972483: virtualbox-dkms: Cannot compile modules ... Jonas Andradas
- Bug#972483: patch (gentoo bug 747946) di dit