Skip to content

Fix newlib compilation with gcc >= 14#301

Merged
pjaaskel merged 1 commit intocpc:mainfrom
gtkiku:main
Feb 2, 2026
Merged

Fix newlib compilation with gcc >= 14#301
pjaaskel merged 1 commit intocpc:mainfrom
gtkiku:main

Conversation

@gtkiku
Copy link
Copy Markdown
Contributor

@gtkiku gtkiku commented Jan 30, 2026

Newlib apparently compiles some helper programs with whatever native compiler it finds, in my case Debian 13's gcc-14 is new enough that the old C is starting to cause compilation errors instead of warnings.

I understand that modifications to the vendored newlib are generally discouraged, but this fix is hopefully trivial enough that it can slide?

@gtkiku gtkiku requested a review from pjaaskel January 30, 2026 15:32
@pjaaskel
Copy link
Copy Markdown
Contributor

pjaaskel commented Feb 2, 2026

Yep. It doesn't seem worth it currently to try to upgrade the Newlib so we can add small patches here and there and track the changes using git log.

@pjaaskel pjaaskel merged commit c036d2b into cpc:main Feb 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants