Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 16:34:43 -0700 (PDT)
From:      Kevin Van Maren <kevin.vanmaren@unisys.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/39861: SVR4 emulation broken in 4.5/4.6-RELEASE
Message-ID:  <200206252334.g5PNYhnb098198@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39861
>Category:       kern
>Synopsis:       SVR4 emulation broken in 4.5/4.6-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 25 16:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Van Maren
>Release:        4.5/4.6
>Organization:
>Environment:
>Description:
It was already described adequately at:

http://spitfire.velocet.net/pipermail/freebsd-stable/2001-April/013051.html


[stable] SVR4 fix 

Willem van Engen wvengen@stack.nl 
Tue, 17 Apr 2001 14:24:47 +0200 


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

--- /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",

>How-To-Repeat:

Try to USE the SVR4 emulation on FreeBSD.

>Fix:
Patch included above.  Workes for me on 4.5-RELEASE.

>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206252334.g5PNYhnb098198>