sliver icon indicating copy to clipboard operation
sliver copied to clipboard

Compile issues with go 1.23.4 - gvisor issue

Open smijolovic opened this issue 1 year ago • 1 comments

This issue was closed but still persists with newer versions of go - using unmaintained versions of go is not possible, so may need to investigate why this is still happening.

PATH=/usr/local/go23/bin:$PATH make linux-arm64 rm -f sliver-client sliver-server sliver-*.exe GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -mod=vendor -trimpath -tags osusergo,netgo,gosqlite,server -ldflags "-s -w -X github.com/bishopfox/sliver/client/version.Version=v1.5.42 -X "github.com/bishopfox/sliver/client/version.GoVersion=go version go1.23.4 linux/arm64" -X github.com/bishopfox/sliver/client/version.CompiledAt=1734295933 -X github.com/bishopfox/sliver/client/version.GithubReleasesURL=https://api.github.com/repos/BishopFox/sliver/releases -X github.com/bishopfox/sliver/client/version.GitCommit=85b0e870d05ec47184958dbcb871ddee2eb9e3df -X github.com/bishopfox/sliver/client/version.GitDirty= -X github.com/bishopfox/sliver/client/assets.DefaultArmoryPublicKey=RWSBpxpRWDrD7Fe+VvRE3c2VEDC2NK80rlNCj+BX0gz44Xw07r6KQD9L -X github.com/bishopfox/sliver/client/assets.DefaultArmoryRepoURL=https://api.github.com/repos/sliverarmory/armory/releases" -o sliver-server ./server package github.com/bishopfox/sliver/server imports github.com/bishopfox/sliver/server/cli imports github.com/bishopfox/sliver/server/builder imports github.com/bishopfox/sliver/server/generate imports github.com/bishopfox/sliver/server/certs imports github.com/bishopfox/sliver/server/core imports github.com/bishopfox/sliver/implant/sliver/transports/wireguard imports github.com/bishopfox/sliver/implant/sliver/netstack imports gvisor.dev/gvisor/pkg/bufferv2 imports gvisor.dev/gvisor/pkg/atomicbitops imports gvisor.dev/gvisor/pkg/cpuid imports gvisor.dev/gvisor/pkg/state imports gvisor.dev/gvisor/pkg/state/wire imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/chaasmadmin/nimbus8/sliver/sliver-chaasm-1.5.42/sliver/vendor/gvisor.dev/gvisor/pkg/gohacks make: *** [Makefile:142: linux-arm64] Error 1

smijolovic avatar Dec 15 '24 20:12 smijolovic

Recommend using the v1.6 branch (i.e., master) if you need a modern version of Go, it has updated gvisor and everything.

moloch-- avatar Dec 19 '24 19:12 moloch--