From owner-freebsd-ports@FreeBSD.ORG Wed Apr 19 17:58:12 2006 Return-Path: X-Original-To: freebsd-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 F41A216A41F for ; Wed, 19 Apr 2006 17:58:11 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F73D43D58 for ; Wed, 19 Apr 2006 17:58:11 +0000 (GMT) (envelope-from ler@lerctr.org) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=fMT4/ljNykSOS+owL9NmEhlYR8xZTlPE1VV1qSt/SB0jkmsTYeO7XZaeuggrIn9ktSx+mGrL6NlrltxolRPZgXUccf2nFWW62FAxMC4209NSv8JDlSpBWbEu58wVjboJtJVzyAHWN3oOg9/Yv0CNrNs3BHoE0FBxb7W+Jp6o3Ow=; Received: from 64-132-13-2.gen.twtelecom.net ([64.132.13.2]:61753 helo=LROSENMAC8010P) by thebighonker.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FWGwH-0005ZO-L9; Wed, 19 Apr 2006 12:58:08 -0500 From: "Larry Rosenman" To: "'Kris Kennaway'" Date: Wed, 19 Apr 2006 12:57:32 -0500 Message-ID: <02e801c663da$bbaa2c30$0202fea9@aus.pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZj2cYkJNLeESbaTO6zIcyZS4kTrwAAK0Lg In-Reply-To: <20060419175036.GA71370@xor.obsecurity.org> X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 X-LERCTR-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 DomainKey-Status: no signature Cc: freebsd-ports@freebsd.org Subject: RE: -fPIC for a port that is just a library on amd64? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 17:58:12 -0000 Kris Kennaway wrote: >> >> It's just compiling a static object (a libxdiff.a). >> >> I just submitted a patch to the port that if ${MACHINE} == amd64 I >> do the CFLAGS+= -fPIC but I'm not sure that's acceptable to you >> folks on portmgr. > > How is this object used? Is it really supposed to be static? > > Kris I was going by the port which did NOT configure it with --enable-shared. It appears to build a shared object if I configure it with --enable-shared. I didn't look at the history of the port. It's currently a ports@ port, and the PR I sent (ports/96062) has me grab maintainership. If you want me to, I can update it to build shared, but I need to test it some. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893