Getting tired of me yet? :-)

Three patches attached.  The first includes a set of fixes for the
cross-building support when multiarch is turned on.  The second is the
promised update corresponding to the preceding gcc-4.4 patch, fixing up the
multilib directories when building for multiarch.  The third and final patch
is a change to gcc-4.5-base, to put the architecture-specific list of
applied patches in a separate README.Debian.$arch so that this Multi-Arch:
same package doesn't put architecture-dependent data in a common path.

With this set, I believe we're current wrt Ubuntu natty as far as multiarch
support is concerned.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: steve.langa...@linaro.org-20110321071557-\
#   016o1nos16rzksjl
# target_branch: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.5
# testament_sha1: 6a752860932cd40fdf7ec6a26cdd540d1564ec1d
# timestamp: 2011-03-21 00:16:37 -0700
# base_revision_id: svn-v4:6ca36cf4-e1d1-0310-8c6f-\
#   e303bb2178ca:branches/sid/gcc-4.5:5124
# 
# Begin patch
=== modified file 'debian/changelog'
--- debian/changelog	2011-03-17 12:10:56 +0000
+++ debian/changelog	2011-03-21 07:15:57 +0000
@@ -18,6 +18,10 @@
   * OTOH, libgcj_bc *is* in $(libdir).
   * the spu build is not a multiarch build; look in the correct
     non-multiarch directory.
+  * debian/rules2: pass --libdir also for stageX builds, needed in order to
+    successfully build for multiarch.
+  * debian/rules2: $(usr_lib) for a cross-build should not include the
+    multiarch dir as part of the path.
 
  -- Steve Langasek <vor...@debian.org>  Sun, 13 Mar 2011 16:42:03 -0700
 

=== modified file 'debian/rules2'
--- debian/rules2	2011-03-17 12:10:56 +0000
+++ debian/rules2	2011-03-21 07:15:57 +0000
@@ -161,6 +161,7 @@
 	--disable-multilib  \
 	--disable-threads \
 	--libexecdir=/$(libexecdir) \
+	--libdir=/$(PF)/$(libdir) \
 	--with-build-sysroot=$(with_build_sysroot) \
 	--with-sysroot=$(with_sysroot)
 
@@ -664,7 +665,11 @@
 d_l= debian/$(p_l)
 d_d= debian/$(p_d)
 
-usr_lib = $(PFL)/$(libdir)
+ifeq ($(DEB_CROSS),yes)
+  usr_lib = $(PFL)/lib
+else
+  usr_lib = $(PFL)/$(libdir)
+endif
 usr_lib32 = $(PFL)/lib32
 usr_libn32 = $(PFL)/lib32
 usr_lib64 = $(PFL)/lib64

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWWbKF5sABO3fgEAwVnf/918E
2ES///9wYAdr6gAAFAAAAAAajSg0A2poMhoYhiYjTCYjIASlU/R6Sj8pqP1Mp5PShpiNAMRkaB+q
aMQ5gE0wCZDAAEwTAAADmATTAJkMAATBMAAAOYBNMAmQwABMEwAAAKlEAgDQEaBDU9TTFNTxlAG1
TyEBGRKxDWHjhIOOtPeRcvqDowDUzKpbBacYNtPuJJWspjIaWKKXmGMaOxztVjFHrTTaIonWdRK+
psMIewaSilJSlKSlP9/4k+9rFwq42Kujrgsi+1VzW1VzCtkXFpd+ic58H0eBIoCgkdI/iJksHkQz
E5a6rrjveLUsTBcqLHqseLm6vg6qUpTUWNvqp5+favuQtuqj6fnrUUaDE0DMlhxJd9ClCvpm9H+v
7/3piwedX/3zHxg7oj8XWQzgyPm4wd8Txg5Pc/WezyWxVgNGJWTbW17pI9pI8+T000pzPKLdZnFL
sla1e7pihWhr2WvzFILbV0kWefAV5Ol1sFqRfBepxfNbXmrEW3ROssvWXiyNC/8Pa7Jexia7dVUs
pHKC7FlBlvtiMK4xG/mZdn22RFi1Z82cXcdlN9tupq2qYjKuxU37X3bG2yIumN80juFWT10wdfwu
Pyp83Roo0nE4uHLlIYM3Te9BdE4NjPCiwsaXhEb93dEZYuUGMoxvbKxNPSqrYrhhhmoa2vBRpveG
du456GiGQ+pI8Odzfoph4ti7XWmuxRbbE2lOGDjBjTG2DCkRmpnLl6m64ynJ1kNj5M1FC40wX52b
6buxugzkm1uuHCjUZuS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rmdrYUcqLFihTgWQ7pC4qokvdWlLZIx8KxfJG6zU4lq9f7z83mWJ3DawYRPcsKxcKI
1WKu++E3WqTwUm03NhNccEWnwGo2UKanI1tptNSjS3yjYlFZRX4KQ9OdUyydnZYof9HMo3vqskja
N7BUoysMmguXw0SW0HJY4YOwyYI8jxMND1fpE8I6wmxKIviiO5raVZRRRRPv6xOGcXDB/4XckU4U
JBmyhebA
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: steve.langa...@linaro.org-20110321072642-\
#   hl0le3pg3pk631qg
# target_branch: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.5
# testament_sha1: 60ae79fdb5262250842874e5c8dfdf7599468f14
# timestamp: 2011-03-21 00:26:49 -0700
# base_revision_id: svn-v4:6ca36cf4-e1d1-0310-8c6f-\
#   e303bb2178ca:branches/sid/gcc-4.5:5124
# 
# Begin patch
=== modified file 'debian/changelog'
--- debian/changelog	2011-03-17 12:10:56 +0000
+++ debian/changelog	2011-03-21 07:26:42 +0000
@@ -18,6 +18,13 @@
   * OTOH, libgcj_bc *is* in $(libdir).
   * the spu build is not a multiarch build; look in the correct
     non-multiarch directory.
