From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 19:57:33 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 BF87B16A422; Tue, 28 Feb 2006 19:57:33 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10B0843D62; Tue, 28 Feb 2006 19:57:26 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from corbulon.video-collage.com ([151.204.231.237]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IVE00BYQY1EF1R0@vms040.mailsrvcs.net>; Tue, 28 Feb 2006 13:56:03 -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 k1SJu17G035529 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2006 14:56:02 -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 k1SJtu2x025308; Tue, 28 Feb 2006 14:55:56 -0500 Received: (from mteterin@localhost) by mteterin.us.murex.com (8.13.4/8.13.4/Submit) id k1SJtucE025307; Tue, 28 Feb 2006 14:55:56 -0500 Date: Tue, 28 Feb 2006 14:55:56 -0500 From: Mikhail Teterin In-reply-to: <20060228195014.GA85269@xor.obsecurity.org> To: Kris Kennaway Message-id: <1141156556.20664.66.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> 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 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 19:57:33 -0000 =F5 =D7=D4, 2006-02-28 =D5 14:50 -0500, Kris Kennaway =D0=C9=DB=C5: > > > Not sure what you're requesting precisely, but -fPIC and not -fpic > is > > > correct on amd64 and ia64. > >=20 > > I'm requesting, libtool is changed to use `-fpic' instead of `-fPIC' > > on all arches except sparc64. This is more efficient, and is what > > bsd.lib.mk does: > >=20 > > .if !defined(PICFLAG) > > .if ${MACHINE_ARCH} =3D=3D "sparc64" > > PICFLAG=3D-fPIC > > .else > > PICFLAG=3D-fpic > > .endif > > .endif > >=20 > > The performance difference is slight, and is not worth chasing every > > shared-library building port. But if we can improve hundreds of > > ports at once by correcting libtool, we certainly should. >=20 > OK, that's wrong then, as above. What is "wrong" and which part of the "above" are you referring to? -mi