Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 11:56:48 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        "Alexander N. Kabaev" <ak03@gte.com>
Cc:        "David O'Brien" <obrien@nuxi.com>, current@FreeBSD.ORG, Maxim Sobolev <sobomax@altavista.net>
Subject:   Re: C++ exceptions doesn't work in shared libraries
Message-ID:  <20000117115648.C53965@relay.nuxi.com>
In-Reply-To: <XFMail.000117145100.ak03@gte.com>
References:  <20000117110814.J7184@dragon.nuxi.com> <XFMail.000117145100.ak03@gte.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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