[MacPorts] #59694: libgcc7 fails to compile (ld: illegal text-relocation to ___cpu_indicator_init)
MacPorts
noreply at macports.org
Sun Dec 29 13:38:44 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 kencu):
the issue is it will currently build for me only with the "gas" original
assembler.
our cctools modifications make as call clang if a reasonably new clang
exists, and this fails.
If we force /usr/bin/as then that is baked in forever, which is not good.
we don't have a way to force our as to be "gas".
Only thing that works properly is to deactivate all clangs prior to
building gcc7/libgcc7, and this is a bit awkward...
--
Ticket URL: <https://trac.macports.org/ticket/59694#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list