On Mon, Feb 29, 2016 at 4:05 AM, Dewayne Geraghty <dewaynegerag...@gmail.com
> wrote:

> I understand the value of fPIC for shareable libraries but I'm a little
> confused as to why libcrypt.a requires -fPIC; which BTW does enable both
> python, perl and others to build cleanly.
>

Both perl and python load crypto support as shared objects associated with
their respective loadable modules. As such, you can't link non-PIC static
objects into those shared objects on amd64 (although it works, pretty much
by accident, on i386 32-bit).

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to