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

jcajka opened this issue Jun 23, 2020 · 4 comments

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

jcajka opened this issue Jun 23, 2020 · 4 comments


Copy link

@jcajka 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

What did you see instead?

#go install --buildmode=shared std
# /tmp/go-build251444969/b203/
/root/jcajka/go/pkg/tool/linux_s390x/link: fingerprint mismatch: errors has 0000000000000000, import from archive/tar expecting 1cce8eaa5db90f7e
Copy link

@dmitshur dmitshur commented Jun 23, 2020

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
Copy link

@thanm thanm commented Jun 23, 2020

This does appear to be reproducible on our s390x gomote.

Copy link

@gopherbot gopherbot commented Jun 23, 2020

Change mentions this issue: cmd/link: skip zero values in fingerprint check

Copy link
Contributor Author

@jcajka 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.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants