[Bug c++/12010] New: g++.exp fails to find testsuite_flags when cross-compiling

dank at kegel dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 21 13:17:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12010

           Summary: g++.exp fails to find testsuite_flags when cross-
                    compiling
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dank at kegel dot com
                CC: gcc-bugs at gcc dot gnu dot org

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.



More information about the Gcc-bugs mailing list