This is the mail archive of the
mailing list for the Cygwin project.
mingw packaging bug (Was: opendir crashes with -mno-cygwin)
- To: cygwin at sources dot redhat dot com
- Subject: mingw packaging bug (Was: opendir crashes with -mno-cygwin)
- From: Andre Bleau <bleau at igb dot umontreal dot ca>
- Date: Mon, 09 Apr 2001 10:49:22 -0400
I've been chasing a bug I had when running programs using opendir and
compiled with -mno-cygwin. I traced the bug to
/usr/lib/mingw/libmingw32.a(dirent.o) in the latest mingw package
(mingw-20010130-1.tar.gz), so I downloaded the source of that package to
debug it. I created a new empty "test" dir in /cygwin-1.1.8-1/winsup, ran
../mingw/configure, than make.
There is no bug in the libmingw32.a(dirent.o) thus produced; my sample app
runs without crashing when I link with it, but it crashes when linked with
/usr/lib/mingw/libmingw32a. I noticed that files sizes for the objects and
libs produced from the source with gcc-2.95.3-2 are different than those in
/usr/lib/mingw. I used strip -g on my compiled objects.
So I suspect that by some packaging problem, some wrong objects got into
the binary mingw-20010130-1.tar.gz package.
André Bleau, Cygwin's OpenGL package maintainer.
email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple