[MacPorts] #52585: libcxxabi -- attempts to add thread-local-storage (TLS) to <10.7

MacPorts noreply at macports.org
Wed Feb 21 00:00:46 UTC 2018

#52585: libcxxabi -- attempts to add thread-local-storage (TLS) to <10.7
  Reporter:  ken-cunningham-webuse  |      Owner:  macports-tickets@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:                         |   Keywords:
      Port:  libcxxabi              |

Comment (by kencu):

 Happy to report this looks to be working now.

 I rebuilt libcxx adding in the cxa_thread_atexit file using the thread-
 enabled version of clang-5.0, and then once that was done, I rebuilt
 clang-5.0 with this modification:
 Name = (T.isOSDarwin() && !T.isMacOSXVersionLT(10, 7)) ?  "_tlv_atexit" :
 and using that, everything builds nicely, no link errors found, and
 filezilla builds through to completion and seems to be working as it

 Need to do some thorough testing, and then perhaps make this available to

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

More information about the macports-tickets mailing list