https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61802
--- Comment #11 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #10) > (In reply to Jan Hubicka from comment #9) > > Created attachment 33177 [details] > > Proposed patch > > > > I guess the problem is that error_mark_node is special cased in varasm to > > send symbols to BSS for invalid programs. Does the following help? > > Yes, this fixes the failures on arm, will try aarch64 soon AArch64 seems to work fine too with this patch.