http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47762
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-18 12:19:04 UTC --- But anyway -static-libstdc++ works on Linux too to avoid the link-time problem. Still (on x86_64-linux) the testcase runs Ok for me.