Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2014 11:23:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192397] [patch] graphics/mupdf add -fPic option
Message-ID:  <bug-192397-13-xQRYZrkeb0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192397-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192397-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192397

--- Comment #3 from Zsolt Udvari <udvzsolt@gmail.com> ---
(In reply to Zsolt Udvari from comment #2)
> (In reply to Tijl Coosemans from comment #1)
> > Why do you need this?  The package builds fine without.
> 
> I'm working on graphics/zathura-pdf-mupdf port (
> http://pwmt.org/projects/zathura-pdf-mupdf/ ) and doesn't build it without
> -fPIC (and prints an error message about rebuilding with -fPIC). With -fPIC
> builds fine.

Check this log:
https://redports.org/~uzsolt/20140805110937-15588-230356/zathura-pdf-mupdf-0.2.6.log
:
/usr/bin/ld: /usr/local/lib/libmupdf.a(list-device.o): relocation R_X86_64_32S
against `a local symbol' can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libmupdf.a: could not read symbols: Bad value

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192397-13-xQRYZrkeb0>