Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2008 22:26:49 +0400
From:      Andrew Pantyukhin <infofarmer@FreeBSD.org>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        Stephen Montgomery-Smith <stephen@math.missouri.edu>, freebsd-ports@freebsd.org
Subject:   Re: Advice sought for ports/vis5d+
Message-ID:  <20080502182648.GB92161@amilo.cenkes.org>
In-Reply-To: <20080502164716.GE43577@graf.pompo.net>
References:  <20080502103401.R39339@cauchy.math.missouri.edu> <20080502164716.GE43577@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <stephen@math.missouri.edu>
>  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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080502182648.GB92161>