[Buildroot] [RFC PATCH 1/2] package/gobject-introspection: add package

Sam Bobroff sam.bobroff at au1.ibm.com
Mon Feb 27 22:54:39 UTC 2017


On Mon, Feb 27, 2017 at 04:58:59PM +0100, Thomas Petazzoni wrote:
> Hello,
> 
> On Mon, 27 Feb 2017 15:58:54 +0100, Arnout Vandecappelle wrote:
> 
> >  At least, if we do go the qemu-user way, it should always work, so also with
> > musl and uClibc, also if host headers are older than target...
> 
> It simply cannot work with host headers older than the target headers,
> by principle.

Right. I believe it's because what it's doing is translating system
calls from one arch (and kernel version) to another (arch and kernel
version) -- and if the target's headers are newer than the host kernel,
there are new things that need to be translated that have no equivalent
on the host. It's just impossible.

> > But really, cross-compilation doesn't work at all (i.e. qemu is
> > needed), and anyway doesn't work on the unusual architectures where
> > Debian is not available, then I don't think Buildroot is the right
> > way.
> 
> Do you meant "*if* cross-compilation doesn't work at all" ?
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com



More information about the buildroot mailing list