Re: llvm / clang and thread_local storage problems

2016-10-20 Thread Jeremy Huddleston Sequoia
That's not really a reduced test case. It would be helpful if we could get a reduced test case of the problem that doesn't involve having to debug the entire guile application. An ideal test case would be a small C or C++ file without external dependencies that showcased the issue. --Jeremy

Re: llvm / clang and thread_local storage problems

2016-10-20 Thread Jack Howarth
On Sun, Oct 9, 2016 at 3:20 PM, Jeremy Huddleston Sequoia wrote: > >> On Oct 9, 2016, at 09:47, Jack Howarth wrote: >> >> On Sun, Oct 9, 2016 at 3:53 AM, Jeremy Huddleston Sequoia >> wrote: >>> thread_local support was added

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 6:02 PM, Jack Howarth wrote: > On Sun, Oct 9, 2016 at 5:57 PM, Jack Howarth > wrote: >> On Sun, Oct 9, 2016 at 4:46 PM, Jack Howarth >> wrote: >>> On Sun, Oct 9, 2016 at 3:20 PM,

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 5:57 PM, Jack Howarth wrote: > On Sun, Oct 9, 2016 at 4:46 PM, Jack Howarth > wrote: >> On Sun, Oct 9, 2016 at 3:20 PM, Jeremy Huddleston Sequoia >> wrote: >>> On Oct 9, 2016, at 09:47,

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 4:46 PM, Jack Howarth wrote: > On Sun, Oct 9, 2016 at 3:20 PM, Jeremy Huddleston Sequoia > wrote: >> >>> On Oct 9, 2016, at 09:47, Jack Howarth >>> wrote: >>> >>> On Sun, Oct 9, 2016 at

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 4:46 PM, Jack Howarth wrote: > On Sun, Oct 9, 2016 at 3:20 PM, Jeremy Huddleston Sequoia > wrote: >> >>> On Oct 9, 2016, at 09:47, Jack Howarth >>> wrote: >>> >>> On Sun, Oct 9, 2016 at

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 3:20 PM, Jeremy Huddleston Sequoia wrote: > >> On Oct 9, 2016, at 09:47, Jack Howarth wrote: >> >> On Sun, Oct 9, 2016 at 3:53 AM, Jeremy Huddleston Sequoia >> wrote: >>> thread_local support was added

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jeremy Huddleston Sequoia
> On Oct 9, 2016, at 09:47, Jack Howarth wrote: > > On Sun, Oct 9, 2016 at 3:53 AM, Jeremy Huddleston Sequoia > wrote: >> thread_local support was added in OS X 10.9 (along with __cxa_thread_atexit >> being added to Libc as part of that

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jack Howarth
On Sun, Oct 9, 2016 at 3:53 AM, Jeremy Huddleston Sequoia wrote: > thread_local support was added in OS X 10.9 (along with __cxa_thread_atexit > being added to Libc as part of that support). As long as your minimum > deployment target is 10.9, you should be fine. The issue

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Jeremy Huddleston Sequoia
thread_local support was added in OS X 10.9 (along with __cxa_thread_atexit being added to Libc as part of that support). As long as your minimum deployment target is 10.9, you should be fine. The issue is that you're on 10.6, so you don't have __cxa_thread_atexit. There is active

Re: llvm / clang and thread_local storage problems

2016-10-09 Thread Ken Cunningham
On 2016-10-08, at 10:03 PM, Stephen J. Butler wrote: > FYI, it's in the Xcode 8 release notes: > > https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html > > I did a quick test file and it seems to compile with Apple clang. No clue on >

Re: llvm / clang and thread_local storage problems

2016-10-08 Thread Stephen J. Butler
FYI, it's in the Xcode 8 release notes: https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html I did a quick test file and it seems to compile with Apple clang. No clue on compatibility issues though. On Sat, Oct 8, 2016 at 11:06 PM, Ryan Schmidt

Re: llvm / clang and thread_local storage problems

2016-10-08 Thread Ryan Schmidt
> On Oct 8, 2016, at 10:59 PM, Ken Cunningham > wrote: > > I've run into this again tonight. > > I'm using, at this moment, clang-3.7 / llvm-3.7 with macports-created libc++ > and libc++abi. > > > Every once in a while, a port I'm trying to create or build

llvm / clang and thread_local storage problems

2016-10-08 Thread Ken Cunningham
I've run into this again tonight. I'm using, at this moment, clang-3.7 / llvm-3.7 with macports-created libc++ and libc++abi. Every once in a while, a port I'm trying to create or build will error out due to this: error: thread-local storage is not supported for the current target