Your message dated Sun, 15 Jan 2006 08:02:16 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#347484: fixed in gcc-4.0 4.0.2-7 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 11 Jan 2006 01:48:28 +0000 >From [EMAIL PROTECTED] Tue Jan 10 17:48:28 2006 Return-path: <[EMAIL PROTECTED]> Received: from bld-mail07.adl2.internode.on.net ([203.16.214.71] helo=mail.internode.on.net) by spohr.debian.org with esmtp (Exim 4.50) id 1EwV6B-0001Ii-BP for [EMAIL PROTECTED]; Tue, 10 Jan 2006 17:48:28 -0800 Received: from jj (unverified [203.143.161.65]) by mail.internode.on.net (SurgeMail 3.2f) with ESMTP id 8526755 for multiple; Wed, 11 Jan 2006 12:10:39 +1030 (CDT) Received: from [127.0.0.1] (helo=[127.0.1.1]) by jj with esmtp (Exim 4.60) (envelope-from <[EMAIL PROTECTED]>) id 1EwUzD-0004vt-Q7; Wed, 11 Jan 2006 12:41:15 +1100 Content-Type: multipart/mixed; boundary="===============1379947274==" MIME-Version: 1.0 From: Ian Wienand <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: gcc-4.0: Give option not to depend on system -base package for cross compiler Message-ID: <[EMAIL PROTECTED]> X-Mailer: reportbug 3.18 Date: Wed, 11 Jan 2006 12:41:05 +1100 X-Debbugs-Cc: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02 This is a multi-part MIME message sent by reportbug. --===============1379947274== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: gcc-4.0 Version: 4.0.2-6 Severity: wishlist Tags: patch Hi, Thanks for making it quite easy to build a cross compiler on Debian. The only problem I have had is that the packages by default depend on the -base package used by the system gcc. This means whenever I upgrade my system gcc I need to rebuild my cross compiler to have the right dependencies. I think this breaks the way many people use cross compilers -- they want fairly static versions to build specific things. I'm happy to run with the latest and greatest on my system, but I'd prefer if the cross compiler stayed how it was until I explicitly touched it. The following patch implements an option DEB_CROSS_INDEPENDENT which, if set, builds against a cross compiler specific -base package. If not set, the old semantics remain. The patch looks big because it changes the dependency field of all the packages in control.m4, but otherwise I think it is quite straight forward. I included some documentation in README.cross. I have tested this building with and without and it behaves as I expect. Thanks for considering it, -i -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages gcc-4.0 depends on: ii binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina ii cpp-4.0 4.0.2-6 The GNU C preprocessor ii gcc-4.0-base 4.0.2-6 The GNU Compiler Collection (base ii libc6 2.3.5-11 GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-6 GCC support library Versions of packages gcc-4.0 recommends: ii libc6-dev 2.3.5-11 GNU C Library: Development Librari pn libmudflap0-dev <none> (no description available) -- no debconf information --===============1379947274== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xcompile.diff" README.cross | 13 +++++-- control.m4 | 107 ++++++++++++++++++++++++++++++++++++----------------------- rules.conf | 3 + rules.defs | 6 +++ rules2 | 7 +++ 5 files changed, 91 insertions(+), 45 deletions(-) Index: debian/rules2 =================================================================== --- debian/rules2 (revision 963) +++ debian/rules2 (working copy) @@ -973,7 +973,8 @@ p_cxx = g++$(pkg_ver) p_doc = gcc$(pkg_ver)-doc else - p_base = gcc$(pkg_ver)-base + # only triggered if DEB_CROSS_INDEPENDENT set + p_base = gcc$(pkg_ver)$(cross_bin_arch)-base p_cpp = cpp$(pkg_ver)$(cross_bin_arch) p_gcc = gcc$(pkg_ver)$(cross_bin_arch) p_cxx = g++$(pkg_ver)$(cross_bin_arch) @@ -1088,6 +1089,10 @@ # ---------------------------------------- # cross target +ifeq ($(with_gccxbase),yes) + include debian/rules.d/binary-base.mk +endif + ifeq ($(with_libgcc),yes) include debian/rules.d/binary-libgcc-cross.mk endif Index: debian/control.m4 =================================================================== --- debian/control.m4 (revision 963) +++ debian/control.m4 (working copy) @@ -53,8 +53,14 @@ versions of gcc. ',`dnl gcc-X.Y +dnl default base package dependencies +define(`BASETARGET', `') +define(`BASEDEP', `gcc`'PV-base (= ${gcc:Version})') +define(`SOFTBASEDEP', `gcc`'PV-base (>= $gcc:SoftVersion})') + ifdef(`TARGET', `', ` ifenabled(`gccbase',` + Package: gcc`'PV-base Architecture: any Section: devel @@ -72,12 +78,31 @@ ')`'dnl ')`'dnl native +ifenabled(`gccxbase',` +dnl override default base package dependencies to cross version +dnl This creates a toolchain that doesnt depend on the system -base packages +dnl set via DEB_CROSS_INDEPENDENT=yes +define(`BASETARGET', `PV`'TS') +define(`BASEDEP', `gcc`'BASETARGET-base (= ${gcc:Version})') +define(`SOFTBASEDEP', `gcc`'BASETARGET-base (>= $gcc:SoftVersion})') + +Package: gcc`'BASETARGET-base +Architecture: any +Section: devel +Priority: PRI(required) +Conflicts: gcc-3.5-base +Replaces: gcc-3.5-base +Description: The GNU Compiler Collection (base package) + This package contains files common to all languages and libraries + contained in the GNU Compiler Collection (GCC). +')`'dnl + ifenabled(`libgcc',` Package: libgcc1`'LS Architecture: ifdef(`TARGET',`all',`any') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',required) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `') Shared version of the support library, a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or @@ -92,7 +117,7 @@ Architecture: ifdef(`TARGET',`all',`hppa m68k') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',required) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `') Shared version of the support library, a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or @@ -109,7 +134,7 @@ Architecture: ifdef(`TARGET',`all',`biarch64_archs') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',PRI(optional)) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch} +Depends: BASEDEP, ${dep:libcbiarch} Conflicts: libgcc`'GCC_SO`'LS (<= 1:3.3-0pre9) Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `') (64bit) Shared version of the support library, a library of internal subroutines @@ -128,7 +153,7 @@ Architecture: biarch32_archs Section: libs Priority: optional -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch} +Depends: BASEDEP, ${dep:libcbiarch} ifelse(DIST,`Ubuntu', `Replaces: ia32-libs-openoffice.org (<< 1ubuntu3)', `dnl') Description: GCC support library (32 bit Version) Shared version of the support library, a library of internal subroutines @@ -142,7 +167,7 @@ Architecture: any Section: devel Priority: ifdef(`TARGET',`extra',`PRI(standard)') -Depends: gcc`'PV-base (= ${gcc:Version}), cpp`'PV`'TS (= ${gcc:Version}), binutils`'TS (>= ${binutils:Version}), ${dep:libgcc}, ${dep:libunwinddev}, ${shlibs:Depends} +Depends: BASEDEP, cpp`'PV`'TS (= ${gcc:Version}), binutils`'TS (>= ${binutils:Version}), ${dep:libgcc}, ${dep:libunwinddev}, ${shlibs:Depends} Recommends: ${dep:libcdev}, libmudflap`'MF_SO-dev`'LS (>= ${gcc:Version}) Conflicts: gcc-3.2`'TS (<= 1:3.2.3-0pre8), gcc-3.5`'ifelse(DIST,`Ubuntu', `, amd64-libs-dev (<= 1.1ubuntu1)') Replaces: gcc-3.5 @@ -162,7 +187,7 @@ Architecture: hppa Section: devel Priority: PRI(standard) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends} +Depends: BASEDEP, ${dep:libcdev}, ${shlibs:Depends} Conflicts: gcc-3.3-hppa64 (<= 1:3.3.4-5), gcc-3.4-hppa64 (<= 3.4.1-3), gcc-3.5-hppa64 Replaces: gcc-3.5-hppa64 Description: The GNU C compiler (cross compiler for hppa64) @@ -175,7 +200,7 @@ Architecture: any Section: ifdef(`TARGET',`devel',`interpreters') Priority: ifdef(`TARGET',`extra',`PRI(standard)') -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Replaces: cpp-3.5 Suggests: gcc`'PV-locales (>= ${gcc:SoftVersion}) Description: The GNU C preprocessor @@ -194,7 +219,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Conflicts: cpp-3.5-doc Replaces: cpp (<= 1:2.93.12), cpp-3.5-doc Description: Documentation for the GNU C preprocessor (cpp) @@ -206,7 +231,7 @@ Architecture: all Section: devel Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), cpp`'PV (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP, cpp`'PV (>= ${gcc:SoftVersion}) Recommends: gcc`'PV (>= ${gcc:SoftVersion}) Replaces: cpp-4.0 (<< 4.0-0pre8), gcc-4.0 (<< 4.0-0pre8) Description: The GNU C compiler (native language support files) @@ -220,7 +245,7 @@ Architecture: any Section: devel Priority: ifdef(`TARGET',`extra',`PRI(standard)') -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}), ${shlibs:Depends} Conflicts: g++-3.5 Replaces: gcc`'TS (<= 2.7.2.3-3), g++-3.5 Provides: c++-compiler`'TS, c++abi2-dev @@ -240,7 +265,7 @@ Architecture: any Section: libs Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: GCC mudflap shared support libraries The libmudflap libraries are used by GCC for instrumenting pointer and array dereferencing operations. @@ -249,7 +274,7 @@ Architecture: any Section: libdevel Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcdev}, libmudflap`'MF_SO (>= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${dep:libcdev}, libmudflap`'MF_SO (>= ${gcc:Version}), ${shlibs:Depends} Description: GCC mudflap support libraries (development files) The libmudflap libraries are used by GCC for instrumenting pointer and array dereferencing operations. @@ -262,7 +287,7 @@ Package: protoize Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (>= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (>= ${gcc:Version}), ${shlibs:Depends} Description: Create/remove ANSI prototypes from C code "protoize" can be used to add prototypes to a program, thus converting the program to ANSI C in one respect. The companion program "unprotoize" @@ -275,7 +300,7 @@ Package: gobjc`'PV Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, libobjc`'OBJC_SO (>= ${gcc:EpochVersion}) +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, libobjc`'OBJC_SO (>= ${gcc:EpochVersion}) Suggests: gcc`'PV-doc (>= ${gcc:SoftVersion}) Conflicts: gobjc-3.5 Replaces: gobjc-3.5 @@ -293,7 +318,7 @@ Section: libs Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: Runtime library for GNU Objective-C applications Library needed for GNU ObjC applications linked against the shared library. ')`'dnl libobjc @@ -303,7 +328,7 @@ Section: libs Architecture: biarch64_archs Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends} +Depends: BASEDEP, ${dep:libcbiarch}, ${shlibs:Depends} Description: Runtime library for GNU Objective-C applications (64bit) Library needed for GNU ObjC applications linked against the shared library. ')`'dnl lib64objc @@ -324,7 +349,7 @@ Package: gfortran`'PV Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), libgfortran`'FORTRAN_SO-dev (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), libgfortran`'FORTRAN_SO-dev (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends} Provides: fortran95-compiler Suggests: gfortran`'PV-doc Conflicts: gfortran-3.5 @@ -338,7 +363,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Conflicts: gfortran-3.5-doc Replaces: gfortran-3.5-doc Description: Documentation for the GNU Fortran compiler (gfortran) @@ -350,7 +375,7 @@ Section: libs Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: Runtime library for GNU Fortran applications Library needed for GNU Fortran applications linked against the shared library. @@ -359,7 +384,7 @@ Section: libdevel Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), libgfortran`'FORTRAN_SO (>= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, libgfortran`'FORTRAN_SO (>= ${gcc:Version}), ${shlibs:Depends} Replaces: gfortran-4.0 (<< 4.0.1-3) Description: GNU Fortran library development Headers and static libraries for gfortran. @@ -370,7 +395,7 @@ Section: libs Architecture: biarch64_archs Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends} +Depends: BASEDEP, ${dep:libcbiarch}, ${shlibs:Depends} Description: Runtime library for GNU Fortran applications (64bit) Library needed for GNU Fortran applications linked against the shared library. @@ -381,7 +406,7 @@ Section: libs Architecture: biarch32_archs Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends} +Depends: BASEDEP, ${dep:libcbiarch}, ${shlibs:Depends} Description: Runtime library for GNU Fortran applications (32bit) Library needed for GNU Fortran applications linked against the shared library. @@ -611,7 +636,7 @@ Architecture: ifdef(`TARGET',`all',`any') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',PRI(required)) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Description: The GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `') This package contains an additional runtime library for C++ programs built with the GNU compiler. @@ -630,7 +655,7 @@ Architecture: ifdef(`TARGET',`all',`biarch32_archs') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',PRI(optional)) -Depends: gcc`'PV-base (= ${gcc:Version}), lib32gcc1`'LS +Depends: BASEDEP, lib32gcc1`'LS Description: The GNU Standard C++ Library v3 (32 bit Version) This package contains an additional runtime library for C++ programs built with the GNU compiler. @@ -645,7 +670,7 @@ Architecture: ifdef(`TARGET',`all',`biarch64_archs') Section: ifdef(`TARGET',`devel',`libs') Priority: ifdef(`TARGET',`extra',PRI(optional)) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}, lib64gcc1`'LS +Depends: BASEDEP, ${shlibs:Depends}, lib64gcc1`'LS Description: The GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `') (64bit) This package contains an additional runtime library for C++ programs built with the GNU compiler. @@ -665,7 +690,7 @@ Architecture: ifdef(`TARGET',`all',`any') Section: ifdef(`TARGET',`devel',`libdevel') Priority: ifdef(`TARGET',`extra',PRI(standard)) -Depends: gcc`'PV-base (= ${gcc:Version}), g++`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), ${dep:libcdev} +Depends: BASEDEP, g++`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), ${dep:libcdev} ifdef(`TARGET',`',`dnl native Conflicts: libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.8-dev, libg++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev, libstdc++2.10-dev (<< 1:2.95.3-2), libstdc++3.0-dev, libstdc++6-0-dev Replaces: libstdc++6-0-dev @@ -689,7 +714,7 @@ Architecture: ifdef(`TARGET',`all',`any') Section: ifdef(`TARGET',`devel',`libdevel') Priority: extra -Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) +Depends: BASEDEP, libstdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) Description: The GNU Standard C++ Library v3 (shared library subset kit)`'ifdef(`TARGET)',` (TARGET)', `') This is used to develop subsets of the libstdc++ shared libraries for use on custom installation floppies and in embedded systems. @@ -705,7 +730,7 @@ Architecture: ifdef(`TARGET',`all',`any') Section: ifdef(`TARGET',`devel',`libdevel') Priority: extra -Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}) +Depends: BASEDEP, libstdc++CXX_SO`'LS (>= ${gcc:Version}) Recommends: libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) Conflicts: libstdc++5-dbg`'LS, libstdc++5-3.3-dbg`'LS, libstdc++6-dbg`'LS, libstdc++6-0-dbg Replaces: libstdc++6-0-dbg @@ -722,7 +747,7 @@ Architecture: ifdef(`TARGET',`all',`biarch32_archs') Section: ifdef(`TARGET',`devel',`libdevel') Priority: extra -Depends: gcc`'PV-base (= ${gcc:Version}), lib32stdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) +Depends: BASEDEP, lib32stdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) Conflicts: libstdc++5-dbg`'LS, libstdc++5-3.3-dbg`'LS, libstdc++6-dbg`'LS, libstdc++6-0-dbg, libstdc++6-4.0-dbg (<< 4.0.0-7ubuntu7) Replaces: libstdc++6-0-dbg Description: The GNU Standard C++ Library v3 (debugging files)`'ifdef(`TARGET)',` (TARGET)', `') @@ -738,7 +763,7 @@ Architecture: ifdef(`TARGET',`all',`biarch64_archs') Section: ifdef(`TARGET',`devel',`libdevel') Priority: extra -Depends: gcc`'PV-base (= ${gcc:Version}), lib64stdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) +Depends: BASEDEP, lib64stdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO`'PV-dev`'LS (= ${gcc:Version}) Conflicts: libstdc++5-dbg`'LS, libstdc++5-3.3-dbg`'LS, libstdc++6-dbg`'LS, libstdc++6-0-dbg, libstdc++6-4.0-dbg (<< 4.0.0-7ubuntu7) Replaces: libstdc++6-0-dbg Description: The GNU Standard C++ Library v3 (debugging files)`'ifdef(`TARGET)',` (TARGET)', `') @@ -755,7 +780,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Conflicts: libstdc++5-doc, libstdc++5-3.3-doc, libstdc++6-doc Description: The GNU Standard C++ Library v3 (documentation files) This package contains documentation files for the GNU stdc++ library. @@ -772,7 +797,7 @@ Package: gnat`'-GNAT_V Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${dep:libgnat}, ${dep:libcdev}, ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), ${dep:libgnat}, ${dep:libcdev}, ${shlibs:Depends} Suggests: gnat`'PV-doc, ada-reference-manual Provides: ada-compiler, gnat Conflicts: gnat, gnat-3.1, gnat-3.2, gnat-3.3, gnat-3.4, gnat-3.5 @@ -786,7 +811,7 @@ Section: libs Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, ${shlibs:Depends} Conflicts: libgnat-3.5 Replaces: libgnat-3.5 Description: Runtime library for GNU Ada applications @@ -797,7 +822,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Suggests: gnat`'PV Conflicts: gnat-3.5-doc Replaces: gnat-3.5-doc @@ -809,7 +834,7 @@ Package: gpc`'GPC_PV Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends} Recommends: libgmp3-dev, libncurses5-dev Suggests: gpc`'GPC_PV-doc (>= ${gpc:Version}) Provides: pascal-compiler @@ -824,7 +849,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Replaces: gpc (<= 2.91.58-3) Suggests: gpc`'GPC_PV Description: Documentation for the GNU Pascal compiler (gpc) @@ -838,7 +863,7 @@ Package: treelang`'PV Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), ${shlibs:Depends} Conflicts: treelang-3.5 Replaces: treelang-3.5 Description: The GNU Treelang compiler @@ -854,7 +879,7 @@ Package: gcc`'PV-soft-float Architecture: arm armeb Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ifenabled(`cdev',`gcc`'PV (= ${gcc:Version}),') ${shlibs:Depends} +Depends: BASEDEP, ifenabled(`cdev',`gcc`'PV (= ${gcc:Version}),') ${shlibs:Depends} Replaces: gcc-soft-float-ss Description: The soft-floating-point gcc libraries (arm) These are versions of basic static libraries such as libgcc.a compiled @@ -866,7 +891,7 @@ Package: fixincludes Architecture: any Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends} +Depends: BASEDEP, gcc`'PV (= ${gcc:Version}), ${shlibs:Depends} Description: Fix non-ANSI header files FixIncludes was created to fix non-ANSI system header files. Many system manufacturers supply proprietary headers that are not ANSI compliant. @@ -884,7 +909,7 @@ Architecture: all Section: doc Priority: PRI(optional) -Depends: gcc`'PV-base (>= ${gcc:SoftVersion}) +Depends: SOFTBASEDEP Conflicts: gcc-docs (<< 2.95.2), gcc-3.5-doc Replaces: gcc (<=2.7.2.3-4.3), gcc-docs (<< 2.95.2), gcc-3.5-doc Description: Documentation for the GNU compilers (gcc, gobjc, g++) @@ -897,7 +922,7 @@ Package: gcc`'PV-nof Architecture: powerpc Priority: PRI(optional) -Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}ifenabled(`cdev',`, gcc`'PV (= ${gcc:Version})') +Depends: BASEDEP, ${shlibs:Depends}ifenabled(`cdev',`, gcc`'PV (= ${gcc:Version})') Conflicts: gcc-3.2-nof Description: The no-floating-point gcc libraries (powerpc) These are versions of basic static libraries such as libgcc.a compiled Index: debian/rules.defs =================================================================== --- debian/rules.defs (revision 963) +++ debian/rules.defs (working copy) @@ -134,6 +134,12 @@ with_gccbase := yes with_dev := yes +# when DEB_CROSS_INDEPENDENT is set we build and depend on a +# separate -base package for the cross compiler. +ifeq ($(DEB_CROSS_INDEPENDENT),yes) + with_gccxbase := yes +endif + #no_dummy_cpus := ia64 i386 hppa s390 sparc #with_base_only := yes #ifneq (, $(filter $(DEB_TARGET_ARCH_CPU),$(no_dummy_cpus))) Index: debian/README.cross =================================================================== --- debian/README.cross (revision 963) +++ debian/README.cross (working copy) @@ -100,11 +100,18 @@ debian/target file. If both GCC_TARGET is defined and debian/target file exists, GCC_TARGET is used. -Run debian/rules control. This will change debian/control file, adjusting -build-depends. +Run debian/rules control. This will change debian/control file, +adjusting build-depends. By default, the packages will depend on the +system -base package. This means future upgrades of the system gcc +will require you to keep your cross compilers in sync by rebuilding. +If you want to depend on a separate -base package for your cross +compiler, specify DEB_CROSS_INDEPENDENT=yes on the command line, -Build the package using dpkg-buildpackage. +You can then build with either +$ GCC_TARGET=[arch] dpkg-buildpackage -rfakeroot +or +$ GCC_TARGET=[arch] DEB_CROSS_INDEPENDENT=yes dpkg-buildpackage -rfakeroot 3. Using crosshurd Index: debian/rules.conf =================================================================== --- debian/rules.conf (revision 963) +++ debian/rules.conf (working copy) @@ -282,6 +282,9 @@ ifdef DEB_CROSS languages = c c++ addons = libgcc lib64gcc libcxx lib64cxx cdev c++dev + ifdef DEB_CROSS_INDEPENDENT + addons += gccxbase + endif else languages = ada c c++ f95 java objc treelang # pascal addons = gccbase cdev c++dev fastjar fdev fixincl libcxx libg2c \ --===============1379947274==-- --------------------------------------- Received: (at 347484-close) by bugs.debian.org; 15 Jan 2006 16:11:31 +0000 >From [EMAIL PROTECTED] Sun Jan 15 08:11:31 2006 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 4.50) id 1EyAKe-0006HP-Ex; Sun, 15 Jan 2006 08:02:16 -0800 From: Matthias Klose <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.65 $ Subject: Bug#347484: fixed in gcc-4.0 4.0.2-7 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sun, 15 Jan 2006 08:02:16 -0800 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 Source: gcc-4.0 Source-Version: 4.0.2-7 We believe that the bug you reported is fixed in the latest version of gcc-4.0, which is due to be installed in the Debian FTP archive: cpp-4.0-doc_4.0.2-7_all.deb to pool/main/g/gcc-4.0/cpp-4.0-doc_4.0.2-7_all.deb cpp-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/cpp-4.0_4.0.2-7_powerpc.deb fastjar_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/fastjar_4.0.2-7_powerpc.deb fixincludes_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/fixincludes_4.0.2-7_powerpc.deb g++-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/g++-4.0_4.0.2-7_powerpc.deb gcc-4.0-base_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.2-7_powerpc.deb gcc-4.0-doc_4.0.2-7_all.deb to pool/main/g/gcc-4.0/gcc-4.0-doc_4.0.2-7_all.deb gcc-4.0-locales_4.0.2-7_all.deb to pool/main/g/gcc-4.0/gcc-4.0-locales_4.0.2-7_all.deb gcc-4.0_4.0.2-7.diff.gz to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-7.diff.gz gcc-4.0_4.0.2-7.dsc to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-7.dsc gcc-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-7_powerpc.deb gfortran-4.0-doc_4.0.2-7_all.deb to pool/main/g/gcc-4.0/gfortran-4.0-doc_4.0.2-7_all.deb gfortran-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/gfortran-4.0_4.0.2-7_powerpc.deb gnat-4.0-doc_4.0.2-7_all.deb to pool/main/g/gcc-4.0/gnat-4.0-doc_4.0.2-7_all.deb gnat-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/gnat-4.0_4.0.2-7_powerpc.deb gobjc-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/gobjc-4.0_4.0.2-7_powerpc.deb lib64gcc1_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/lib64gcc1_4.0.2-7_powerpc.deb lib64gfortran0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/lib64gfortran0_4.0.2-7_powerpc.deb lib64objc1_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/lib64objc1_4.0.2-7_powerpc.deb lib64stdc++6-4.0-dbg_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.2-7_powerpc.deb lib64stdc++6_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/lib64stdc++6_4.0.2-7_powerpc.deb libffi4-dev_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libffi4-dev_4.0.2-7_powerpc.deb libffi4_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libffi4_4.0.2-7_powerpc.deb libgcc1_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libgcc1_4.0.2-7_powerpc.deb libgfortran0-dev_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libgfortran0-dev_4.0.2-7_powerpc.deb libgfortran0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libgfortran0_4.0.2-7_powerpc.deb libgnat-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libgnat-4.0_4.0.2-7_powerpc.deb libmudflap0-dev_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libmudflap0-dev_4.0.2-7_powerpc.deb libmudflap0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libmudflap0_4.0.2-7_powerpc.deb libobjc1_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libobjc1_4.0.2-7_powerpc.deb libstdc++6-4.0-dbg_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libstdc++6-4.0-dbg_4.0.2-7_powerpc.deb libstdc++6-4.0-dev_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libstdc++6-4.0-dev_4.0.2-7_powerpc.deb libstdc++6-4.0-doc_4.0.2-7_all.deb to pool/main/g/gcc-4.0/libstdc++6-4.0-doc_4.0.2-7_all.deb libstdc++6-4.0-pic_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libstdc++6-4.0-pic_4.0.2-7_powerpc.deb libstdc++6_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/libstdc++6_4.0.2-7_powerpc.deb protoize_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/protoize_4.0.2-7_powerpc.deb treelang-4.0_4.0.2-7_powerpc.deb to pool/main/g/gcc-4.0/treelang-4.0_4.0.2-7_powerpc.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose <[EMAIL PROTECTED]> (supplier of updated gcc-4.0 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 15 Jan 2006 10:32:24 +0000 Source: gcc-4.0 Binary: gcc-4.0-base libstdc++6 lib32ffi4 libobjc1 libgcc1 libstdc++6-4.0-dev lib32stdc++6-4.0-dbg libgcc2 protoize treelang-4.0 libgnat-4.0 libstdc++6-4.0-dbg gcc-4.0-doc lib64stdc++6 lib32gfortran0 libffi4 gfortran-4.0-doc g++-4.0 lib64ffi4 lib32gcc1 lib64stdc++6-4.0-dbg libgfortran0 gobjc-4.0 lib64objc1 cpp-4.0 gcc-4.0-soft-float gcc-4.0 gfortran-4.0 gcc-4.0-locales lib32objc1 libffi4-dev gnat-4.0-doc libgfortran0-dev libstdc++6-4.0-pic cpp-4.0-doc lib64gcc1 gcc-4.0-hppa64 fastjar fixincludes libmudflap0-dev libstdc++6-4.0-doc lib32stdc++6 gnat-4.0 libmudflap0 lib64gfortran0 Architecture: source powerpc all Version: 4.0.2-7 Distribution: unstable Urgency: low Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org> Changed-By: Matthias Klose <[EMAIL PROTECTED]> Description: cpp-4.0 - The GNU C preprocessor cpp-4.0-doc - Documentation for the GNU C preprocessor (cpp) fastjar - Jar creation utility fixincludes - Fix non-ANSI header files g++-4.0 - The GNU C++ compiler gcc-4.0 - The GNU C compiler gcc-4.0-base - The GNU Compiler Collection (base package) gcc-4.0-doc - Documentation for the GNU compilers (gcc, gobjc, g++) gcc-4.0-locales - The GNU C compiler (native language support files) gfortran-4.0 - The GNU Fortran 95 compiler gfortran-4.0-doc - Documentation for the GNU Fortran compiler (gfortran) gnat-4.0 - The GNU Ada compiler gnat-4.0-doc - Documentation for the GNU Ada compiler (gnat) gobjc-4.0 - The GNU Objective-C compiler lib64gcc1 - GCC support library (64bit) lib64gfortran0 - Runtime library for GNU Fortran applications (64bit) lib64objc1 - Runtime library for GNU Objective-C applications (64bit) lib64stdc++6 - The GNU Standard C++ Library v3 (64bit) lib64stdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files) libffi4 - Foreign Function Interface library runtime libffi4-dev - Foreign Function Interface library (development files) libgcc1 - GCC support library libgfortran0 - Runtime library for GNU Fortran applications libgfortran0-dev - GNU Fortran library development libgnat-4.0 - Runtime library for GNU Ada applications libmudflap0 - GCC mudflap shared support libraries libmudflap0-dev - GCC mudflap support libraries (development files) libobjc1 - Runtime library for GNU Objective-C applications libstdc++6 - The GNU Standard C++ Library v3 libstdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files) libstdc++6-4.0-dev - The GNU Standard C++ Library v3 (development files) libstdc++6-4.0-doc - The GNU Standard C++ Library v3 (documentation files) libstdc++6-4.0-pic - The GNU Standard C++ Library v3 (shared library subset kit) protoize - Create/remove ANSI prototypes from C code treelang-4.0 - The GNU Treelang compiler Closes: 343313 346171 347484 Changes: gcc-4.0 (4.0.2-7) unstable; urgency=low . * Update to SVN 20060115, taken from the gcc-4_0-branch. * PR rtl-optimization/25196: Apply proposed backport. * Add an option not to depend on the system -base package for cross compiler (Ian Wienand). Closes: #347484. * Remove workaround increasing the stack size limit for some architectures, not needed anymore on ia64. * On amd64, build-depend on libc6-dev-i386, depend on libc6-i386, where available. * libstdc++6: Properly upgrade the doc directory. Closes: #346171. * libstdc++6: Add a conflict to scim (<< 1.4.2-1). Closes: #343313. Files: cef3eaeca130d6f9d7a7db0cb3e7807c 2783 devel standard gcc-4.0_4.0.2-7.dsc 8599c2aeeb649d02468a42bbd4046e60 908139 devel standard gcc-4.0_4.0.2-7.diff.gz fe60f320d74b1afdf594d652dfa0bf57 183284 doc optional cpp-4.0-doc_4.0.2-7_all.deb 6d6064906d7e25720941e2f9af32bc81 5927600 doc optional libstdc++6-4.0-doc_4.0.2-7_all.deb 4e0184b972bd0e1cdafe69b69e39a24b 105992 doc optional gfortran-4.0-doc_4.0.2-7_all.deb 98422a232159e5db34e439348adf6c1c 946158 doc optional gnat-4.0-doc_4.0.2-7_all.deb 6ae76489edb9937dc23f38ed5abaf5c3 1577202 doc optional gcc-4.0-doc_4.0.2-7_all.deb 39ae269c9b41d4dae725956ff8a7d66b 1017982 devel optional gcc-4.0-locales_4.0.2-7_all.deb bc4b942d747f243a3c267635afa80966 179708 devel required gcc-4.0-base_4.0.2-7_powerpc.deb 8b05d1414b214753cada2d9d571264cd 104374 libs required libgcc1_4.0.2-7_powerpc.deb ebcb51a3a0635d7174992fd51aafd571 104750 libs optional lib64gcc1_4.0.2-7_powerpc.deb a8b4473e52ff29e94108824f61c92d93 2300776 interpreters standard cpp-4.0_4.0.2-7_powerpc.deb 48476aa4e00f165931e2acb3cc69ab5a 37468 devel optional protoize_4.0.2-7_powerpc.deb 7c0f4eaaaadb8b68678d894543cbeb88 97204 devel optional fixincludes_4.0.2-7_powerpc.deb 14c1a493476491ca0c7946f68360ee44 163038 libs optional libmudflap0_4.0.2-7_powerpc.deb 0bed4c2e96f6451d7e178ba554e5bcc7 114228 libdevel optional libmudflap0-dev_4.0.2-7_powerpc.deb bdf4e5d67fbaac611f9158f14a665ac9 2406772 devel optional gobjc-4.0_4.0.2-7_powerpc.deb 2831b130def1e6820d2d7ae24f5362ab 126190 libs optional libobjc1_4.0.2-7_powerpc.deb f5789aa3ebc2a6602bca2d6fd2f64379 47092 libs optional lib64objc1_4.0.2-7_powerpc.deb e256f5bd44ef1933c5ff714f2d761712 137248 devel optional fastjar_4.0.2-7_powerpc.deb cf6e8bb1a731a21fd1e91f4191934e50 99016 libs optional libffi4_4.0.2-7_powerpc.deb 042162da77fb40df803338364c0d3441 12176 libdevel optional libffi4-dev_4.0.2-7_powerpc.deb 065c99ca4ff835ea5f0ab4b67073cf70 2615538 devel standard g++-4.0_4.0.2-7_powerpc.deb 1ce51b294b7e4054983ca60b981e315b 289924 libs required libstdc++6_4.0.2-7_powerpc.deb 33493ef363034f1cbf068c9712cc1a4f 326424 libs optional lib64stdc++6_4.0.2-7_powerpc.deb 6544da04767d637719339f5e8e8912f2 9030094 libdevel extra lib64stdc++6-4.0-dbg_4.0.2-7_powerpc.deb 1a6bfdcd302a15c6c3641025409353f1 1581816 libdevel standard libstdc++6-4.0-dev_4.0.2-7_powerpc.deb d90f4f81a147216a28bfbc07849e27e0 981822 libdevel extra libstdc++6-4.0-pic_4.0.2-7_powerpc.deb cf9d7bec0eb80a72aa42fcb5d9337109 6038874 libdevel extra libstdc++6-4.0-dbg_4.0.2-7_powerpc.deb 3f1efef6d8157608dd761e601dd12583 115456 libs optional libgfortran0_4.0.2-7_powerpc.deb e61dd09d35ea69b29250d8a6b5195e9a 114056 libs optional lib64gfortran0_4.0.2-7_powerpc.deb 36b790064aab8ea221051b62a1193165 2420974 devel optional gfortran-4.0_4.0.2-7_powerpc.deb bd663fbf4a941481f04ea686cbabdb3a 299994 libdevel optional libgfortran0-dev_4.0.2-7_powerpc.deb 18dab8839e4c472ec9f024726ba07283 930704 libs optional libgnat-4.0_4.0.2-7_powerpc.deb 94df5f5e9d1e8a7fd0af42bfb88b2c3f 10609584 devel optional gnat-4.0_4.0.2-7_powerpc.deb 5934e54c875115a53484d50ffc5156d8 2170372 devel optional treelang-4.0_4.0.2-7_powerpc.deb c2032b300db87bed441fa092acc3f995 555574 devel standard gcc-4.0_4.0.2-7_powerpc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDylbAStlRaw+TLJwRAk/zAJ0XLGyBDrxMJ5eNLVWgbgbNHz7+fgCeNgYw 8jG/RDmK6g3nCb9PbU/pvpc= =1yYi -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]