public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: insight <insight@sourceware.org>
Subject: Any cygwin savvy developers out there? Cygwin build problem
Date: Wed, 24 May 2006 18:55:00 -0000	[thread overview]
Message-ID: <4474AC36.7050402@redhat.com> (raw)

Hi,

I think there are a few of you out there. Anyone know what the following 
errors might arise from?

Several users have reported this problem to the bug database. I haven't 
seen this on my cygwin machine (Win2k, cygwin updated, insight built on 
19 May 2006). Was hoping someone might have an idea.

Creating library file: libtcl84.a
tclWin32Dll.o: In function `TclpCheckStackSpace':
/home/brgordon/insight-6.4/tcl/win/tclWin32Dll.c:364: undefined 
reference to `__except_checkstackspace_handler'
tclWinChan.o: In function `Tcl_MakeFileChannel':
/home/brgordon/insight-6.4/tcl/win/tclWinChan.c:1056: undefined 
reference to `__except_makefilechannel_handler'
tclWinFCmd.o: In function `DoCopyFile':
/home/brgordon/insight-6.4/tcl/win/tclWinFCmd.c:558: undefined reference 
to `__except_docopyfile_handler'
tclWinFCmd.o: In function `TclpObjRenameFile':
/home/brgordon/insight-6.4/tcl/win/tclWinFCmd.c:204: undefined reference 
to `__except_dorenamefile_handler'
collect2: ld returned 1 exit status
make[3]: *** [tcl84.dll] Error 1
make[3]: Leaving directory `/home/brgordon/insight-6.4/tcl/win'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/brgordon/insight-6.4/tcl'
make[1]: *** [all-tcl] Error 2
make[1]: Leaving directory `/home/brgordon/insight-6.4'
make: *** [all] Error 2

These appear to be all "#ifdef HAVE_NO_SEH" bits which are defined in 
the files with the errors. For example, the undefined symbol 
_except_checkstackspace_handler is defined in TclWin32Dll.c:398:

#ifdef HAVE_NO_SEH
static
__attribute__ ((cdecl,used))
EXCEPTION_DISPOSITION
_except_checkstackspace_handler(
     struct _EXCEPTION_RECORD *ExceptionRecord,
     void *EstablisherFrame,
     struct _CONTEXT *ContextRecord,
     void *DispatcherContext)
{
     __asm__ __volatile__ (
             "jmp checkstackspace_reentry");
     return 0; /* Function does not return */
}
#endif /* HAVE_NO_SEH */

Could this be a gcc-ism? My box is using 3.4.4 cygming special.

Keith

             reply	other threads:[~2006-05-24 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 18:55 Keith Seitz [this message]
2006-05-24 19:59 ` Brian Dessent
2006-05-24 20:04   ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4474AC36.7050402@redhat.com \
    --to=keiths@redhat.com \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).