intel / linux-sgx

Intel SGX for Linux*
https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/linux-overview.html
Other
1.34k stars 548 forks source link

Failure to run "./build_compose_run.sh" #1001

Open jpyo0803 opened 10 months ago

jpyo0803 commented 10 months ago

Hi,

It gives me an error while making progress with the error message below

... omitted for brevity
#0 11.39 /usr/bin/ld: warning: /linux-sgx/external/rdrand/src/librdrand.a(rdrand.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
#0 11.39 /usr/bin/ld: warning: /linux-sgx/external/rdrand/src/librdrand.a(rdrand.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
#0 11.39 /usr/bin/ld: warning: /linux-sgx/external/rdrand/src/librdrand.a(rdrand.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
#0 11.39 /usr/bin/ld: enclave.o: unable to initialize decompress status for section .debug_info
#0 11.39 /usr/bin/ld: enclave.o: unable to initialize decompress status for section .debug_info
#0 11.39 /usr/bin/ld: enclave.o: unable to initialize decompress status for section .debug_info
#0 11.39 /usr/bin/ld: enclave.o: unable to initialize decompress status for section .debug_info
#0 11.39 enclave.o: file not recognized: File format not recognized
#0 11.39 collect2: error: ld returned 1 exit status
#0 11.39 make[5]: *** [libsgx_urts_sim.so] Error 1
#0 11.39 make[4]: *** [all] Error 2
#0 11.39 make[3]: *** [urtssim] Error 2
#0 11.39 make[2]: *** [simulation] Error 2
#0 11.39 make[1]: *** [all] Error 2
#0 11.39 make: *** [sdk_no_mitigation] Error 2
------
Dockerfile:58
--------------------
  56 |     COPY . .
  57 |     
  58 | >>> RUN make sdk_install_pkg_no_mitigation
  59 |     
  60 |     WORKDIR /opt/intel
--------------------
ERROR: failed to solve: process "/bin/sh -c make sdk_install_pkg_no_mitigation" did not complete successfully: exit code: 2

Thank you in advance!

lzha101 commented 10 months ago

Perhaps you can try to cleanup your upper linux-sgx repo by git clean -xdf and then trigger the ./build_compose_run.sh script.