From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 23:09:55 2003 Return-Path: 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 7728537B401 for ; Mon, 7 Jul 2003 23:09:55 -0700 (PDT) Received: from ns1.stelt.ru (ns1.stelt.ru [217.18.48.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCCA143FB1 for ; Mon, 7 Jul 2003 23:09:53 -0700 (PDT) (envelope-from jaroshenko@mailru.com) Received: from gate-mx.stelt.ru (gate-mx.stelt.ru [217.18.48.32]) by ns1.stelt.ru (8.12.9/8.12.9) with ESMTP id h6869qrp002158 for ; Tue, 8 Jul 2003 10:09:52 +0400 Received: by gate-mx.stelt.ru (Postfix, from userid 502) id C98022F048; Tue, 8 Jul 2003 10:09:47 +0400 (MSD) Received: from mailru.com (unknown [192.168.1.41]) by gate-mx.stelt.ru (Postfix) with ESMTP id A1C162F045 for ; Tue, 8 Jul 2003 10:09:47 +0400 (MSD) Message-ID: <3F0A613A.7080600@mailru.com> Date: Tue, 08 Jul 2003 10:14:18 +0400 From: Serge Yaroshenko User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20030707164249.GA2912@mail.it.ca> <200307071839.h67Id0LW058141@siralan.org> <20030707233208.GA15573@mail.it.ca> In-Reply-To: <20030707233208.GA15573@mail.it.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problem upgrading from 5.0 to 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 06:09:55 -0000 Hi! Paul Chvostek wrote: >On Mon, Jul 07, 2003 at 01:38:59PM -0500, Michael L. Squires wrote: > > >>>I've got a box on which 5.0-RELEASE was installed. I updated the source >>>tree using cvsup to RELENG_5_1 and tried to recompile, and now every >>> >>> >>RELENG_5_1 is compiling for me (as of 7/4). >> >> > >Okay, but it's not for me. > > > >>Are you running >> >>mergemaster -p >>make buildworld >> >> > >This is where it stops, while trying to compile bin/cat. The pertinent >lines remain: > >| /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': >| atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' >| atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' > >I tried installing devel/pth from ports, to no avail (which makes sense; >the port wouldn't affect how libc.a has been compiled). > >My /etc/make.conf includes: > > CPUTYPE=i686 > CFLAGS= -O3 -pipe > Try CFLAGS= -O2 -pipe COPTFLAGS= -O -pipe For compiling kernel not recomended turn on optimizing -O2. I have similar error when make buildworld with -O3. Serge. > COPTFLAGS= -O3 -pipe > MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) > COMPAT4X= yes > >Any further wisdom? > > >