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

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

pp__monkeyking
Beginner
714 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
697 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

0 Kudos
2 Replies
JesusG_Intel
Moderator
698 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



0 Kudos
JesusG_Intel
Moderator
675 Views

Hello pp_monkeyking,


Do you still need help with this issue?


Sincerely,

Jesus G.

Intel Customer Support


0 Kudos
Reply