Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile issues with go 1.23.4 - gvisor issue #1833

Open
smijolovic opened this issue Dec 15, 2024 · 1 comment
Open

Compile issues with go 1.23.4 - gvisor issue #1833

smijolovic opened this issue Dec 15, 2024 · 1 comment

Comments

@smijolovic
Copy link

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

@moloch--
Copy link
Member

moloch-- commented Dec 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants