Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 18:53:51 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ronald Klop <ronald-freebsd8@klop.yi.org>
Cc:        dick hoogendijk <dick@nagual.st>, freebsd-stable@freebsd.org
Subject:   Re: 6.0 release date and stability
Message-ID:  <20051019225351.GA77421@xor.obsecurity.org>
In-Reply-To: <op.sywwy9cy8527sy@outgoing.local>
References:  <200510152346.RAA20742@lariat.net> <disfuq$iag$1@sea.gmane.org> <20051016135752.6bcc6874.dick@nagual.st> <AB7EBC6B-6036-4CA9-918C-1FD553E019AD@khera.org> <20051019231046.1136a1ea.dick@nagual.st> <op.sywwy9cy8527sy@outgoing.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 19, 2005 at 11:36:35PM +0200, Ronald Klop wrote:
> On Wed, 19 Oct 2005 23:10:46 +0200, dick hoogendijk <dick@nagual.st> wrot=
e:
>=20
> >On Mon, 17 Oct 2005 15:52:00 -0400
> >Vivek Khera <vivek@khera.org> wrote:
> >
> >>On Oct 16, 2005, at 7:57 AM, dick hoogendijk wrote:
> >
> >>> The *ONLY* question is: will I need to *recompile* all installed
> >>> ports if I go from 5.4 to 6.0 release?
> >>
> >>No, the kernel has COMPAT_FREEBSD5 and COMPAT_FREEBSD4 by default,
> >>so just keep those and your shared libs around and you're golden.
> >>Of course, ports like lsof which dependon the kernel version will
> >>have to be rebuilt, but that's true no matter the version change...
> >
> >I get contradicting advice. You tell me I'm golden 'cause of the
> >compat_xx settings; others tell me it's way better to *recompile* all
> >portsto get the cleanest system.
> >
> >Wat is the best way to get the cleanest FreeBSD-6.x system without
> >installing from scratch? Recompile each port? Or use the
> >COMPAT_FREEBSD5 layer?
>=20
> You are answering your own question I think.
> Does the term COMPAT_FREEBSD5 sound as the 'cleanest FreeBSD-6.x'? No. Yo=
u =20
> get the cleanest system by recompiling all ports. (portupgrade -fa is you=
r =20
> friend here.)
>=20
> COMPAT_FREEBSD5 is meant for running FreeBSD-5 binary applications. If yo=
u =20
> have them it's ok. If you recompile everything you don't need the =20
> COMPAT_FREEBSD5 stuff. If you don't have the source of some of your =20
> FreeBSD-5 applications you have to run with COMPAT_FREEBSD5.
> And the switch to 6 is easier because your 5-applications keep running.

Yes.  As long as you only use your old 5.x applications, you're fine
with just the compat.  The problem is when you start to link *new* 6.0
applications with *old* 5.x libraries (e.g. by installing a new port,
e.g. a new X application, without rebuilding your 5.x X installation
first).
=20
Thus, unless you upgrade all your 5.x ports (well, actually "many",
i.e. only those that provide libraries or shared object modules, but
it's easier to just do "all") you'll end up with 6.0 binaries that are
linked to e.g. two versions of libc at once (the 5.x libc and the 6.0
libc), which is a recipe for disaster.

Kris

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDVs5+Wry0BWjoQKURAn71AKChhRpvBLbJ5TWbvZ4QfVUZDeQ7JQCg2upV
0rxqBW5MEmdhOWo63pdIU/Y=
=jdrm
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051019225351.GA77421>