Your message dated Sun, 17 Dec 2017 13:16:00 +0000
with message-id <[email protected]>
and subject line Re: Processed: Re: Bug#631427: gcc-4.6: FTBFS with GCC_TARGET
has caused the Debian Bug report #671032,
regarding dh_strip: compiling cross-compilers need to strip both both host and 
target objects
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
671032: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671032
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.  This could
be fixed by adding the latter, however I see that it not only builds
correctly with gcc-4.6, but also that gcc-4.6 is now the default for all
architectures.  What about trusting gcc-defaults?  Since upstream tests gcc
on, well, gcc, being good enough for the rest of Debian means it should be
good enough for gcc itself.


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


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 10.10.6

On Fri, 12 Sep 2014 08:15:38 +0200 Matthias Klose <[email protected]> wrote:
> Control: reassign -1 debhelper
> Control: tags -1 -patch
> 
> > dh_strip can do it now with setting DEB_HOST_GNU_TYPE
> > The attached patch can fix this bug.
> 
> No, it can't handle cases with HOST and TARGET code in packages, and you only 
> do
> it for some library packages.
> 
> Please see that this issue was cloned for debhelper, and there is #631427 for 
> GCC.
> 
>   Matthias
> 
> 
> 

Hi,

This bug should be fixed as a side-effect of the following
(experimental) change in 10.10.6:

"""
  * Add experimental support for building some packages for "TARGET"
    rather than "HOST" via the X-DH-Build-For-Type field.  The field
    is subject to removal and changes without notice.  The field is
    not considered by dpkg tooling and therefore you will still have
    to manually work around tools like dpkg-gencontrol (even when
    called via dh_gencontrol).
"""

Thanks,
~Niels

--- End Message ---

Reply via email to