Closed aep closed 2 years ago
Hi, You probably build with gcc, which isn't supported. You must have clang-10 installed before you invoke cmake.
hm current clang is version 13. getting an old version to build sounds like alot more work than just removing -Wall
AFAIK jump-misses-init doesn't exist in clang, but only in gcc. So I guess cmake chose gcc for some reason. Try deleting and recreating the build folder and force clang with cmake -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang ..
. However, it might still not build with another version than clang-10. This is a requirement of the underlying Open Enclave.
thanks, that worked. got different errors now.
undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
but as you said, that's expected. i'll just extract the binaries from the dpkg instead.
btw any reason ert is based on openenclave? Compared to gramine it seems rather immature.
IMO Open Enclave is the most mature SGX SDK-if you want to write new apps in C/C++. I've not used Gramine for a while. I think it has evolved impressively. In the past it had serious stability, security, and UX issues.
is there any tag that is known to build?