id summary reporter owner description type status milestone component version severity resolution keywords cc 1810 HP-UX, PA-RISC, GCC 4.1+ sp_counted_base.hpp Yves Pausch Peter Dimov "Hi, I can't link executables or shared libs 'cause of the following dependency produced by sp_counted_base.hpp and friends:[[BR]] {{{ /usr/ccs/bin/ld: Unsatisfied symbols: __sync_fetch_and_add_4 (first referenced in ...) (code) __sync_val_compare_and_swap_4 (first referenced in ...) (code) }}} One can simply reproduce this behavior building this sample: {{{ #include int main() { boost::shared_ptr spi ; } }}} I don't know if this is a general solution but for me it helps to patch the mentioned file:[[BR]] {{{ ... #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) # include ... }}} {{{ ... #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined(__hpux) # include ... }}} After that, the compiler passes BOOST_HAS_PTHREADS section and includes sp_counted_base_pt.hpp which works.[[BR]] Thanks for considering to solve this issue.[[BR]] Cheers, Yves." Bugs closed To Be Determined smart_ptr Boost 1.35.0 Problem fixed Boris.Gubenko@…