From owner-freebsd-questions@FreeBSD.ORG Thu May 26 21:09:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24A716A41C for ; Thu, 26 May 2005 21:09:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9902A43D4C for ; Thu, 26 May 2005 21:09:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 57C3051CEA; Thu, 26 May 2005 14:10:20 -0700 (PDT) Date: Thu, 26 May 2005 14:10:20 -0700 From: Kris Kennaway To: Vizion Message-ID: <20050526211019.GA34601@xor.obsecurity.org> References: <20050526194137.GB50503@keyslapper.net> <20050526203752.GA28228@xor.obsecurity.org> <200505261359.15878.vizion@vizion.occoxmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <200505261359.15878.vizion@vizion.occoxmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, Kris Kennaway Subject: Re: 5.3->5.4 upgrade method 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: Thu, 26 May 2005 21:09:33 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 26, 2005 at 01:59:15PM -0700, Vizion wrote: > On Thursday 26 May 2005 13:37, the author Kris Kennaway contributed to t= he=20 > dialogue on Re: 5.3->5.4 upgrade method: > >On Thu, May 26, 2005 at 03:41:38PM -0400, Louis LeBlanc wrote: > >> Ok, I've settled on upgrading to 5.4 (from 5.4 RELEASE) but I can't > >> find an explicit statement that performing such an upgrade with > >> cvsup/buildworld/buildkernel, etc. would be ok. No kernel config > >> gotchas mentioned either. Of course it seems implied that this would > >> be a perfectly fine way to do the upgrade. > >> > >> Has anyone else used this upgrade method going from 5.3 to 5.4? > >> Any caveats on the kernel config? > > > >Yes, it's fine as long as you precisely follow the upgrade method (see > >handbook and UPDATING). > > > >Kris >=20 > However I thought you might find the info in this thread worth watching: How is this at all relevant to the discussion at hand? Kris > Re: OS check fails on JDK 1.4 & FreeBSD 5.4R > From: Vizion > To: freebsd-java@freebsd.org > CC: "Scott I. Remick" > =20 > On Thursday 26 May 2005 09:34, ?the author Greg Lewis contributed to the= =20 > dialogue on Re: OS check fails on JDK 1.4 & FreeBSD 5.4R: > >On Thu, May 26, 2005 at 12:04:36PM -0400, Scott I. Remick wrote: > >> On Thu, 26 May 2005 09:54:59 -0600, Greg Lewis wrote: > >> > That would be your problem then. ?The test expects to use -lc_r on 5= .x > >> > and higher: > >> > > >> > .if ${OSVERSION} > 500000 > >> > LINKIT=3D -lc_r > >> > .else > >> > LINKIT=3D -pthread > >> > .endif > >> > >> Isn't that backwards? The default threading library changed from libc_= r to > >> libpthread in 5.3 > > > >I don't know that its backwards, but it could probably use some help. > >-lc_r became the official way early on in 5.x, but was reverted to > >-pthread after 5.2.1. ?So it was correct for a time, but is now out of > >date. ?I suspect that the variable should just go away and ${PTHREAD_LIB= S} > >should take its place. > > > >> > However, you should have libc_r on 5.4: > >> > >> ... > >> > >> > So your machine would seem to be somewhat hosed unless you've > >> > deliberately removed libc_r. > > > >[explanation of removing libc_r snipped] > > > >> So I guess I have 2 questions now: > >> > >> 1) If libpthread is the new default, replacing libc_r, and you have to > >> have all things linked to just one or the other, basically libc_r has = been > >> depreciated. How come the OS version check for JDK 1.4 wants libc_r if= the > >> OS > 5.0? > > > >Because its old (see above). > > > >> 2) What am I to do now, since the purging of all things libc_r when I > >> upgraded to 5.3 is what ultimately fixed my system and has kept things > >> running smoothly ever since? > > > >You can do one of the following: > > > >1. Try the attached patch. ?This would be my preference since if it works > > ? I'll try and get it committed. > >2. Turn on SKIP_OS_CHECK and eliminate the test altogether. > I have attached the Makefile.diff to this email >=20 >=20 > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 > --=20 > 40 yrs navigating and computing in blue waters. > English Owner & Captain of British Registered 60' bluewater Ketch S/V Tau= rus. > Currently in San Diego, CA. Sailing May bound for Europe via Panama Cana= l. --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCljs7Wry0BWjoQKURAuGLAKDKmfueDIlk4KLBsfGoHMGfWOC76ACdG8ot M77ChWTmdY6SbWJ9ShsBOyU= =TgE1 -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--