-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux-sgx-driver compilation fails when the kernel version is 6.4. #152
Comments
Linux kernel v6.4 includes the in-kernel SGX driver. Suggest to use the in-kernel driver instead of this OOT driver. |
It looks like the latest driver is also failing to install for me. I'm working through the Driver Installation QuickStart instructions in the latest Intel SGX SW Installation Guide for Linux. I'm following the recommended instructions for the Out-of-Tree Driver option, as I need Legacy Launch Control support for my machine. I'm unable to install the driver, and I've tried on Ubuntu According to the Here's what I get when I try to install:
specifically,
I get the same error on It looks like @sssshello's PR #151 was a good fix, but closed with no explanation; but it was applied as a patch to a fork. Also, the warning, " |
As the title suggests, in the sgx_main.c file, there's a setting for the vm_flags variable. The kernel has already made modifications to the attributes of this variable by adding 'const' and provided an interface for configuration.
the kernel commit:torvalds/linux@bc292ab
The text was updated successfully, but these errors were encountered: