You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesatee.apache.org by GitBox <gi...@apache.org> on 2019/12/08 14:34:56 UTC

[GitHub] [incubator-mesatee-sgx] ender233 opened a new issue #182: failed when compiling remoteattestation sample code

ender233 opened a new issue #182: failed when compiling remoteattestation sample code
URL: https://github.com/apache/incubator-mesatee-sgx/issues/182
 
 
   ```
   g++ enclave/enclave_t.o -o enclave.so -m64 -O2 -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/opt/sgxsdk/lib64 -Wl,--whole-archive -lsgx_trts -Wl,--no-whole-archive -Wl,--start-group -lsgx_tstdc -lsgx_tkey_exchange -lsgx_tcrypto -lsgx_tservice -L./lib -lcompiler-rt-patch -lraenclave -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 -Wl,--gc-sections -Wl,--version-script=enclave/enclave.lds
   /opt/sgxsdk/lib64/libsgx_tservice.a(tae_service.o):(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
   collect2: error: ld returned 1 exit status
   Makefile:243: recipe for target 'enclave.so' failed
   make: *** [enclave.so] Error 1
   root@387eff759522:~/sgx/samplecode/remoteattestation/Application# make
   ```
   os is ubuntu 16.04 . running in the docker and the rust version is as below:
   ```
   rustc 1.38.0-nightly (8a58268b5 2019-07-31)
   ```
   shall i recompile anything?  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mesatee.apache.org
For additional commands, e-mail: dev-help@mesatee.apache.org