You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/08/04 07:05:29 UTC

[GitHub] [incubator-teaclave-sgx-sdk] rimbi opened a new issue #348: Problem in signing an enclave library linked with libgmp

rimbi opened a new issue #348:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/348


   Hi,
   
   We're using a Rust library which depends on `rust-gmp` which also depends on `libgmp`. We are able to produce `enclave.so` by linking the `libgmp`. But in the last phase, during the signing process, we get the following error:
   
   ```bash
   LINK =>  enclave/enclave.so
   mkdir -p bin
   <!-- Please refer to User's Guide for the explanation of each field -->
   <EnclaveConfiguration>
       <ProdID>0</ProdID>
       <ISVSVN>0</ISVSVN>
       <StackMaxSize>0x40000</StackMaxSize>
       <HeapMaxSize>0x100000</HeapMaxSize>
       <TCSNum>1</TCSNum>
       <TCSPolicy>1</TCSPolicy>
       <DisableDebug>0</DisableDebug>
       <MiscSelect>0</MiscSelect>
       <MiscMask>0xFFFFFFFF</MiscMask>
   </EnclaveConfiguration>
   [check_symbol_table elfparser.cpp:253] symbol '__gmpz_cmp' is undefined
   Symbol table incorrect
   The input enclave file is not correct.
   Error happened while signing the enclave.
   Makefile:134: recipe for target 'bin/enclave.signed.so' failed
   make: *** [bin/enclave.signed.so] Error 255
   ```
   
   Is there a solution to this problem?
   @dingelish 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org