The point was that Max wants to remove compat_osf1 and this is the first step. The second step would be to remove all the unneeded files and fix syscalls.master to instantiate the syscall array.
christos > On Mar 17, 2019, at 5:34 PM, Paul Goyette <p...@whooppee.com> wrote: > > On Sun, 17 Mar 2019, Christos Zoulas wrote: > >> Module Name: src >> Committed By: christos >> Date: Sun Mar 17 14:11:49 UTC 2019 >> >> Modified Files: >> src/sys/compat/osf1: files.osf1 >> >> Log Message: >> fix the build: include the needed osf1 files for compat_linux on alpha > > > This will handle the situation where COMPAT_OSF1 is built-in to the kernel > without includine COMPAT_LINUX. > > But it does not handle the situation where COMPAT_OSF1 andCOMPAT_LINUX are > both omitted from the kernel and loaded as non-built-in modules. > > For the latter situation, we need a way for compat_linux.kmod to require > compat_osf1.kmod. It's not sufficient to simply add the linux files to the > osf1 module's Makefile as that would result in duplicated symbols between the > two modules (preventing both from being loaded at the same time). > > > +--------------------+--------------------------+-----------------------+ > | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | > | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | > | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | > +--------------------+--------------------------+-----------------------+