From owner-freebsd-alpha Fri Jan 1 18:21:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25289 for freebsd-alpha-outgoing; Fri, 1 Jan 1999 18:21:49 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25284 for ; Fri, 1 Jan 1999 18:21:47 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from hurricane.cs.duke.edu (hurricane.cs.duke.edu [152.3.145.1]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id VAA13106; Fri, 1 Jan 1999 21:21:18 -0500 (EST) Received: (gallatin@localhost) by hurricane.cs.duke.edu (8.8.4/8.6.9) id VAA19722; Fri, 1 Jan 1999 21:21:18 -0500 (EST) Date: Fri, 1 Jan 1999 21:21:18 -0500 (EST) Message-Id: <199901020221.VAA19722@hurricane.cs.duke.edu> From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Doug Rabson Cc: Dima Ruban , freebsd-alpha@FreeBSD.ORG Subject: Re: OSF/1 binary compatibility In-Reply-To: References: <199812312158.NAA78946@burka.rdy.com> X-Mailer: VM 6.32 under 19.15 XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > On Thu, 31 Dec 1998, Dima Ruban wrote: > > /a/home/dima/sys/modules/osf1/../../alpha/osf1/osf1_signal.c:709: structure > > has no member named `osf_sigtramp' > > *** Error code 1 > > Oops. I think I missed one of Andrew's fixes. I can't find it in my > mailbox at the moment, can you post a diff Andrew? Sorry about that. I'd done a quick cvs diff on my tree before posting the emulator & had thought everything got committed. The missing piece is something I needed to add to the md proc struct because the osf1 emulator needs a way to keep track of a per-process user-level signal trampoline. Let me know if this gets it compiling: Index: /sys/alpha/include/proc.h =================================================================== RCS file: /scratch/freebsd-cvs/src/sys/alpha/include/proc.h,v retrieving revision 1.4 diff -u -r1.4 proc.h --- proc.h 1998/11/15 18:25:16 1.4 +++ proc.h 1998/11/16 16:29:55 @@ -43,6 +43,7 @@ struct pcb *md_pcbpaddr; /* phys addr of the pcb */ struct mdbpt md_sstep[2]; /* two single step breakpoints */ u_int64_t md_hae; /* user HAE register value */ + void *osf_sigtramp; /* user-level signal trampoline */ }; #define MDP_FPUSED 0x0001 /* Process used the FPU */ BTW: Sorry for the delayed response, I'm checking email rather sporadically over the holiday. Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message