You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Cem Eliguzel <no...@github.com.INVALID> on 2021/08/04 07:05:33 UTC
[apache/incubator-teaclave-sgx-sdk] Problem in signing an enclave
library linked with libgmp (#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
--
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
Re: [apache/incubator-teaclave-sgx-sdk] Problem in signing an enclave library linked with libgmp (#348)
Posted by baoqian426 <no...@github.com.INVALID>.
how to resolve this problem
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/348#issuecomment-1831075344
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>