This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Signal hang


"Matthew Brown" <mbrown@mediadb.net> writes:
> 
> I am attempting to build libstdc++ 2.90.6 with the following =
> configuration:
> 
> - Windows NT4 sp3
> - cygwin full b20.1
> - Mumit's gcc 2.95.2 installed according to instructions
> 
> The symptom is that when mknumeric_limits runs, it hangs in a loop (CPU =
> is chewed-up and nothing useful happens). When I dig into things, I find =
> that gen-num-limits.exe is where the loop is happening, and, when I dig =
> in farther, I find that the loop is in exception handling code. =
> gen-num-limits is trying to generate divide-by-zero and overflow errors =
> for various intrinsic types; this is where the problem is occurring.
> If I run gen-num-limits interactively (so it spews to the terminal), I =
> see that the behavior is not consistent; sometimes it chokes on =
> divide-by-zero for one type and sometimes for another.

Please see the libstdc++-v3 FAQ that talks about this. We had discussed
this issue in Cygwin developers list (the archives are on-line at
http://sourceware.cygnus.com/ml/cygwin-developers/), but no conclusion
reached as far as I know.

The workaround for now is to use my cygwin-limits package (I have yet 
to upload the package for the latest snapshot, but will do so this 
evening) and follow my instructions.

http://www.xraylith.wisc.edu/~khan/software/gnu-win32/libstdc++-v3.html

Regards,
Mumit

ps: Please leave out the HTML crud in mail messages.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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