ring icon indicating copy to clipboard operation
ring copied to clipboard

Support for mipsel-unknown-linux-gnu

Open detly opened this issue 4 years ago • 1 comments

I am deploying code on the MT7628, which falls under the mipsel-unknown-linux-gnu which is a Tier 2 target. I'd like to be able to use crates that depend on ring (eg. rumqtt, many request libraries). Unfortunately it fails to compile for such a target with:

error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/home/jason/Code/[redacted]/openwrt/build_dir/target-mipsel_24kc_musl/[redacted]/[redacted]/target/release/build/ring-5643028c8edad309/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/jason/Code/[redacted]/openwrt/build_dir/hostpkg/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:358:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

(I have not dug into this yet, see my comments below.)

I don't currently have the bandwidth to support this, but I might eventually, so I thought I'd open this issue so that (a) I can gauge interest (b) there's a focal point for development on it and (c) I can ask you about it.

Questions:

  • If someone else were to bootstrap it (initial implementation and CI), would you be happy to support it going forward, or would you need someone to commit platform-specific support long-term? (Specifically, I could find time for this kind of initial work, but I don't want to promise perpetual support when I know i can't follow through .)
  • Where would someone start to achieve this? What needs to be done?
  • Would feature gating difficult-to-port features and having partial support be acceptable (if it's relevant)?

detly avatar Aug 26 '21 04:08 detly

There is already an issue on this topic, but I don't know about the current progress: https://github.com/briansmith/ring/issues/562

Revertron avatar Oct 21 '21 23:10 Revertron

Closing as a duplicate of #562

briansmith avatar Oct 14 '23 03:10 briansmith