You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Assaf Morami <no...@github.com> on 2020/05/07 13:40:27 UTC

[apache/incubator-teaclave-sgx-sdk] v1.1.2: undefined reference to `t_signal_handler_ecall` when linking to untrusted code (#234)

Hi :wave:

We are trying to upgrade from v1.1.1 to v1.1.2.
When building the untrusted code as a `.so` and trying to link another executable against this `.so` we get `undefined reference to 't_signal_handler_ecall'`.
When reverting the untrusted code to v1.1.1 and keeping the trusted code with v1.1.2 everything works fine.

What are we missing? :pray: 

cc @toml01 @reuvenpo @cashmaney

-- 
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/234

Re: [apache/incubator-teaclave-sgx-sdk] v1.1.2: undefined reference to `t_signal_handler_ecall` when linking to untrusted code (#234)

Posted by Yu Ding <no...@github.com>.
I think this can be close by #235 

-- 
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/234#issuecomment-630598549

Re: [apache/incubator-teaclave-sgx-sdk] v1.1.2: undefined reference to `t_signal_handler_ecall` when linking to untrusted code (#234)

Posted by Yu Ding <no...@github.com>.
Closed #234.

-- 
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/234#event-3350194889

Re: [apache/incubator-teaclave-sgx-sdk] v1.1.2: undefined reference to `t_signal_handler_ecall` when linking to untrusted code (#234)

Posted by Mingshen Sun <no...@github.com>.
This is caused by an ecall in `sgx_urts`: https://github.com/apache/incubator-teaclave-sgx-sdk/blob/master/sgx_urts/src/signal.rs#L35.

@volcano0dr and I are working on a fix.

To fix it, you can include the "sgx_signal.edl" and `extern use` the sgx_signal crate. However, this is a temporary workaround. We should fix it.

-- 
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/234#issuecomment-625395618