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

gccgo: missing version info #51850

Closed
zhsj opened this issue Mar 21, 2022 · 4 comments
Closed

gccgo: missing version info #51850

zhsj opened this issue Mar 21, 2022 · 4 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@zhsj
Copy link
Contributor

zhsj commented Mar 21, 2022

I'm not sure if it's downstream bug or not. The gccgo package from Debian, which version is 12-20220319-1, produces:

$ go version
go version unknown linux/amd64

Is it temporary before gcc 12 is released? or does it mean the build scripts in the Debian package have missed some configuration?

@gopherbot gopherbot added this to the Gccgo milestone Mar 21, 2022
@mknyszek mknyszek added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 21, 2022
@mknyszek
Copy link
Contributor

CC @ianlancetaylor

@anthonyfok
Copy link

Hi! I'd like to chime in my 2 cents too.

Yes, some kind of version info would be helpful even for prereleases. And, even if the version number is unknown, the string gccgo should probably still be there, e.g. go version unknown gccgo linux/amd64.

Due to the absence of gccgo anywhere on the "unknown" version string, I had to resort the workaround of guessing whether it is gccgo or not using go env GOTOOLDIR:

Many thanks!

@RubenKelevra
Copy link

This is still a bug in the final.

https://bugs.archlinux.org/task/74739

@gopherbot
Copy link

Change https://go.dev/cl/414734 mentions this issue: libgo: make runtime.Version return a meaningful string

realqhc pushed a commit to realqhc/gofrontend that referenced this issue Aug 4, 2022
Fixes golang/go#51850

Change-Id: I50a97de81b3f07855cdae8a02a4b53e7da93f850
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/414734
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
@golang golang locked and limited conversation to collaborators Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

5 participants