+  * debian/patches/gcc-multiarch+biarch.diff: restore the original intent of
+    the patch, namely, that the multilib dir for the default variant is
+    always equal to libdir (the multiarch dir), and we walk up the tree
+    to find lib<qual> for the secondary variant.
+  * debian/patches/gcc-multiarch+biarch32.diff: apply the same multilib
+    directory rewriting for biarch paths with multiarch as we do without;
+    still needed in the near term.
 
  -- Steve Langasek <vor...@debian.org>  Sun, 13 Mar 2011 16:42:03 -0700
 

=== modified file 'debian/patches/gcc-multiarch+biarch.diff'
--- debian/patches/gcc-multiarch+biarch.diff	2011-03-14 22:18:13 +0000
+++ debian/patches/gcc-multiarch+biarch.diff	2011-03-21 07:26:42 +0000
@@ -7,7 +7,7 @@
  MULTILIB_OPTIONS = m64/m31
  MULTILIB_DIRNAMES = 64 32
 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,.) $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,.)
++MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
 --- a/src/gcc/config/sparc/t-linux64
 +++ b/src/gcc/config/sparc/t-linux64
 @@ -26,7 +26,7 @@
@@ -15,7 +15,7 @@
  MULTILIB_OPTIONS = m64/m32
  MULTILIB_DIRNAMES = 64 32
 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,.) $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,.)
++MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
  
  LIBGCC = stmp-multilib
  INSTALL_LIBGCC = install-multilib
@@ -26,7 +26,7 @@
  MULTILIB_OPTIONS = m64/m32
  MULTILIB_DIRNAMES = 64 32 
 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,.) $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,.)
++MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
  
  LIBGCC = stmp-multilib
  INSTALL_LIBGCC = install-multilib
@@ -37,7 +37,7 @@
  MULTILIB_EXCEPTIONS     =
  MULTILIB_EXCLUSIONS     =
 -MULTILIB_OSDIRNAMES	= ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES	= $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,.) $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../../lib32,.)
++MULTILIB_OSDIRNAMES	= $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
  MULTILIB_MATCHES        =
  
  softfp_wrap_start := '\#ifndef __powerpc64__'

