Skip to content

Conversation

@cscd98
Copy link
Contributor

@cscd98 cscd98 commented Nov 5, 2025

GCC 15 defaults to std=23, causing a build failure. The first patch is from the gmp mailing list, it also "fixes the fix" for compatibility with older compilers by adding parameters.

I made the second patch after testing the first.

Fixes: #351

This will allow the latest buildroot for webOS to build it

@cscd98
Copy link
Contributor Author

cscd98 commented Nov 5, 2025

Build failures to do with iconv

@cscd98 cscd98 changed the title Add GCC 15 patch to fix compilation as defaults to std=23 gmp: add GCC 15 patch to fix compilation as defaults to std=23 Nov 5, 2025
@hbiyik
Copy link

hbiyik commented Dec 6, 2025

there is a better version here with autoreconf isntead of ptaching the configure: #355

@phunkyfish
Copy link
Collaborator

So which PR should go in?

@cscd98
Copy link
Contributor Author

cscd98 commented Dec 7, 2025

@phunkyfish either one is fine. I've updated mine as I didn't know about PATCH_COMMAND stuff.

Mine has the variable names specified, which is more backwards compatible, but I doubt anyone uses those old compilers.

@hbiyik
Copy link

hbiyik commented Dec 7, 2025

@cscd98 @phunkyfish im closing mine now since it is a conplete duplucate now after the change you can go further witht his one

@phunkyfish phunkyfish merged commit 397ad32 into xbmc:Piers Dec 7, 2025
5 of 9 checks 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.

gmp compiler failure on Ubuntu and webOS

3 participants