Build problem
gregory.menke at gsfc.nasa.gov
gregory.menke at gsfc.nasa.gov
Wed Mar 24 20:48:07 UTC 2004
Cygwin does suffer from handle leaks that persist even after exiting
all Cygwin tasks. To release them you have to reboot the OS- I get
the same behavior on NT4 and Win2k.
For me, it shows up when I do a multilib PowerPC toolchain build under
cygwin- about halfway through. Different versions of cygwin have
different handle leak characteristics, a fairly detailed search shows
this has been more or less of a problem for at least a couple years.
You can watch the handles leak via the Task Manager.
Its not a memory exhaustion problem, but a handle problem- whatever
they are, presumably mutexes/semaphores- whatever, that aren't being
freed properly that Windows allows to leak.
Gregm
Steve Strobel writes:
> Welcome to the crowd :( There are several of us on this list that have run into the build_alias problem when compiling RTEMS with Cygwin. We have found various things to help, but as far as I know, no one has nailed down the exact problem or a way to consistently fix it. You can check the archive for details, but the following are some of the things that have been mentioned as workarounds:
>
> - Rebooting right before starting a build
> - Running no unnecessary software during it
> - Rearranging the order in which the options to "configure" are specified
> - Copying bash to sh
> - Disabling any real-time antivirus checking
> - Disconnecting from the network
>
> Things that didn't seem to help:
> - Doubling the amount of memory in the PC (from 256 to 512MB)
>
> Steve
>
More information about the users
mailing list