From owner-freebsd-alpha Thu Dec 20 6:43:51 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 9BE2337B405 for ; Thu, 20 Dec 2001 06:43:47 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA29253; Thu, 20 Dec 2001 09:43:41 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id fBKEhGg20644; Thu, 20 Dec 2001 09:43:16 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15393.63748.332836.49864@grasshopper.cs.duke.edu> Date: Thu, 20 Dec 2001 09:43:16 -0500 (EST) To: Bernd Walter Cc: Daniel Eischen , freebsd-alpha@FreeBSD.ORG Subject: Re: Munging jmp_bufs on alpha In-Reply-To: <20011220023011.GB67179@cicely9.cicely.de> References: <3C21000F.994BD53D@vigrid.com> <15393.15450.563749.55393@grasshopper.cs.duke.edu> <20011220021555.GA67179@cicely9.cicely.de> <20011220023011.GB67179@cicely9.cicely.de> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bernd Walter writes: > On Thu, Dec 20, 2001 at 03:15:55AM +0100, Bernd Walter wrote: > > On Wed, Dec 19, 2001 at 08:18:18PM -0500, Andrew Gallatin wrote: > > > > > > Daniel Eischen writes: > > > > Included is a sample program that includes the jmp_buf-munging > > > > macros that use to work and that no longer work. [ Drew, you > > > > out there? You got these to work before ;-) ] > > > > > > Unfortunately, I no longer have the time to track -current on alpha.. > > > > > > I do have an idea where the problem might lie -- The alpha longjmp > > > relies on calling sigreturn to switch stacks. I imagine quite a bit > > > has changed in regard to returning from signals in the face of SMPng & > > > KSEs.. > > > > I already took an eye on src/sys/alpha/alpha/machdep.c. > > > > libc_r broke in the time frame between febuary and the 16th july. > > But it also work if compiled static so it might only have been hidden > > until then. > > I just run Daniels testprogram on -stable and it also crashes there. Yes, it appears to crash as far back as 4.3-RELEASE, which is the oldest alpha system I have access to. But it does work if compiled statically.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message