Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 14:24:47 +0200
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-stable@freebsd.org
Subject:   SVR4 fix
Message-ID:  <3ADC360F.7193CD80@stack.nl>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------D014234CA65861EC662D9A59
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The svr4 emulation modules (streams.ko and svr4.ko)
load corretly, but when an SVR4-branded binary is run,
  ELF Binary type "0" not known
  Abort trap
is displayed. The attached patch (to be applied in
/usr/src/sys) solves this. Maybe someone can use it.

- Willem van Engen
--------------D014234CA65861EC662D9A59
Content-Type: text/plain; charset=us-ascii;
 name="svr4_patch.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="svr4_patch.diff"

--- /tmp/svr4_sysvec.c	Tue Apr 17 12:14:52 2001
+++ svr4/svr4_sysvec.c	Tue Apr 17 12:08:15 2001
@@ -185,6 +185,7 @@
 };
 
 Elf32_Brandinfo svr4_brand = {
+  ELFOSABI_SYSV,
   "SVR4",
   "/compat/svr4",
   "/lib/libc.so.1",

--------------D014234CA65861EC662D9A59--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADC360F.7193CD80>