[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/54861 CVS commit: [netbsd-8] src/sys/compat/common
The following reply was made to PR kern/54861; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
Subject: PR/54861 CVS commit: [netbsd-8] src/sys/compat/common
Date: Tue, 21 Jan 2020 16:51:27 +0000
Module Name: src
Committed By: martin
Date: Tue Jan 21 16:51:27 UTC 2020
src/sys/compat/common [netbsd-8]: rtsock_50.c
Apply patch, requested by pgoyette in ticket #1484:
For MODULAR kernels, we include all of the compat code, even if not
required by the selected COMPAT_xx options. Thus, rtsock_14.c is
included in the kernel.
rtsock_14.c in turn references routines in rtsock_50.c which is also
included in the kernel. However, if the kernel is built without the
COMPAT_50 option, rtsock_50.c ends up being a no-op and doesn't
define any of the routines that rtsock_14.c needs.
Thus, MODULAR kernels which only have COMPAT_60 (or newer) will fail
to link becuase of the undefined symbols.
Fix is to make rtsock_50.c functional if MODULAR kernel option is
To generate a diff of this commit:
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 src/sys/compat/common/rtsock_50.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |