Opened 3 years ago

Last modified 2 years ago

#63707 closed defect

clang-13: fix for SnowLeopard — at Version 4

Reported by: kencu (Ken) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard haspatch Cc: mascguy (Christopher Nielsen)
Port: clang-13

Description (last modified by kencu (Ken))

FYI clang-13 / flang-13 / mlir-13 builds without trouble on SnowLeopard if libcxx has been upgraded to the version that supports thread_local_storage:

To rebuild libcxx with full thread_local support, please install clang-9.0 or any macports-clang >= clang-5.0 and then rebuild libcxx like this:

sudo port -v -n upgrade --force --enforce-variants libcxx +emulated_tls

and if the attached patch is used.

$ port -v installed clang-13
The following ports are currently installed:
  clang-13 @13.0.0_0+analyzer+defaultlibcxx+libstdcxx (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-27T09:39:39-0700'

Change History (5)

comment:1 Changed 3 years ago by kencu (Ken)

Keywords: snowleopard added
Port: clang-13 added

comment:2 Changed 3 years ago by kencu (Ken)

Keywords: haspatch added

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:4 Changed 3 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.