Pre 1.5.3-1 static libs

Brian Ford
Fri Sep 12 19:11:00 GMT 2003

After building my own cygwin1.dll with debugging info, I think I figured
out my problem with xfree devel and Cygwin 1.5.3-1 here:

The Xt library is a pre 1.5.3-1 static one.  It calls stat.  At link time,
my test app links with Xt and its stat call is redirected to stat64
incorrectly, thus corrupting the stack.

This appears true indeed via gdb and my debugable cygwin1.dll.  Even so,
could one of the more knowledgeable developers confirm my suspicion.

If confirmed, a short note to cygwin-apps may be in order, adding packages
containing static libraries that make system calls whose arguments have
changed size to the list of ASAP rebuilds.

Thanks for listening.

(Wish I would have helped make this a compile time, rather than link time
feature.  Lazy me.)

Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list