[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross build support in perl 5.22.1-7

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.

Principal hats:  Linaro, Debian, Wookware, ARM

Attachment: signature.asc
Description: Digital signature

Reply to: