https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61802
--- Comment #10 from ktkachov at gcc dot gnu.org --- (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