From owner-freebsd-stable@FreeBSD.ORG Sun Oct 28 22:38:24 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 9413F16A418 for ; Sun, 28 Oct 2007 22:38:24 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id E70B313C4AC; Sun, 28 Oct 2007 22:38:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47250F62.4070106@FreeBSD.org> Date: Sun, 28 Oct 2007 23:38:26 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: "Marc \"UBM\" Bocklet" References: <20071028184559.7154d472.ubm@u-boot-man.de> <20071028233149.2fa94250.ubm@u-boot-man.de> In-Reply-To: <20071028233149.2fa94250.ubm@u-boot-man.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 22:38:24 -0000 Marc UBM Bocklet wrote: > On Sun, 28 Oct 2007 18:45:59 +0100 > Marc "UBM" Bocklet wrote: > >> Hiho! ;-) >> >> I just upgraded my machine to: >> >> FreeBSD blah.blah 7.0-BETA1 FreeBSD 7.0-BETA1 #6: Thu Oct 25 19:43:35 >> CEST 2007 >> >> and then tried using portupgrade, which promptly fails with: >> >> Fatal error 'Cannot allocate red zone for initial thread' at line 382 >> in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) >> Illegal instruction: 4 (core dumped) >> >> (the red zone error ist repeated about 20 times). >> >> I'm not sure if it has anything to do with the upgrade. I tried >> deinstalling / reinstalling portupgrade and I also tried >> portupgrade-devel, but they both keep failing with the above error. >> Googling didn't yield any results. >> I've also installed the compat6x port and included COMPAT_FREEBSD6 in >> my kernel, but that didn't help either. >> >> Has anybody encountered this error before? >> >> Thanks in advance! > > A tip from Diane Bruce (db@freebsd.org) did the trick: > > ---- > > 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. > > ---- ...which is a necessary part of any upgrade to a new branch. Kris