Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1264 Discussions

One problem about sgx enclave program running at Intel Core Processor (Haswell)

pp__monkeyking
Beginner
261 Views

I compile my sgx enclave program at Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz by the cmd:

make SGX_MODE=SIM,

then,

I run the sgx enclave program at  Intel Core Processor (Haswell),

and the enclave crashes, the crash info shows:

SIGILL: illegal instruction
PC=0x7fb4f219f4b0 m=3 sigcode=2;

why?

Can the enclave(SIM) not run at Intel Core Processor (Haswell) ?

or 

Should I compile my sgx enclave program at  Intel Core Processor (Haswell) and also run it at  Intel Core Processor (Haswell) ?

 

 

0 Kudos
1 Solution
JesusG_Intel
Moderator
244 Views

Hello pp_monkeyking,


Yes, it is best to compile your program on the Haswell system so that it can find all of the relevant SGX simulation libraries in the system.


Sincerely,

Jesus G.

Intel Customer Support



View solution in original post

2 Replies
JesusG_Intel
Moderator
245 Views

Hello pp_monkeyking,


Yes, it is best to compile your program on the Haswell system so that it can find all of the relevant SGX simulation libraries in the system.


Sincerely,

Jesus G.

Intel Customer Support



JesusG_Intel
Moderator
222 Views

Hello pp_monkeyking,


Do you still need help with this issue?


Sincerely,

Jesus G.

Intel Customer Support


Reply