LDC 1.2.0-beta1 has been released!

Radu via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Mar 23 09:05:55 PDT 2017


On Saturday, 18 March 2017 at 08:39:31 UTC, Kai Nacke wrote:
> Hi everyone!
>
> On behalf of the LDC team I announce the new 1.2.0-beta1 
> release!
> It is based on the 2.072.2 front-end and supports LLVM 3.5-4.0.
>
> Beside the new front-end there are some more fixes to increase 
> robustness of the compiler. Be sure to read the change log at 
> the GitHub release page for details. The packages are available 
> for download at the same page.
> https://github.com/ldc-developers/ldc/releases/tag/v1.2.0-beta1
>
> MD5 checksums for the release packages:
>
> f6fe3a09ca6593bdb0ceefd9ae4052ca ldc-1.2.0-beta1-src.tar.gz
> 3262f003d0aa06780bd172cf4bc56a75 
> ldc2-1.2.0-beta1-freebsd-x86_64.tar.xz
> 54c6bfafdd7ea8900479c588e7215e9b 
> ldc2-1.2.0-beta1-linux-x86.tar.xz
> b02aafa9ab888c5392da50dd5f4bb959 
> ldc2-1.2.0-beta1-linux-x86_64.tar.xz
> 3dbf34ffd3d38cf44181638a4dc4a65f 
> ldc2-1.2.0-beta1-osx-x86_64.tar.xz
> 13ffbc95d827eb33a6a7b7e714c542eb ldc2-1.2.0-beta1-win32-msvc.zip
> a075b10608c641b88f2aeb75cfbfe913 ldc2-1.2.0-beta1-win64-msvc.zip
>
> Regarding the binaries:
> The Linux x86/x86_64 binaries are built on Ubuntu 12.04 LTS 
> with gcc 4.8.x, ldc2 1.2.0-beta1 and LLVM 4.0.0. They work on 
> Ubuntu 12.04 LTS (or later) without installing additional 
> software.
>
> The OS X binaries and the FreeBSD binaries are built with LLVM 
> 4.0.0.
>
> The Win32 and Win64 MSVC versions are built with VS2015 and 
> LLVM 3.9.1 (due to a regression in LLVM 4.0).
>
> Please be sure to report any bugs at 
> https://github.com/ldc-developers/ldc/issues, and feel free to 
> drop by at the digitalmars.D.ldc forums 
> (http://forum.dlang.org/group/digitalmars.D.ldc) for any 
> questions or comments.
>
> Thanks to everybody involved in making this happen!
>
> Regards,
> Kai

I tested a bit 1.2.0-beta1 as a cross compiler for ARM. Good news 
is that basic stuff like "hello world" works. Really good news, 
at least for me, is that all this was done on Windows Linux 
Subsystem [1].

Unfortunately all good news ends as soon I try something more 
involved, like:
=======================================
import std.stdio;

void main()
{
     try
     {
       throw new Exception("darn!");
     }
     catch(Exception e)
     {
       writeln(e.msg);
     }
     writeln("Hello world!");
}
=======================================
I get:

Fatal error in EH code: _Unwind_RaiseException failed with reason 
code: 9
Aborted

The machine I'm running this on is an ARM926EJ-S rev 5, and the 
ABI used is ARM, EABI5 version 1 soft float.

Any idea what might be wrong here?

[1] https://msdn.microsoft.com/en-us/commandline/wsl/about



More information about the digitalmars-d-ldc mailing list