Ah thanks I will take a look at that branch. I just found this: https://forum.xda-developers.com/t/gcc-toolchain-eva-gcc-calling-all-kernel-devs.4221409/ and about to try it out
I tried that about a month ago. It didn't work for building linux kernel, the reason is gcc 12 is not capable of making a bootable kernel at this point.
It's still about 6 months until release so not unexpected with some bugs.
I would recommend these:
^recent gcc toolchains optimized by Arm for their architecture.