This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

mingw packaging bug (Was: opendir crashes with -mno-cygwin)


Hi there.

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.

Regards,

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


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