https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110066
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > Can you try reverting r13-923-g2d546ff69455f7deadab and try GCC 13 again? That looks like the only thing that changed between GCC 12 and GCC 13 for crtbeginT.o . Also can you attach the two versions of crtbeginT.o (the one from GCC 12 and one from GCC 13). If anything there has to be some extra null pointer happening ...