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

Please add release binaries for linux/mipsle (mips32r1) platform! #12

Open
gtxaspec opened this issue Sep 11, 2024 · 8 comments
Open

Please add release binaries for linux/mipsle (mips32r1) platform! #12

gtxaspec opened this issue Sep 11, 2024 · 8 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@gtxaspec
Copy link

great project! thank you! =D

@gtxaspec gtxaspec added the enhancement New feature or request label Sep 11, 2024
@gtxaspec gtxaspec changed the title Please add release binaries for mipsle platform! Please add release binaries for linux/mipsle platform! Sep 11, 2024
@gtxaspec gtxaspec changed the title Please add release binaries for linux/mipsle platform! Please add release binaries for linux/mipsle (mips32r1) platform! Sep 11, 2024
@rjzak
Copy link

rjzak commented Sep 13, 2024

This probably won't work, as this project uses lurk-cli, which seems to only support x86_64 and riscv64 according to it's source. I'm unable to compile binsider on powerpc64le-unknown-linux-gnu for this reason.

Interestingly, the repository isn't known (at least not to crates.io or docs.rs) for lurk-cli for an issue or PR to be filed.

@orhun
Copy link
Owner

orhun commented Sep 14, 2024

The repository is here: https://github.com/JakWai01/lurk

And yeah, I guess we can simply disable the dynamic analysis feature for those platforms if we still want to offer the other functionalities. How does that sound?

@orhun
Copy link
Owner

orhun commented Sep 18, 2024

I added powerpc64le-unknown-linux-gnu target in #31 - the dynamic analysis feature is disabled though.

Please add release binaries for linux/mipsle (mips32r1) platform

Can you tell me which Rust target that is corresponding to? 😊

@gtxaspec
Copy link
Author

@orhun i believe it's mipsel-unknown-linux-musl or mipsel-unknown-linux-gnu

@orhun
Copy link
Owner

orhun commented Sep 20, 2024

I attempted to add support in #44, however installing the Rust toolchain fails:

Run rustup toolchain install stable --target mipsel-unknown-linux-gnu --profile minimal --no-self-update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04)
error: component 'rust-std' for target 'mipsel-unknown-linux-gnu' is unavailable for download for channel 'stable'
If you don't need the component, you could try a minimal installation with:

    rustup toolchain add stable --profile minimal

https://github.com/orhun/binsider/actions/runs/10943943678/job/30384640148?pr=44

Any ideas?

Also, I'm a bit curious about your use case for this platform. Do you mind sharing? :)

@gtxaspec
Copy link
Author

I'm apart of the open source firmware project, thingino

we develop a fully open source firmware for mipsel based ingenic soc's. I saw your project and was interested in using it for our project in debugging, etc.

It may be workable in the nightly release, but I haven't tried yet.

@orhun
Copy link
Owner

orhun commented Sep 20, 2024

I'm apart of the open source firmware project, thingino

Very nice :)

It may be workable in the nightly release, but I haven't tried yet.

Tried that in https://github.com/orhun/binsider/actions/runs/10963718804/job/30445778057 but it didn't work.

@orhun orhun added help wanted Extra attention is needed question Further information is requested and removed help wanted Extra attention is needed labels Sep 24, 2024
@orhun orhun removed their assignment Oct 16, 2024
@wcampbell0x2a
Copy link

Your best bet is to use https://github.com/cross-rs/cross to build this. mips targets are tier 3 for rust: https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants