[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631427: gcc-4.6: FTBFS with GCC_TARGET

clone 631427 -1
reassign -1 debhelper
retitle -1 dh_strip should handle both host and target objects

On 23.06.2011 21:17, Adam Borowski wrote:
> Package: src:gcc-4.6
> Version: 4.6.0-14
> Severity: normal
> Hi!
> When building a cross compiler, there are two problems:
> 1. hardcoded use of gcc-4.4 without a declared build-dependency.

now uses gcc. You can't always rely on newer gcc versions for non primary or non
secondary architectures.

> 2. dh_strip is used both on objects for the build and host arch.  This does
> not work.  You'd need to either:
> a) call either native or cross strip appropriately
> b) build-depend on binutils-multiarch
> c) Loic Minier suggested there is some way to force dh_strip to do a),
>    although for whatever reason it doesn't work in current unstable

these packages can contain both code for the host and the target. dh_strip
should either provide a way to handle these automatically, or accept an option
for the strip binary to use (and then -X could be used to not strip some objects).

Reply to: