intel / intel/confidential-computing.sgx.sdk

Fail to run build_and_run_aesm_docker.sh

Open
#89 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello, I have followed the README to try to build and run with Docker, but when I run build_and_run_aesm_docker.sh, it occurs error:
`: error: Failed to create '.libs/libunwind-dwarf-local.lax/libunwind-dwarf-common.a'`
`make[6]: *** [libunwind-dwarf-local.la] Error 1`
`Makefile:2203: recipe for target 'libunwind-dwarf-local.la' failed `
`make[6]: Leaving directory '/linux-sgx/sdk/cpprt/linux/libunwind/src' `
`Makefile:1936: recipe for target 'all' failed`
`make[5]: *** [all] Error 2`
`make[5]: Leaving directory '/linux-sgx/sdk/cpprt/linux/libunwind/src'`
`make[4]: *** [all-recursive] Error 1`
`Makefile:601: recipe for target 'all-recursive' failed`
`make[4]: Leaving directory '/linux-sgx/sdk/cpprt/linux/libunwind'`
`Makefile:84: recipe for target 'libunwind' failed`
`make[3]: Leaving directory '/linux-sgx/sdk/cpprt'`
`make[3]: *** [libunwind] Error 2`
`make[2]: *** [cpprt] Error 2`
`Makefile.source:137: recipe for target 'cpprt' failed`
`make[2]: Leaving directory '/linux-sgx/sdk'`
`make[1]: *** [all] Error 2`
`Makefile:50: recipe for target 'all' failed`
`make[1]: Leaving directory '/linux-sgx/sdk'`
`Makefile:64: recipe for target 'sdk_no_mitigation' failed`
`make: *** [sdk_no_mitigation] Error 2`
`The command '/bin/sh -c make sdk_install_pkg_no_mitigation' returned a non-zero code: 2`

I can run the sample codes successfully on my host, just have problem with Docker. Could you please give me any hint about this?

OS version: Ubuntu 20.04
SGX hardware support: SGX1
SGX driver: /dev/isgx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.