Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.
1448 Discussions

Enclave signing fails with undefined symbols when using icc

Spyridon_M_Intel
Employee
392 Views

Hi, I had compiled, linked, signed and used my enclave with gcc and everything was working fine. I switched to icc and since then, I cannot sign my enclave. Specifically, the enclave passes the compilation and linkage stages, but I get the following error when signing:

[check_symbol_table elfparser.cpp:230] symbol '__intel_avx_rep_memcpy' is undefined
The input enclave file is not correct.
Error happened while signing the enclave.

I would like to note that I have linked my enclave with the -lirng and -lirc flags on. My OS is 14.04.1-Ubuntu 64bit.

Could you please help me out with that?

Thank you in advance!

0 Kudos
1 Reply
Juan_d_Intel
Employee
392 Views

What version of ICC are you using? Do you get the same error building one of the sample enclaves?

0 Kudos
Reply