If you try to run 'make check' on a cross-compiler, it fails with /testsuite_flags: /testsuite_flags: No such file or directory while executing "exec sh ${odir_v3}/testsuite_flags --build-includes" (procedure "g++_include_flags" line 21) invoked from within "g++_include_flags [get_multilibs] " (procedure "g++_init" line 63) invoked from within "${tool}_init $test_file_name" (procedure "runtest" line 19) ... make[1]: [check-g++] Error 1 (ignored) See the first hunk of http://www.kegel.com/crosstool/current/gcc-3.3.1-patches/gcc-3.2.3-g++.exp.patch or http://www.kegel.com/crosstool/current/gcc-3.4-20030813-patches/gcc-3.4-20030813-g++.exp.patch respectively for a fix.
Same problem occurs in libstdc++{,-v3}.exp. See http://www.kegel.com/crosstool/current/gcc-3.3.1-patches/gcc-3.3-libstdc++-v3-dg.exp.patch or http://www.kegel.com/crosstool/current/gcc-3.4-20030813-patches/gcc-3.4-20030813-libstdc++.exp.patch for a fix.
Can you please post your patches to gcc-patches@gcc.gnu.org?
OK. Cleaned-up patch posted as http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01259.html
Confirmed.
Move to 3.5 for now.
Actually this was fixed with r0-46571-ga15791b0c9f8ab in GCC 3.4.0. And then r0-50801-g7dfa28ba07d486 removed the non-v3 related changes too. The patch was not needed when it was posted nor it was needed for a GCC 3.4.0.