[pkg-go] Bug#1062598: libpod: Add support for LoongArch
Control: forwarded -1 https://github.com/containers/podman/pull/21481 Control: severity -1 minor On Mon, Feb 5, 2024 at 5:51 AM Faidon Liambotis wrote: > On Mon, Feb 05, 2024 at 02:13:50PM +0800, 张家岭 wrote: > > Hi, this can support loong64 build , I build this in my local . and > I'll submit to upstream . > > That's amazing, congrats on getting podman to work on longsson, and thanks for submitting your patch to https://github.com/containers/podman/pull/21481 But is your patch necessary to build for loong64? Does the build fail > without your patch? > I think Faidon is right and your patch is not strictly necessary for building the package. If you look at https://buildd.debian.org/status/package.php?p=libpod, there are builds for mips and mipsel without a similar patch. I guess that podman machine won't set the default image architecture properly. This is probably not an issue for typical podman usage. Or do you plan running podman-machine managed virtual machines on mips/loongson based board? -- regards, Reinhard ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
[pkg-go] Bug#1062598: libpod: Add support for LoongArch
On Mon, Feb 05, 2024 at 02:13:50PM +0800, 张家岭 wrote: > Hi, this can support loong64 build , I build this in my local . and I'll > submit to upstream . But is your patch necessary to build for loong64? Does the build fail without your patch? Faidon ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
[pkg-go] Bug#1062598: libpod: Add support for LoongArch
On Fri, 2 Feb 2024 07:42:05 +0200 Faidon Liambotis wrote: > Control: tags -1 upstream moreinfo > > On Fri, Feb 02, 2024 at 04:40:08AM +, JiaLing Zhang wrote: > > Please help to add support for loong64.I have build it in my local > > machine. > > Unless I'm missing something, both of your changes seem... unrelated to > what we ship in Debian. Have you verified that this patch is needed? > > In any case, kindly also submit any patches upstream. > > Thanks! > Faidon > > Hello Faidon Hi, this can support loong64 build , I build this in my local . and I'll submit to upstream . ``` root@43b08b652f0a:~# cat libpod_4.9.0+ds1-2_loong64.buildinfo Format: 1.0 Source: libpod Binary: podman podman-dbgsym podman-docker podman-remote podman-remote-dbgsym Architecture: loong64 Version: 4.9.0+ds1-2 Checksums-Md5: 32c5e7d57d521cdd1feba1b9fcb3fb19 12587000 podman-dbgsym_4.9.0+ds1-2_loong64.deb 31f58d3b0455f73ad2786e66ce613080 24540 podman-docker_4.9.0+ds1-2_loong64.deb 8acfcb929faf9a705211b8b59cb9a62f 7272264 podman-remote-dbgsym_4.9.0+ds1-2_loong64.deb ee6598ce9034047611f23dac60e3d533 5896684 podman-remote_4.9.0+ds1-2_loong64.deb c4a221e1c60654f6bf4e968ac1b1a81d 10393580 podman_4.9.0+ds1-2_loong64.deb ``` Thanks, JiaLing___ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
[pkg-go] Bug#1062598: libpod: Add support for LoongArch
Control: tags -1 upstream moreinfo On Fri, Feb 02, 2024 at 04:40:08AM +, JiaLing Zhang wrote: > Please help to add support for loong64.I have build it in my local > machine. Unless I'm missing something, both of your changes seem... unrelated to what we ship in Debian. Have you verified that this patch is needed? In any case, kindly also submit any patches upstream. Thanks! Faidon ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers
[pkg-go] Bug#1062598: libpod: Add support for LoongArch
Source: libpod Version: 4.9.0+ds1-2 Severity: normal Tags: patch X-Debbugs-Cc: zhangjial...@loongson.cn Dear Maintainer, Please help to add support for loong64.I have build it in my local machine. -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: loong64 (loongarch64) Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect --- libpod-4.9.0+ds1.orig/Makefile +++ libpod-4.9.0+ds1/Makefile @@ -164,6 +164,7 @@ CROSS_BUILD_TARGETS := \ bin/podman.cross.linux.arm64 \ bin/podman.cross.linux.386 \ bin/podman.cross.linux.s390x \ + bin/podman.cross.linux.loong64 \ bin/podman.cross.linux.mips \ bin/podman.cross.linux.mipsle \ bin/podman.cross.linux.mips64 \ --- libpod-4.9.0+ds1.orig/pkg/machine/fcos.go +++ libpod-4.9.0+ds1/pkg/machine/fcos.go @@ -91,6 +91,8 @@ func GetFcosArch() string { arch = "aarch64" case "riscv64": arch = "riscv64" + case "loong64": + arch = "loongarch64" default: arch = "x86_64" } ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers