GCC fails to compile on Fedora 44

I’m running the Fedora 44 beta, and gcc-14.3.0-initial fails to compile when I try to build an image on my system. I get the following error message (uploaded a gist because the log is too long to include in the post): https://gist.github.com/huaracheguarache/c2fd56b152868976eb4c417dc635b06d

Could this be because Fedora 44 uses a newer GCC version (gcc-16.0.1-0.10.fc44.x86_64)?

I think so. It's basically all the same error, 'const char' in a template declaration doesn't match 'const char8_t' in the source code.
On first sight I'd say a char8_t is equal to a char, which apparently is also the assumption of the author of this code, but I suppose some subtility in gcc-16 says no.

fixed with GCC 15.

I tried compiling a build again now that I saw this commit that is supposed to fix the issue: https://git.openwrt.org/openwrt/openwrt/commit/?id=e7e5d470c166561698078727f7ac154d2e4dbfb0

But now it’s failing with a new error: https://gist.github.com/huaracheguarache/d02e12acedc43e539762c3eb28a372c9

On Fedora you can use a Toolbox to isolate all your build tools so they don't change from under you, using:

toolbox create --release 43
toolbox enter

Just create a Fedora 43 toolbox and you're good to go until this is sorted.

Ironically, I’m on Fedora Silverblue and I’m using toolbox, but I didn’t know about the possibility of using an older release. Thanks for pointing that out! I managed to compile a build now.