https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64738
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I see in gotools/Makefile.am: AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -static-libgo but why has the -static-libgo flag been added is unclear (and, IMHO very much undesirable).