Bug 83924 - misc/compat4x: Bad system call (core dumped) without COMPAT_FREEBSD4 in kernel
Summary: misc/compat4x: Bad system call (core dumped) without COMPAT_FREEBSD4 in kernel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 19:40 UTC by Scot Hetzel
Modified: 2005-09-25 19:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2005-07-22 19:40:12 UTC
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.

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.
How-To-Repeat: Build a FreeBSD 5.x kernel without COMPAT_FREEBSD4, install the compat4x libraries, and then run owsadm.exe.
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-25 05:58:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it.
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-25 19:37:26 UTC
State Changed
From-To: open->closed

Commited, thanks.