https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105681
--- Comment #5 from David Summers <beagleboard at davidjohnsummers dot uk> --- Yes I can confirm that going back to gcc-11.2.0 - and it works again, that being the only change. It explains how I got the headers, on my first build I used 11.2.0; whilst it was building saw that gcc-12 was available, so downloaded for a second pass (always like to do two passes - to make sure that everything knows what else is set up). So problem is in gcc-12