*BSD News Article 90590


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!nntp-hub.barrnet.net!inet-nntp-gw-1.us.oracle.com!news
From: Dirk Pranke <dpranke@us.oracle.com>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: i386 netbsd 1.1, ELF, and Linux
Date: Fri, 07 Mar 1997 01:14:41 -0800
Organization: Oracle Corporation. Redwood Shores, CA
Lines: 18
Message-ID: <331FDC81.159D@us.oracle.com>
NNTP-Posting-Host: dpranke-sun.us.oracle.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.4 sun4m)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5577

Can I run Linux ELF binaries on NetBSD 1.1 (on an i386 platform)? 
I'm trying to run a statically linked Linux ELF binary 'foo'

>file foo 
"ELF 32-bit LSB executable, Intel 80386, version 1"

>foo
foo: Exec format error. Wrong Architecture.

I have COMPAT_SVR4 and COMPAT_LINUX turned on in my kernel. Do I need
something else for ELF support? Also, after installing the latest
slackware distribution off of sunsite.unc.edu, ldd-linux fails with
a "bad system call" error. Do I need a different Linux snapshot?
Do I need a newer version of NetBSD?

Thanks in advance,

-- Dirk