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

[apache/incubator-teaclave-sgx-sdk] is there any way run fortran code in sgx (#244)

Hello,
I have a fortran demo code,only impl add function(https://github.com/z1queue/fortran_demo.git).
then use " cargo test -- --nocapture" can get the correct result in unit test
![image](https://user-images.githubusercontent.com/53327024/83607212-64f62680-a5ad-11ea-98c9-f55f82fa26ac.png)


now i want to take this function in sgx, so i update the samplecode/hello-rust(https://github.com/z1queue/hello-rust.git) in v1.1.1, it compilate successful but return wrong result,it seem the fortran code not work(result is initialize value).
![image](https://user-images.githubusercontent.com/53327024/83608916-17c78400-a5b0-11ea-95d7-f6326c366433.png)

Can you give me some suggestion about this?

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

Re: [apache/incubator-teaclave-sgx-sdk] is there any way run fortran code in sgx (#244)

Posted by Yu Ding <no...@github.com>.
it depends on `libgfortran.a`. do you have a SGX-compatbile one?

-- 
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/244#issuecomment-638363085

Re: [apache/incubator-teaclave-sgx-sdk] is there any way run fortran code in sgx (#244)

Posted by zEqueue <no...@github.com>.
> it depends on `libgfortran.a`. do you have a SGX-compatbile one?

ok,i will try libgfortran.a for SGX-compatbile, thanks.

-- 
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/244#issuecomment-638565282