https://sourceware.org/bugzilla/show_bug.cgi?id=29592
--- Comment #3 from matoro <matoro_bugzilla_glibc at matoro dot tk> --- The warning itself is correct. In golang, CGO_ENABLED=1 (the default) creates a dynamic exe, while CGO_ENABLED=0 produces a static one. However the -fPIC part is not accurate. Golang has its own assembly emitter, it doesn't use gcc or any compiler for codegen. It only uses ld for linking. -- You are receiving this mail because: You are on the CC list for the bug.