Date: Wed, 21 Jul 1999 11:01:41 -0400 (EDT) From: "Brian F. Feldman" <green@FreeBSD.org> To: Dag-Erling Smorgrav <des@yes.no> Cc: hackers@FreeBSD.org Subject: Re: BSDI binary compatibility Message-ID: <Pine.BSF.4.10.9907211058290.89662-100000@janus.syracuse.net> In-Reply-To: <xzpg12idyoa.fsf@des.follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907211058290.89662-100000>
