From nobody@FreeBSD.org  Sat Apr  5 15:07:10 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 10FD91065671
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Apr 2008 15:07:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D6E408FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Apr 2008 15:07:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m35F6xIP036113
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 5 Apr 2008 15:06:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m35F6xqT036112;
	Sat, 5 Apr 2008 15:06:59 GMT
	(envelope-from nobody)
Message-Id: <200804051506.m35F6xqT036112@www.freebsd.org>
Date: Sat, 5 Apr 2008 15:06:59 GMT
From: Ruud Boon <ruud@t-boonproductions.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Compile problems after upgrading to 7.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122468
>Category:       amd64
>Synopsis:       Compile problems after upgrading to 7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 05 15:10:00 UTC 2008
>Closed-Date:    Sat Mar 12 07:52:17 UTC 2011
>Last-Modified:  Sat Mar 12 07:52:17 UTC 2011
>Originator:     Ruud Boon
>Release:        7.0 release
>Organization:
>Environment:
FreeBSD myserver.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I've upgrade freebsd 6.3 to 7.0 using this site :
http://www.cyberciti.biz/faq/howto-...erver-upgrades/

After upgrading i've tried to upgrade the ports tree.
I've got the same error over different ports.
The port apache22 gives the following error :
/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
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.8/srclib/apr.
*** Error code 1
>How-To-Repeat:
Upgrade to 7.0 on an amd64 system
>Fix:

After installing i had to create a symlink : ln -s /usr/lib/libthr.so /usr/lib/libpthread.so
This fixes the problem.


>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@FreeBSD.org>
To: Ruud Boon <ruud@t-boonproductions.nl>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: amd64/122468: Compile problems after upgrading to 7.0
Date: Sat, 05 Apr 2008 21:28:25 +0200

 Ruud Boon wrote:
 
 > FreeBSD myserver.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 > 
 >> Description:
 > I've upgrade freebsd 6.3 to 7.0 using this site :
 > http://www.cyberciti.biz/faq/howto-...erver-upgrades/
 
 That is not a working URL, but it's also not official upgrade 
 documentation.  That you ran into problems after following it suggests 
 that the instructions may well be broken.  Talk to the person who wrote 
 them.
 
 > After installing i had to create a symlink : ln -s /usr/lib/libthr.so /usr/lib/libpthread.so
 > This fixes the problem.
 
 A correctly upgraded system will already have this symlink.
 
 Kris
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Mon Apr 14 16:37:44 UTC 2008 
State-Changed-Why:  
Submitter needs to provide additional information about his upgrade 
process before we can attempt to proceed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122468 

From: Ruud Boon <ruud@t-boonproductions.nl>
To: bug-followup@FreeBSD.org, ruud@t-boonproductions.nl
Cc:  
Subject: Re: amd64/122468: Compile problems after upgrading to 7.0
Date: Mon, 14 Apr 2008 22:13:44 +0200

 I've upgraded an other system doing the following upgrade procedure. The 
 same problem occured.
 I used this procedure :
 
 # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz
 # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc
 # gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz
 # tar -xf freebsd-update-upgrade.tgz
 # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
 # sh freebsd-update.sh -f freebsd-update.conf install
 # shutdown -r now
 
 # sh freebsd-update.sh -f freebsd-update.conf install
 # portupgrade -faP
 # sh freebsd-update.sh -f freebsd-update.conf install
 # shutdown -r now
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Thu Aug 28 16:28:58 UTC 2008 
State-Changed-Why:  
Feedback was received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122468 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Nov 28 09:49:31 UTC 2010 
State-Changed-Why:  
Is this still a problem with later upgrades? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122468 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sat Mar 12 07:52:16 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122468 
>Unformatted:
