cen64: unstable-2022-10-02 -> 0-unstable-2023-05-29, fix build with gcc14 #393091
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.
cen64: unstable-2022-10-02 -> 0-unstable-2023-05-29
cen64: fix build with gcc14
add patch from unmerged upstream PR (only
bus/controller.c
, other changes are already applied in master):n64dev/cen64@f13bdf9
fixes error from gcc14:
error: initialization of ... from incompatible pointer type
add patch from unmerged upstream PR:
Fix thread arg type for pthread_setname_np n64dev/cen64#237
fixes errors from gcc14:
error: passing argument 1 of 'cen64_thread_setname' makes pointer from integer without a cast [-Wint-conversion]
error: passing argument 1 of 'cen64_thread_setname' makes integer from pointer without a cast [-Wint-conversion]
Fixes build failure of
cen64
since2025-01-14
(update to GCC14 in #356812):https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.cen64.x86_64-linux
https://hydra.nixos.org/build/292986743
Error log (fixed with
cast-mi_regs-callbacks.patch
):After applying first patch other errors come up (fixed with
fix-thread-arg-type-for-pthread_setname_np.patch
):Upstream PRs with included patches:
n64dev/cen64#191
n64dev/cen64#237
Tracking issue: #388196
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.