The use of --sysroot conflicts with this test because it's not passed to COLLECT_GCC_OPTIONS when using -frepo. Since we don't use -frepo, this patch skips the test.
Tested on x86_64/{-m32,-m64}. Committed to google/integration. testsuite/ChangeLog.google-integration 2011-03-14 Diego Novillo <dnovi...@google.com> * g++.dg/rtti/repo1.C: Skip. Google ref 39481. Index: testsuite/g++.dg/rtti/repo1.C =================================================================== --- testsuite/g++.dg/rtti/repo1.C (revision 170776) +++ testsuite/g++.dg/rtti/repo1.C (working copy) @@ -2,6 +2,7 @@ // { dg-options "-frepo" } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } +// { dg-skip-if "-frepo not supported with --sysroot (as it is not passed to COLLECT_GCC_OPTIONS" { *-*-linux* } { "*" } { "" } } #include <typeinfo> template<int> -- This patch is available for review at http://codereview.appspot.com/4290043