[Buildroot] [PATCH 0/2] Fix Rock 5B build, broken by gcc 12 warnings

Kilian Zinnecker kilian.zinnecker at mail.de
Sat Aug 12 09:36:09 UTC 2023


Hello Thomas,

[--SNIP--]

> > Thanks for the info, I actually would not have known this! I think that
> > the
> > best way is to ask the maintainers of the Radxa custom kernel whether they
> > may fix the remaining issues, so that the custom kernel compiles with gcc
> > 12.x. I intend to do so.
> 
> ACK.

I opened up an issue in their git about this. However, I must admit, I really 
doubt, that the Radxa people fix the warnings in their kernel in time for the 
next buildroot release, or even at all: They seem to have issues, reported 
last december, in their git, which they yet did not reply to. Now, I could 
give it a try and try to fix the warnigs of their custom code, but at the 
moment, I don't have the time, and I would rather like to focus on the 
BeagleV-Ahead board support :)

So I would argue to simply fix the gcc version to 11x for now:

1. I think this is legit in such cases - why else would the option even exist 
in buildroot.

2. Even if version 11 of gcc will be removed in the near future, we would then 
at least have one release version of buildroot, which features the Rock 5B. I 
think that would be a plus for makers, hobbyists and professionals, e.g., who 
use the Rock 5B to evaluate the RK3588 (I actually know one person who used 
the Rock 5B for such purposes). Also, maybe in the future I find time to 
prepare some patches, or maybe the Radxa people also fix it till then.

[--SNIP--]

Best regards,
Kilian







More information about the buildroot mailing list