Building libsigsegv on Cygwin64
Mon Mar 3 17:24:00 GMT 2014
On Mar 3 16:02, Corinna Vinschen wrote:
> On Mar 2 12:20, Ken Brown wrote:
> > I found the problem (or at least I found *a* problem): There's a
> > configure test "checking whether a fault handler according to POSIX
> > works", which passes on 32-bit Cygwin but fails on 64-bit Cygwin.
> > I'm attaching a file containing the configure test. Here's what
> > happens in the 64-bit case:
> > $ gcc -o fault fault.c
> > $ ./fault.exe
> > $ echo $?
> > 1
> > In the 32-bit case, the exit code is 0.
> > I don't know if this indicates a Cygwin bug or something wrong with
> > the test.
> It indicates a Cygwin bug. Thanks for the report and the testcase.
> The joke here is, the signal handler function gets called twice for the
> same exception. Proof is that you can remove the second call to crasher
> and still sigsegv_handler gets called twice.
I just created a new snapshot which contains the fix. Would you mind
to test it? It doesn't fix the fact that libsigsegv is missing 64 bit
Windows/Cygwin support, of course...
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Cygwin