Hi, As part of learning more about DejaGnu, I was trying to run dejagnu for the cross compiler, which was built for my FreeBSD machine. My host machine is running Linux.
I was referring http://kegel.com/crosstool/current/doc/dejagnu-remote-howto.html and I could successfully run the remote test with simple.exp. The entries in myboard_sshscp.exp are: set sysroot "/path/to/sysroot/of/freebsd8" set_board_info ldscript "" set_board_info compiler /absolute/path/to/bin/i386-pc-freebsd8-gcc set_board_info hostname <hostname> set_board_info username jestin set_board_info shell_prompt "entry>" set_board_info rsh_prog /usr/bin/ssh set_board_info rcp_prog /usr/bin/scp I tried running the below in my gcc build directory. $RUNTESTFLAGS="--target_board=myboard_sshscp" make check-gcc It fails with the following error: FAIL: objc.dg/bitfield-1.m -fgnu-runtime (test for excess errors) The error code is NONE The info on the error is: invalid command name "objc_load" while executing "::tcl_unknown objc_load ./bitfield-1.exe" ("uplevel" body line 1) invoked from within "uplevel 1 ::tcl_unknown $args" ERROR: (DejaGnu) proc "objc_load ./bitfield-1.exe" does not exist. === objc Summary === # of expected passes 171 # of unexpected failures 1 I can see "Download of ./tls_runtime31782.exe to myboard_sshscp failed" in gcc/testsuite/gcc/gcc.log. A snapshot is given below. Executing on host: /../crossgccbuild/gcc/xgcc -B/.../crossgccbuild/gcc/ tls_runtime31782.c -fno-diagnostics-show-caret -lm -o tls_runtime31782.exe (timeout = 300) spawn -ignore SIGHUP /.../crossgccbuild/gcc/xgcc -B/.../crossgccbuild/gcc/ tls_runtime31782.c -fno-diagnostics-show-caret -lm -o tls_runtime31782.exe^M Download of ./tls_runtime31782.exe to myboard_sshscp failed. UNSUPPORTED: gcc.c-torture/compile/pr44686.c -O0 UNSUPPORTED: gcc.c-torture/compile/pr44686.c -O1 I am not sure if I am missing something in myboard_sshscp.exp. I am able to run the binaries on my freebsd machine. The remote test site.exp is also working. Could someone help me with this issue, please? Regards, Jestin
_______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu