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

riscv64gc-unknown-linux-musl support #83

Open
walksanatora opened this issue Feb 1, 2023 · 4 comments
Open

riscv64gc-unknown-linux-musl support #83

walksanatora opened this issue Feb 1, 2023 · 4 comments

Comments

@walksanatora
Copy link

No description provided.

@walksanatora
Copy link
Author

it is appearing to work
but the -Z build-std is not working

@walksanatora
Copy link
Author

walksanatora commented Feb 1, 2023

it fails with

   Compiling nothing v0.0.1 (/home/walksanator/git/rust/oc2/project)
error[E0463]: can't find crate for `panic_abort`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `nothing` due to previous error

@walksanatora
Copy link
Author

after specifying -Zbuild-std=std,panic_abort it fails with a new message

  = note: warning: unsupported linker arg: -znoexecstack
          warning: unsupported linker arg: -zrelro
          warning: unsupported linker arg: -znow
          error: static library 'unwind' not found. search paths: 
           /home/walksanator/git/rust/oc2/project/target/riscv64gc-unknown-linux-musl/debug/deps/libunwind.a
           /home/walksanator/git/rust/oc2/project/target/debug/deps/libunwind.a
           /home/walksanator/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/riscv64gc-unknown-linux-musl/lib/libunwind.a
           /home/walksanator/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/riscv64gc-unknown-linux-musl/lib/libunwind.a
           /home/walksanator/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/riscv64gc-unknown-linux-musl/lib/self-contained/libunwind.a
           suggestion: use full paths to static libraries on the command line rather than using -l and -L arguments
           ```

@messense messense changed the title does musl work or not yet riscv64gc-unknown-linux-musl support Feb 2, 2023
@messense
Copy link
Member

messense commented Feb 2, 2023

Looks like the same kind issue as rust-lang/wg-cargo-std-aware#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants