rust-lang / rust-lang/libz-sys
libz-ng: illegal instruction on `x86_64-unkown-linux-{musl, gnu}`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 138
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
cargo-binstall, which uses gix v0.50.1 and depends on libz-ng get killed by illegal instructions on this CI and also this one:
+ ./cargo-binstall binstall --force --git file:///tmp/tmp.iyk2axDWcq --no-confirm cargo-binstall
INFO resolve: Resolving package: 'cargo-binstall'
INFO Cloning::receiving pack: Enumerating objects → 3.0 objects
git.sh: line 39: 24033 Illegal instruction (core dumped) "./$1" binstall --force --git "file://$GIT" --no-confirm cargo-binstall
I disabled the flate2/zlib-ng and it fixed the issue.
Also reported here: https://github.com/Byron/gitoxide/issues/955
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin at git.sh line 39 and reproduce the illegal instruction using the linked CI jobs on the x86_64 musl and GNU targets. Compare the failing configuration with the reported workaround of disabling flate2/zlib-ng; done means the affected cargo-binstall workflow no longer crashes with an illegal instruction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100