From owner-freebsd-alpha Sun Aug 27 15:15:32 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from eel.radicalmedia.com (eel.radicalmedia.com [204.254.246.9]) by hub.freebsd.org (Postfix) with ESMTP id E253D37B424 for ; Sun, 27 Aug 2000 15:15:27 -0700 (PDT) Received: (from phiber@localhost) by eel.radicalmedia.com (8.9.3/8.9.3) id SAA17704; Sun, 27 Aug 2000 18:15:25 -0400 (EDT) Date: Sun, 27 Aug 2000 18:15:24 -0400 From: Mark Abene To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org Subject: Re: alphalinux object files and freebsd... Message-ID: <20000827181524.B14255@radicalmedia.com> References: <20000818005817.E3795@radicalmedia.com> <14761.34782.124696.752369@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <14761.34782.124696.752369@grasshopper.cs.duke.edu>; from Andrew Gallatin on Sun, Aug 27, 2000 at 05:29:25PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm running 4.1-RELEASE. The object files I'm speaking of are in the libem486.a library that comes with the fx!32 source rpm. If you can give it a try or need more details, please let me know. What I'm aiming to do is explore the possibility of using fx!32's instruction execution unit to speed up Bochs, so we could have a reasonably fast PC emulator. Bochs is currently rather slow for running Windows, even on fast machines, since none of it is in assembler (all c++). Cheers, -Mark On Sun, Aug 27, 2000 at 05:29:25PM -0400, Andrew Gallatin wrote: > > > Mark Abene writes: > > Greetings. I have a couple of small relocateable object files that were > > built on AlphaLinux, for which I do not have the source. The objects make > > up a library which along with some header files outline the calling convention. > > > > I want to be able to link these object files on FreeBSD/Alpha natively without > > having to use the emulated alphalinux compiler tools. The objects are > > elf64-alpha, however when I try to link the library (it's an ar archive), I > > get a screen full of fatal "relocation truncated to fit: REFLONG blah" errors. > > I've tried extracting the object files and objcopy'ing them (no args), but > > I get the same errors. Is there some silly difference between elf64-alpha > > relocateable objects created on AlphaLinux versus FreeBSD? > > > > Odd. I've been linking Compaq's linux math library into FreeBSD > objects with no problem on 4.1-RELEASE. How old is your > installation. > > 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