I’m a software porter for the LoongArch64 architecture. As far as I know, the upstream community already supports the LoongArch64 architecture, including gcc, kernel, LLVM, and Golang. If we want to support the LoongArch64 architecture on RockyLinux, what should we do? Are there any references? Thanks!
Here are some public information about the loongarch64 architecture for reference:
The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a RISC style.
It will be up to you to figure out how to build Rocky Linux 10 on LoongArch, if this is something you wish to pursue. If you can find a Fedora 40 LoongArch set of packages, you can use that as a starting base line to get started. Fedora 42 may make this a bit more difficult as packages will be newer than what Rocky Linux 10 will have. Since this would be less than ideal, you would need to bootstrap by hand. Below is an idea you can likely take notes from.
Will Rock Linux accept pull requests (PRs) from loongarch64 in the future? We hope Rock Linux will natively support loongarch64. Currently, loongarch64 has been accepted by several operating systems. For example, Alpine has supported loongarch64 since version 21, and Debian has officially decided to add loongarch64 support in Debian 14
alpine
Will Rock Linux accept pull requests (PRs) from loongarch64 in the future?
There needs to be an actual long-term desire for this architecture. If there is a burning desire for this architecture to be supported in Rocky Linux, it is up to you (and others) to bootstrap it and build it and show that it is possible to have Rocky Linux on another architecture, much like we have done for riscv64. This would be the only compelling reason to have the project consider its options when it comes to adding yet another architecture. And yes, this includes future “patches” (PR’s) to support it, again, just like riscv64.
In the event that the project decides that it may be “ok” to support this architecture (as a secondary architecture), the project would then need readily available hardware at all times, among many other things.
Okay, thank you for your guidance. I will attempt to build RockLinux 10 locally to demonstrate that RockLinux 10 can operate normally on the LoongArch64 architecture