[pkg-boost-devel] Bug#405599: sp_counted_base_gcc_ppc: insufficient
constraints on inline assembly
Aaron M. Ucko
ucko at debian.org
Thu Jan 4 22:48:38 CET 2007
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.
More information about the pkg-boost-devel
mailing list