Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pp__monkeyking
Beginner
82 Views

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

Jump to solution

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
65 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
66 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

JesusG_Intel
Moderator
43 Views

Hello pp_monkeyking,


Do you still need help with this issue?


Sincerely,

Jesus G.

Intel Customer Support


Reply