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

boost 1.33.1-10 migration to etch



hi,

  this release solves a subtle bug on powerpc and possibly other
archs. it has been triggered by monotone (RC #404616) but other software
might be affected as well. you could even consider a binary NMU for
such software distributed in etch, since the bug is in inlined code.

debdiff with previous upload follows. i think migration to etch should
be allowed.

thanks for your time and work.

regards
domenico


$ debdiff boost_1.33.1-9.dsc boost_1.33.1-10.dsc
diff -u boost-1.33.1/debian/changelog boost-1.33.1/debian/changelog
--- boost-1.33.1/debian/changelog
+++ boost-1.33.1/debian/changelog
@@ -1,3 +1,12 @@
+boost (1.33.1-10) unstable; urgency=medium
+
+  * boost/detail/sp_counted_base_gcc_ia64.hpp,
+    boost/detail/sp_counted_base_gcc_ppc.hpp: added missing constraints
+    on inline assembly.  Closes: #405599.
+    Patch courtesy of Aaron M. Ucko <ucko@debian.org>, from upstream CVS.
+
+ -- Domenico Andreoli <cavok@debian.org>  Fri,  5 Jan 2007 10:23:10 +0100
+
 boost (1.33.1-9) unstable; urgency=low
 
   * boost/property_map_iterator.hpp: added missing namespace.  Closes: #397654.
only in patch2:
unchanged:
--- boost-1.33.1.orig/boost/detail/sp_counted_base_gcc_ppc.hpp
+++ boost-1.33.1/boost/detail/sp_counted_base_gcc_ppc.hpp
@@ -47,7 +47,7 @@
         "bne- 0b":
 
         "=m"( *pw ), "=&b"( tmp ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "cc"
     );
 }
@@ -69,7 +69,7 @@
         "isync":
 
         "=m"( *pw ), "=&b"( rv ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "memory", "cc"
     );
 
@@ -95,7 +95,7 @@
         "bne- 0b":
 
         "=m"( *pw ), "=&b"( rv ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "cc"
     );
 
only in patch2:
unchanged:
--- boost-1.33.1.orig/boost/detail/sp_counted_base_gcc_ia64.hpp
+++ boost-1.33.1/boost/detail/sp_counted_base_gcc_ia64.hpp
@@ -35,7 +35,7 @@
     // cheaper.
     __asm__ ("fetchadd8.rel %0=[%2],1" :
          "=r"(tmp), "=m"(*pw) :
-         "r"(pw));
+         "r"(pw), "m"( *pw ));
 }
 
 inline long atomic_decrement( long * pw )
@@ -48,7 +48,7 @@
              "     cmp.eq        p7,p0=1,%0 ;; \n"
              "(p7) ld8.acq       %0=[%2]    " :
              "=&r"(rv), "=m"(*pw) :
-             "r"(pw) :
+             "r"(pw), "m"( *pw ) :
              "p7");
 
     return rv;
@@ -72,7 +72,7 @@
          "     mov          %0=%1             ;; \n"
          "1:" : 
          "=&r"(rv), "=&r"(tmp), "=&r"(tmp2), "=m"(*pw) :
-         "r"(pw) :
+         "r"(pw), "m"( *pw ) :
          "ar.ccv", "p7");
 
     return rv;
$

-----[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50



Reply to: