------- Comment #5 from paolo dot carlini at oracle dot com 2009-10-09 13:52 ------- Indeed, the system library should not be used at all, but in your example above the system library *is* used unless you make sure to properly install everything, set the appropriate LD_LIBRARY_PATH, etc. In other terms, I would be curious to know what happens if you just build everything, install it, and then use normally the new compiler, for example to compile and run outside the testsuite some tests... If everything works, it's just some sort of weird testsuite issue.
PS: in case you didn't notice already, libtestc++.a is built by v3-build_support in libstdc++.exp, indeed, the system stuff should not be involved at all... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41645