[MacPorts] #60638: cgal5 @5.0.2: error: thread-local storage is not supported for the current target
MacPorts
noreply at macports.org
Tue Jun 23 04:19:30 UTC 2020
#60638: cgal5 @5.0.2: error: thread-local storage is not supported for the current
target
-------------------------+----------------------
Reporter: ryandesign | Owner: Veence
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: fixed | Keywords: haspatch
Port: cgal5 |
-------------------------+----------------------
Comment (by kencu):
{{{thread_local}}} always implies {{{std=c++11}}} or greater.
<https://en.cppreference.com/w/cpp/keyword/thread_local>
I had a conversation with Marcus about whether setting
{{{compiler.thread_local_storage yes}}} should imply at least
{{{std=c++11}}} and that was felt to be completely unacceptable and it
should always be separately specified, so therefore you have to specify
both.
don't forget that many build systems will test for certain standards and
use them if available. Just because the build line indicated
{{{-std=gnu++14}}} on this particular system, it does not necessarily mean
that the software actually requires that. Just that it used that during
this build. Not a big deal -- it will probably just mean that ports that
might have built with an older compiler will be forced to build with a
newer one, but I know you don't like that.
--
Ticket URL: <https://trac.macports.org/ticket/60638#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list