Subject: port-i386/8662: COMPAT_AOUT wrecks bsdi compat
To: None <>
From: Charlie Root <>
List: netbsd-bugs
Date: 10/21/1999 11:18:41
>Number:         8662
>Category:       port-i386
>Synopsis:       COMPAT_AOUT wrecks bsdi compat
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 21 11:18:01 1999
>Originator:     Tim Rightnour
>Release:        19990906 snapshot<NetBSD-current source date>
System: NetBSD dunno 1.4K NetBSD 1.4K (SATELLITE) #0: Thu Oct 21 10:53:29 MST 1999 root@dunno:/usr/src/sys/arch/i386/compile/SATELLITE i386

I installed the snapshot, and generic kernel available on the FTP site.
I also installed the navogator3 pkg from pkgsrc.

I then attempted to load a page with java on it, and got an annoying
message about my CLASSPATH being set wrong.  After verifying that I was
not out of my gourd (iit works fine on my 1.3 machine), I ktraced it
and noticed it was looking for the java files in /emul.

Removing COMPAT_AOUT from the kernel makes java in netscape function
perfectly again.
Install ELF i386 kernel and userland.
install navigator3 pkg.
Attempt java.
Not sure.  Compat_aout is a bit invasive if it's overriding BSDI emul calls.
Odd that netscape functioned at all though I guess.

IMHO COMPAT_AOUT should be nuked from orbit.. but thats a different subject.