libstdc++ testsuite failure on AIX

Mark Mitchell mark@codesourcery.com
Fri Mar 25 16:27:00 GMT 2005


David Edelsohn wrote:
> 	The libstdc++ testsuite now fails to run on AIX with the following
> error in the log file:


I don't suppose you have a box I can log into?

Is the command-line being used to compile testsuite_abi.cc making it 
into the log file?

Try making this change to testsuite/lib/libstdc++.exp.  Where it does:

        set object_file [file rootname $f].o
         if { [v3_target_compile $srcdir/$f $object_file "object" \
                "incdir=$srcdir"]
              != "" } {
             error "could not compile $f"
         }

change that to:

        set object_file [file rootname $f].o
        set output [v3_target_compile $srcdir/$f $object_file "object" \
                    "incdir=$srcdir"]
        verbose -log "XXX\n${output}\nXXX\n"
        if { $output != "" } {
             error "could not compile $f"
         }

That should put the output from the compiler between the XXX lines in 
the log file.  That should give us a clue as to what's going wrong.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Libstdc++ mailing list