diff mbox

gcc-4.5 multiarch: cross-builds, multilib breakage

Message ID 20110321073500.GC20509@virgil.dodds.net
State New
Headers show

Commit Message

Steve Langasek March 21, 2011, 7:35 a.m. UTC
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.
diff mbox

Patch

# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: steve.langasek@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.loiret@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 <vorlon@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+VGRkNBpoNPSASRCZAJ
piAJpG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