https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98153
--- Comment #2 from Svante Signell <svante.signell at gmail dot com> --- Hello, Looking into the build failure of libgo for GNU/Hurd reveals that since AF_LINK is not yet supported, the corresponding code for SockaddrDatalink stuff needs to be stripped off socket_bsd.go, thereby creating socket_hurd.go. This is reflected in the attached patch. Thanks!