Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error[E0658]: use of unstable library feature 'stdsimd' #2666

Closed
Rimay opened this issue Feb 11, 2020 · 2 comments · Fixed by #2685
Closed

error[E0658]: use of unstable library feature 'stdsimd' #2666

Rimay opened this issue Feb 11, 2020 · 2 comments · Fixed by #2685
Assignees
Labels
c:build Category: build environment c:deps Category: external dependencies c:security Category: security sensitive p:0 Priority: High! bugs, address immediately

Comments

@Rimay
Copy link

Rimay commented Feb 11, 2020

When compile make for Building and Running an Oasis node in Unsafe non-SGX environment, following error occured:

*** Building Rust tools...

*** Building runtime: keymanager-runtime...
   Compiling ring v0.14.5 (https://github.com/akash-fortanix/ring?branch=sgx-target#5b5b3792)
error[E0658]: use of unstable library feature 'stdsimd'
  --> /home/yili/.cargo/git/checkouts/ring-26508f16fbb8e51e/5b5b379/src/cpu.rs:57:24
   |
57 |                     if is_x86_feature_detected!("mmx") {
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
   = help: add `#![feature(stdsimd)]` to the crate attributes to enable
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ring`.

To learn more, run the command again with --verbose.
Makefile:22: recipe for target 'build-runtimes' failed
make: *** [build-runtimes] Error 1

Is there a detailed solution?

@kostko kostko added c:build Category: build environment c:deps Category: external dependencies labels Feb 11, 2020
@kostko
Copy link
Member

kostko commented Feb 11, 2020

Could be a problem with the latest unstable Rust toolchain, try an earlier nightly version, 2019-08-26 is known to work.

@Yawning Yawning added c:security Category: security sensitive p:0 Priority: High! bugs, address immediately labels Feb 17, 2020
@Yawning
Copy link
Contributor

Yawning commented Feb 17, 2020

The "ancient" version of the nightly compiler that works has horrific security bugs, so this needs to be fixed sooner rather than later.

rust-lang/rust#69040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:build Category: build environment c:deps Category: external dependencies c:security Category: security sensitive p:0 Priority: High! bugs, address immediately
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants