g++ testresult problem on i686

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Tue Nov 14 05:57:00 GMT 2000


At 14:46 14.11.00, David Ronis wrote:

>Something's broken in the g++ testsuite for gcc-ss 2.97 20001113 on an
>i686-linux-gnu box.  When I run make check, my logs show:
>
>
>                 === g++ tests ===
>
>Schedule of variations:
>     unix
>
>Running target unix
>Using /usr/local/share/dejagnu/baseboards/unix.exp as board description 
>file for target.
>Using /usr/local/share/dejagnu/config/unix.exp as generic interface file 
>for target.
>Using /home/ronis/Project/notar/gcc/gcc/testsuite/config/default.exp as 
>tool-and-target-specific interface file.
>Running 
>/home/ronis/Project/notar/gcc/gcc/testsuite/g++.dg/special/ecos.exp ...
>couldn't execute "/mkcheck": no such file or directory
>     while executing
>"exec ${odir_v3}/mkcheck 2 ${odir_v3} ${sdir_v3}"
>     (procedure "g++_include_flags" line 21)
>     invoked from within
>"g++_include_flags"
>     (procedure "g++_init" line 58)
>     invoked from within
>"${tool}_init $test_file_name"
>     (procedure "runtest" line 19)
>     invoked from within
>"runtest $test_name"
>     ("foreach" body line 42)
>     invoked from within
>"foreach test_name [lsort [find ${dir} *.exp]] {
>                         if { ${test_name} == "" } {
>                             continue
>                         }
>                         # Ignore this one if asked to.
>                         if { ${ignore..."
>     ("foreach" body line 36)
>     invoked from within
>"foreach dir "${test_top_dirs}" {
>                 if { ${dir} != ${srcdir} } {
>                     # Ignore this directory if is a directory to be
>                     # ignored.
>                     if {[info..."
>     ("foreach" body line 78)
>     invoked from within
>"foreach pass $multipass {
>
>         # multipass_name is set for `record_test' to use (see framework.exp).
>         if { [lindex $pass 0] != "" } {
>             set multipass_..."
>     ("foreach" body line 55)
>     invoked from within
>"foreach current_target $target_list {
>     verbose "target is $current_target";
>     set current_target_name $current_target;
>     set tlist [split $curr..."
>     (file "/usr/local/share/dejagnu/runtest.exp" line 1585)
>
>make[1]: [check-g++] Error 1 (ignored)
>
>
>Looks like odir_v3 hasn't been defined.  I configure and build in a
>directory separate from the sources.

configure threads explicitly with --enable-threads=posix instead of the 
simple --enable-threads.

Franz.



More information about the Gcc-bugs mailing list