From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24058 invoked by alias); 5 Feb 2003 07:11:10 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24051 invoked from network); 5 Feb 2003 07:11:07 -0000 Received: from unknown (HELO smarthost1.mail.easynet.fr) (212.180.1.68) by 172.16.49.205 with SMTP; 5 Feb 2003 07:11:07 -0000 Received: from [212.11.34.181] (helo=mac.com) by smarthost1.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id 18gJi6-0003wh-00; Wed, 05 Feb 2003 08:11:06 +0100 Date: Wed, 05 Feb 2003 07:11:00 -0000 Subject: Re: Exceptions not caught on AIX 4.3.3 with gcc 3.0.4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: To: John Love-Jensen From: =?ISO-8859-1?Q?R=E9mi_Zara?= In-Reply-To: Message-Id: Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-02/txt/msg00034.txt.bz2 Le mardi, 4 f=E9v 2003, =E0 18:04 Europe/Paris, John Love-Jensen a =E9crit : > It was supposed to be fixed in 3.0, but I recall (vaguely) that it=20 > hadn't > been quite fixed correctly. I don't know the exact 3.0 details, and I=20 > may > be mistaken about 3.0. > > Exceptions thrown out of shared libraries MAY have been fixed in 3.1=20 > or 3.2. > I haven't tested them, as we're using a strict C ABI with shared=20 > libraries, > so we do not throw exceptions over shared library boundaries. My problem happen even if I throw an exception in main() and catch it=20 immediately... > Note: with 2.95, one could have a problem even with exceptions throw=20 > and > caught WITHIN a shared library. The library needed to be built a=20 > special > way (early binding). > The above is pertinent to SunOS, so may or may not be apropos for AIX. > > Possible solutions are to use a static library (.a), or to upgrade to=20 > the > latest released GCC (3.2.x). I guess I will have to try with 3.2.x, then. Thanks for your help, R=E9mi -- R=E9mi Zara web: http://www.remi-zara.net/