Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.2.7.0.20010409101738.00b61970@irispavp.igb.umontreal.ca> X-Sender: bleau2 AT irispavp DOT igb DOT umontreal DOT ca X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 09 Apr 2001 10:49:22 -0400 To: cygwin AT sources DOT redhat DOT com From: Andre Bleau Subject: mingw packaging bug (Was: opendir crashes with -mno-cygwin) Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA27056 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