[Bug libffi/108682] New: libffi needs to merge upstream to get LoongArch support

2023-02-06 Thread robinlee.sysu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682

Bug ID: 108682
   Summary: libffi needs to merge upstream to get LoongArch
support
   Product: gcc
   Version: 13.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libffi
  Assignee: unassigned at gcc dot gnu.org
  Reporter: robinlee.sysu at gmail dot com
  Target Milestone: ---

Significant parts of GCC already get LoongArch support. But when I try to build
gccgo for LoongArch, it fails:

configure: error: "libffi has not been ported to
loongarch64-unknown-linux-gnuf64."

libffi upstream already gets LoongArch support since 3.4.3. The latest version
is 3.4.4.

Is there any chance a merge with upstream can be performed before GCC 13 final
release? So gccgo can be built for LoongArch.

[Bug go/112286] New: Go does not support LoongArch

2023-10-30 Thread robinlee.sysu at gmail dot com via 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.

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread robinlee.sysu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286

--- Comment #7 from Robin Lee  ---
(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/