=== added file 'debian/patches/gcc-multiarch+biarch32.diff'
--- debian/patches/gcc-multiarch+biarch32.diff	1970-01-01 00:00:00 +0000
+++ debian/patches/gcc-multiarch+biarch32.diff	2011-03-21 07:26:42 +0000
@@ -0,0 +1,52 @@
+# DP: Use lib instead of lib64 as multilibdir on amd64, sparc64 and ppc64,
+# DP: including when building for multiarch.
+
+Index: trunk/src/gcc/config/i386/t-linux64
+===================================================================
+--- trunk.orig/src/gcc/config/i386/t-linux64
++++ trunk/src/gcc/config/i386/t-linux64
+@@ -25,7 +25,7 @@
+ 
+ MULTILIB_OPTIONS = m64/m32
+ MULTILIB_DIRNAMES = 64 32 
+-MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
++MULTILIB_OSDIRNAMES = . $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,../lib32)
+ 
+ LIBGCC = stmp-multilib
+ INSTALL_LIBGCC = install-multilib
+Index: trunk/src/gcc/config/rs6000/t-linux64
+===================================================================
+--- trunk.orig/src/gcc/config/rs6000/t-linux64
++++ trunk/src/gcc/config/rs6000/t-linux64
+@@ -36,7 +36,7 @@
+ MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
+ MULTILIB_EXCEPTIONS     =
+ MULTILIB_EXCLUSIONS     =
+-MULTILIB_OSDIRNAMES	= $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
++MULTILIB_OSDIRNAMES	= . $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,../lib32)
+ MULTILIB_MATCHES        =
+ 
+ softfp_wrap_start := '\#ifndef __powerpc64__'
+Index: trunk/src/gcc/config/s390/t-linux64
+===================================================================
+--- trunk.orig/src/gcc/config/s390/t-linux64
++++ trunk/src/gcc/config/s390/t-linux64
+@@ -7,4 +7,4 @@
+ 
+ MULTILIB_OPTIONS = m64/m31
+ MULTILIB_DIRNAMES = 64 32
+-MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
++MULTILIB_OSDIRNAMES = . $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,../lib32)
+Index: trunk/src/gcc/config/sparc/t-linux64
+===================================================================
+--- trunk.orig/src/gcc/config/sparc/t-linux64
++++ trunk/src/gcc/config/sparc/t-linux64
+@@ -26,7 +26,7 @@
+ 
+ MULTILIB_OPTIONS = m64/m32
+ MULTILIB_DIRNAMES = 64 32
+-MULTILIB_OSDIRNAMES = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib64),../../lib64,../lib64) .
++MULTILIB_OSDIRNAMES = . $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../../usr/lib32),../../lib32,../lib32)
+ 
+ LIBGCC = stmp-multilib
+ INSTALL_LIBGCC = install-multilib

=== modified file 'debian/rules.patch'
--- debian/rules.patch	2011-03-14 22:18:13 +0000
+++ debian/rules.patch	2011-03-21 07:26:42 +0000
@@ -251,6 +251,12 @@
 debian_patches += gcc-powerpc-undef
 ifeq ($(with_multiarch_lib),yes)
   debian_patches += gcc-multiarch+biarch
+  ifeq ($(biarch32),yes)
+    debian_patches += gcc-multiarch+biarch32
+  endif
+  ifneq (,$(findstring sparc64,$(DEB_TARGET_ARCH)))
+    debian_patches += gcc-multiarch+biarch32
+  endif
 else
   ifeq ($(biarch32),yes)
     debian_patches += gcc-multilib64

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWeIRpn0AB+VfgGQwXv/////n
3mS////wYAvd96yKASAAACgRAAKAAAUBw00wQyGmmRkwgGmgDCaNMmABA0OGmmCGQ00yMmEA00AY
TRpkwAIGhCTaiaNBoGnpAAAA0BiAAAABIkRJ5E9U8p6T0eUZGieo00B6nqYTIGnqANABw00wQyGm
mRkwgGmgDCaNMmABA0CpRARpoAEBNTxBMhNJk0aYT0h6Rtop6T0lCRqXVjybe6+ImMY/bEP6da99
CjYL2/n37jwLj7JGHjwa9Pt1OF2Dkt2U/tnrzvLvXUY8qSk+o0X4UulOlWAp8Ul5p39g69MmCEQE
kKGAyFTpGCAoBLJnWYeKkCdllDMURC9M6pFZPAongTqdB/0TQSvzdfxaW6cejKFoFQaEfIMgMTbY
2D4Pmg/Eiwy3SWWUyc1Ipghg2UWSlNyUotnAzAoKMNf2LgXMNMuunyd54KI/Z3cMPctV+DvXfa0P
auVfMnsexytj0fGZPpc/0YND2zdY15uxnxwa2E67l7ZQ3ecc1jU1MsLVL4qxW61sm1cdNPHW0sEW
qsnNi0Jn5LCZyhs8rbbe2VlRSdsxGGDaOHPxZykt7tsm5OU0r1pa+jDvdpFt1Unc/Du8SfurUhra
zzmso+tVyiblyUifPGfukSlCUUJyfK6vOmQt+7/snquLhS4mh5DiVSg3C+5VXxU42kxLB3OP+UpS
70Gk8JDwaHeka/qU+yKUCndIYnpqaGyQ8pDInevSaUe73qb3NkjmxSzY0f+1R/AnmShKFCgoR+wQ
2ps4e6LE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Ztcy5G3DHZHNWKQylXc9x2FjVs1SZtj4iXTRhrX6n
Ngj7SVfQ5slFKYypVuJcdiLUe6I87iYQS1g5rA1s3sVheJlcbcLUppXLIuEtu3LuMuqv5PhiSwuU
M179S2dqySTROsx3Ni5/SrFE3uNEpuj3E3RNSbJFsap5UilNN0o7SVJm9yjCtjipnFFYYRaarayY
iouEZbJpY8myEHCZ5FgJmIoIR80dkakWySxZa4tj+S0SqMnp0WHYonLlVLWo8cYN6kjS4F6rRo0L
Ca3BQqixRWpNFYYNz6zlqsvm1scySwmlpZcyblhO9Lj9SOxEtSkjBLWahhTkSh33u0lA1GCiih+O
x2qckvf/i7kinChIcQjTPoA=
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: steve.langa...@linaro.org-20110321073119-\
#   z4e4tjdl1f1ffsxq
# target_branch: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.5
# testament_sha1: b96feb97f5d8695b9e3bacabea3e458c9241c407
# timestamp: 2011-03-21 00:31:43 -0700
# base_revision_id: svn-v4:6ca36cf4-e1d1-0310-8c6f-\
#   e303bb2178ca:branches/sid/gcc-4.5:5124
# 
# Begin patch
=== renamed file 'debian/README' => 'debian/README.Debian'
--- debian/README	2007-09-01 21:27:37 +0000
+++ debian/README.Debian	2011-03-21 07:31:19 +0000
@@ -31,3 +31,6 @@
 Arthur Loiret <arthur.loi...@gmail.com>		(gdc)
 
 ===============================================================================
