-
Notifications
You must be signed in to change notification settings - Fork 229
Conversation
@morphis Could you please give a review |
|
@SoulInfernoDE |
I can confirm it. Everything is good on 5.1.4 after the patch... |
yes with the patch it works - is this patch beeing merged somehow somewhere or do we always need to apply this everytime on kernel 5.x ? |
@SoulInfernoDE Once this PR is merged, you won't have to apply the patch manually any more. |
@anbox please take the patch |
@morphis |
Apparently I did a bunch of work on this, only to discover my work is a duplicate of this PR... although I did discover that apparently, the header change should start at kernel 4.17, which is when the typedef for vm_fault_t was added to the kernel headers. |
Any progress on getting this merged? |
if you need to apply patch you can look at: This was referenced here also. On debian/linux mint you need to sudo apt install patch. Then download the source code that needs to be patched. Put the patchfile in the root of the source code folder and use terminal/shell to apply the patch: |
i managed to do it but thank you
Am So., 16. Juni 2019 um 18:46 Uhr schrieb Soul Inferno DE <
[email protected]>:
… if you need to apply patch you can look at:
https://github.com/archlinuxcn/repo/blob/b668ee4ea9749c77c55212032c5f064d6fb11107/archlinuxcn/anbox-git/fix_linux_5.1.x.patch
This was referenced here also. On debian/linux mint you need to sudo apt
install patch. Then download the source code that needs to be patched. Put
the patchfile in the root of the source code folder and use terminal/shall
to apply the patch:
patch -p1 < fix_linux_5.1.x.patch
Then build the module again from the patched source.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19?email_source=notifications&email_token=AD4VHI74LIWX5OXM3CQ5GSDP2ZU7NA5CNFSM4HMJPRN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZQZEQ#issuecomment-502467730>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD4VHI4ZYRDRQA36OZXALHTP2ZU7NANCNFSM4HMJPRNQ>
.
|
@86423355844265459587182778 if we can use gcc8 on travis just for the relevant kernels that would be the way to go. |
Thanks @86423355844265459587182778, this tweak worked for me to install the binder on Fedora 30 running 5.1.15-300 kernel. Hopefully the team implements it soon, and doesn't break anything. Good work. Appreciate it. |
@Technically-Alexander |
Here are some details about it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to apt:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
At:
Lines 6 to 12 in ec5b60a
apt: | |
packages: | |
- bison | |
- flex | |
- libelf-dev | |
- dpkg-dev | |
- debhelper |
Change KVER=5.1
and KVER=5.0
To:
- KVER=5.0 && CC=gcc-8 && CXX=g++-8
- KVER=5.1 && CC=gcc-8 && CXX=g++-8
At:
Lines 24 to 28 in ec5b60a
- KVER=4.17 | |
- KVER=5.0 | |
- KVER=5.1 | |
- KVER=master | |
This problem with the travis build rises from the mitigation of SPECTREv2, released on KVER=4.20, backported to 4.19.2, so builds to kernel versions equal or greater also will fail with an outdated compiler. However, travis is not testing against them, sooo whatever, I guess https://stackoverflow.com/questions/48089426/what-is-a-retpoline-and-how-does-it-work |
Just checked kernel's makefile: |
I managed to make Travis use GCC 8 just for kernels >= 5.0. Thanks @Hattshire! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@morphis When will you update the Packages in your PPA at https://launchpad.net/~morphis/+archive/ubuntu/anbox-support/+packages ? |
I'm still getting this error.
Please let me know if there's other information I can provide to help. |
@hosford42 I guess you have installed |
@hosford42 Oh, sorry, maybe #36 might fix this? |
That does look like it will address my error. I was attempting to follow the instructions in https://github.com/anbox/anbox/blob/master/docs/install.md, which indicate that anbox-modules should be installed from |
Based on torvalds/linux@e19f70a. Fixes #17.