Package: gcc-4.0
Severity: wishlist
Tags: patch
Please add support for the ppc64 architecture to 'gcc-4.0'.
The changes from the attached patch have been used
by the ppc64 archive on alioth since December 2004.
The patch basically uses the same approach as the amd64 port
to create a gcc with multilib support.
Regards
Andreas Jochens
Change summary:
* debian/control.m4
- Add libc6-dev-powerpc [ppc64] to the Build-Depends.
- Change the Description for lib32gcc1: s/ia32/32 bit Version/
- Change the Depends for lib32gcc1 from 'ia32-libs' to '${shlibs:Depends}'.
- Remove Replaces: ia32-libs.openoffice.org ( 1ubuntu3) for lib32gcc1.
* debian/rules.defs
- Define 'biarch_ia32' for ppc64 to use the same 32 bit multilib
facilities as amd64. (Probably 'biarch_ia32' should be renamed
to something like 'biarch32'.)
* debian/rules.d/binary-gcc.mk
- Correct an error in the 'files_gcc' definition for biarch_ia32
(replace '64' by '32').
* debian/rules2
- Do not use '--disable-multilib' on powerpc64-linux.
Use '--disable-nof --disable-softfloat' instead.
* debian/rules.d/binary-libstdcxx.mk
- Put the 32 bit libstdc++ files in '/usr/lib32'.
* debian/rules.patch
- Apply 'ppc64-biarch' patch on ppc64.
* debian/patches/ppc64-biarch.dpatch
- MULTILIB_OSDIRNAMES: Use /lib for native 64 bit libraries and
/lib32 for 32 bit libraries.
- Add multilib handling to src/config-ml.in (taken from amd64-biarch.dpatch).
diff -urN ../tmp-orig/gcc-4.0-4.0ds8/debian/control ./debian/control
--- ../tmp-orig/gcc-4.0-4.0ds8/debian/control 2005-03-24 09:28:32.245097672
+0100
+++ ./debian/control2005-03-24 09:31:26.937816920 +0100
@@ -4,7 +4,7 @@
Maintainer: Debian GCC maintainers debian-gcc@lists.debian.org
Uploaders: Matthias Klose [EMAIL PROTECTED]
Standards-Version: 3.6.1
-Build-Depends: libc6.1-dev (= 2.3.2.ds1-19) [alpha ia64] | libc0.3-dev (=
2.3.2.ds1-19) | libc0.1-dev | libc12-dev (= 2.3.2.ds1-19) | libc6-dev (=
2.3.2.ds1-19), libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390],
amd64-libs-dev [i386], ia32-libs-dev [amd64], libunwind7-dev [ia64], m4,
autoconf, automake1.9, libtool, autogen, gawk, dejagnu (= 1.4.3) [!hurd-i386],
expect (= 5.38.0) [!hurd-i386], bzip2, binutils (= 2.15-5) |
binutils-multiarch (= 2.15-5), binutils-hppa64 [hppa], debhelper (= 4.1),
gperf (= 2.7-3), bison (= 1:1.875a-1), flex, gettext, texinfo (= 4.3),
zlib1g-dev, libgc-dev [!knetbsd-i386], xlibs-dev, gnat-3.3 [!alpha !arm !ia64
!m68k !kfreebsd-i386 !knetbsd-i386 !netbsd-i386] | gnat-3.4 [!alpha !arm !ia64
!m68k !kfreebsd-i386 !knetbsd-i386 !netbsd-i386], libncurses5-dev
[!netbsd-i386], libmpfr-dev, tetex-bin [!netbsd-i386], locales [!hurd-i386
!knetbsd-i386 !netbsd-i386], procps [alpha arm hppa i386 ia64 m68k mips mipsel
powerpc s390 s390x sh3 sh3eb sh4 sh4e
b sparc sparc64 amd64], help2man [!netbsd-i386], sharutils, libgtk2.0-dev
[!mips !mipsel !knetbsd-i386 !netbsd-i386], libart-2.0-dev [!mips !mipsel
!knetbsd-i386 !netbsd-i386], libcairo1-dev (= 0.3.0) [!mips !mipsel
!knetbsd-i386 !netbsd-i386], realpath (= 1.9.12), chrpath, lsb-release
+Build-Depends: libc6.1-dev (= 2.3.2.ds1-19) [alpha ia64] | libc0.3-dev (=
2.3.2.ds1-19) | libc0.1-dev | libc12-dev (= 2.3.2.ds1-19) | libc6-dev (=
2.3.2.ds1-19), libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc],
libc6-dev-s390x [s390], amd64-libs-dev [i386], ia32-libs-dev [amd64],
libunwind7-dev [ia64], m4, autoconf, automake1.9, libtool, autogen, gawk,
dejagnu (= 1.4.3) [!hppa !hurd-i386], expect (= 5.38.0) [!hppa !hurd-i386],
bzip2, binutils (= 2.15-5) | binutils-multiarch (= 2.15-5), binutils-hppa64
[hppa], debhelper (= 4.1), gperf (= 2.7-3), bison (= 1:1.875a-1), flex,
gettext, texinfo (= 4.3), zlib1g-dev, libgc-dev [!knetbsd-i386], xlibs-dev,
gnat-3.3 [!alpha !arm !ia64 !m68k !ppc64 !kfreebsd-i386 !knetbsd-i386
!netbsd-i386] | gnat-3.4 [!alpha !arm !ia64 !m68k !ppc64 !kfreebsd-i386
!knetbsd-i386 !netbsd-i386], libncurses5-dev [!netbsd-i386], libmpfr-dev,
tetex-bin [!netbsd-i386], locales [!hurd-i386 !knetbsd-i386 !netbsd-i386],
procps [!darwin-i386 !freebsd-i386
!hurd-i386 !kfreebsd-i386 !knetbsd-i386 !netbsd-i386 !openbsd-i386
!darwin-powerpc], help2man [!netbsd-i386], sharutils, libgtk2.0-dev [!mips
!mipsel !knetbsd-i386 !netbsd-i386], libart-2.0-dev [!mips !mipsel
!knetbsd-i386 !netbsd-i386], libcairo1-dev (= 0.3.0) [!mips !mipsel
!knetbsd-i386 !netbsd-i386], realpath (= 1.9.12), chrpath, lsb-release
Build-Depends-Indep: doxygen (= 1.3.7), graphviz
Package: gcc-4.0-base
diff -urN ../tmp-orig/gcc-4.0-4.0ds8/debian/control.m4 ./debian/control.m4
--- ../tmp-orig/gcc-4.0-4.0ds8/debian/control.m42005-03-24
09:28:32.520914486 +0100
+++ ./debian/control.m4 2005-03-24 09:31:26.939815592 +0100
@@ -33,7 +33,7 @@
ifdef(`TARGET',`dnl cross
Build-Depends: LIBC_BUILD_DEP, m4, autoconf, automake1.9, libtool,
autotools-dev, autogen, gawk, bzip2, dpkg-cross (= 1.18.1),
BINUTILS_BUILD_DEP, debhelper (= 4.1),