From rdm@cfcl.com  Mon Jul 29 00:33:01 2002
Return-Path: <rdm@cfcl.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3B6B337B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 2002 00:33:01 -0700 (PDT)
Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CF59D43E67
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 2002 00:33:00 -0700 (PDT)
	(envelope-from rdm@cfcl.com)
Received: (from rdm@localhost)
	by cfcl.com (8.11.6/8.11.1) id g6T7WlZ02565;
	Mon, 29 Jul 2002 00:32:47 -0700 (PDT)
	(envelope-from rdm)
Message-Id: <200207290732.g6T7WlZ02565@cfcl.com>
Date: Mon, 29 Jul 2002 00:32:47 -0700 (PDT)
From: Rich Morin <rdm@cfcl.com>
Reply-To: rdm@cfcl.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: "apropos linux" doesn't find brandelf
X-Send-Pr-Version: 3.2

>Number:         41110
>Category:       docs
>Synopsis:       "apropos linux" doesn't find brandelf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hmp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 29 00:40:04 PDT 2002
>Closed-Date:    Thu Sep 18 00:30:17 PDT 2003
>Last-Modified:  Thu Sep 18 00:30:17 PDT 2003
>Originator:     Rich Morin
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Canta Forda Computer Laboratory
>Environment:

        FreeBSD cfcl.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0:
        Mon Jan 28 14:31:56 GMT 2002
        murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386

>Description:

	I recently tried to run a Linux binary on my FreeBSD 4.5
	system, getting the following nastygram:

	  ELF binary type "0" not known.
          Abort trap

	Using file(1) on the binary, I got:

          ELF 32-bit LSB executable, Intel 80386, version 1, statically 

        I tried an "apropos linux" with no success, and had to be
        bailed out by someone on freebsd-questions.


>How-To-Repeat:

	% apropos linux

>Fix:

	One possible fix would be to expand the brandelf "NAME" line:

	  brandelf - mark an ELF binary for a specific ABI (eg, Linux)

        A more general solution would be to add a "linux" page (eg, in
        section 7), talking about known issues with Linux compatibility
        mode, etc.
>Release-Note:
>Audit-Trail:

From: John Baldwin <jhb@FreeBSD.org>
To: Rich Morin <rdm@cfcl.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: RE: docs/41110: "apropos linux" doesn't find brandelf
Date: Mon, 29 Jul 2002 08:14:35 -0400 (EDT)

 On 29-Jul-2002 Rich Morin wrote:
 > 
 >>Number:         41110
 >>Category:       docs
 >>Synopsis:       "apropos linux" doesn't find brandelf
 >>Confidential:   no
 >>Severity:       non-critical
 >>Priority:       low
 >>Responsible:    freebsd-doc
 >>State:          open
 >>Quarter:        
 >>Keywords:       
 >>Date-Required:
 >>Class:          doc-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Mon Jul 29 00:40:04 PDT 2002
 >>Closed-Date:
 >>Last-Modified:
 >>Originator:     Rich Morin
 >>Release:        FreeBSD 4.5-RELEASE i386
 >>Organization:
 > Canta Forda Computer Laboratory
 >>Environment:
 > 
 >         FreeBSD cfcl.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0:
 >         Mon Jan 28 14:31:56 GMT 2002
 >         murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386
 > 
 >>Description:
 > 
 >       I recently tried to run a Linux binary on my FreeBSD 4.5
 >       system, getting the following nastygram:
 > 
 >         ELF binary type "0" not known.
 >           Abort trap
 > 
 >       Using file(1) on the binary, I got:
 > 
 >           ELF 32-bit LSB executable, Intel 80386, version 1, statically 
 > 
 >         I tried an "apropos linux" with no success, and had to be
 >         bailed out by someone on freebsd-questions.
 > 
 > 
 >>How-To-Repeat:
 > 
 >       % apropos linux
 > 
 >>Fix:
 > 
 >       One possible fix would be to expand the brandelf "NAME" line:
 > 
 >         brandelf - mark an ELF binary for a specific ABI (eg, Linux)
 > 
 >         A more general solution would be to add a "linux" page (eg, in
 >         section 7), talking about known issues with Linux compatibility
 >         mode, etc.
 
 Since brandelf can be used for OSF/1 binaries (on alpha), Solaris binaries,
 etc., the more general solution is preferred. :)  linux(7) (or maybe
 linux(4)) could also explain the /compat/linux magic.
 
 -- 
 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

From: "Simon L. Nielsen" <simon@nitro.dk>
To: freebsd-gnats-submit@FreeBSD.org, rdm@cfcl.com
Cc:  
Subject: Re: docs/41110: "apropos linux" doesn't find brandelf
Date: Mon, 26 May 2003 01:22:50 +0200

 --+ts6NCQ4mrNQIV8p
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello
 
 FreeBSD-CURRENT has a linux(4) manual page which has never been MFC'ed.
 
 As far as I can see linux(4) is correct for 4.X, in it's current form,
 as it is for -CURRENT, so I think this PR can be solved by MFC'ing
 src/share/man/man4/man4.i386/linux.4 .
 
 Note: linux(4) references brandelf(1).
 
 --=20
 Simon L. Nielsen
 
 --+ts6NCQ4mrNQIV8p
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE+0VBK8kocFXgPTRwRAvsoAKC5Hj03wYUh4Y7pDrzpzt2q+7VbXgCgiR3J
 g62jHkNKm/ufBx4qXiPe1aI=
 =zylq
 -----END PGP SIGNATURE-----
 
 --+ts6NCQ4mrNQIV8p--
Responsible-Changed-From-To: freebsd-doc->hmp 
Responsible-Changed-By: hmp 
Responsible-Changed-When: Sun Sep 14 17:57:10 PDT 2003 
Responsible-Changed-Why:  
I will take care of this once I get approval from RE team. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=41110 
State-Changed-From-To: open->closed 
State-Changed-By: hmp 
State-Changed-When: Thu Sep 18 00:29:56 PDT 2003 
State-Changed-Why:  
The linux(4) manual page has been MFC'ed.  Thanks. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=41110 
>Unformatted:
