Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1050013: gcc-13: Please don't build the Ada, Go, D and M2 on LoongArch

9 views
Skip to first unread message

zhangdandan

unread,
Aug 18, 2023, 7:10:05 AM8/18/23
to
Package: gcc-13
Version: 13.2.0-2
Severity: wishlist
Tags: patch
User: debian...@lists.debian.org
Usertags: loongarch64

Dear gcc maintainers,

According to the status of the GCC upstream[1], the Ada, Go, D and M2
modules
are not supported on the LoongArch architecture. Please don't build the
Ada,
Go, D and M2 modules on the LoongArch architecture in the gcc-13 source
package.

In the future, when the GCC upstream supports Ada, Go, D or M2 modules for
the LoongArch architecture, please help us to enable the corresponding
support
in debian/rules.defs.

Please consider the patch attached.
For ease of viewing, I've added the patch in personal Debian GCC project[2].
Your opinions are welcome.

[1]: https://gcc.gnu.org/gcc-13/changes.html
[2]:
https://salsa.debian.org/zhangdandan/gcc/-/commit/82f3b19df4d6ba97728a15fecc40f8c77cec02b5

thanks,
Dandan Zhang

Disable-Ada-Go-D-and-M2-on-LoongArch.patch

Matthias Klose

unread,
Aug 18, 2023, 8:20:05 AM8/18/23
to
Control: tags -1 + moreinfo

please can you file upstream reports for each of these frontends?

zhangdandan

unread,
Sep 3, 2023, 10:20:04 PM9/3/23
to
Control: tags -1 - moreinfo

Dear maintainer,

Thanks for your reply.
During this time, we've been confirming upstream reports for each of
these frontends.

在 2023/8/18 下午8:08, Matthias Klose 写道:
> Control: tags -1 + moreinfo
>
> please can you file upstream reports for each of these frontends?
>
In the gcc-13 release, support for the LoongArch architecture in Ada,
Go, D, and Modula-2 are as follows.

- Ada
The Ada module of gcc-13 does not support LoongArch.
Support for the LoongArch architecture has been submitted to gcc
upstream, see [1].

- Go
The Go module of gcc-13 does not support LoongArch.
The code for go is synchronized from https://go.googlesource.com/gofrontend.
The LoongArch architecture has not yet submitted a patch to the go
repository.

- D
The D module of gcc-13 does not support LoongArch.
The code for D is synchronized from https://github.com/dlang/dmd
LoongArch architecture has not yet submitted a patch to the D repository.

- Modula-2
The M2 module does not need to add architectural support.
Would like to be consistent with other architectures in gcc-14 release.

Anyway, regarding the gcc-13 version, we would like to turn off Ada, Go,
D and M2 modules on the LoongArch architecture in the gcc-13 source
package.
In the future, the appropriate modules will be turned on, depending on
gcc upstream's support for the loongarch architecture.

[1]:https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627951.html

thanks,
Dandan Zhang
0 new messages