From owner-freebsd-alpha Fri Sep 25 00:25:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15555 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 00:25:52 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA15548 for ; Fri, 25 Sep 1998 00:25:50 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id AAA18028; Fri, 25 Sep 1998 00:25:25 -0700 (PDT) Message-Id: <199809250725.AAA18028@burka.rdy.com> Subject: Re: nevermind :-) In-Reply-To: <199809242342.JAA10756@cimlogic.com.au> from John Birrell at "Sep 25, 1998 9:42:45 am" To: jb@cimlogic.com.au (John Birrell) Date: Fri, 25 Sep 1998 00:25:24 -0700 (PDT) Cc: dfr@nlsystems.com, dima@best.net, freebsd-alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Birrell writes: > The compiler is just gcc, like on i386. On alpha, though, there are > linker issues associated with walking the stack on exceptions. OSF/1 > or Digital Unix or Compaq DIGITAL Unix or what ever it's called this > week has mips derived code in the linker to create a linkage table > which allows a pc address to be looked up to find out which function > it is in. GNU binutils has this code for mips, not alpha. In the alpha > sources, there are places where some of the mips code exists but is > #ifdef'd out. For some reason, the mips code only applies to shared > programs. This is a bit odd. I got to the point where I was about to go > ask the binutils people, but I must have had a context switch from which > I have never returned. 8-) Was it a voluntary context switch, since it's pretty clear that an event that you were waiting for never arrived :-) Or some resource wasn't and isn't available. How about to push some magic button called panic? ;-) > I was working in a cross-compiled mode to get Modula-3 to work for > FreeBSD/Alpha. Since Modula-3 works on OSF/1, I built that, then > made mods so that it would use remote commands for the backend tools > (gcc, ar, ld). I was able to build the whole thing that way. Without > the stack walking code, though, the programs just spit an error and > exit. I can see that. Well, let's ask binutils dudes then. > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message