[Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

Max Kaehn slothman@electric-cloud.com
Tue Jun 7 00:56:00 GMT 2005


On Mon, 2005-06-06 at 14:33, Christopher Faylor wrote:
> So, I checked in the above and, after changing cygload.exp so that it
> compiles cygload.cc rather than cygload.cpp, I found a more serious
> error.  I've attached the cygload.log file.  It doesn't look pretty,
> unfortunately.  You might notice the same thing if you configure your
> Cygwin DLL with --enable-debugging, like I do.

I'm having trouble replicating the problem.  Here's what I did:

    cd src/build
    rm -rf etc i686-pc-cygwin libiberty
    ../configure --enable-debugging=yes
    make
    cd i686-pc-cygwin/winsup
    make check
    cd testsuite
    runtest --tool cygload

The first time I ran "runtest --tool cygload", I got an error about
mismatched heap addresses, so I copied new-cygwin1.dll to
/bin/cygwin1.dll and reran the test.  That time, it passed.

What am I doing wrong?  I've attached the output of "runtest --tool
cygload -v".  (The mingw-cygwin.log referenced in there is empty.)
I notice that I'm getting warnings about "couldn't find the global
config file" and "couldn't find tool init file", so there may be
something wrong with my test setup.

-------------- next part --------------
Expect binary is /bin/expect
Using /usr/share/dejagnu/runtest.exp as main test driver
Verbose level is 1
Login name is slothman
Found ~/.dejagnurc
.dejagnurc
Found /u/cygwin/src/build/i686-pc-cygwin/winsup/testsuite/site.exp
Using test sources in /u/cygwin/src/winsup/testsuite
Using test binaries in /u/cygwin/src/build/i686-pc-cygwin/winsup/testsuite
Tool root directory is /u/cygwin/src/build/i686-pc-cygwin
Using /usr/share/dejagnu to find libraries
Found /usr/share/dejagnu/libexec/config.guess
Assuming build host is i686-pc-cygwin
WARNING: Couldn't find the global config file.
Loading /usr/share/dejagnu/utils.exp
Loading /usr/share/dejagnu/framework.exp
Loading /usr/share/dejagnu/debugger.exp
Loading /usr/share/dejagnu/remote.exp
Loading /usr/share/dejagnu/mondfe.exp
Loading /usr/share/dejagnu/xsh.exp
Loading /usr/share/dejagnu/telnet.exp
Loading /usr/share/dejagnu/rlogin.exp
Loading /usr/share/dejagnu/kermit.exp
Loading /usr/share/dejagnu/tip.exp
Loading /usr/share/dejagnu/rsh.exp
Loading /usr/share/dejagnu/ftp.exp
Loading /usr/share/dejagnu/target.exp
Loading /usr/share/dejagnu/targetdb.exp
Loading /usr/share/dejagnu/libgloss.exp
WARNING: Couldn't find tool init file
Testing cygload
Opening log files in .
Test Run By slothman on Mon Jun  6 17:52:09 2005
Native configuration is i686-pc-cygwin

		=== cygload tests ===

setting trap for SIGTERM to terminated
setting trap for SIGINT to interrupted by user
setting trap for SIGQUIT to interrupted by user
setting trap for SIGSEGV to segmentation violation
dirlist is /usr/share/dejagnu/baseboards
pushing config for build, name is levinbolt-xp
dirlist is /usr/share/dejagnu/baseboards
pushing config for host, name is levinbolt-xp
Schedule of variations:
    unix

target is unix
Running target unix
dirlist is /usr/share/dejagnu/baseboards/levinbolt-xp /usr/share/dejagnu/baseboards
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /u/cygwin/src/winsup/testsuite/config/default.exp as tool-and-target-specific interface file.
pushing config for target, name is unix
Running /u/cygwin/src/winsup/testsuite/cygload/cygload.exp ...
running gcc -mno-cygwin /u/cygwin/src/winsup/testsuite/cygload/cygload.cc -o mingw-cygload.exe -lstdc++ -Wl,-e,_cygloadCRTStartup@0

running ./mingw-cygload.exe -cygwin u:/cygwin/src/build/i686-pc-cygwin/winsup/cygwin/cygwin0.dll > ./mingw-cygwin.log


		=== cygload Summary ===

# of expected passes		1
runtest completed at Mon Jun  6 17:52:14 2005


More information about the Cygwin-patches mailing list