Open jhiemstrawisc opened 2 months ago
Which OS, go version, purego version are you using?
Amd64, and arm64 should be dynamically linked. How are you determining they are static?
@jhiemstrawisc is this still an issue? If not, I'd like to close it.
I noticed recently that compiling your
libc
example has different behavior on arm64 than it does on x86 -- on arm, it produces a static binary, but on x86 it's dynamically linked, even withCGO_ENABLED=0
.Is this intended? I initially observed similar behavior after using
purego
in another project, where my x86 go binaries broke because they switched from static to dynamic.