-
Notifications
You must be signed in to change notification settings - Fork 351
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
Build enclave with static GMP and NTL #3880
Comments
I will take a look at this and report back. |
Can you try adding Also do a verbose build of the enclave to make sure that |
I use GMP only to make it simpler, adding I tried to rebuild GMP with
Also checked the corresponding object file (same as the one without flag)
If I build a non-enclave code with |
GMPThis is a bit tricky to do currently due to the following
We are working on a package manager If you are interested, I can help you try out the tool. NTLOpen Enclave uses LLVM CXX library and therefore, NTK ought to be built against OE's C++ library. This is quite difficult to do currently. |
Hi, my environment is Ubuntu 18.04 and default CC and CXX are clang.
I want to use NTL in enclave, and I've tried built static GMP and NTL in following 2 commands:
My enclave CmakeLists:
This works fine when compiling non-enclave app, but I'd fail to compile enclave like this:
What's the proper way to build static library in enclave? Thanks.
The text was updated successfully, but these errors were encountered: