From owner-freebsd-current Mon Jan 17 11:56:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id EACA314D1B for ; Mon, 17 Jan 2000 11:56:49 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.3/8.9.3) id LAA57999; Mon, 17 Jan 2000 11:56:48 -0800 (PST) (envelope-from obrien) Date: Mon, 17 Jan 2000 11:56:48 -0800 From: "David O'Brien" To: "Alexander N. Kabaev" Cc: "David O'Brien" , current@FreeBSD.ORG, Maxim Sobolev Subject: Re: C++ exceptions doesn't work in shared libraries Message-ID: <20000117115648.C53965@relay.nuxi.com> Reply-To: obrien@NUXI.com References: <20000117110814.J7184@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: X-Operating-System: FreeBSD 3.4-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 17, 2000 at 02:51:00PM -0500, Alexander N. Kabaev wrote: > As I already pointed out in private message, this bug is in fact i386 > specific and it was wrong to fix it in gcc/except.c file. The real > problem is that default builtin_setjmp implementation does not restore > any registers except for stack pointers when doing nonlocal jump. This > means, that every platform, that needs to store/restore some other > state between jumps, has to provide appropriate definitions for > builtin_setjmp_setup and builtin_setjmp_receiver RTL expansions. Why doesn't OpenBSD, Linux, or Solaris x86 need this patch? > That is exactly what I do in a second (improved, I hope) patch I have > sent to David yesterday. I may go with this patch, but I need to understand more why it is needed before I take a file off the vendor branch. Any help would be appreciated. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message