This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with testsuite


Hi,

I wanted to test libstdc++-v3 on several plateforms. I tried on a
sparc-sun-solaris2.8.

mkdir build-gcc
cd build-gcc
../gcc/configure --prefix /tmp/install_gcc --enable-shared
--enable-languages=c++
make bootstrap

No problem.

$ runtest --version
WARNING: Couldn't find the global config file.
Expect version is       5.32.1
Tcl version is          8.2
Framework version is    1.4.1

sparc-sun-solaris2.8/libstdc++-v3$ make check
[SNIP]
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
[SNIP]
Running target unix
Using /export/shop/stow/dejagnu-1.4.1/share/dejagnu/baseboards/unix.exp
as board description file for target.
Using /export/shop/stow/dejagnu-1.4.1/share/dejagnu/config/unix.exp as
generic interface file for target.
Using /appli/GCC/ourson/gcc/libstdc++-v3/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running
/appli/GCC/ourson/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp ...
ERROR: tcl error sourcing
/appli/GCC/ourson/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp.
ERROR: wrong # args: should be "regsub ?switches? exp string subSpec
varName"
    while executing
"regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text """
    (procedure "prune_warnings" line 148)
    invoked from within
"prune_warnings [lindex $status 1"
    (procedure "default_target_compile" line 309)
    invoked from within
"default_target_compile $source $destfile $type $options"
    (procedure "target_compile" line 6)
    invoked from within
"target_compile $source $dest $type $options"
    (procedure "libstdc++-v3_target_compile" line 21)
    invoked from within
"libstdc++-v3_target_compile "$prog" "$output_file" "$compile_type"
$options"
    (procedure "libstdc++-v3-dg-test" line 41)
    invoked from within
"${tool}-dg-test $prog [lindex ${dg-do-what} 0] "$tool_flags
${dg-extra-tool-flags}""
    (procedure "dg-test" line 106)
    invoked from within
"dg-test $testcase $flags ${default-extra-flags}"
    (procedure "dg-runtest" line 10)
    invoked from within
"dg-runtest [lsort [glob -nocomplain $srcdir/*/*.cc]] \
        "" $DEFAULT_CXXFLAGS"
    (file
"/appli/GCC/ourson/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp"
line 43)
    invoked from within
"source
/appli/GCC/ourson/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/appli/GCC/ourson/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

Question is: what's the problem?

Regards,

--
Benoît Sibaud
R&D Engineer - France Telecom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]