yes, it can cause confusion that the C thread local and the c++ thread_local
are different animals.
But as I hope we don't want two different compiler.thread_local_storage
commands, one for C and one for c++, we need to cover them both with one
command.
Or have two, if you like...
I'll look a
macOS has supported thread-local storage since Mac OS X Lion.
So __thread (GNU extension) and _Thread_local (C11) could be used.
However, the C++11 keyword was not supported until Xcode 8 [1,2].
There is a pull request that attempts to improve the situation [3].
-Marcus
1.
https://stackoverflow
Well, I’ll be hornswaggled.
Indeed it appears the compiler.thread_local_storage option in MacPorts is well
and truly broken. It basically only works on 10.6 and less (which is where I
often am, so I guess it always worked for me).
Marcus forgot to blacklist command_line clangs < 800.
We’ll ha
[sorry forgot to reply to the list earlier]
Thanks Ken, I am not sure if I can be of much help here - if you’d be willing
to take a look that would be great! For now I’ll just blacklist clang below
version 8.
Best,
Renee
> On Nov 21, 2019, at 12:52 PM, Ken Cunningham
> wrote:
>
> yes, clan
Let me say more
Every MacOS system supports thread_local storage, from 10.4 Tiger PPC on up.
Up to now, the base thread_local specifier introduced in MacPorts 2.6 has
worked beautifully.
There is no reason to manually specifiy any compiler other than that command.
There is no reason to disable
> Clang 5 and above do support this ()
Clang 5 and above do support thread_local storage.
what issue are you having?
Ken
on OS X
10.8, 10.9, and 10.10 with the error "error: thread-local storage is not
supported for the current target” (with AppleClang version 5.1, 6.0, and
7.0, respectively). On 10.7 it works
again because /opt/local/bin/clang++-mp-9.0 is used as compiler, I
assume because of the "comp
gt;> one of the PRs I just merged
>> (https://github.com/macports/macports-ports/pull/5848) fails on OS X
>> 10.8, 10.9, and 10.10 with the error "error: thread-local storage is not
>> supported for the current target” (with AppleClang version 5.1, 6.0, and
>> 7.0, resp
On 2019-11-21 13:38 , Renee Otten wrote:
> dear all,
>
>
> one of the PRs I just merged
> (https://github.com/macports/macports-ports/pull/5848) fails on OS X
> 10.8, 10.9, and 10.10 with the error "error: thread-local storage is not
> supported for the current target
dear all,
one of the PRs I just merged
(https://github.com/macports/macports-ports/pull/5848
<https://github.com/macports/macports-ports/pull/5848>) fails on OS X 10.8,
10.9, and 10.10 with the error "error: thread-local storage is not supported
for the current target” (with
10 matches
Mail list logo