[MacPorts] #61906: :info:build <stdin>:69:17: error: non-local symbol required in directive :info:build .no_dead_strip L_OBJC_Module

MacPorts noreply at macports.org
Thu Dec 24 15:37:06 UTC 2020


#61906: :info:build <stdin>:69:17: error: non-local symbol required in directive
:info:build         .no_dead_strip L_OBJC_Module
---------------------+--------------------
  Reporter:  dbl001  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.4
Resolution:          |   Keywords:  gcc48
      Port:  gcc48   |
---------------------+--------------------

Comment (by kencu):

 gcc48 can't build if the assembly is being set to clang to build.

 newer gcc versions were patched upstream to fix this, but not gcc48.

 To fix many broken builds of other ports, we altered cctools to send the
 assembly to clang if clang-5.0 or greater is installed.

 So the short answer is deactivate clangs >= 5.0, do your gcc48 build, and
 then reactivate them, and you should be OK.

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


More information about the macports-tickets mailing list