From nobody@FreeBSD.org  Fri Jul 22 18:36:12 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8679C16A435
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Jul 2005 18:36:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 54F16448EC
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Jul 2005 18:15:25 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j6MIFPii008071
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Jul 2005 18:15:25 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j6MIFPw5008070;
	Fri, 22 Jul 2005 18:15:25 GMT
	(envelope-from nobody)
Message-Id: <200507221815.j6MIFPw5008070@www.freebsd.org>
Date: Fri, 22 Jul 2005 18:15:25 GMT
From: "Scot W. Hetzel" <swhetzel@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: misc/compat4x: Bad system call (core dumped) without COMPAT_FREEBSD4 in kernel
X-Send-Pr-Version: www-2.3

>Number:         83924
>Category:       ports
>Synopsis:       misc/compat4x: Bad system call (core dumped) without COMPAT_FREEBSD4 in kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 22 18:40:12 GMT 2005
>Closed-Date:    Sun Sep 25 18:37:54 GMT 2005
>Last-Modified:  Sun Sep 25 18:37:54 GMT 2005
>Originator:     Scot W. Hetzel
>Release:        FreeBSD 5.4
>Organization:
>Environment:
>Description:
A user had installed the www/frontpage port on the I386 arch.  The FreeBSD frontpage binaries require the compat4x libraries.  When he executed frontpage/version5.0/bin/owsadm.exe he received "Bad system call (core dumped)".  He had removed the COMPAT_FREEBSD4 from his kernel config.

>How-To-Repeat:
Build a FreeBSD 5.x kernel without COMPAT_FREEBSD4, install the compat4x libraries, and then run owsadm.exe.
>Fix:
Add a pkg-message comment for OSVERSION > 500000 to add COMPAT_FREEBSD4 to the kernel before using any program that needs the compat4x libraries.

Also, add a comment to the FreeBSD 5.x src/share/examples/etc/make.conf saying the same thing, since the compat4x libraries could have been installed from the FreeBSD sources.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Sun Sep 25 04:58:20 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83924 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Sun Sep 25 18:37:26 GMT 2005 
State-Changed-Why:  
Commited, thanks. 

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