Intel Confidential Computing
Discussion board focused on Intel Confidential Computing technologies and how they can protect data and AI security, privacy, and sovereignty.
1558 Discussions

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

pp__monkeyking
Beginner
2,168 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
2,151 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
2,152 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
2,129 Views

Hello pp_monkeyking,


Do you still need help with this issue?


Sincerely,

Jesus G.

Intel Customer Support


0 Kudos
Reply