https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- OK, it looks like a ld.gold bug. I normally always use ld.gold on my system. However if I build gcc with ld.bfd then everything works fine.