[pkg-boost-devel] Bug#405599: sp_counted_base_gcc_ppc: insufficient constraints on inline assembly

Aaron M. Ucko ucko at debian.org
Fri Jan 5 02:06:34 CET 2007

I think bug #405599 may be responsible for #404616 (which I tried to

> Package: libboost-dev
> Version: 1.33.1-9
> Severity: important
> File: /usr/include/boost/detail/sp_counted_base_gcc_ppc.hpp
> Tags: patch
> Several functions in sp_counted_base_gcc_{ppc,ia64}.hpp specify their
> read-write *pw argument only as an output operand to their inline
> assembly code, potentially running afoul of gcc's optimizer.  (This
> can definitely be a problem with GCC 4.0.1 on Mac OS X, and I know of
> no reason it wouldn't also affect 4.1.1 on Linux.)
> http://www.nabble.com/missing-__volatile__-tags-in-sp_counted_base_gcc_xxx.hpp-t1274670.html
> has more details, and Boost's upstream developers committed fixes last
> March:
> http://boost.cvs.sourceforge.net/boost/boost/boost/detail/sp_counted_base_gcc_ia64.hpp?r1=1.2&r2=1.3&view=patch
> http://boost.cvs.sourceforge.net/boost/boost/boost/detail/sp_counted_base_gcc_ppc.hpp?r1=1.4&r2=1.5&view=patch
> This could conceivably be the root cause of #404616.

Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu at monk.mit.edu (NOT a valid e-mail address) for more info.

More information about the pkg-boost-devel mailing list