+
+Information about patches applied to this package can be found in
+README.Debian.$arch for the corresponding architecture.

=== modified file 'debian/changelog'
--- debian/changelog	2011-03-17 12:10:56 +0000
+++ debian/changelog	2011-03-21 07:31:19 +0000
@@ -18,6 +18,11 @@
   * OTOH, libgcj_bc *is* in $(libdir).
   * the spu build is not a multiarch build; look in the correct
     non-multiarch directory.
+  * Put our list of patches in README.Debian.$(DEB_TARGET_ARCH) instead of
+    in README.Debian, so that the individual files are architecture-neutral
+    and play nicely with multiarch.  LP: #737846.
+  * Add a comment at the bottom of README.Debian with a pointer to the new
+    file listing the patches.
 
  -- Steve Langasek <vor...@debian.org>  Sun, 13 Mar 2011 16:42:03 -0700
 

=== modified file 'debian/rules.d/binary-base.mk'
--- debian/rules.d/binary-base.mk	2010-11-17 11:52:18 +0000
+++ debian/rules.d/binary-base.mk	2011-03-21 07:31:19 +0000
@@ -30,7 +30,7 @@
 	ln -sf $(BASE_VERSION) $(d_base)/usr/spu/lib/gcc/spu/$(GCC_VERSION)
 endif
 
-	dh_installdocs -p$(p_base)
+	dh_installdocs -p$(p_base) debian/README.Debian.$(DEB_TARGET_ARCH)
 	dh_installchangelogs -p$(p_base)
 	dh_compress -p$(p_base)
 	dh_fixperms -p$(p_base)

=== modified file 'debian/rules2'
--- debian/rules2	2011-03-17 12:10:56 +0000
+++ debian/rules2	2011-03-21 07:31:19 +0000
@@ -839,8 +839,7 @@
 	fi
 endif
 	rm -f $(configure_stamp) $(build_stamp)
-	: # generate debian/README.Debian
-	cat debian/README $(patch_stamp) > debian/README.Debian
+	cp $(patch_stamp) debian/README.Debian.$(DEB_TARGET_ARCH)
 
 	rm -rf $(builddir)
 	mkdir $(builddir)
@@ -1508,7 +1507,7 @@
 	rm -f debian/shlibs.local debian/substvars.local
 	rm -f debian/*.debhelper
 	-[ -d debian/bugs ] && $(MAKE) -C debian/bugs clean
-	rm -f debian/README.libstdc++-baseline debian/README.Bugs debian/README.Debian
+	rm -f debian/README.libstdc++-baseline debian/README.Bugs debian/README.Debian.$(DEB_TARGET_ARCH)
 	rm -f debian/lib*gcj-bc.shlibs
 	rm -rf bin locales share
 	rm -rf check-inst

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWcTn5xAABEvfgEAwXn//93/m
XAC////wYAc99R8gAAQgCpKUCjmjJiYAJiMCNMCDEYJkwCMOaMmJgAmIwI0wIMRgmTAIw5oyYmAC
YjAjTAgxGCZMAjCGoJGgNkhoAAAAANAAARSIqe0no1NPUyeqemmhHqaep+VGRkNBpoNPSASR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