Problem with /usr/lib/libcrypt.a when building perl/python with libressl
allbery.b at gmail.com
Mon Feb 29 14:22:27 UTC 2016
On Mon, Feb 29, 2016 at 4:05 AM, Dewayne Geraghty <dewaynegeraghty at gmail.com
> 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
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
More information about the freebsd-stable