Should call $triplet-objcopy, $triplet-readelf etc.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkg-create-dbgsym (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: pkg-create-dbgsym
Hey
To support cross-compilation, we're (slowly) transitioning the world to call $triplet-strip instead of strip for all binutils (e.g. readelf, objcopy, objdump etc.) when cross-compiling.
This is important for two reasons, first because binutils-multiarch might not be installed, and hence $triplet-$util might be the only thing which works, and second because even if binutils-multiarch is installed, the cross-build might target an architecture which it doesn't support yet (typically, when bootstraping an architecture)
Here's a list of things which we need to do in pkg-create-dbgsym:
- call dpkg-architecture to figure the triplet of the arch we're building for
- replace calls to readelf/
- (optional) I'm not sure how useful it is to cross-build pkg-create-dbgsym itself, since it's arch: all; there are some places in the testsuite which would need patching to cross-build
Thanks,
Changed in pkg-create-dbgsym (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: cross |
tags: | added: multiarch-followup |
This bug was fixed in the package pkg-create-dbgsym - 0.45
---------------
pkg-create-dbgsym (0.45) maverick; urgency=low
[ Loïc Minier ]
* dh_strip: replace grep + shell + sed with just sed.
[ Steve Langasek ] architecture, use the cross binutils instead of the native ones to
* pkg-create-dbgsym: when cross-building as identified by
dpkg-
ensure the tools understand how to act on the binaries. LP: #626468.
-- Steve Langasek <email address hidden> Wed, 08 Sep 2010 05:57:03 +0000