Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running sample #162

Open
MuffinsThaCat opened this issue Feb 13, 2024 · 1 comment
Open

Running sample #162

MuffinsThaCat opened this issue Feb 13, 2024 · 1 comment

Comments

@MuffinsThaCat
Copy link

I am trying to run
edglessrt go sample

Getting error while running OE_SIMULATION=1 erthost enclave.signed
root@d1cc01526652:/com.docker.devenvironments.code/edgelessrt/samples/go/build# OE_SIMULATION=1 erthost enclave.signed
[erthost] running in simulation mode
[erthost] loading enclave ...
Illegal instruction

Steps to reproduce on our end:

clone edgelessrt and go to samples/go
run mkdir build
run cd build
run cmake
run make
run OE_SIMULATION=1 erthost enclave.signed

@thomasten
Copy link
Member

We've not seen the "Illegal instruction" error before. Are you running this on an emulation layer? In our experience, edgelessrt requires real x64 hardware, even in simulation mode. (E.g., it won't run on Rosetta.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants