paulg adds:

This is not making GENERIC fail because COMPAT_43 is not really removed
on it.

$ nm /home/fly/amd/sys/arch/amd64/compile/GENERIC/netbsd |grep compat_43
ffffffff80403485 T compat_43_netbsd32_fstat43
ffffffff8040371a T compat_43_netbsd32_killpg
ffffffff80403431 T compat_43_netbsd32_lstat43
ffffffff804037b5 T compat_43_netbsd32_oaccept

This is from:

file    compat/netbsd32/netbsd32_compat_43.c    compat_netbsd32 & (compat_43 | 
compat_sunos | compat_linux32)

So with COMPAT_LINUX32, it still builds the COMPAT_43 code.

Reply via email to