-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[COMPILER REQUEST]: New architecture LoongArch GCC support #4162
Comments
Hey, thanks for the initial PR for gcc-cross-builder. I'll bump the ct-ng revision to have your latest change in the dockerimage. I see you only have C/C++ enabled. Usually I try to enable as much lang as possible: Ada, D, Go, Fortran... I'll try that locally and see how it works :) |
Running a build now to check it works and if we can enable more languages. |
"[ERROR] configure: error: "libffi has not been ported to loongarch64-unknown-linux-gnu."" |
Hmmm, probably Go |
c/c++/objc/d/fortran OK :) |
Bump crosstool-ng for upcoming loongarch64 support refs compiler-explorer/compiler-explorer#4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Thanks a lot for testing other types of compilers. |
I'll build the compiler later today and proceed with the testing and needed changes in infra and config. Thanks @specialpointcentral ! |
Great! Thanks. 👍 |
TODO:
|
Add 1 compiler for the Loongarch64 that has been introduced in GCC 12: https://gcc.gnu.org/gcc-12/changes.html refs compiler-explorer/compiler-explorer#4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add config for newly supported target: Loongarch64 Our support starts from GCC 12.2.0 for C, C++, Fortran and D. fixes #4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
After testing, seems that D is not OK, same issue as with sh. Hopefully will be fixed in GCC 13. See: |
The compiler builds, but needs extra workaround to get it working. See GCC opened PR: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107101 refs compiler-explorer/compiler-explorer#4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add config for newly supported target: Loongarch64 Our support starts from GCC 12.2.0 for C, C++ and Fortran. fixes #4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add config for newly supported target: Loongarch64 Our support starts from GCC 12.2.0 for C, C++ and Fortran. Also fix minor naming inconsistency for sh gcc for c/c++. fixes #4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add 1 compiler for the Loongarch64 that has been introduced in GCC 12: https://gcc.gnu.org/gcc-12/changes.html refs compiler-explorer/compiler-explorer#4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add config for newly supported target: Loongarch64 Our support starts from GCC 12.2.0 for C, C++ and Fortran. Also fix minor naming inconsistency for sh gcc for c/c++. fixes #4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add 1 compiler for the Loongarch64 that has been introduced in GCC 12: https://gcc.gnu.org/gcc-12/changes.html refs compiler-explorer/compiler-explorer#4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add config for newly supported target: Loongarch64 Our support starts from GCC 12.2.0 for C, C++ and Fortran. Also fix minor naming inconsistency for sh gcc for c/c++. fixes #4162 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Compiler name
GCC
Compiler version
gcc-12.2.0
Compiler language
C++, Assembly, C
Compiler homepage
https://gcc.gnu.org/
Motivation
LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V, and today Linux/GCC/LLVM etc. support LoongArch. So I want to support this new architecture.
I have opened an PR at gcc-cross-builder, and what do I need to do next?
Thanks.
The text was updated successfully, but these errors were encountered: