On Fri, Jun 09, 2023 at 11:26:33AM +0200, Greg KH wrote:
On Thu, Jun 08, 2023 at 11:13:33PM +0100, Paul Barker wrote:
These two commits are required to build the linux-5.10.y branch successfully with GCC 13 in my testing. Both are backports from mainline, with a couple of tweaks to make them apply cleanly.
The result has been build tested against a few different gcc versions (9.5, 11.3 & 13.1) and defconfigs (x86_64_defconfig, i386_defconfig, ARM multi_v7_defconfig, ARM64 defconfig, RISCV defconfig, RISCV rv32_defconfig) via Yocto Project builds.
Nice, with these I can build 5.10.y with gcc13 now (unlike 5.15.y, which is odd.)
Ah, 5.15 has "warning is an error" which is causing the problem, I'll fix up the remaining 5.15.y errors so I can use gcc13 with that tree.
thanks,
greg k-h