http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55866
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-03 16:55:04 UTC --- It's an error in the package and only worked "by accident" because $PREFIX/include/c++/4.x.y/backward is in the include path, to allow <strstream> to be found. The only supported way to use std::auto_ptr is #include <memory>