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

MacPorts noreply at macports.org
Mon Nov 18 22:42:42 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 searched on the net and the issues affects several also on newer macs.
 The option would be:
 {{{
 -Wl,-no_compact_unwind
 }}}

 but if I try to add that, configure fails because ld says "unknown option"
 and indeed "man ld" on my 10.5 shows nothing thereof.
 Perhaps we should redirect to another linker?
 Info: the port is compiling with standard apple gcc-4.2

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


More information about the macports-tickets mailing list