Date: Sun, 14 Nov 1999 20:51:45 -0500 (EST) From: "Mark W. Krentel" <krentel@dreamscape.com> To: freebsd-emulation@freebsd.org Subject: unbranded, static linux binaries Message-ID: <199911150151.UAA01121@dreamscape.com>
next in thread | raw e-mail | index | archive | help
I think the linux emulation has a problem with linux binaries that are unbranded and compiled statically. They run, but only after being branded type Linux. Unbranded, I get "ELF binary type not known." I'm running 3.3-stable as of Nov 7 and the linux_base-6.0 port from www.freebsd.org/~marcel (which works well) and the linux.ko module is installed. a.out is the "hello, world" program compiled statically in Red Hat 6.0. % file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped % ./a.out ELF binary type not known. Use "brandelf" to brand it. Abort trap % brandelf -t Linux a.out % ./a.out Hello, world % Red Hat doesn't use many static binaries, but I've seen the same behavior with ash.static and rpm. Is it difficult to identify the type of a static binary without a brand, or did someone just forget this case? PR? I searched -emulation, -stable and the PR's for "linux", "brand" and "static" but didn't find anything relevant. --Mark Krentel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911150151.UAA01121>
