Repository navigation
bcachefs-tools: fix riscv build - #550473
Merged
Merged
Conversation
onny
marked this pull request as ready for review
August 8, 2026 12:56
onny
force-pushed
the
bcachefs-riscv-fix
branch
from
August 8, 2026 13:08
93c4047 to
4315f4c
Compare
nixpkgs-branch-check
Bot
dismissed
their stale review
August 9, 2026 11:03
Review dismissed automatically
Merged
via the queue into
NixOS:staging-nixos
with commit Aug 11, 2026
0d56d1d
67 of 80 checks passed
Contributor
|
Successfully created backport PR for |
This was referenced Aug 28, 2026
felixonmars
added a commit
to felixonmars/archriscv-packages
that referenced
this pull request
Sep 12, 2026
Keep the canonical Clang target override for build(). Upstream v1.39.6 normalizes bch_bindgen, but its newer fs/codegen.rs path still passes Rust's riscv64gc triple directly to bindgen; libclang rejects it. This is also tracked upstream and fixed the same way in NixOS. Use BFD for check(). Arch Rust's default LLD revisits the generated static-wrapper archive after later Rust objects introduce references, then reports the wrappers' unlinked userspace C implementations as undefined. Retain the complete cargo test suite. koverstreet/bcachefs-tools#850 NixOS/nixpkgs#550473
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes cross-compilation for the
bcachefs-toolspackage on RISCV.Former error was:
Upstream issue koverstreet/bcachefs-tools#850
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.