[buildd-tools-devel] Bug#695287: cross builds don't just require alternate b-d's, but additional ones too

Colin Watson cjwatson at ubuntu.com
Sun Dec 9 14:05:39 UTC 2012


On Sun, Dec 09, 2012 at 01:36:35PM +0100, Matthias Klose wrote:
> For toolchain packages like gcc-4.7, you can't deduce the build dependencies
> automatically. Cross building the gcc-4.7 package (not building the cross
> compiler) requires additional build dependencies, which for a native build are
> used from the current build. These are:
[...]
> If these should not be hard-coded in the build tools, then we do need some
> syntax for the control file to specify these cross build dependencies, best in a
> way which is independent of the target architecture.

I think that's covered by something along the lines of Guillem's
profiles proposal, which would allow such things to be annotated with
<cross>.  I'd still like to be able to deduce as much as possible
automatically, though, because given the relatively small number of
people who care about cross-building it takes a very long time to
annotate lots of packages manually; the more we can do automatically the
better.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Buildd-tools-devel mailing list