client_golang icon indicating copy to clipboard operation
client_golang copied to clipboard

Linker Warnings when using go race detector

Open oreissig opened this issue 8 months ago • 3 comments

Since upgrading to client_golang v1.21.0 (still present in v1.21.1) I'm seeing strange linker warnings in my console output when running go test -race:

go test -race ./pkg/...
# [...pkg path...]
ld: warning: '/private/var/folders/fq/r4cfy5dn7pv9gtjn9m87qrp00000gn/T/go-link-2788382549/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626

It does not occur when

  • using client_golang v1.20.5 or below
  • using go test without -race

My environment: go version go1.24.1 darwin/arm64

oreissig avatar Mar 12 '25 15:03 oreissig