LDC 0.10.0 Beta 1 available

David Nadlinger see at klickverbot.at
Wed Dec 12 09:03:00 PST 2012


On Wednesday, 12 December 2012 at 08:32:50 UTC, Peter Alexander 
wrote:
> On Wednesday, 12 December 2012 at 01:07:56 UTC, David Nadlinger 
> wrote:
>> After a long wait and many unexpected delays, there is finally 
>> going to be a released version of LDC, the LLVM D compiler, 
>> again! I'll keep this post short and (hopefully) sweet, a more 
>> detailed announcement will follow when the release is actually 
>> out
>
> Nice work.
>
> I just downloaded the OSX version, but I'm getting a lot of 
> unusual linker errors when trying to compile hello world. 
> Here's the output with ldc -L=-v. I'm running OS X 10.6.8.

We discovered this only pretty recently, but unfortunately this 
is expected – LLVM relies on operating system support for TLS 
data, and it was first introduced in OS X 10.7 (dyld support is 
needed for it to work, so D2 executables generated using a newer 
OS/toolchain probably won't work on older systems either). Adding 
a manual TLS implementation to LLVM would be possible as a 
workaround, but nobody did it so far.

I will be sure to make it clear in the release notes that at 
least Lion is required.

David


More information about the Digitalmars-d-announce mailing list