Skip to content
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/link: go install of shared std fails #39777

Closed
jcajka opened this issue Jun 23, 2020 · 4 comments
Closed

cmd/link: go install of shared std fails #39777

jcajka opened this issue Jun 23, 2020 · 4 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@jcajka
Copy link
Contributor

jcajka commented Jun 23, 2020

What version of Go are you using (go version)?

$ go version
go version devel +e92be18fd8 Wed Jun 10 14:56:01 2020 +0000 linux/s390x
go version devel +968e18eebd Tue Jun 23 00:10:24 2020 +0000 linux/s390x

Observed both on master and go1.15beta1

Does this issue reproduce with the latest release?

No, go1.14.x doesn't seems to be affected.

What operating system and processor architecture are you using (go env)?

Observed both on linux/amd64 and linux/s390x. I would assume that all linux/* are affected.
For the record that is with gcc-10.1.1 and binutils-2.34(should these have any impact).

What did you do?

go install --buildmode=shared std

What did you expect to see?

Install finishing successfully, creating the libstd.so.

What did you see instead?

#go install --buildmode=shared std
# /tmp/go-build251444969/b203/libstd.so
/root/jcajka/go/pkg/tool/linux_s390x/link: fingerprint mismatch: errors has 0000000000000000, import from archive/tar expecting 1cce8eaa5db90f7e
@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 23, 2020
@dmitshur
Copy link
Contributor

Thank you for testing beta 1 and reporting this.

I'm not sure if this is a problem, and if so, where the problem is, but the error is coming from the linker, so that might be involved. /cc @aclements @cherrymui

/cc @cagedmantis @toothrot

@dmitshur dmitshur added this to the Go1.15 milestone Jun 23, 2020
@dmitshur dmitshur changed the title go install of shared std fails cmd/link: go install of shared std fails Jun 23, 2020
@thanm
Copy link
Contributor

thanm commented Jun 23, 2020

This does appear to be reproducible on our s390x gomote.

@gopherbot
Copy link

Change https://golang.org/cl/239517 mentions this issue: cmd/link: skip zero values in fingerprint check

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jun 23, 2020
@jcajka
Copy link
Contributor Author

jcajka commented Jun 24, 2020

Thank you for quick fix.

@golang golang locked and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants