From owner-freebsd-ports@FreeBSD.ORG Fri May 2 18:26:54 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0BF106564A for ; Fri, 2 May 2008 18:26:54 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 146C98FC26 for ; Fri, 2 May 2008 18:26:53 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp85-140-150-18.pppoe.mtu-net.ru [85.140.150.18]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 6F13B242F8E7; Fri, 2 May 2008 22:26:52 +0400 (MSD) Date: Fri, 2 May 2008 22:26:49 +0400 From: Andrew Pantyukhin To: Thierry Thomas Message-ID: <20080502182648.GB92161@amilo.cenkes.org> References: <20080502103401.R39339@cauchy.math.missouri.edu> <20080502164716.GE43577@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080502164716.GE43577@graf.pompo.net> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Stephen Montgomery-Smith , freebsd-ports@freebsd.org Subject: Re: Advice sought for ports/vis5d+ X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 18:26:54 -0000 On Fri, May 02, 2008 at 06:47:16PM +0200, Thierry Thomas wrote: > On Fri 2 may 08 at 17:39:08 +0200, Stephen Montgomery-Smith > wrote: > > I am the maintainer of the science/vis5d+ port. It was recently marked > > broken, and I submitted the PR ports/123233 to fix it. However my fix > > doesn't seem to work for the amd64 - > > http://amd64.miwibox.org/tb2/errors/6.3-FreeBSD/vis5d+-1.2.1_8.log > > > > The problem seems to be with the libgfx port. A month or two ago, it must > > have somehow been brought in as part of the netcdf port. But now it > > has become necessary to explicitly link against libgfx.a. For whatever > > reason, this doesn't work on the amd64. > > > > Any help or advice much appreciated. > > Hello Stephen, > > The message is: > > /usr/bin/ld: /usr/local/lib/libgfx.a(time.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > > That means that graphics/libgfx should be modified to use -fPIC, and > better to produce a shared library (maintainer Cc'ed). Right. Miwi has just asked me about this and I asked him to try to tweak CFLAGS in libgfx. I can't remember why I didn't convert libgfx to produce a shared library, but I certainly do it whenever I can. I'll try to take a closer look soon. Thanks!