From owner-freebsd-questions@FreeBSD.ORG Sat Jan 1 23:23:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 562011065675 for ; Sat, 1 Jan 2011 23:23:30 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1A20F8FC08 for ; Sat, 1 Jan 2011 23:23:29 +0000 (UTC) Received: from 174-21-108-47.tukw.qwest.net ([174.21.108.47] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PZAnF-0000PS-1q for freebsd-questions@freebsd.org; Sat, 01 Jan 2011 15:23:26 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 01 Jan 2011 15:23:24 -0800 Date: Sat, 1 Jan 2011 15:23:24 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110101232324.GF66527@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20110101183822.GB66527@libertas.local.camdensoftware.com> <20110101195330.41ca6a26.freebsd@edvax.de> <20110101192311.GE66527@libertas.local.camdensoftware.com> <20110101204401.62602973.freebsd@edvax.de> <20110101200011.00005459@unknown> <4d1f9d6a.0Y9F5EG3I94PNVKJ%perryh@pluto.rain.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XaUbO9McV5wPQijU" Content-Disposition: inline In-Reply-To: <4d1f9d6a.0Y9F5EG3I94PNVKJ%perryh@pluto.rain.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: csup and build question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 23:23:30 -0000 --XaUbO9McV5wPQijU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth perryh@pluto.rain.com on Saturday, 01 January 2011: > Bruce Cran wrote: > > On Sat, 1 Jan 2011 20:44:01 +0100 > > Polytropon 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: > > > > 20101228: > > 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. >=20 > IIUC, things like that are supposed to happen only within -CURRENT, > not within a -STABLE or security branch. >=20 > I would surmise that, if a csup yielded changes only in /usr/src/sys > and none of those changes touched a .h file, it should not be necessary > to rebuild world. OK, that's about what I had thought. Thanks to all three of you for responding. Obviously, the safe choice is to always rebuild world if anything changes. But if I see that only a couple of .c files in the kernel have been touched, then rebuilding only kernel should be OK in stable -- I think. The only possible gotcha would b= e if something in the kernel gets compiled to a library that world uses, or if something in world includes a .c file from kernel for some reason. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --XaUbO9McV5wPQijU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNH7dsAAoJEIpckszW26+ReF8H/1KCNB1SG6WcVx83azNDQ3DI VvgBuBnaYsQM8WVFWxEssHNceVOiokrfb5FUFQ3erMK2JElXaJI6oR9eJ+D1AgMA V+Sd3NtWdlZJ68PtdBtWGQC8tCA5KUR6E7jfBJl3X4nWz5YprDrFpJ9+b+AVL0RF Y+7S0tYGZTCN0L9hmdNOcwmQQOjYb/12mnkL4rDZKtNGakJMJU8EB0k+b5HMGnxh vhF7uXCee/YJpArSha1oCD4b/yt6YzDezPcrbiDpjLYXgJVXHE5LntC89GBpE/ih ZO0XV/jXmPTITf74kP2ZI0F1suNY0b4spTrPyy6ufX9Jp5uVZBVxVjzrrjxq5Bo= =HdnW -----END PGP SIGNATURE----- --XaUbO9McV5wPQijU--