From owner-freebsd-current Thu Jan 13 19:20: 7 2000 Delivered-To: freebsd-current@freebsd.org Received: from msk1.mail.ru (mx1.mail.ru [194.67.23.32]) by hub.freebsd.org (Postfix) with ESMTP id 1353614CAC; Thu, 13 Jan 2000 19:20:03 -0800 (PST) (envelope-from kabaev@mail.ru) Received: from h0050da20495b.ne.mediaone.net ([24.147.104.88] helo=kan.ne.mediaone.net) by msk1.mail.ru with esmtp (Exim 3.02 #116) id 128xOg-000OXu-00; Fri, 14 Jan 2000 06:27:34 +0300 Received: (from kan@localhost) by kan.ne.mediaone.net (8.9.3/8.9.3) id WAA06887; Thu, 13 Jan 2000 22:19:57 -0500 (EST) (envelope-from kan) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <387CAD7B.678B03E3@altavista.net> Date: Thu, 13 Jan 2000 22:19:57 -0500 (EST) From: "Alexander N. Kabaev" To: Maxim Sobolev Subject: Re: C++ exceptions doesn't work in shared libraries Cc: current@FreeBSD.ORG, obrien@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I tried to investigate this problem and the following is what I've found so far: It looks like we are dealing with gcc -O code generation bug. I recompiled libgcc and libgcc_r without -O flag and everything works just fine, including the sample from PR3441. Unfortunately, I was unable to locate exact place where it blows yet, although _builtin_setjmp seems to be very suspicious. I will post the result of my 'investigation' if something interesting will come out of it :) On 12-Jan-00 Maxim Sobolev wrote: > David O'Brien wrote: > >> On Wed, Jan 12, 2000 at 10:01:42AM +0200, Maxim Sobolev wrote: >> > Is there are any compiler guys to address my question or not? >> >> There is, I'm the one. But there are a few things ahead in the queue. > > Please excuse me if I've offended you, but I just doubted that no one has > read > my message, so I've tried to check for sure ;). Hovewer it seems that I've > selected wrong way to do it, so I'll try to be more patient in the future. > >> Of course a patch would make things go much faster. > > Unfortunately, I'm not one of the "compiler gurus", so it would be almost > impossible for me to fix this problem. > > -Maxim > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message ---------------------------------- E-Mail: Alexander N. Kabaev Date: 13-Jan-00 Time: 22:06:51 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message