[MacPorts] #54996: llvm-5.0 does not build on 10.6 because of missing thread_local support (fix available)

MacPorts noreply at macports.org
Wed Oct 4 14:26:15 UTC 2017


#54996: llvm-5.0 does not build on 10.6 because of missing thread_local support
(fix available)
-----------------------+-------------------------
  Reporter:  devernay  |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  snowleopard
      Port:  llvm-5.0  |
-----------------------+-------------------------

Comment (by kencu):

 this might turn out to be a hard one. I have not managed to get thread
 local storage working on 10.6 so far with clang ; it works with  gcc6/gcc7
 though. I tried the libcxx version but could not yet make that work
 either.

 would be pleased to find out there is a way...there are other ports that
 need it too.

 gcc does some kind of trickery to make it work on old systems...I think
 TLS is a kernel thing. It _is_ pretty easy to build llvm with gcc,
 though...hmmm.

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


More information about the macports-tickets mailing list