public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/106747] New: Regression: go version does not print a number in 12.x
@ 2022-08-26 6:22 dilyan.palauzov at aegee dot org
2022-08-26 12:45 ` [Bug go/106747] " marxin at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2022-08-26 6:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
Bug ID: 106747
Summary: Regression: go version does not print a number in 12.x
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: dilyan.palauzov at aegee dot org
Target Milestone: ---
If my observations are correct, in the 11.x series go version printed a version
number, while in the 12.x series it prints:
$ go version
go version unknown linux/amd64
The unknown-version is printed on git commit a3bd980b9b146633e2 ( Daily bump.
20220814)
In the 11.x series it printed
$ go version
go version go1.16.5 gccgo (GCC) 11.2.1 20211010 linux/amd64
This is a regression.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
@ 2022-08-26 12:45 ` marxin at gcc dot gnu.org
2022-08-26 12:55 ` schwab@linux-m68k.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-08-26 12:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |marxin at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Well, you speak about go.dev compiler:
https://go.dev/
We emit:
gccgo-12 --version
gccgo-12 (SUSE Linux) 12.1.1 20220812 [revision
6b7d570a5001bb79e34c0d1626a8c7f55386dac7]
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
2022-08-26 12:45 ` [Bug go/106747] " marxin at gcc dot gnu.org
@ 2022-08-26 12:55 ` schwab@linux-m68k.org
2022-08-26 13:02 ` dilyan.palauzov at aegee dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2022-08-26 12:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|RESOLVED |REOPENED
Resolution|INVALID |---
Last reconfirmed| |2022-08-26
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
This is about go version, not gccgo --version. See commit 53c4ef1e3cc.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
2022-08-26 12:45 ` [Bug go/106747] " marxin at gcc dot gnu.org
2022-08-26 12:55 ` schwab@linux-m68k.org
@ 2022-08-26 13:02 ` dilyan.palauzov at aegee dot org
2022-08-26 16:12 ` ian at airs dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2022-08-26 13:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
--- Comment #3 from Дилян Палаузов <dilyan.palauzov at aegee dot org> ---
installing gcc installs two binaries:gccgo and go.
The first is OK:
$ gccgo --version
gccgo (GCC) 12.1.1 20220814
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The second binary, installed by gcc, go:
$ go version
go version unknown linux/amd64
does not print a version. The problem report is about the second binary.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
` (2 preceding siblings ...)
2022-08-26 13:02 ` dilyan.palauzov at aegee dot org
@ 2022-08-26 16:12 ` ian at airs dot com
2022-08-26 19:05 ` [Bug go/106747] [12 Regression] " pinskia at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2022-08-26 16:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
This is fixed on tip. Want to backport the patch to the GCC 12 branch?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] [12 Regression] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
` (3 preceding siblings ...)
2022-08-26 16:12 ` ian at airs dot com
@ 2022-08-26 19:05 ` pinskia at gcc dot gnu.org
2022-08-27 6:59 ` dilyan.palauzov at aegee dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-26 19:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Regression: go version does |[12 Regression] Regression:
|not print a number in 12.x |go version does not print a
| |number in 12.x
Target Milestone|--- |12.3
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] [12 Regression] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
` (4 preceding siblings ...)
2022-08-26 19:05 ` [Bug go/106747] [12 Regression] " pinskia at gcc dot gnu.org
@ 2022-08-27 6:59 ` dilyan.palauzov at aegee dot org
2022-09-13 20:13 ` cvs-commit at gcc dot gnu.org
2022-09-13 20:23 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2022-08-27 6:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
--- Comment #5 from Дилян Палаузов <dilyan.palauzov at aegee dot org> ---
(In reply to Ian Lance Taylor from comment #4)
> This is fixed on tip. Want to backport the patch to the GCC 12 branch?
This is a regression. It would be good if there is a correction on the GCC 12
branch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] [12 Regression] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
` (5 preceding siblings ...)
2022-08-27 6:59 ` dilyan.palauzov at aegee dot org
@ 2022-09-13 20:13 ` cvs-commit at gcc dot gnu.org
2022-09-13 20:23 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-13 20:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Ian Lance Taylor
<ian@gcc.gnu.org>:
https://gcc.gnu.org/g:23605c6a4eef5ca8ecb64d7006b60aeed241c29c
commit r12-8763-g23605c6a4eef5ca8ecb64d7006b60aeed241c29c
Author: Ian Lance Taylor <iant@golang.org>
Date: Tue Sep 13 13:11:17 2022 -0700
libgo: make runtime.Version return a meaningful string
For golang/go#51850
Fixes PR go/106747
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/414734
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/106747] [12 Regression] Regression: go version does not print a number in 12.x
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
` (6 preceding siblings ...)
2022-09-13 20:13 ` cvs-commit at gcc dot gnu.org
@ 2022-09-13 20:23 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2022-09-13 20:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106747
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> ---
Fixed on GCC 12 branch.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-09-13 20:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 6:22 [Bug go/106747] New: Regression: go version does not print a number in 12.x dilyan.palauzov at aegee dot org
2022-08-26 12:45 ` [Bug go/106747] " marxin at gcc dot gnu.org
2022-08-26 12:55 ` schwab@linux-m68k.org
2022-08-26 13:02 ` dilyan.palauzov at aegee dot org
2022-08-26 16:12 ` ian at airs dot com
2022-08-26 19:05 ` [Bug go/106747] [12 Regression] " pinskia at gcc dot gnu.org
2022-08-27 6:59 ` dilyan.palauzov at aegee dot org
2022-09-13 20:13 ` cvs-commit at gcc dot gnu.org
2022-09-13 20:23 ` ian at airs dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).