https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #12 from Ian Lance Taylor <ian at airs dot com> --- A global variable that can not be statically initialized would be initialized by a function named "net..import", invoked before the Go main function starts. Since the net.IPv4 function is trivial, it is probably being inlined into net..import.