From owner-freebsd-stable@FreeBSD.ORG Mon Jun 23 17:42:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C3151065673 for ; Mon, 23 Jun 2008 17:42:09 +0000 (UTC) (envelope-from sorin.panca@psrk.com) Received: from mail1.psrk.com (64.147.114.45.static.nyinternet.net [64.147.114.45]) by mx1.freebsd.org (Postfix) with ESMTP id D45058FC0C for ; Mon, 23 Jun 2008 17:42:08 +0000 (UTC) (envelope-from sorin.panca@psrk.com) Received: from [82.77.123.155] (port=57361) by mail1.psrk.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KAq3B-0007rh-MA for freebsd-stable@freebsd.org; Mon, 23 Jun 2008 13:41:58 -0400 Message-ID: <485FE00E.6060106@psrk.com> Date: Mon, 23 Jun 2008 20:40:30 +0300 From: =?UTF-8?B?U29yaW4gUMOibmNh?= User-Agent: Thunderbird 2.0.0.14 (X11/20080619) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <485FC488.7050105@psrk.com> <20080623170609.GA39224@eos.sc1.parodius.com> In-Reply-To: <20080623170609.GA39224@eos.sc1.parodius.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus Subject: Re: Failure building apache22 and mysql51 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: Mon, 23 Jun 2008 17:42:09 -0000 Jeremy Chadwick wrote: > On Mon, Jun 23, 2008 at 06:43:04PM +0300, Sorin P�nca wrote: >> Hello people! >> I recently upgraded a amd64 machine from FreeBSD-6.2-RELEASE-p11 to >> FreeBSD-7.0-RELEASE-p2 using the tutorial found at >> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html >> All went well with the base system. > > I'm doubting that greatly. > Well... they compiled successfully twice (once by doing portupgrade -a, and once by doing portupgrade -af - there were some complaines about some perl modules that we installed by cpan) and then a portupgrade -aPPR finished successfully... Anyway, how do I check everything is clean and working or how do I recompile the pthread part (library) of the system to ensure it's linked against the proper libraries? > Both ports you're trying to build rely on pthread, and both die in the > same way: > >> /usr/bin/ld: /usr/lib/libpthread.a(thr_mutex.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC >> /usr/lib/libpthread.a: could not read symbols: Bad value >> >> /usr/bin/ld: /usr/lib/libpthread.a(thr_syscalls.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC >> /usr/lib/libpthread.a: could not read symbols: Bad value > I agree. That's why I posted both of them. Is my question good or bad? I'm not a programmer, so I really try hard to understand what is happening... Sorin.