Opened 5 weeks ago

Closed 5 weeks ago

#71075 closed defect (duplicate)

clang-17: Undefined symbols for architecture x86_64: __availability_version_check

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: Cc: jmroot (Joshua Root)
Port: clang-17

Description

python312 fails to build on Mac OS X 10.7.

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/205688

Undefined symbols for architecture x86_64:
  "__availability_version_check", referenced from:
      ___isPlatformVersionAtLeast in libclang_rt.osx.a(os_version_check.c.o)
      __initializeAvailabilityCheck in libclang_rt.osx.a(os_version_check.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_freeze_module] Error 1
make: *** Waiting for unfinished jobs....

Possibly a bug in clang-17?

Change History (1)

comment:1 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #70867.

Note: See TracTickets for help on using tickets.