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

Bug#631427: gcc-4.6: FTBFS with GCC_TARGET

Package: src:gcc-4.6
Version: 4.6.0-14
Severity: normal


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

Reply to: