Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Spyridon_M_Intel
Employee
103 Views

Enclave signing fails with undefined symbols when using icc

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
103 Views

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

Reply