-
Notifications
You must be signed in to change notification settings - Fork 47
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
Enclave SGX_DEBUG mode not working #375
Comments
Maybe they distinguish between cargo build mode and enclave build mode. In our case, |
I've tried the following:
Nothing worked. I then replaced the cargo output path with release aswell as the build modus set to --release, also in SGX_DEBUG=1, and it worked. Is there any reason against using the cargo release build mode in SGX_DEBUG mode? |
I don't think we need cargo --debug. SGX_DEBUG should refer to HW mode with debugging enabled (as opposed to HW in production mode |
Then I suggest to use cargo release for both modi, just like teaclave is doing. |
I agree, I think we only lack some debug-symbols when compiling for release, which I believe nobody of us is using at the moment. Furthermore, release yields significantly smaller binaries. |
so what's the action to be taken now? |
I think closing this issue as won't fix. |
I have just seen that I actually gave the wrong advice. I think we should just |
I think we need to update our makefile anyway to solve issue #373 and https://github.com/integritee-network/deployment/issues/6. As this process will include quite some adaptions to match the makefile of teaclave, this issue could easily be solved along the way. |
Use cargo --release also in case of SGX_DEBUG=1 and hence also the corresponding target/release folder. Closes #375
Use cargo --release also in case of SGX_DEBUG=1 and hence also the corresponding target/release folder. Closes #375
Use cargo --release also in case of SGX_DEBUG=1 and hence also the corresponding target/release folder. Closes #375
When compiling the worker code in debug mode and starting the worker the following error occurs:
teaclave do not distinguish between debug and non debug mode regarding the cargo build paths. Is there a reason why we do?
Teaclave:
We
The text was updated successfully, but these errors were encountered: