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

Build/run issue of inte-sgx-ssl in SIM mode on AMD Ryzen 5 + CentOS8.2

das__batsayan
New Contributor I
1,816 Views

Hi,

I am using Centos 8.2 on AMD Ryzen 5 4500U. I installed SGX SDK 2.12 and want to install ssl( from https://github.com/intel/intel-sgx-ssl) using the following command "make SGX_MODE=SIM all test"

I get the following error

make[2]: Entering directory '/home/batsayan/work/intel-sgx-ssl/Linux/sgx/test_app'
make -f sgx_u.mk test
make[3]: Entering directory '/home/batsayan/work/intel-sgx-ssl/Linux/sgx/test_app'
token_path: /home/batsayan/enclave.token
make[3]: *** [sgx_u.mk:108: test] Illegal instruction (core dumped)
make[3]: Leaving directory '/home/batsayan/work/intel-sgx-ssl/Linux/sgx/test_app'

Won't the sgx application build in SIM mode run on AMD Ryzen based laptop? I built and ran Samples inside SDK in SIM mode without any issue. Faced the above error when try to build sgxssl.

I can compile ~intel-sgx-ssl/Linux/sgx/test_app using "make SGX_MODE=SIM" , but when I run the TestApp it is showing

$./TestApp
token_path: /home/batsayan/enclave.token
Illegal instruction (core dumped)

TIA for any help.

--Batsayan

0 Kudos
1 Solution
JesusG_Intel
Moderator
1,806 Views

Hello batsyan,


Intel-sgx-ssl is not supported on AMD Ryzen 5 since Intel does not validate it. I'm sorry I couldn't be more helpful.


Sincerely,

Jesus G.

Intel Customer Support


View solution in original post

0 Kudos
2 Replies
JesusG_Intel
Moderator
1,807 Views

Hello batsyan,


Intel-sgx-ssl is not supported on AMD Ryzen 5 since Intel does not validate it. I'm sorry I couldn't be more helpful.


Sincerely,

Jesus G.

Intel Customer Support


0 Kudos
JesusG_Intel
Moderator
1,773 Views

This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.


0 Kudos
Reply