csup and build question

Bruce Cran bruce at cran.org.uk
Sat Jan 1 20:00:15 UTC 2011

On Sat, 1 Jan 2011 20:44:01 +0100
Polytropon <freebsd at edvax.de> wrote:

> If programs or other components of the world do have to
> be in sync with kernel or system files (sys/*.h), then
> I conclude that world also has to be compiled. In this
> regards, it means a change of the kernel, and if the
> kernel did change, kernel and world are out of sync,
> which implies that both have to be compiled.

The ABI of the kernel sometimes changes, in which case despite there
being no changes in world it still needs to be rebuilt against the
newer header files. For example, recently:

	The TCP stack has been modified to allow Khelp modules to
interact with it via helper hook points and store per-connection data
in the TCP control block. Bump __FreeBSD_version to 900029. User space
tools that rely on the size of struct tcpcb in tcp_var.h (e.g.
sockstat) need to be recompiled.

Bruce Cran

More information about the freebsd-questions mailing list