https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63731

--- Comment #32 from boger at us dot ibm.com ---
I have a prototype working for #2.  I am assuming #1 would not be accepted.

This fix consists of building a library called libnetgo.a which consists of the
net files that would be built if the netgo tag was used.  This new library was
installed into the same directory as libgo.a.

Once this library has been built and installed in the correct location, I was
able to get this to work by explicitly linking in this lib:

go build -gccgoflags '-static -lnetgo' lookup.go

I will attach a patch after some more testing.

Reply via email to