tags 325978 + patch
thanks

The GCC bug in question seem to be #323686.  When it is fixed, the
special handling of arm could be removed.

This patch switches the arm build to use gcc 3.4.  Perhaps it will
work.  I got no way to test it, as I lack an arm machine.

diff -ur orbit2cpp-1.3.9-orig/debian/control orbit2cpp-1.3.9/debian/control
--- orbit2cpp-1.3.9-orig/debian/control Fri Sep  9 18:57:38 2005
+++ orbit2cpp-1.3.9/debian/control      Fri Sep  9 18:59:25 2005
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Bradley Bell <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0), liborbit2-dev (>= 1:2.8.1-5), libidl-dev,
g++ (>= 3:3.2.2-0)
+Build-Depends: debhelper (>> 3.0.0), liborbit2-dev (>= 1:2.8.1-5), libidl-dev,
g++ (>= 3:3.2.2-0), g++-3.4 [arm]
 Standards-Version: 3.6.2

 Package: liborbit2cpp-dev
diff -ur orbit2cpp-1.3.9-orig/debian/rules orbit2cpp-1.3.9/debian/rules
--- orbit2cpp-1.3.9-orig/debian/rules   Fri Sep  9 18:57:38 2005
+++ orbit2cpp-1.3.9/debian/rules        Fri Sep  9 19:02:17 2005
@@ -21,6 +21,12 @@
        INSTALL_PROGRAM += -s
 endif

+# Workaround for broken gcc 4.0 on arm (bug #325978 and #323686)
+ifeq (arm,$(DEB_BUILD_ARCH))
+       export CC=gcc-3.4
+       export CXX=c++-3.4
+endif
+
 wraps=ORBit-2
 name=$(wraps)-cpp
 libname=lib$(name)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to