Summary: | app-emulation/virtualbox-modules-5.1.10 does not build with kernel 4.9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | François Valenduc <francoisvalenduc> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | masterzorag, wiselord1983 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | linux 4.9.0 patch for virtualbox-modules |
Description
François Valenduc
2016-12-14 19:06:12 UTC
There were several duplicate bugs here, closed as 'UPSTREAM BUGS' But I found a solution: Replace in linux sources, in realmode.h: return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); with return __ALIGN_KERNEL(real_mode_blob_end - real_mode_blob, PAGE_SIZE); It's the devfinition of ALIGN taken from <linux/kernel.h> Maybe it should be in form of patch for gentoo-sources. Created attachment 456278 [details, diff]
linux 4.9.0 patch for virtualbox-modules
This one worked for me
*** This bug has been marked as a duplicate of bug 602420 *** |