[MacPorts] #70867: clang-17: Undefined symbols: __availability_version_check

MacPorts noreply at macports.org
Tue Oct 15 15:03:05 UTC 2024


#70867: clang-17: Undefined symbols: __availability_version_check
-------------------------------------+-------------------------------------
  Reporter:  ryandesign              |      Owner:  mohd-akram
      Type:  defect                  |     Status:  reopened
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:  2.10.1
Resolution:                          |   Keywords:  highsierra, elcapitan,
      Port:  odin, clang-17,         |  yosemite, mavericks, mountainlion,
  clang-18                           |  lion, snowleopard
-------------------------------------+-------------------------------------
Changes (by ryandesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 python312 used clang-17 on Mac OS X 10.7 because it sets
 `compiler.c_standard 2011`. On Mac OS X 10.6 it used MacPorts clang 11 and
 built fine. On Mac OS X 10.8 and later it used Xcode clang and built fine.

 odin uses MacPorts clang 17 up to a newer OS version because it
 sets`compiler.cxx_standard 2017`.

 I initially thought the problem might be specific to odin because it also
 separately depends on llvm-18. But the build failure of python312 suggests
 the clang-17 port is simply broken, possibly on all OS versions; I have
 not tested it further. Changing the compiler selection logic to exclude
 clang-17 on affected systems doesn't sound like the solution. Fixing the
 compiler so it works on an affected systems seems like what is needed.

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


More information about the macports-tickets mailing list