Re: Bug#180128: state of integration of dpkg-cross into dpkg
On Sun, 2012-07-22 at 10:52:19 -0700, shawn wrote:
> On Sun, 2012-07-22 at 19:46 +0200, Guillem Jover wrote:
> > On Sun, 2012-07-22 at 18:35:16 +0100, Neil Williams wrote:
> > > I'd be happy if this bug is closed with an upload of dpkg which extends
> > > the cputable data to complete the ABI declarations with the
> > > architecture-specific values from which dpkg-cross / replacement can
> > > derive the cache values.
> > Ok, perfect, then I'll prepare and queue this for 1.17.x.
> Will this allow me to query the the 64-bit complement of a 32-bit arch,
> and visa versa?
No, not really. The main problem is that there's cases where there's
no obvious 1:1 mapping, take i386/x32/amd64 or arm/armel/armhf/arm64,
or mips where there's three ABIs, etc. And I don't think this is
generally useful anyway, less so now with multiarch when multilib
packages will be disappearing.
> I would be using this for a patch making dpkg cross-building work with
> gcc's multilib in gcc-defaults package.
I think I've mentioned this before, but gcc already has (and needs)
knowledge about the multilib “pairs” and as such it makes sense to
keep that knowdlege localized there.