-
Notifications
You must be signed in to change notification settings - Fork 86
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
foreshadow/lvi building error , memcmp running error #50
Comments
Thanks for reporting!
|
Thanks a lot for the analysis, jovanbulck, Update 1, foreshadow building: PASS, running: FAIL, error message: For 2, memcmp running error still exists. So I will close it and move all running issues to #51 |
Hello @xiaonan-INTC, @jovanbulck [===] Enclave [===] How did you resolve this? |
Hi @namrata690 From above:
I suspect your SDK installation is wrong. Can you post the full output of trying to build without the Line 60 in 1483dc8
|
|
Looks like your enclave signing is not succeeding. Try make clean first to generate new keys? Also, try rmeoving the |
looks like you'll have to remove and re-generate private_key.pem |
glad to hear it worked! the error message is exactly what it says, you have to load the driver /dev/sgx-step first -- see the README :) |
also note to self: improve the verbosity of the Makefile build system to display errors more clearly (eg via a global config option in the refactored build system cf #67 ) |
Also met same issue, could developers help check? :) |
Hi both! From the screenshot above, it seems like your APIC setup is not working and I suspect you get a #GP which the kernel doesn't expect and freezes your machine.. FWIW, it seems it crashes already at this line when it tries to read from the APIC (using the new x2apic support) via a privileged IRQ gate: Line 84 in 1483dc8
TL;DR: first make sure your basic setup works by running the programs in Feel free to let me know (preferably by opening a new issue with a much as info output etc as possible) if Hope this helps! |
also make sure to correctly configure |
Yeah, @w-woloszyn helped debug this and it works now. Thanks! |
For app/foreshadow/, run $make,
[===] Enclave [===]
[GEN] sgx_edger8r encl.edl
[CC] encl_t.c (trusted edge)
[CC] encl.c (core)
[LD] encl.o encl_t.o -lsgx_trts encl.unsigned.so
[SGN] encl.unsigned.so
make[1]: *** [Makefile:53: encl.so] Error 255
make: *** [Makefile:73: build-Enclave] Error 2
For app/lvi/, run $make,
[===] Enclave [===]
[GEN] sgx_edger8r encl.edl
[CC] encl_t.c (trusted edge)
[CC] encl.c (core)
[AS] asm.S (core)
[LD] encl.o asm.o encl_t.o -lsgx_trts encl.unsigned.so
[SGN] encl.unsigned.so
make[1]: *** [Makefile:53: encl.so] Error 255
make: *** [Makefile:66: build-Enclave] Error 2
For memcmp:
[main.c] assertion 'pwd_len < MAX_LEN' failed: Invalid argument
Aborted
The text was updated successfully, but these errors were encountered: