NetBSD Problem Report #7931
Received: (qmail 3508 invoked from network); 6 Jul 1999 16:34:18 -0000
Message-Id: <199907061626.MAA29294@himring.draga.com>
Date: Tue, 6 Jul 1999 12:26:55 -0400 (EDT)
From: jwise@draga.com
Reply-To: jwise@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: COMPAT_AOUT kernel option is dependent on COMPAT_13 and other COMPAT_* options. It shouldn't be.
X-Send-Pr-Version: 3.95
>Number: 7931
>Category: kern
>Synopsis: COMPAT_AOUT kernel option is dependent on COMPAT_13 and other COMPAT_* options. It shouldn't be.
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jul 06 09:35:00 +0000 1999
>Closed-Date: Tue Sep 14 17:42:46 +0000 2004
>Last-Modified: Tue Sep 14 17:42:46 +0000 2004
>Originator: Jim Wise
>Release: NetBSD-current of 1999-07-05
>Organization:
Jim Wise
jwise@draga.com
>Environment:
System: NetBSD himring.draga.com 1.4C NetBSD 1.4C (HIMRING) #0: Sun May 30 21:33:44 EDT 1999 jwise@himring.draga.com:/home/NetBSD/src/sys/arch/i386/compile/HIMRING i386
>Description:
.../src/sys/compat/aout/syscalls.master includes entries for various COMPAT_13, COMPAT_43, and other
system calls. This makes it impossible to build a system with (e.g.) COMPAT_AOUT and not COMPAT_13,
due to failures of the form:
ld -Ttext F0100000 -e start -z -X -o netbsd ${SYSTEM_OBJ} vers.o
aout_sysent.o: Undefined symbol `_compat_13_sys_sigreturn' referenced from data segment
*** Error code 1
Stop.
This combination of options is (IMHO) perfectly valid, and it's a shame not to support it.
>How-To-Repeat:
configure a kernel with COMPAT_AOUT and not COMPAT_13. Try to build it. Watch it fail with
the above error.
>Fix:
.../src/sys/kern/syscalls.master uses the COMPAT_13 keyword, defined as a compatibility option
in .../src/sys/kern/syscalls.conf to selectively include/exclude NetBSD-1.3 compatibility
functions. Probably, this should be added to .../src/sys/compat/aout/syscalls.{conf,master},
but I'm not sure that it's as simple as that.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended
State-Changed-By: sommerfeld
State-Changed-When: Wed Jul 5 07:20:35 PDT 2000
State-Changed-Why:
COMPAT_AOUT is going to die.
State-Changed-From-To: suspended->analyzed
State-Changed-By: tv
State-Changed-When: Mon Nov 6 08:04:57 PST 2000
State-Changed-Why:
Pulled back to semi-open state. config(8) needs a dependency system.
State-Changed-From-To: analyzed->closed
State-Changed-By: jdolecek
State-Changed-When: Tue Sep 14 17:42:17 UTC 2004
State-Changed-Why:
COMPAT_AOUT has been removed, so this is no longer pertinent. Thanks
for report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.