[MacPorts] #73374: clang fails using linger with unknown option -no_data_in_code_info

MacPorts noreply at macports.org
Fri Jan 9 22:25:11 UTC 2026


#73374: clang fails  using linger with unknown option -no_data_in_code_info
-------------------------+-------------------------
  Reporter:  rmottola    |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  snowleopard
      Port:  clang ld64  |
-------------------------+-------------------------

Comment (by ryandesign):

 A comment in the ld64 portfile explains the reasons behind the default
 ld64 versions on different OS versions, specifically:

 {{{#!tcl
         } elseif {${os.major} < 15} {
             # os versions < 16 can't build libtapi or newer ld64 versions
 with their stock xcode compilers
             # so need to call in clang-9.0 and that has a runtime dep on
 ld64 (circular)
             default_variants +ld64_274
 }}}

 (There appears to be a disagreement on whether it's Darwin 15 or 16.)

 So, you could install a newer ld64 on older systems if you first install
 an older ld64 and, using that, install a newer clang.

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


More information about the macports-tickets mailing list