rust-lang / rust-lang/libz-sys
Build fails on powerpc64 and powerpc64le: error: use of undeclared identifier 'power_cpu_has_arch_3_00'
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 138
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
/wrkdirs/usr/ports/devel/gitoxide/work/gitoxide-git-repository-v0.32.0/cargo-crates/libz-sys-1.1.8/src/zlib-ng/functable.c:125:9: error: use of undeclared identifier 'power_cpu_has_arch_3_00'
if (power_cpu_has_arch_3_00)
^
/wrkdirs/usr/ports/devel/gitoxide/work/gitoxide-git-repository-v0.32.0/cargo-crates/libz-sys-1.1.8/src/zlib-ng/functable.c:158:9: error: use of undeclared identifier 'power_cpu_has_arch_3_00'
if (power_cpu_has_arch_3_00)
^
See the log.
Version: 1.1.8
rust-1.75.0
FreeBSD 14.0
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
Start with the failing references in libz-sys-1.1.8/src/zlib-ng/functable.c and compare them with the linked FreeBSD build log for powerpc64 and powerpc64le. Reproduce the Rust crate build with rust-1.75.0 on FreeBSD 14.0; done means the build completes without the undeclared-identifier error on both architectures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100