From owner-freebsd-hackers Wed Jul 21 8: 3:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id C6EED154B5 for ; Wed, 21 Jul 1999 08:03:28 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id LAA91427; Wed, 21 Jul 1999 11:01:42 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Wed, 21 Jul 1999 11:01:41 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Dag-Erling Smorgrav Cc: hackers@FreeBSD.org Subject: Re: BSDI binary compatibility In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21 Jul 1999, Dag-Erling Smorgrav wrote: > What kinds of BSDI binaries are we supposed to be able to run? I > haven't had any luck getting *any* BSDI binaries to run on my (very > recent) 4.0-CURRENT box. I have a handful of BSDI binaries, some of > which are identified as: > > des@des ~/yes/bsdi/shopsite% file wwwinstall.cgi > wwwinstall.cgi: unknown pure executable > des@des ~/yes/bsdi/shopsite% ./wwwinstall.cgi > zsh: bus error (core dumped) ./wwwinstall.cgi I Have some too, as such: {"/home/green/ast/bin"}$ file ksh ksh: BSD/OS i386 compact demand paged executable not stripped {"/home/green/ast/bin"}$ ./ksh -c 'echo "Hello!"' Hello! > > others (ls and cat from BSDI 4.0): > > des@des ~/yes/bsdi/cmc% file ./ls > ./ls: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, stripped > des@des ~/yes/bsdi/cmc% ./ls > ELF binary type not known. Use "brandelf" to brand it. > zsh: abort ./ls > > and finally a few static ones Chris Costello was kind enough to build > for me: > > des@des ~/yes/bsdi/cmc/bsdi_static% file hello > hello: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped > des@des ~/yes/bsdi/cmc/bsdi_static% ./hello > ELF binary type not known. Use "brandelf" to brand it. > zsh: abort ./hello We aren't compatible with BSD/OS ELF in emulation. We've been compatible with their a.out for years, but that's it. It's possible that if you brandelf them to be of type "FreeBSD", they will work. > > DES > -- > Dag-Erling Smorgrav - des@yes.no > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message