Hi guys. When trying to compile outside our CI, we're seeing this error: ``` cc -m64 -O2 -fstack-protector -ffreestanding -nostdinc -fvisibility=hidden -fpie -fno-strict-overflow -fno-delete-null-pointer-checks -I../../../third_party/vendor/sgx_edl/common/inc -I../../../third_party/vendor/sgx_edl/edl -I/home/assafmo/.sgxsdk/sgxsdk/include -I/home/assafmo/.sgxsdk/sgxsdk/include/tlibc -I/home/assafmo/.sgxsdk/sgxsdk/include/stlport -I/home/assafmo/.sgxsdk/sgxsdk/include/epid -I./ -I./include -c Enclave_t.c -o Enclave_t.o g++ Enclave_t.o -o librust_cosmwasm_enclave.so -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/home/assafmo/.sgxsdk/sgxsdk/lib64 -Wl,--whole-archive -fno-common -lsgx_trts_sim -Wl,--no-whole-archive -Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_tcrypto -lsgx_tservice_sim -lsgx_tprotected_fs -L./lib -lenclave -Wl,--end-group -Wl,--version-script=Enclave.lds -Wl,-z,relro,-z,now,-z,noexecstack -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--gc-sections -Wl,--defsym,__ImageBase=0 /usr/bin/ld: ./lib/libenclave.a(dyn-info-list.o):(.bss+0x0): multiple definition of `_U_dyn_info_list'; ./lib/libenclave.a(Linit.o):(.bss+0x0): first defined here collect2: error: ld returned 1 exit status ```
We thought it's a dependency issue, but running `cargo clean`, `xargo clean` and deleting both their caches didn't solve the issue. Do you guys have any idea what might be the issue? (Makefiles: [main](https://github.com/enigmampc/SecretNetwork/blob/2e94a789c1a7212bb09e2c863c947df0a2ab429c/Makefile), [enclave](https://github.com/enigmampc/SecretNetwork/blob/2e94a789c1a7212bb09e2c863c947df0a2ab429c/cosmwasm/packages/wasmi-runtime/Makefile); CI: [link](https://github.com/enigmampc/SecretNetwork/blob/2e94a789c1a7212bb09e2c863c947df0a2ab429c/.github/workflows/ci.yaml)) -- 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/313