-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Description
arm64 M1 MacBook Pro, macOS 15.6 (24G84), Docker Desktop 4.44.3 (202357), Docker Engine 28.3.2.
Installing golangci-lint
works successfully on Bookworm:
$ docker run --rm golang:1.25-bookworm go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
It fails with Trixie:
$ docker run --rm golang:1.25-trixie go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
go: downloading github.com/golangci/golangci-lint/v2 v2.4.0
[...]
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
# github.com/golangci/golangci-lint/v2/cmd/golangci-lint
/usr/local/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
/usr/bin/gcc -Wl,-z,now -Wl,-z,nocopyreloc -fuse-ld=gold -Wl,--build-id=0x900158c24dec5bb23a7acb580818b1f394cdd4f5 -o $WORK/b001/exe/a.out -rdynamic /tmp/go-link-4137522624/go.o /tmp/go-link-4137522624/000000.o /tmp/go-link-4137522624/000001.o /tmp/go-link-4137522624/000002.o /tmp/go-link-4137522624/000003.o /tmp/go-link-4137522624/000004.o /tmp/go-link-4137522624/000005.o /tmp/go-link-4137522624/000006.o /tmp/go-link-4137522624/000007.o /tmp/go-link-4137522624/000008.o /tmp/go-link-4137522624/000009.o /tmp/go-link-4137522624/000010.o /tmp/go-link-4137522624/000011.o /tmp/go-link-4137522624/000012.o /tmp/go-link-4137522624/000013.o /tmp/go-link-4137522624/000014.o /tmp/go-link-4137522624/000015.o /tmp/go-link-4137522624/000016.o /tmp/go-link-4137522624/000017.o /tmp/go-link-4137522624/000018.o /tmp/go-link-4137522624/000019.o /tmp/go-link-4137522624/000020.o /tmp/go-link-4137522624/000021.o /tmp/go-link-4137522624/000022.o /tmp/go-link-4137522624/000023.o /tmp/go-link-4137522624/000024.o -O2 -g -lresolv -O2 -g -ldl -O2 -g -lpthread -O2 -g
collect2: fatal error: cannot find 'ld'
compilation terminated.
But ld
is present:
$ docker run --rm golang:1.25-trixie ld
ld: no input files
Metadata
Metadata
Assignees
Labels
No labels