Skip to content

Linker Warnings when using go race detector #1774

Open
@oreissig

Description

@oreissig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions