Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 1998 01:37:50 -0800 (PST)
From:      rrs@lmi.net
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/9089: egcs-1.1.1  exceptions are not caught, but -fsjljexceptions works
Message-ID:  <199812150937.BAA07580@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         9089
>Category:       ports
>Synopsis:       egcs-1.1.1  exceptions are not caught, but -fsjljexceptions works
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 01:40:00 PST 1998
>Last-Modified:
>Originator:     Rob Schulhof
>Organization:
>Release:        3.0 current (981204)
>Environment:
FreeBSD schoolie.lmi.net 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sat Dec  5 13:36:01 PST 1998     
root@schoolie.lmi.net:/usr/src/sys/compile/SCHOOLIE  i386
>Description:
Even very simple exceptions are not caught, causing SIGABRT core dumps.
Yet, when I use the old short-jump/long-jump exception algorithm, my
test programs do work ( option -fsjlj-exceptions )
>How-To-Repeat:
{
  try { throw((int) 10); }
  catch (int){ cout << "OK" << endl; }
}
>Fix:
I don't know.  I am trying the egcs newsgroups for any ideas. I remember 
somebody posting a patch for exceptions and multi-threaded code.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812150937.BAA07580>