Bug#1024636: perl: add cross build support files for loongarch64

Niko Tyni ntyni at debian.org
Sun Nov 27 20:41:46 GMT 2022


On Tue, Nov 22, 2022 at 10:08:39PM +0800, zhangdandan wrote:
> Package: perl
> Version: 5.36.0-4
> Severity: wishlist
> Tags: patch
> User: debian-devel at lists.debian.org
> Usertags: loongarch64
> 
>    Hi perl maintainers,
> 
> I have added cross build support files for loongarch64 in perl package, to
> ensure perl can cross buildable on loongarch64 architecture.

Hmm. I see the corresponding MR [1] mentions that this was made with a
straightforward sed invocation from the riscv64 config.  I'd very much
prefer to incorporate results from real native builds.

How do you know if the resulting binaries work at all?

I can see that architecture bootstrapping needs something like this for
starters, though I wonder why not mips64el as I understand it's more
similar hardware. But that seems like something you could/should do
in a private repository to get a working build environment together,
and then do native builds with that.

Also it looks like not even dpkg has loongarch64 support yet so this
seems rather early.

[1]  https://salsa.debian.org/perl-team/interpreter/perl/-/merge_requests/3

Thanks for your work on Debian,
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list