binfmt
binfmt copied to clipboard
add support for loongarch64
I'm very sorry, due to my operational errors, the last PR failed, re -submitted to complete the Loongarch support work. The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a RISC style. @crazy-max @tonistiigi
Add testcases for this in https://github.com/tonistiigi/binfmt/blob/master/.github/workflows/ci.yml#L114-L132 as well.
@crazy-max Is there anything else that needs to be enabled for CI side?
Add testcases for this in https://github.com/tonistiigi/binfmt/blob/master/.github/workflows/ci.yml#L114-L132 as well.
@crazy-max Is there anything else that needs to be enabled for CI side?
Add debian image running test with the Loongarch architecture
@crazy-max Thanks!
@crazy-max Is there anything else that needs to be enabled for CI side?
I don't think so :+1:
Seems test fails for loong64: https://github.com/tonistiigi/binfmt/actions/runs/7271830266/job/19818345215?pr=151#step:6:138
uname: error while loading shared libraries: libc.so.6: cannot stat shared object: Error 38
~I don't see linux/loong64
in the list of supported platforms either: https://github.com/tonistiigi/binfmt/actions/runs/7271830266/job/19818345215?pr=151#step:6:50~
Seems test fails for loong64: https://github.com/tonistiigi/binfmt/actions/runs/7271830266/job/19818345215?pr=151#step:6:138
uname: error while loading shared libraries: libc.so.6: cannot stat shared object: Error 38
~I don't see
linux/loong64
in the list of supported platforms either: https://github.com/tonistiigi/binfmt/actions/runs/7271830266/job/19818345215?pr=151#step:6:50~
Change the running test
There are some problems with the debian images libc.so under the cr.Loongnix.cn . After manual testing, the alpine image under the website can successfully output the uname -a
Or use yangzewei2023 can also complete the test
In order to unify, use yangzewei2023 here
@yzewei Can you squash your commits please?
@yzewei Can you squash your commits please?
OK
@yzewei I opened #153 to check qemu build and also adds missing tests in https://github.com/tonistiigi/binfmt/commit/82f3ca76eeaf414399633786ca2c07e88c169514
@yzewei I opened #153 to check qemu build and also adds missing tests in 82f3ca7
It looks like to adapt xx first