From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 28 19:45:05 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A9AD16A423; Tue, 28 Feb 2006 19:45:05 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B42543D46; Tue, 28 Feb 2006 19:45:03 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from corbulon.video-collage.com ([151.204.231.237]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IVE00E5BXJ11P66@vms046.mailsrvcs.net>; Tue, 28 Feb 2006 13:45:02 -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 k1SJj0qR035340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2006 14:45:01 -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 k1SJit5l025248; Tue, 28 Feb 2006 14:44:55 -0500 Received: (from mteterin@localhost) by mteterin.us.murex.com (8.13.4/8.13.4/Submit) id k1SJisIB025247; Tue, 28 Feb 2006 14:44:54 -0500 Date: Tue, 28 Feb 2006 14:44:54 -0500 From: Mikhail Teterin In-reply-to: <20060228192453.GA84695@xor.obsecurity.org> To: Kris Kennaway Message-id: <1141155894.20664.59.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/1305/Mon Feb 27 14:07:49 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> 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-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mi+mxe@aldan.algebra.com List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 19:45:05 -0000 =F5 =D7=D4, 2006-02-28 =D5 14:24 -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. 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: .if !defined(PICFLAG) .if ${MACHINE_ARCH} =3D=3D "sparc64" PICFLAG=3D-fPIC .else PICFLAG=3D-fpic .endif .endif 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. Yours, -mi