[MacPorts] #53361: libgmp gives illegal text-relocation error when linking with other programs in Sierra
MacPorts
noreply at macports.org
Sat Jan 21 14:11:56 UTC 2017
#53361: libgmp gives illegal text-relocation error when linking with other programs
in Sierra
-----------------------+---------------------------------
Reporter: cytan299 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
-----------------------+---------------------------------
Comment (by MarcusCalhoun-Lopez):
According to the [https://gmplib.org/list-archives/gmp-
bugs/2011-August/002318.html GMP mailing list], libgmp.a should not be
PIC.[[BR]]
The advice is to use libgmp.dylib if PIC is needed.[[BR]]
Is that an option for you?
You seem to be using quite a few customizations (including a custom
GCC).[[BR]]
This is probably going to make it difficult to determine if `--with-pic`
is correct for everyone.
--
Ticket URL: <https://trac.macports.org/ticket/53361#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list