This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Building libsigsegv on Cygwin64

On 3/2/2014 12:20 PM, Ken Brown wrote:
On 2/21/2014 10:32 AM, Angelo Graziosi wrote:
Trying to build libsigsegv-2.10 on Cygwin64 (using the src tarball and
its .cygport file from x86 distribution), fails as follows

libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src -I.. -I.
-I/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src -ggdb -O2 -pipe


-c /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler.c
-DDLL_EXPORT -DPIC -o .libs/handler.o
In file included from
/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler-win32.c: In
function 'main_exception_filter':

error: 'struct _CONTEXT' has no member named 'Esp'
                ExceptionInfo->ContextRecord->Esp = new_safe_esp;

error: 'struct _CONTEXT' has no member named 'Eip'
                ExceptionInfo->ContextRecord->Eip = (unsigned
Makefile:399: set di istruzioni per l'obiettivo "handler.lo" non riuscito
make[1]: *** [handler.lo] Errore 1
make[1]: uscita dalla directory "/works/tmp/libsigsegv-2.10-1/build/src"
Makefile:344: set di istruzioni per l'obiettivo "install-recursive" non
make: *** [install-recursive] Errore 1

Since my Cygwin64 is a fesh installation, I wonder if I missed to
installe some needed packages... or is that error to be expected on

I found the problem (or at least I found *a* problem):  There's a

Sorry, this is obviously not *the* problem. The problem I found needs to be addressed, but the problem Angelo encountered is exactly what Corinna said: The code in handler-win32.c needs to be extended to work in the x86_64 case, as is done on other platforms in handler-unix.c.


Problem reports:
Unsubscribe info:

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