On Wed, Feb 8, 2023 at 11:50 AM Paolo Losi <paolo.l...@gmail.com> wrote: > > I am using the following command to build command to build statically linked > executables > > go install -tags netgo,osusergo -v -ldflags="-extldflags '-static' -linkmode > 'external'" ./... > > Everything works fine (binaries are build and work correctly) but I get this > warning: > > loadinternal: cannot find runtime/cgo > > Is that harmless?
Sounds like https://go.dev/issue/31544. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUSBaQ-g%2BpyfWjGg869Mu-W%2Bi0ZwUXWOVSruDcosLfgaQ%40mail.gmail.com.