[MacPorts] #57883: libcxx @5.0.1_3: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Wed Jan 9 22:21:41 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: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: libcxx |
-------------------------+-------------------------
Comment (by kencu):
OK. In this part:
{{{
if {${os.major} < 11} {
variant emulated_tls description {build libcxxabi and libcxx with
support for emulated thread_local storage} {}
}
# only selected clang versions support emulated-tls
foreach ver {5.0} {
if {[file exists ${prefix}/bin/clang-mp-${ver}] && ${os.major} <
11} {
default_variants-append +emulated_tls
}
}
}}}
if I whitelist the installed working compilers like this:
{{{
if {${os.major} < 11} {
variant emulated_tls description {build libcxxabi and libcxx with
support for emulated thread_local storage} {}
}
# only selected clang versions support emulated-tls
foreach ver {5.0} {
if {[file exists ${prefix}/bin/clang-mp-${ver}] && ${os.major} <
11} {
default_variants-append +emulated_tls
compiler.whitelist-append macports-clang-${ver}
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57883#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list