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 pie globally I rebuilt all packages natively on x86_64. Packages that failed to build with `pie` have `nopie` set. Pending: - sbctl #46165 - lxd, lxd-lts #47573 Missing distfiles: - clipman @travankor (builds fine with pie otherwise) I realised that building with pie interferes with static binaries (particularly if set CGO_ENABLED=0) and cross-compiling, as seen e.g. with go-bindata, and possibly go-md2man and others. [ci skip] A patch file from https://github.com/void-linux/void-packages/pull/46958.patch is attached