Hacker News new | ask | show | jobs
by pgCKIN 1673 days ago
Building go on the target architecture defaults on a dependency on libpthreads for DNS resolutions. Passing either CGO_ENABLED=0 or -tags netgo fix this.

It's unclear to me how and when spawning a thread per resolution is preferrable to the netgo behavoir.