cross build support in perl 5.22.1-7

Wookey wookey at wookware.org
Fri Sep 15 20:21:02 UTC 2017


On 2017-09-15 20:48 +0200, Helmut Grohne wrote:
> On Fri, Sep 15, 2017 at 08:41:01PM +0300, Niko Tyni wrote:
> > I expect it usually happily reads /usr/include/errno.h, which indeed
> > looks incorrect for a cross build but nobody noticed until now.
> > 
> > OOI, do you know why you don't have that file? I'd sort of expect the
> > current code to trip without one also in native builds.
> 
> I suspect that Wookey is using a toolchain from rebootstrap and
> rebootstrap applies some patches to some packages. Notably, it includes
> #798955 (i.e. move all libc headers to /usr/include/<triplet>). 

Right, this is indeed the case. Normally libc6-dev (for each arch) has
/usr/include/errno.h, but the rebootstrap-built toolchain has this in
/usr/include/<triplet>/errno.h (I hadn't realised this until today).

It seems that few packages early in the build tree notice, but perl
(when being cross-built) is one of them.

I'll file a bug shortly.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20170915/31bdb269/attachment-0001.sig>


More information about the Perl-maintainers mailing list