[MacPorts] #57883: libcxx @5.0.1_3: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Fri Jan 11 00:21:55 UTC 2019
#57883: libcxx @5.0.1_3: error: thread-local storage is unsupported for the current
target
-------------------------+-------------------------
Reporter: ryandesign | Owner: jeremyhu
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: snowleopard
Port: libcxx |
-------------------------+-------------------------
Comment (by kencu):
What I do have to offer to the Impossible Mission Force, should they
decide to accept it, is a version of `libcxx` that can be built from bare
metal with full emulated-TLS support using `gcc5, 6, and 7` on Intel and
PPC, and on Intel, `gcc8`.
Actually might not be a terrible bootstrapping plan, as it builds
`nostdinc++` and `nostdlibs`, so it is just using `gcc` as a c++11
compiler while using the libc++ headers, and it has no other dependencies
later on.
And then you can build `clang-3.4` against libstdc++ as we do now, and use
use `clang-3.4` to build `clang-5.0` against libc++, and then you're in
business. We should then build pretty much **everything** with `clang-5.0`
or newer after that, which is very similar to a current macOS system, I
find.
There, however, a bunch of other toolchain upgrade steps for `cctools` and
`ld64` in the LibcxxOnOlderSystems instructions that remain as bootstrap
issues. `clang-3.4` can probably build most or all of them, though.
--
Ticket URL: <https://trac.macports.org/ticket/57883#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list