From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 20:31:37 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D970816A420; Tue, 28 Feb 2006 20:31:37 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A80343D49; Tue, 28 Feb 2006 20:31:37 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from corbulon.video-collage.com ([151.204.231.237]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IVE00KTIZON1IY1@vms048.mailsrvcs.net>; Tue, 28 Feb 2006 14:31:35 -0600 (CST) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id k1SKVX7j035959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2006 15:31:34 -0500 Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.4/8.13.4) with ESMTP id k1SKVS97025414; Tue, 28 Feb 2006 15:31:28 -0500 Received: (from mteterin@localhost) by mteterin.us.murex.com (8.13.4/8.13.4/Submit) id k1SKVSRk025413; Tue, 28 Feb 2006 15:31:28 -0500 Date: Tue, 28 Feb 2006 15:31:28 -0500 From: Mikhail Teterin In-reply-to: <20060228201124.GA85491@xor.obsecurity.org> To: Kris Kennaway Message-id: <1141158688.20664.82.camel@mteterin.us.murex.com> Organization: Virtual Estates, Inc. MIME-version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=KOI8-U Content-transfer-encoding: quoted-printable X-Virus-Scanned: ClamAV devel-20050525/1306/Tue Feb 28 04:50:04 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 References: <1141151381.20664.19.camel@mteterin.us.murex.com> <20060228192453.GA84695@xor.obsecurity.org> <1141155894.20664.59.camel@mteterin.us.murex.com> <20060228195014.GA85269@xor.obsecurity.org> <1141156556.20664.66.camel@mteterin.us.murex.com> <20060228201124.GA85491@xor.obsecurity.org> X-Authentication-warning: mteterin.us.murex.com: mteterin set sender to mi+mxe@aldan.algebra.com using -f Cc: ports@FreeBSD.org, gnome@FreeBSD.org, obrien@FreeBSD.org Subject: Re: While we discuss libtool (-fpic vs. -fPIC) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mi+mxe@aldan.algebra.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 20:31:38 -0000 =F5 =D7=D4, 2006-02-28 =D5 15:11 -0500, Kris Kennaway =D0=C9=DB=C5: > Where I said "-fPIC and not -fpic is correct on amd64 and ia64." On > i386 they are equivalent. In fact now I'm not sure they're not > equivalent on amd64 and ia64 too (in which case the current situation > is still fine). I don't think, they are equivalent. The lower-case variant is slightly more efficient. It can not be used on sparc64, except for shared libraries with very few symbols, but it is fine on other arches. Here is a related thread at a PGSQL mailing list: http://groups.google.com/group/pgsql.hackers/browse_thread/thread/4948c99d9= 80ee2bd/9781cee632f281bc?lnk=3Dst David, in 2002 you changed bsd.lib.mk to use "fPIC" on sparc64, but left it at "fpic" for other arches. Can you comment on the differences, please? Thanks! -mi