http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60521
Sergei Turchanov <turchanov at farpost dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.8.3 |4.4.7 --- Comment #2 from Sergei Turchanov <turchanov at farpost dot com> --- My bad! I did not correctly specified target GCC version which should really be 4.4.7 and thus code snippet from mutex is ... lock_guard(mutex_type& __m, adopt_lock_t __a) : _M_device(__m) { _M_device.lock(); } ... which does attempt to lock a mutex. Now as I see this bug is fixed in mainline so the question is do you plan any new releases in 4.4.x branch?