[MacPorts] #59694: libgcc7 fails to compile (ld: illegal text-relocation to ___cpu_indicator_init)

MacPorts noreply at macports.org
Tue Nov 19 06:53:27 UTC 2019


#59694: libgcc7 fails to compile (ld: illegal text-relocation to
___cpu_indicator_init)
-----------------------+--------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by rmottola):

 I think the unwinding warnings are not fatal, but the text-relocation
 about __cpu_indicator_init is.
 I added

 {{{
 -Wl,-read_only_relocs,suppress
 }}}

 but it did not help.

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


More information about the macports-tickets mailing list