There is an updated pull request by dkwo against master on the void-packages repository https://github.com/dkwo/void-packages gopie https://github.com/void-linux/void-packages/pull/46958 [rfc] build-style: go: set buildmode=pie globally I rebuilt all packages natively on x86_64-glibc. Packages that failed to build with `pie` have `nopie` set. Pending: - sbctl #46165 - lxd, lxd-lts #47573 - booster #48122 Missing distfiles: - clipman @travankor (builds fine with pie otherwise) Building with pie may interfere with static binaries (e.g. if set CGO_ENABLED=0) and cross-compiling. Up to now I disabled it for - go-bindata - go-md2man - grafana but further investigation/tests are needed. See also https://go-review.googlesource.com/c/go/+/248199 [ci skip] A patch file from https://github.com/void-linux/void-packages/pull/46958.patch is attached