You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Claus M <no...@github.com.INVALID> on 2021/08/04 12:26:35 UTC
[apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly (#349)
Hi! We needed to use a compiler > 1.50 for adding new dependencies that rely on const generics. Since `std::raw` has been removed in current nightly versions (and it's not entirely clear to me where it's used in the SGX SDK) this compiler upgrade should be safe to make. All the sample code compiles and I could manually run several of them inside the 18.04 container.
For anyone also using 3rd party ports of libraries to this SGX SDK (because they won't build with the new compiler version out of the box), use this in your `Cargo.toml` (upgrade later to this - official - repo):
~~~toml
[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
sgx_align_struct_attribute = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_alloc = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_backtrace = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_backtrace_sys = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_build_helper = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_cov = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_crypto_helper = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_demangle = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_libc = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_no_tstd = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_rand = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_rand_derive = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_serialize = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_serialize_derive = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_serialize_derive_internals = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tcrypto = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tcrypto_helper = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tdh = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tkey_exchange = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tprotected_fs = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_trts = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tse = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tseal = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tstd = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_tunittest = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_types = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_ucrypto = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_unwind = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
sgx_urts = { git = "https://github.com/celaus/incubator-teaclave-sgx-sdk" }
~~~
Don't forget to `cargo update`
Somewhat fixes #315
You can view, comment on, or merge this pull request online at:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349
-- Commit Summary --
* nightly-july-2021
-- File Changes --
M rust-toolchain (2)
M sgx_tstd/src/lib.rs (1)
M sgx_tunittest/src/lib.rs (1)
-- Patch Links --
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349.diff
--
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/pull/349
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly
(#349)
Posted by Cheng XU <no...@github.com.INVALID>.
Hi, sorry to ping again. But any chance to move this forward?
Noted that Rust 2021 edition is about to be stabilize in Rust 1.56, which will be in beta in a week. We should really upgrade the support rust version of this SDK. Otherwise, it is likely that many crates will stop compiling if they are upgrading to 2021 edition.
--
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/pull/349#issuecomment-912293973
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly
(#349)
Posted by Mingshen Sun <no...@github.com.INVALID>.
I think this should be properly resolved as soon as possible.
@volcano0dr any timeline for the new version?
--
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/pull/349#issuecomment-918551997
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly
(#349)
Posted by Cheng XU <no...@github.com.INVALID>.
@volcano0dr @dingelish Any chance to merge 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/pull/349#issuecomment-898795599
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly (#349)
Posted by volcano <no...@github.com.INVALID>.
Closed #349.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349#event-7683266944
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly
(#349)
Posted by volcano <no...@github.com.INVALID>.
@celaus @xu-cheng
I plan to upgrade the rust toolchain on the `v1.1.4-testing` branch soon.
--
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/pull/349#issuecomment-898876324
Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly (#349)
Posted by Pi Delport <no...@github.com.INVALID>.
The `v1.1.4-testing` branch was merged, with toolchain `nightly-2021-09-13` (rustc 1.57.0-nightly).
- See: #360
--
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/pull/349#issuecomment-979845677