Skip to content

make build always finish with error #2262

@likid

Description

@likid

I'm trying to build in an arm64 machine, but I always get the same error:

#0 50.25 go: downloading google.golang.org/protobuf v1.26.0
#0 109.7 # github.com/golangci/golangci-lint/cmd/golangci-lint
#0 109.7 /usr/local/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
#0 109.7 collect2: fatal error: cannot find 'ld'
#0 109.7 compilation terminated.
#0 109.7
------
failed to solve: executor failed running [/bin/sh -c go install github.com/markbates/[email protected] &&     go install github.com/golangci/golangci-lint/cmd/[email protected]]: exit code: 2
make: *** [Makefile:59: build] Error 17
go version
go version go1.16.5 gccgo (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 linux/arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions