Open
Conversation
dmcilvaney
added a commit
to dmcilvaney/CBL-Mariner
that referenced
this pull request
Feb 19, 2026
fcode-utils 1.0.3 fails to build with GCC 15's default C23 mode due to: 1. typedef to 'bool' (a C23 keyword) in shared/types.h 2. K&R-style empty-parameter function pointers treated as zero-arg in C23 3. -Wincompatible-pointer-types promoted to error The upstream project is dormant (last release 2014). A partial fix exists as an unmerged PR: openbios/fcode-utils#32 Fedora is also affected — fcode-utils has failed all mass rebuilds since fc42 (fc42-4, fc43-5, fc44-6 all failed in Fedora Koji). The last successful Fedora build was 1.0.3-3.fc42, before the C23 transition. Add a spec-search-replace overlay to force -std=gnu17 in CFLAGS, restoring pre-C23 semantics. Move the component from an inline entry in components-full.toml to a dedicated comp.toml to hold the overlay. Validated: prep-sources clean, build succeeds, smoke-tested toke/detok/ romheaders in mock chroot.
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.
No description provided.