From owner-freebsd-ports@FreeBSD.ORG Tue Mar 7 19:07:18 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 2712F16A457 for ; Tue, 7 Mar 2006 19:07:18 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32713.mail.mud.yahoo.com (web32713.mail.mud.yahoo.com [68.142.206.26]) by mx1.FreeBSD.org (Postfix) with SMTP id E000643D53 for ; Tue, 7 Mar 2006 19:07:12 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 68222 invoked by uid 60001); 7 Mar 2006 19:07:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=p7sdHyHPIjLk+66kF3TUZGvkruwW+QcXHscsFQ+1OUjVif4/xh9VhNS6tI0FIIfkYqEJXTZve5RqoS9IIVh/ztFyABMMWEKZkh5ug8crut2cdtVhUsraYBfom9JsOWlLS3MLlxFlYtVQ8F+RUz9Z8OG2K/rUi9moBTROAggDIJA= ; Message-ID: <20060307190712.68220.qmail@web32713.mail.mud.yahoo.com> Received: from [200.118.66.85] by web32713.mail.mud.yahoo.com via HTTP; Tue, 07 Mar 2006 20:07:12 CET Date: Tue, 7 Mar 2006 20:07:12 +0100 (CET) From: To: Kris Kennaway , ports@FreeBSD.org In-Reply-To: <20060307184210.GA33347@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: Re: amd64 and -fPIC X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 19:07:18 -0000 --- Kris Kennaway ha scritto: ... > > > > That doesn't solve the problem, which is: the static library is > > almost useless, and users might actually want or need to use the > > static library. > > Why do you say it's useless? The point of a static library is for > static linking, and this works fine on amd64 or any other > architecture. > The problem is mixing static and shared libraries: this is perfectly legal and very often desired in most platforms except on amd64. There are reasons to use static libraries, there are reasons to use shared libraries, and there are reasons to want to use both. So unless the *.a standlaone library is only used on one (static) application, -fPIC looks pretty much unavoidable. cheers, Pedro. ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it