<p dir="ltr"><br>
On Feb 10, 2015 2:51 PM, "Marko Käning" <<a href="mailto:mk-lists@email.de">mk-lists@email.de</a>> wrote:<br>
><br>
> Hi René and Yichao,<br>
><br>
> qtcurve currently fails here on my OSX/CI system:<br>
> ---<br>
> Building CXX object lib/utils/CMakeFiles/qtcurve-utils.dir/x11helpers.cpp.o<br>
> /Users/marko/WC/KDECI-builds/kf5-qt5/qtcurve/lib/utils/timer.cpp:27:8: error: thread-local storage is unsupported for the current target<br>
> static thread_local std::vector<uint64_t> qtc_tics;<br>
>        ^<br>
> 1 error generated.<br>
> make[2]: *** [lib/utils/CMakeFiles/qtcurve-utils.dir/timer.cpp.o] Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> make[1]: *** [lib/utils/CMakeFiles/qtcurve-utils.dir/all] Error 2<br>
> ---<br>
><br>
> Any idea how to solve this?</p>
<p dir="ltr">It fails on linux with libc++ too and when I search for the reason, I found someone reporting something similar to what you have while others managed to make it work. I know almost nothing about OSX so I don't really know how to solve it but you can probably Google tje error message and see what others says.<br></p>
<p dir="ltr">If there's really no way to make it work, which I doubt, I can use pthread with much longer code....</p>
<p dir="ltr">Clang should support it though. At least they do on Linux.<br></p>
<p dir="ltr">><br>
> Greets,<br>
> Marko</p>