Created attachment 456354 [details] build log app-emulation/virtualbox-modules-5.1.10 fails to compile against kernel 4.9. Created build log. from /var/tmp/portage/app-emulation/virtualbox-modules-5.1.10/work/vboxdrv/linux/../SUPDrvInternal.h:80, from /var/tmp/portage/app-emulation/virtualbox-modules-5.1.10/work/vboxdrv/linux/SUPDrv-linux.c:32: ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: ./arch/x86/include/asm/realmode.h:66:2: error: implicit declaration of function ‘ALIGN’ [-Werror=implicit-function-declaration] return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); Upstream fix: https://www.virtualbox.org/changeset/64872/vbox The attached patch fix the issue
Created attachment 456356 [details, diff] upstream fix ready for /etc/portage/patches/
*** This bug has been marked as a duplicate of bug 602420 ***