https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940
--- Comment #62 from Yvan Roux <yroux at gcc dot gnu.org> --- We're doing canadian cross build of arm-none-eabi toolchain. Building GCC version r15.2.0-477-gc3e93759b51 on old LTS Ubuntu version work fine, when switching to Ubuntu 22.04 with these versions of the tools we have the PCH issue: Binutils 2.38-3ubuntu1+9build1 GCC 10.3.0-14ubuntu1+24.3 Mingw 8.0.0-1 Applying your patch fixes the problem.
