bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gforth] [bug #40978] Failed to compile GForth on MACOSX 10.8.5


From: Bernd Paysan
Subject: Re: [Bug-gforth] [bug #40978] Failed to compile GForth on MACOSX 10.8.5
Date: Sat, 21 Dec 2013 14:55:06 +0100
User-agent: KMail/4.11.3 (Linux/3.11.6-4-desktop; KDE/4.11.3; x86_64; ; )

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]