[PATCH v5 0/6] Add support for LoongArch32
caiyinyu
caiyinyu@loongson.cn
Tue Mar 3 01:27:13 GMT 2026
在 2026/3/2 下午10:16, Carlos O'Donell 写道:
> On 3/2/26 3:05 AM, mengqinggang wrote:
>> Add support for LoongArch32(LA32) with ilp32d abi and
>> LoongArch32 Reduced(LA32R) with ilp32s abi.
>>
>> The gcc and binutils master branch have added LA32 support.
>>
>> The kernel has added basic LA32 support[6]. But build infrastructures
>> of LoongArch32 are not enabled yet, because we need to adjust
>> irqchip drivers and wait for GNU toolchain be upstream first.
>>
>> You can build toolchains by script/build-many-glibcs.py:
>> LA32 ilp32d abi:
>> build-many-glibcs.py -j128 --keep all . compilers loongarch32-linux-gnu
>> LA32R ilp32s abi:
>> build-many-glibcs.py -j128 --keep all . compilers
>> loongarch32-linux-gnusf
>>
>> LA32 tested by qemu-user and qemu-system.
>> Most testcases passed on LA32.
>> Tested on LA64 with no regression.
>>
>> LA32 ilp32d abi:
>> FAIL: misc/tst-pidfd
>> FAIL: nptl/test-mutexattr-printers
>> FAIL: nptl/tst-pthread-gdb-attach
>> FAIL: nptl/tst-pthread-gdb-attach-static
>> === Summary of results ===
>> 4 FAIL
>> 6658 PASS
>> 31 UNSUPPORTED
>> 13 XFAIL
>> 5 XPASS
>
> Have we had the machine maintainer (caiyinyu) comment on this series?
We work together (with mengqinggang), and will promptly provide feedback
to the community.
More information about the Libc-alpha
mailing list