Subject: port-amd64/34951: On AMD64, COMPAT_LINUX32 silently requires COMPAT_43 and _30
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <perry@ein.piermont.com>
List: netbsd-bugs
Date: 10/31/2006 02:20:01
>Number: 34951
>Category: port-amd64
>Synopsis: On AMD64, COMPAT_LINUX32 silently requires COMPAT_43 and _30
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 31 02:20:00 +0000 2006
>Originator: Perry E. Metzger
>Release: NetBSD 4.99.3
>Organization:
>Environment:
System: NetBSD ein.piermont.com 4.99.3 NetBSD 4.99.3 (GENERIC) #0: Mon Oct 30 00:57:35 EST 2006 perry@zwei.piermont.com:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
COMPAT_LINUX32 and COMPAT_NETBSD32 appear to silently require
COMPAT_43 and COMPAT_30. (I can't quite remember which needs which --
sorry. :( )
This should probably be fixed with appropriate #ifdef hacking.
>How-To-Repeat:
Build an amd64 kernel with COMPAT_LINUX32 and COMPAT_NETBSD32 but
comment out all of the old version compatibility. Notice that you get
link errors.
>Fix:
Probably a few judicious #if defined(COMPAT_43) || defined(COMPAT_LINUX32)
type things would fix this.
>Unformatted: