http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49375
Summary: Target libstdc++.so used by host cc1plus Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com When ppl is used, cc1plus may be linked against libppl.so, which depends on host libstdc++.so. When LD_LIBRARY_PATH is set to target libstdc++.so to run C++ tests, target libstdc++.so, which was just built and may be incompatible with host libstdc++.so. In my case, host libstdc++.so is from GCC 4.6 and target libstdc++.so is from GCC 4.5. As the result, all C++ tests failed.