-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/go,misc/cgo: problems with PIE builds on alpine builder #54354
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
thanm
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Aug 9, 2022
Change https://go.dev/cl/422295 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Aug 9, 2022
Skip a collection of -buildmode=pie tests on alpine, which are currently failing on the linux-amd64-alpine builder. Once #54354 has been investigated and resolved we can turn these tests back on. Updates #54354. Change-Id: I99d4016a40873ee6bb4eda571a64eddbe719c76a Reviewed-on: https://go-review.googlesource.com/c/go/+/422295 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
The errors
look like the dynamic linker path is wrong? Maybe worth trying to build a PIE binary and looking at the dynamic linker path. |
jproberts
pushed a commit
to jproberts/go
that referenced
this issue
Aug 10, 2022
Skip a collection of -buildmode=pie tests on alpine, which are currently failing on the linux-amd64-alpine builder. Once golang#54354 has been investigated and resolved we can turn these tests back on. Updates golang#54354. Change-Id: I99d4016a40873ee6bb4eda571a64eddbe719c76a Reviewed-on: https://go-review.googlesource.com/c/go/+/422295 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
FWIW, #54306 also has issues in the cgo tests with Alpine, though quite different errors. |
Change https://go.dev/cl/538396 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?linux/amd64 on Alpine
What did you do?
run all.bash
What did you expect to see?
clean run
What did you see instead?
There appear to be several failures on the linux-amd64-alpine builder related to PIE build mode. Details:
This needs to be looked into. I am guessing that it has something to do with the builder configuration.
The text was updated successfully, but these errors were encountered: