Your message dated Sun, 08 Nov 2015 21:39:51 -0800
with message-id <[email protected]>
and subject line Re: Bug#804475: fails to build cross compiler for i386: libmpx
not covered
has caused the Debian Bug report #804475,
regarding fails to build cross compiler for i386: libmpx not covered
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
804475: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804475
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cross-gcc-dev
Version: 55
Tags: patch
User: [email protected]
Usertags: rebootstrap
When building gcc-5 cross compilers with the cross-gcc-dev patchset for
i386, the build fails. See e.g.
https://jenkins.debian.net/job/rebootstrap_i386_gcc5_nobiarch/43/console
The reason is that i386 is one of the few architectures that builds
libmpx, but libmpx is not covered by cross-ma-install-location.diff.
I am attaching a patch to src:cross-gcc that makes
cross-ma-install-location.diff also cover the libmpx folder.
Helmut
--- a/patches/gcc-5/0004-added-multi-arch-specific-install-location-patch.patch
+++ a/patches/gcc-5/0004-added-multi-arch-specific-install-location-patch.patch
@@ -16,7 +16,7 @@
index 0000000..6ce481c
--- /dev/null
+++ b/debian/patches/cross-ma-install-location.diff
-@@ -0,0 +1,402 @@
+@@ -0,0 +1,422 @@
+Index: b/src/boehm-gc/configure.ac
+===================================================================
+--- a/src/boehm-gc/configure.ac
@@ -419,6 +419,26 @@
+ multi_os_directory=`$CC -print-multi-os-directory`
+ case $multi_os_directory in
+ .) ;; # Avoid trailing /.
++--- a/src/libmpx/configure.ac
+++++ b/src/libmpx/configure.ac
++@@ -70,15 +70,8 @@
++ toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
++ ;;
++ no)
++- if test -n "$with_cross_host" &&
++- test x"$with_cross_host" != x"no"; then
++- # Install a library built with a cross compiler in tooldir, not libdir.
++- toolexecdir='$(exec_prefix)/$(target_alias)'
++- toolexeclibdir='$(toolexecdir)/lib'
++- else
++- toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
++- toolexeclibdir='$(libdir)'
++- fi
+++ toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+++ toolexeclibdir='$(libdir)'
++ multi_os_directory=`$CC -print-multi-os-directory`
++ case $multi_os_directory in
++ .) ;; # Avoid trailing /.
diff --git a/debian/rules.patch b/debian/rules.patch
index 617b096..e953063 100644
--- a/debian/rules.patch
--- End Message ---
--- Begin Message ---
Fixed in cross-gcc-dev=56
--- End Message ---