Am Samstag, 21. Dezember 2013, 12:02:31 schrieb Alexander Skobelev:
> Follow-up Comment #1, bug #40978 (project gforth):
> 
> I have compiled it at last by wrapping gforth_[SFRLU]P, and
> throw-jmp_handler into functions of sort get_gforth_[SFRLU]PP() and
> get_throw_jmp_handler(). The patch is attached.

We already have a workaround in place for Windows, which has a similar 
problem, but actually supports thread-local storage (though it isn't able to 
link things).  I haven't done much on Mac OS X lately, but AFAIK, __thread is 
supported only from gcc-4.4 onwards, and to make POSIX threads work, you 
absolutely must have __thread working.

I'll check what I can do. Unfortunately, Apple decided to pull the plug for my 
Mac mini, I can't get an update to the newest OS, and therefore also can't get 
an update to the newest XCode. But I think I can get a recent GCC without 
XCode, e.g. here https://github.com/kennethreitz/osx-gcc-installer/

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
bug-gforth mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gforth

Reply via email to