Advice sought for ports/vis5d+

Martin Wilke miwi at FreeBSD.org
Fri May 2 19:10:00 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, May 02, 2008 at 10:26:49PM +0400, Andrew Pantyukhin wrote:
> 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 at 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.

Build is Fixed now. Thanks all!

- - Martin

> 
> Thanks!
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

- -- 

+-----------------------+-------------------------------+
|  PGP    : 0x05682353  |  Jabber : miwi(at)BSDCrew.de  |
|  ICQ    : 169139903   |  Mail   : miwi(at)FreeBSD.org |
+-----------------------+-------------------------------+
|	Mess with the Best, Die like the Rest!		|
+-----------------------+-------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIG2cDFwpycAVoI1MRAoZoAJ0asu+KQLBQssU5IofYoyZ01PdCYwCaAlET
eXXqhvxpofv3a24nkjIKfYc=
=BXMO
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list