Re: Thread Local Storage in clang

2021-05-28 Thread Brad Smith
On 5/28/2021 10:55 AM, Chris Cappuccio wrote: I tried to compile librdkafka on OpenBSD 6.5 (clang 7.0.1) and clang compiled the __thread parts with some built-in mechanism. I upgraded the system to OpenBSD 6.9 and TLS is no longer supported by the in-tree clang. Was this intended to be turned off

Re: Thread Local Storage in clang

2021-05-28 Thread Chris Cappuccio
Marc Espie [es...@nerim.net] wrote: > > Thinking some more about it, I would suspect the configury stuff in that > library to expect native support... tls doesn't work on OpenBSD unless you > respect the toolchain. > > in particular, it won't fly without the support library (the emutls stuff > in

Re: Thread Local Storage in clang

2021-05-28 Thread Marc Espie
On Fri, May 28, 2021 at 06:56:42PM +0200, Marc Espie wrote: > On Fri, May 28, 2021 at 07:55:39AM -0700, Chris Cappuccio wrote: > > I tried to compile librdkafka on OpenBSD 6.5 (clang 7.0.1) and clang > > compiled > > the __thread parts with some built-in mechanism. I upgraded the system to > > Ope

Re: Thread Local Storage in clang

2021-05-28 Thread Marc Espie
On Fri, May 28, 2021 at 07:55:39AM -0700, Chris Cappuccio wrote: > I tried to compile librdkafka on OpenBSD 6.5 (clang 7.0.1) and clang compiled > the __thread parts with some built-in mechanism. I upgraded the system to > OpenBSD 6.9 and TLS is no longer supported by the in-tree clang. Was this >

Thread Local Storage in clang

2021-05-28 Thread Chris Cappuccio
I tried to compile librdkafka on OpenBSD 6.5 (clang 7.0.1) and clang compiled the __thread parts with some built-in mechanism. I upgraded the system to OpenBSD 6.9 and TLS is no longer supported by the in-tree clang. Was this intended to be turned off? Did the 6.5 version even work? Is Thread Local