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

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

pp__monkeyking
초급자
1,393 조회수

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 포인트
1 솔루션
JesusG_Intel
중재자
1,376 조회수

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 포인트
2 응답
JesusG_Intel
중재자
1,377 조회수

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 포인트
JesusG_Intel
중재자
1,354 조회수

Hello pp_monkeyking,


Do you still need help with this issue?


Sincerely,

Jesus G.

Intel Customer Support


0 포인트
응답