https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118716
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Again the bug in libstdc++ was not fixed until gcc 4.6.3. And you have been lucky to have it work before hand. You could modify the old libstdc++ header to include always_inline on that symbol and that workaround the issue but that is not supported.