-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rebuilding gives "error: variable length array folded to constant array as an extension" #1
Comments
Hi Rob, thank you for your interest in the TDX module. Which Clang version are you using? The requirement for the current TDX 1.5 code is Clang 9.0.0 (not newer than that). |
I'll reply back shortly :) |
Thanks Sergey! For future reference, here are the steps I took on Ubuntu 23.10 to fix this issue:
This will get you 90% of the way there, but clang 9.0.0 will require semantically versioned libz3 if you just jump into
|
Running Ubuntu 23.10, and configured via their steps outlined here.
Confirmed that TDX is working, but with 1.0:
Building and running the guest return this under
dmesg
Checking the logfiles for qemu:
I tried to update the tdx-module to 1.5. I checked out the 1.5 branch and tried to build, and got several of these messages:
I can edit the file to remove -Werror, and I see these...looks like some bad comments:
Editing out the headers gets me further:
And at this point I'm stuck. Any suggestions?
The text was updated successfully, but these errors were encountered: