public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/112286] New: Go does not support LoongArch
@ 2023-10-30 10:20 robinlee.sysu at gmail dot com
  2023-10-30 10:24 ` [Bug go/112286] " xry111 at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: robinlee.sysu at gmail dot com @ 2023-10-30 10:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

            Bug ID: 112286
           Summary: Go does not support LoongArch
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: robinlee.sysu at gmail dot com
  Target Milestone: ---

Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2

libgo runtime needs an update.
gccgo build scripts need to support loongarch64.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
@ 2023-10-30 10:24 ` xry111 at gcc dot gnu.org
  2023-10-30 11:09 ` chenglulu at loongson dot cn
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-10-30 10:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-10-30
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
  2023-10-30 10:24 ` [Bug go/112286] " xry111 at gcc dot gnu.org
@ 2023-10-30 11:09 ` chenglulu at loongson dot cn
  2023-10-30 11:11 ` xry111 at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: chenglulu at loongson dot cn @ 2023-10-30 11:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

chenglulu <chenglulu at loongson dot cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chenglulu at loongson dot cn

--- Comment #1 from chenglulu <chenglulu at loongson dot cn> ---
(In reply to Robin Lee from comment #0)
> Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2
> 
> libgo runtime needs an update.
> gccgo build scripts need to support loongarch64.

Do I have to use gccgo? Since the version of go in gcc is relatively low, this
transplant requires some work. We have discussed with our colleagues who are
working on the Go compiler that if it is not necessary to use gccgo, we will
not do the transplant.

Thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
  2023-10-30 10:24 ` [Bug go/112286] " xry111 at gcc dot gnu.org
  2023-10-30 11:09 ` chenglulu at loongson dot cn
@ 2023-10-30 11:11 ` xry111 at gcc dot gnu.org
  2023-10-30 11:12 ` xry111 at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-10-30 11:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to chenglulu from comment #1)
> (In reply to Robin Lee from comment #0)
> > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2
> > 
> > libgo runtime needs an update.
> > gccgo build scripts need to support loongarch64.
> 
> Do I have to use gccgo? Since the version of go in gcc is relatively low,
> this transplant requires some work.

GCC will eventually bump the Go version but it requires some non-trivial work:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c6.  So I'd like to defer
the transplant after Ian completes all these.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
                   ` (2 preceding siblings ...)
  2023-10-30 11:11 ` xry111 at gcc dot gnu.org
@ 2023-10-30 11:12 ` xry111 at gcc dot gnu.org
  2023-10-30 11:15 ` chenglulu at loongson dot cn
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-10-30 11:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
FWIW one nice aspect of gccgo is we don't need a pre-installed Go binary to
build it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
                   ` (3 preceding siblings ...)
  2023-10-30 11:12 ` xry111 at gcc dot gnu.org
@ 2023-10-30 11:15 ` chenglulu at loongson dot cn
  2023-10-30 11:22 ` xry111 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: chenglulu at loongson dot cn @ 2023-10-30 11:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #4 from chenglulu <chenglulu at loongson dot cn> ---
(In reply to Xi Ruoyao from comment #2)
> (In reply to chenglulu from comment #1)
> > (In reply to Robin Lee from comment #0)
> > > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2
> > > 
> > > libgo runtime needs an update.
> > > gccgo build scripts need to support loongarch64.
> > 
> > Do I have to use gccgo? Since the version of go in gcc is relatively low,
> > this transplant requires some work.
> 
> GCC will eventually bump the Go version but it requires some non-trivial
> work: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c6.  So I'd like
> to defer the transplant after Ian completes all these.

Do you know when the version of gccgo will be upgraded?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
                   ` (4 preceding siblings ...)
  2023-10-30 11:15 ` chenglulu at loongson dot cn
@ 2023-10-30 11:22 ` xry111 at gcc dot gnu.org
  2023-10-30 11:36 ` chenglulu at loongson dot cn
  2023-10-30 11:38 ` robinlee.sysu at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-10-30 11:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to chenglulu from comment #4)
> (In reply to Xi Ruoyao from comment #2)
> > (In reply to chenglulu from comment #1)
> > > (In reply to Robin Lee from comment #0)
> > > > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2
> > > > 
> > > > libgo runtime needs an update.
> > > > gccgo build scripts need to support loongarch64.
> > > 
> > > Do I have to use gccgo? Since the version of go in gcc is relatively low,
> > > this transplant requires some work.
> > 
> > GCC will eventually bump the Go version but it requires some non-trivial
> > work: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c6.  So I'd like
> > to defer the transplant after Ian completes all these.
> 
> Do you know when the version of gccgo will be upgraded?

No but anyway we should be struggling to make it match the latest Google Go
compiler.  If we cannot keep up one day I guess gccgo will be simply removed.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
                   ` (5 preceding siblings ...)
  2023-10-30 11:22 ` xry111 at gcc dot gnu.org
@ 2023-10-30 11:36 ` chenglulu at loongson dot cn
  2023-10-30 11:38 ` robinlee.sysu at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: chenglulu at loongson dot cn @ 2023-10-30 11:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #6 from chenglulu <chenglulu at loongson dot cn> ---
(In reply to Xi Ruoyao from comment #5)
> (In reply to chenglulu from comment #4)
> > (In reply to Xi Ruoyao from comment #2)
> > > (In reply to chenglulu from comment #1)
> > > > (In reply to Robin Lee from comment #0)
> > > > > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2
> > > > > 
> > > > > libgo runtime needs an update.
> > > > > gccgo build scripts need to support loongarch64.
> > > > 
> > > > Do I have to use gccgo? Since the version of go in gcc is relatively low,
> > > > this transplant requires some work.
> > > 
> > > GCC will eventually bump the Go version but it requires some non-trivial
> > > work: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c6.  So I'd like
> > > to defer the transplant after Ian completes all these.
> > 
> > Do you know when the version of gccgo will be upgraded?
> 
> No but anyway we should be struggling to make it match the latest Google Go
> compiler.  If we cannot keep up one day I guess gccgo will be simply removed.

Ok, I see. Thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug go/112286] Go does not support LoongArch
  2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
                   ` (6 preceding siblings ...)
  2023-10-30 11:36 ` chenglulu at loongson dot cn
@ 2023-10-30 11:38 ` robinlee.sysu at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: robinlee.sysu at gmail dot com @ 2023-10-30 11:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #7 from Robin Lee <robinlee.sysu at gmail dot com> ---
(In reply to Xi Ruoyao from comment #3)
> FWIW one nice aspect of gccgo is we don't need a pre-installed Go binary to
> build it.

Yes. In Freedesktop SDK project[1], we need gccgo to bootstrap gc go.

[1] https://gitlab.com/freedesktop-sdk/freedesktop-sdk/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-30 11:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 10:20 [Bug go/112286] New: Go does not support LoongArch robinlee.sysu at gmail dot com
2023-10-30 10:24 ` [Bug go/112286] " xry111 at gcc dot gnu.org
2023-10-30 11:09 ` chenglulu at loongson dot cn
2023-10-30 11:11 ` xry111 at gcc dot gnu.org
2023-10-30 11:12 ` xry111 at gcc dot gnu.org
2023-10-30 11:15 ` chenglulu at loongson dot cn
2023-10-30 11:22 ` xry111 at gcc dot gnu.org
2023-10-30 11:36 ` chenglulu at loongson dot cn
2023-10-30 11:38 ` robinlee.sysu at gmail 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).