Subject: port-i386/3553: BSDI compatability needs more than COMPAT_NOMID
To: None <gnats-bugs@gnats.netbsd.org>
From: None <abs@mono.org>
List: netbsd-bugs
Date: 04/28/1997 08:43:55
>Number:         3553
>Category:       port-i386
>Synopsis:       BSDI compatability needs more than COMPAT_NOMID
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 28 00:50:01 1997
>Last-Modified:
>Originator:     David Brownlee
>Organization:
<a href="http://www.mono.org/">Monochrome</a>
>Release:        1.2
>Environment:
	
System: NetBSD lapton.mono.org 1.2D NetBSD 1.2D (_LAPTON_) #3: Sun Apr 27 22:24:02 BST 1997 root@lapton.mono.org:/usr/src/sys/arch/i386/compile/_LAPTON_ i386


>Description:
	BSDI netscape calls compat_43_ogetpagesize - this is not compiled in
	for COMPAT_NOMID, but is included in COMPAT_43.

	Running the binary on a kernel with COMPAT_NOMID but without
	COMPAT_43 causes it to fail with:

      362 netscape CALL  compat_43_ogetpagesize
      362 netscape PSIG  SIGSYS SIG_DFL

>How-To-Repeat:
	Compile a kernel with COMPAT_NOMID but without COMPAT_43, and run
	a BSDI binary.

>Fix:
	Split out COMPAT_BSDI from COMPAT_NOMID and COMPAT_43, or (cheaper)
	just document that BSDI binaries need COMPAT_43 on i386.
	If a patch to do the former would be of interest, please let me
	know & I'll see if I can manage it :)

>Audit-Trail:
>Unformatted: