[MacPorts] #53361: libgmp gives illegal text-relocation error when linking with other programs in Sierra

MacPorts noreply at macports.org
Sun Jan 22 14:58:33 UTC 2017


#53361: libgmp gives illegal text-relocation error when linking with other programs
in Sierra
-----------------------+---------------------------------
  Reporter:  cytan299  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  invalid   |   Keywords:
      Port:            |
-----------------------+---------------------------------
Changes (by MarcusCalhoun-Lopez):

 * status:  accepted => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:3 cytan299]:
 >    I relinked using libgmp.dylib rather than libgmp.a and the error went
 away. So perhaps that's the right way to do this.
 If this works for you, then I would rather follow the advice of the
 upstream developers and leave things the way they are.

 >   I'm not sure what you mean about a customized gcc. I believe I am
 using the standard install.
 Sorry, I meant a non-MacPorts version of GCC.

 Thank you for the report.[[BR]]
 If non-PIC code is an issue in the future, we can use this as a starting
 point.

--
Ticket URL: <https://trac.macports.org/ticket/53361#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list