-
Notifications
You must be signed in to change notification settings - Fork 18k
build: TestBuildmodePIE failed on linux #21452
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
Comments
Same on my linux/amd64 system. I bisected this to b7c600d |
I didn't change anything about Linux.
Thank you. |
Ah, it bisected to your change because that's the one that added that PIE test... but |
I see. It seems the compiler should recompile dependent packages if it is necessary, instead of error. I don't know where that logic is defined though. |
Anyway, thank you for your confirmation. |
Cleaning out manually the old pkgs works as a workaround to fix |
I think this is basically a bug in cmd/go: it doesn't take relevant flag settings into account when deciding whether it needs to rebuild a package. Until cmd/go is fixed we can fixed |
I can fix the test |
Change https://golang.org/cl/55812 mentions this issue: |
I see the problem, it's in cmd/go. Will send a CL. |
Change https://golang.org/cl/57231 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?use go 1.9 rc2 to compile go tip
58cb8a3c8fdc9b83cb8630f17d0ee641eb0327cc
What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
GOROOT_BOOTSTRAP=/home/cholerae/gopath/go ./all.bash
What did you expect to see?
all tests passed.
What did you see instead?
The text was updated successfully, but these errors were encountered: