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 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/348

Reply via email to