# Re: \[PATCH 00/19\] arch: Add basic LoongArch support

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2021-07-30 20:50:36 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/07/13337195
- Thread: https://ratatoskr.run/linux-arch/2021/07/13337006/t/2.md

```text
On Thu, Jul 29, 2021 at 6:48 PM Huacai Chen [ref] wrote:
> On Wed, Jul 7, 2021 at 3:28 PM Arnd Bergmann [ref] wrote:

> Now toolchain of LoongArch is open, please take a look at it. I think
> there are also something need to change. In order to reduce
> compatiability problems in future, please focus on those things
> interactive with Linux kernel. Thank you very much!
>
> https://github.com/loongson/glibc/tree/loongarch_2_33
> https://github.com/loongson/binutils-gdb/tree/loongarch-2_37
> https://github.com/loongson/gcc/tree/loongarch-12

Thanks a lot for letting me know. I won't actually review the code since I'm
not familiar with the code base, but having gcc and binutils available
is definitely
a requirement for the kernel merge.

Conversely, the glibc bits should just follow whatever we do for the kernel
in the syscall ABI. I have not built any gcc-12 binaries for
https://mirrors.edge.kernel.org/pub/tools/crosstool/ yet, but when we get
closer to merging the loongarch kernel portions, I can take your latest
snapshot and build that for all target architectures to publish there.

       Arnd
```
