[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771383: marked as done (gcc-4.9: Please revert disabling of DEB_CROSS_NO_BIARCH builds)



Your message dated Sat, 29 Nov 2014 01:43:47 +0100
with message-id <547916C3.4070300@debian.org>
and subject line Re: Bug#771383: gcc-4.9: Please revert disabling of DEB_CROSS_NO_BIARCH builds
has caused the Debian Bug report #771383,
regarding gcc-4.9: Please revert disabling of DEB_CROSS_NO_BIARCH builds
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 owner@bugs.debian.org
immediately.)


-- 
771383: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771383
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.9
Version: 4.9.2-3
Severity: normal
Tags: patch

gcc 4.9.1-19 removed the top-level option to set no_biarch_libs = yes when building crosscompilers. 

-ifdef DEB_CROSS_NO_BIARCH
-  no_biarch_libs := yes
-endif
+no_biarch_libs :=

Then 4.9.2-2 removed another related stanza
-  ifdef DEB_CROSS_NO_BIARCH
-    biarch64		:= disabled by DEB_CROSS_NO_BIARCH
-    biarch32 		:= disabled by DEB_CROSS_NO_BIARCH
-    biarchn32 		:= disabled by DEB_CROSS_NO_BIARCH
-    biarchx32		:= disabled by DEB_CROSS_NO_BIARCH
-    biarchhf 		:= disabled by DEB_CROSS_NO_BIARCH
-    biarchsf 		:= disabled by DEB_CROSS_NO_BIARCH
-  endif

This code has been present for a long time, was working fine until
its recent removal, and is still used by cross-toolchains built for
debian. This change means that current cross-gcc-4.9-* packages can no
longer build unpatched gcc-4.9 so must carry the attached reversion
patch.

Everyone agrees that building cross packages from unpatched gcc-4.9 is
a worthy goal, so please revert this change.
# Debug: #766924
Index: cross-gcc/debian/rules.defs
===================================================================
--- cross-gcc.orig/debian/rules.defs
+++ cross-gcc/debian/rules.defs
@@ -1447,7 +1444,9 @@
 #ifeq ($(trunk_build),yes)
 #  no_biarch_libs := yes
 #endif
-no_biarch_libs :=
+ifdef DEB_CROSS_NO_BIARCH
+  no_biarch_libs := yes
+endif
 
 ifeq ($(no_biarch_libs),yes)
   with_lib64gcc		:= no
@@ -1608,6 +1606,15 @@ ifeq ($(no_biarch_libs),yes)
 
   with_java_plugin := no
 
+  ifdef DEB_CROSS_NO_BIARCH
+    biarch64   	:= disabled by DEB_CROSS_NO_BIARCH
+    biarch32 	:= disabled by DEB_CROSS_NO_BIARCH
+    biarchn32 	:= disabled by DEB_CROSS_NO_BIARCH
+    biarchx32	:= disabled by DEB_CROSS_NO_BIARCH
+    biarchhf 	:= disabled by DEB_CROSS_NO_BIARCH
+    biarchsf 	:= disabled by DEB_CROSS_NO_BIARCH
+  endif
+
   ifeq ($(with_ada)-$(with_separate_gnat),yes-yes)
     biarchhf	:= disabled for Ada
     biarchsf	:= disabled for Ada

--- End Message ---
--- Begin Message ---
Control: tags -1 + wontfix

Everyone agrees that building cross packages from unpatched gcc-4.9 is
a worthy goal, so please revert this change.

sure, do your homework and build unmodified multilib enabled packages.

--- End Message ---

Reply to: