Bug#990305: Introduce ARC support in Perl cross-compiling for Debian

Niko Tyni ntyni at debian.org
Fri Aug 27 20:38:12 BST 2021


On Fri, Jun 25, 2021 at 08:59:44AM +0000, Evgeniy Didin wrote:
> Package: perl
> Version: 5.32.1-4
> 
> Currently ARC CPU is not supported in Perl cross-compiling for Debian due to missing files in debian/cross/ directory.
> To enable cross-compiling for ARC the patch was prepared and located here:
> https://salsa.debian.org/EvgeniyD/perl/-/commit/b7a9cd6499a91b59585394b1cad10cbdbd4512a4
> 
> I am not attaching the patch to this report because the size is more than thousand lines.
> 
> I am using Debian GNU/Linux 9.13 release, kernel - 3.10.0-693.11.6.el7.x86_64
> 
> This patch was tested in rebootstrap build.

Hi, thanks for the report. I'm happy if the cross build hack in src:perl
is useful but I'm not quite sure what to do about this.

Eyeballing the patch, I think that cross building with this config would
result in a broken package due to at least missing -DDEBIAN in ccflags.
Also, -DAPPLLIB_EXP="/usr/lib/aarch64-linux-gnu/perl-base" looks wrong,
and possibly breaks the perl-base package when used without perl et al.
I doubt these are the only problems.

I assume "tested in rebootstrap build" means the package builds, but
did anybody test the resulting packages?

I'm copying Helmut. Do you have any suggestions? Should I just take this
in and leave it to porters to worry about breakage?

BTW, our development is currently targeting 5.34 so somebody needs to
port this. I'm not sure if there will be another 5.32 upload before
we get 5.34 in unstable.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list