[rfc] build-style: go: set buildmode=pie globally#46958
[rfc] build-style: go: set buildmode=pie globally#46958dkwo wants to merge 7 commits intovoid-linux:masterfrom
Conversation
d8efa4d to
5c4755e
Compare
|
So, which packages do you expect to fail and why? I'd also recommend do apply this together with a Go release bump. |
|
Regarding LXD / Incus... I do want to migrate to Incus and completely remove LXD down the line. Don't really have time for that right now though :/ |
|
about bombadillo, I tried to rise an issue upstream, but they do not allow rising issues without a tilde account, that I do not have. Right now I am in the #helpedesk channel in tilde irc, waiting to someone to reply to me. Update, very nicely, they created an tilde account for me, I could rise an issue about the timeout error, and also they pointed me to go-gitea/gitea#27945 It seems the bug issue has been resolved, I can donwload the tar.gz again. |
|
Second rebuild completed, nothing new to report. |
9158dc9 to
d4d35f7
Compare
|
@leahneukirchen Can you take a look? |
|
sgtm! |
|
why does |
|
Indeed, |
3da9687 to
e38db7b
Compare
c144f20 to
24670ec
Compare
|
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
|
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
|
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
|
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
93e55f7 to
e400877
Compare
Packages that failed to build with
piehavenopieset, due to not using the build style.cross building pie to musl targets it cannot find the right linker and it prefers the glibc one. Proposed fix:
tested with
Not blocking but to be considered:
CGO_ENABLED=0) https://gaultier.github.io/blog/build-pie-executables-with-pie.html cmd/link: building static pie binaries using gcc -static-pie golang/go#41944 Related: somearchs do not support internal linking https://cs.opensource.google/go/go/+/master:src/internal/platform/supported.go;l=219 https://go-review.googlesource.com/c/go/+/248199Todo: clean up
git grep buildmode=pie.[ci skip]