Cross-Compilation Environment

Registered by Steve Langasek

Continue improving Cross Compilation tools:

- get usage scenarios from cross-build tool users
- address issues observed from cross-building ALIP packages with xdeb and pdebuild-cross
  (packages with broken cross-support, strip issues with native libs, xdeb package-crossing fails on some packages)
- consider multiarch integration and how that affects approach (cross-dep metadata, new paths, timescales for change)
- Need to make package-config have arch-dependent binaries (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551118)
- consider pros/cons of one capable, monolithic tool vs a set of integrated 'do one job well' tools:
 (Cross-dep satisfier, build-recurser, package-crosser, cross-builder, bootstrapper, source downloader, package uploader)
 - management/use of internal/external repositories

- xdeb issues: caching/rebuild behaviour with --only-explicit, packages that fail to cross

Blueprint information

Status:
Not started
Approver:
Steve Langasek
Priority:
Medium
Drafter:
Wookey
Direction:
Needs approval
Assignee:
Wookey
Definition:
Drafting
Series goal:
Accepted for natty
Implementation:
Unknown
Milestone target:
None

Whiteboard

Status:
Drafting Tasks

Drop the libtool workitem; multiarch will make this obsolete because the wrong libraries will no longer be on the linker path. -vorlon 2011-04-14

Work items:
Upload xdeb to Debian: DONE
Specify bootstrapping mechanisms: DONE
Develop cross-dependency-satisfier tool that understands multiarch: POSTPONED
Provide chroot (multistrap) configs for ALIP flavoured toolchains: DROPPED
Examine ppearse patches and existing build failures for other common failure modes: DONE
Fix xdeb assumes 'built' = 'installed' bug: DONE
Fix xdeb over-broad dependency analsis bug: DONE
Fix pkg-config to provide arch-dependent commands: DONE
Improve libtool to prevent native and foreign binaries being linked together incorrectly in builds: DROPPED
File cross-building bugs: DONE
Compare schroot/pbuilder chroot-management and tool-running mechanisms :POSTPONED
Document use of cross-tools: DONE
Understand xdeb bootstrapping use-case: DONE
Re-architect xdeb to make parts available as commands: xdeb-sequence, xdeb-build etc: POSTPONED
Support xdeb use inside pdebuild-cross and/or sbuild/schroot: POSTPONED
Set up cross-autobuilder (collaborate with work on https://blueprints.launchpad.net/linaro/+spec/other-linaro-n-package-development-tools): POSTPONED

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.