intel / intel/confidential-computing.sgx.sdk
symbol undefined with third party library
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I want to use intel mkl in my enclave.
I have installed intel mkl in my Dockerfile and added
-I/opt/intel/oneapi/mkl/latest/include to Enclave_Include_Paths
-L/opt/intel/oneapi/mkl/latest/lib -lmkl_rt to Enclave_Link_Flags between --start-group and --end-group flags
I am getting the errors
CXX <= App/App.cpp
LINK => app
CXX <= Enclave/TrustedLibrary/Libcxx.cpp
LINK => enclave.so
[check_symbol_table elfparser.cpp:253] symbol 'cblas_gemm_s16s16s32' is undefined
Symbol table incorrect
The input enclave file is not correct.
Error happened while signing the enclave.
make[1]: *** [Makefile:288: enclave.signed.so] Error 255
make[1]: Leaving directory '/home/admin/dev/linux-sgx/SampleCode/Cxx11SGXDemo_bak'
make: *** [Makefile:203: all] Error 2
I was expecting errors since it is not ported for sgx but the function it is talking about is just the libmkl_rt api function. Any advice is appreciated.
Contributor guide
Assessment
This issue has not been assessed yet.