From owner-freebsd-stable@FreeBSD.ORG Sun Oct 28 23:03:19 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F14F516A4C0 for ; Sun, 28 Oct 2007 23:03:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 884F513C4C1 for ; Sun, 28 Oct 2007 23:03:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9SMhN1D039611; Sun, 28 Oct 2007 23:43:23 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E9A42B82D; Sun, 28 Oct 2007 23:43:22 +0100 (CET) Date: Sun, 28 Oct 2007 23:43:22 +0100 From: Roland Smith To: Marc UBM Bocklet Message-ID: <20071028224322.GC39510@slackbox.xs4all.nl> References: <20071028184559.7154d472.ubm@u-boot-man.de> <20071028233149.2fa94250.ubm@u-boot-man.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline In-Reply-To: <20071028233149.2fa94250.ubm@u-boot-man.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: stable@freebsd.org Subject: Re: portupgrade error with 7.0-BETA1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 23:03:20 -0000 --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 28, 2007 at 11:31:49PM +0100, Marc UBM Bocklet wrote: > > and then tried using portupgrade, which promptly fails with: > >=20 > > Fatal error 'Cannot allocate red zone for initial thread' at line 382 > > in file /usr/src/lib/libthr/thread/thr_init.c (errno =3D 12)=20 > > Illegal instruction: 4 (core dumped) > >=20 > > (the red zone error ist repeated about 20 times). [snip] > This one bit me as well. It's an obsolete library (libthr) in the > binary, Recompile ruby18 and problem will go away. You'll find other > programs will do this too, but a lot of them disapear after doing a > portupgrade. After updated to a new major version of FreeBSD (6->7, not 6.2->6.3) is to make a list of all ports, remove them all with pkg_delete and install them from scratch. That is the only sure way to prevent programs linking to older libraries. And while your at it, it would be a good idea to clean out the old cruft =66rom (/usr)/lib as well.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJRCKEnfvsMMhpyURAj11AJ4yD8Asca0GMuZXi/O8czacT09H7gCfcCYK Qo3o0K9GOX248Ma0uUk7q8w= =fIzn -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA--