We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
related commit: 8191faa
v2ray-core/.github/workflows/release.yml
Lines 131 to 144 in cab66de
EXTRA_ARG does not get passed to go build. So it does not build with -buildmode=pie.
EXTRA_ARG
go build
-buildmode=pie
GOARCH='amd64' GOOS='linux' GOVERSION='go1.23.2', build v5.21.0 without -buildmode=pie:
$ CGO_ENABLED=0 go build -v -o v2ray -trimpath -ldflags "-s -w -buildid=" ./main $ sha256sum v2ray fb5354aa11d3361280af9ffc0aa5acfe316337e82bfe01707bc483e3a123fef2 v2ray
Without -buildmode=pie, the hash of the binary matches the one of v5.21.0 release.
GOARCH='amd64' GOOS='linux' GOVERSION='go1.23.2', build v5.21.0 with -buildmode=pie:
$ CGO_ENABLED=0 go build -v -o v2ray -trimpath -ldflags "-s -w -buildid=" -buildmode=pie ./main $ sha256sum v2ray 94b193f4375d64bb636ed1e78ff874820dd1818effb7f010082474bc408aed66 v2ray
The text was updated successfully, but these errors were encountered:
No branches or pull requests
related commit: 8191faa
v2ray-core/.github/workflows/release.yml
Lines 131 to 144 in cab66de
EXTRA_ARG
does not get passed togo build
. So it does not build with-buildmode=pie
.GOARCH='amd64' GOOS='linux' GOVERSION='go1.23.2', build v5.21.0 without
-buildmode=pie
:Without
-buildmode=pie
, the hash of the binary matches the one of v5.21.0 release.GOARCH='amd64' GOOS='linux' GOVERSION='go1.23.2', build v5.21.0 with
-buildmode=pie
:The text was updated successfully, but these errors were encountered: