-
Notifications
You must be signed in to change notification settings - Fork 539
-
Notifications
You must be signed in to change notification settings - Fork 539
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
Switchless mode and sgx-ssl conflict each other? #414
Comments
sgx-ssl has been integrated into You can follow the README.md to build a debug version SDK/PSW for debugging. |
Ah, is standalone sgx-ssl no more used? Then what is the most idiomatic way to write enclave with openssl header funcitons? More specifically, how can I port test-app to switchless version? How can I deal with sgx-ssl specific header files? e.g. Thanks! |
Not exactly. SgxSSL still can be used as a standalone library, by linking your enclave to its libraries directly. |
Update:
Issue is under investigations. |
Thank you for looking further at the issue! |
Update: This line was added to the Makefile:
And here is the backtrace:
|
I accidentally resolved this issue by re-compiling the whole SGX SDK v2.7 with I still don't understand the reason why |
I am trying to build an app using switchless mode and sgx-ssl.
On my machines (Ubuntu 18.04, sgxsdk 2.5, sgxssl 2.4.1), standalone switchless example and sgx-ssl test-app (found here) works well, but, when trying to combine these two, I get an illigal intstruction error from
libsgx_urts.so
.More specifically, after linking sgx-ssl (i.e.
ligsgx_tsgxssl
) andlibsgx_tsetjmp
to an enclave, attempt to initialize and enclave usingsgx_create_enclave_ex()
raises SIGILL.p.s. I wanted to provide more detailed error report, but I currently don't know how to dump SE_TRACEs ;)
Where can I find documentation for debugging
libsgx_urts.so
?The text was updated successfully, but these errors were encountered: