Splitting out from #13492: @ansiwen's [comment](https://github.com/golang/go/issues/13492#issuecomment-1002224721): > For what it's worth, compiled with -buildmode=c-shared I get: > > ``` > sc_dlopen failed: Error relocating ./foobar.so: (null): initial-exec TLS resolves to dynamic definition in ./foobar.so > ``` > > with > > ``` > $ go version > go version go1.17.5 linux/amd64 > $ cat /etc/alpine-release > 3.15.0 > $ apk version musl > Installed: Available: > musl-1.2.2-r7 = 1.2.2-r7 > ``` I am still seeing a similar issue today with Go 1.19.