Bug#357658: libgcc/libstdc++ does not provide -dcv1 when cross-compiling
Package: gcc-3.4
Version: 3.4.5-2
Followup-For: Bug #357658
--- gcc-3.4-3.4.5/debian/control.m4 2006-03-17 23:15:24.000000000 +0100
+++ gcc-3.4-3.4.5-2/debian/control.m4 2006-03-21 11:17:20.000000000 +0100
@@ -56,6 +56,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',required)
Depends: ${shlibs:Depends}
+ifdef(`TARGET',`Provides: libgcc1-TARGET-dcv1
+',`')`'dnl
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
@@ -71,6 +73,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',PRI(required))
Depends: ${shlibs:Depends}
+ifdef(`TARGET',`Provides: libgcc2-TARGET-dcv1
+',`')`'dnl
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
@@ -88,6 +92,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',PRI(optional))
Depends: ${dep:libcbiarch}
+ifdef(`TARGET',`Provides: lib64gcc1-TARGET-dcv1
+',`')`'dnl
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
@@ -106,6 +112,8 @@
Section: libs
Priority: optional
Depends: ${dep:libcbiarch}
+ifdef(`TARGET',`Provides: lib32gcc1-TARGET-dcv1
+',`')`'dnl
Conflicts: ia32-libs-openoffice.org (<= 1ubuntu2)
Replaces: ia32-libs-openoffice.org (<= 1ubuntu2)
Description: GCC support library (32-bit version)
@@ -442,6 +450,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',PRI(required))
Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+ifdef(`TARGET',`Provides: libstdc++CXX_SO-TARGET-dcv1
+',`')`'dnl
Conflicts: libstdc++6-0
Replaces: libstdc++6-0
Description: The GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `')
@@ -462,6 +472,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',PRI(optional))
Depends: gcc`'PV-base (= ${gcc:Version}), lib32gcc`'GCC_SO`'LS
+ifdef(`TARGET',`Provides: lib32stdc++CXX_SO-TARGET-dcv1
+',`')`'dnl
Description: The GNU Standard C++ Library v3 (ia32)
This package contains an additional runtime library for C++ programs
built with the GNU compiler.
@@ -478,6 +490,8 @@
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',PRI(important))
Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+ifdef(`TARGET',`Provides: lib64stdc++CXX_SO-TARGET-dcv1
+',`')`'dnl
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.
@@ -503,7 +517,10 @@
Replaces: libstdc++6-0-dev
Suggests: libstdc++CXX_SO-doc
')`'dnl native
-Provides: libstdc++-dev`'LS
+Provides: libstdc++-dev`'LS`'dnl
+ifdef(`TARGET',`, libstdc++-dev-TARGET-dcv1, libstdc++CXX_SO-dev-TARGET-dcv1
+',`
+')`'dnl
Description: The GNU Standard C++ Library v3 (development files)`'ifdef(`TARGET)',` (TARGET)', `')
This package contains the headers and static library files necessary for
building C++ programs which use libstdc++. Be advised that this only works
@@ -523,6 +540,8 @@
Section: ifdef(`TARGET',`devel',`libdevel')
Priority: extra
Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO-dev`'LS (= ${gcc:Version})
+ifdef(`TARGET',`Provides: libstdc++CXX_SO-pic-TARGET-dcv1
+',`')`'dnl
Conflicts: libstdc++6-0-pic
Replaces: libstdc++6-0-pic
Description: The GNU Standard C++ Library v3 (shared library subset kit)`'ifdef(`TARGET)',` (TARGET)', `')
@@ -541,6 +560,8 @@
Section: ifdef(`TARGET',`devel',`libdevel')
Priority: extra
Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version})
+ifdef(`TARGET',`Provides: libstdc++CXX_SO-dbg-TARGET-dcv1
+',`')`'dnl
Recommends: libstdc++CXX_SO-dev`'LS (= ${gcc:Version})
Conflicts: libstdc++6-0-dbg, libstdc++5-dbg`'LS, libstdc++5-3.3-dbg`'LS, libstdc++6-4.0-dbg`'LS
Replaces: libstdc++6-0-dbg
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages gcc-3.4 depends on:
ii binutils 2.16.1cvs20060117-1.my The GNU assembler, linker and bina
ii cpp-3.4 3.4.5-2 The GNU C preprocessor
ii gcc-3.4-base 3.4.5-2 The GNU Compiler Collection (base
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-9.my GCC support library
Versions of packages gcc-3.4 recommends:
ii libc6-dev 2.3.6-3 GNU C Library: Development Librari
-- no debconf information
Reply to: