Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2007 23:38:26 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        "Marc \"UBM\" Bocklet" <ubm@u-boot-man.de>
Cc:        stable@freebsd.org
Subject:   Re: portupgrade error with 7.0-BETA1
Message-ID:  <47250F62.4070106@FreeBSD.org>
In-Reply-To: <20071028233149.2fa94250.ubm@u-boot-man.de>
References:  <20071028184559.7154d472.ubm@u-boot-man.de> <20071028233149.2fa94250.ubm@u-boot-man.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc UBM Bocklet wrote:
> On Sun, 28 Oct 2007 18:45:59 +0100
> Marc "UBM" Bocklet <ubm@u-boot-man.de> 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




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