Jump to page: 1 2
Thread overview
LDC 0.16.0 alpha3 is out! Get it, test it, give feedback!
Sep 16, 2015
Kai Nacke
Sep 17, 2015
Marc Schütz
Sep 17, 2015
David Nadlinger
Sep 17, 2015
ponce
Sep 18, 2015
Kai Nacke
Sep 17, 2015
Yazan D
Sep 17, 2015
Yazan D
Sep 17, 2015
ponce
Sep 17, 2015
Yazan D
Sep 17, 2015
Daniel N
Sep 19, 2015
Marco Leise
Sep 20, 2015
David Nadlinger
Sep 21, 2015
Marco Leise
Sep 21, 2015
Marco Leise
Sep 23, 2015
David Nadlinger
September 16, 2015
Hi everyone!

On behalf of the LDC team I am proud to announce the LDC 0.16.0 alpha3 release!
It is based on the 2.067.1 front-end and LLVM 3.1-3.7 (OS X: no support for 3.3).

This alpha version fixes some issues and adds new features. The LDC team already considers this the best LDC release of all times!
Most important changes are:

- Frontend is now at 2.067.1
- LLVM 3.7 is supported
- DMD-style coverage analysis is added
- ABI changes which fixes a lot of bugs in the Win64 compiler

Be sure to read the change log at the GitHub release page which also has the package download links:
https://github.com/ldc-developers/ldc/releases/tag/v0.16.0-alpha3

Note: This release has alpha quality. There are known and unknown bugs left. Please test it with your projects!

Due to a library build problem with Phobos there is currently no MinGW32 version. !!!Volunteer help wanted!!!

MD5 checksums for the release packages:

7e89a02a0b31f24cbaad16172761d3c4 ldc-0.16.0-alpha3-src.tar.gz
77a85487d7caa14af3b0845c8468bb8f ldc2-0.16.0-alpha3-linux-x86.tar.gz
07717673e247956348ebcf4df19d2b4f ldc2-0.16.0-alpha3-linux-x86.tar.xz
2b4f07223166e4c00e8011f373895b02 ldc2-0.16.0-alpha3-linux-x86_64.tar.gz
9129ff40f496ee850e14f75ddae50e9f ldc2-0.16.0-alpha3-linux-x86_64.tar.xz
cba685f75d9e04e052032d3bf74277fb ldc2-0.16.0-alpha3-osx-x86_64.tar.gz
039b64aa8734670c718ad7aa88cb4cac ldc2-0.16.0-alpha3-osx-x86_64.tar.xz
ede1d89ef79d36fc32e9fcdcde1cbaf2 ldc2-0.16.0-alpha3-win64-msvc.zip

Regarding the binaries:
The Linux binaries are built on Ubuntu 12.04 LTS with gcc 4.8.x and LLVM 3.6.2. They work on Ubuntu 12.04 LTS (or later) without installing additional software.

The OS X binaries are now built on OS X 10.10. It is currently unknown if this causes backwards compatibility issues.

The Win64 MSVC version is still considered alpha quality. It is built with VS2013 using LLVM 3.7 in release mode. The distribution now contains a precompiled libcurl 7.40.0 from http://d.darktech.org/libcurl.html.
Attention: There is a regression in LDC or a bug in LLVM which currently requires the use of linker flag -L/FORCE:MULTIPLE (issue #988). This issue is already partially solved.
You find the build script here: https://github.com/ldc-developers/ldc-scripts/blob/master/ldc2-win64/RELEASE.proj

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

September 17, 2015
Is this version supposed to contain the fix for this bug?
https://github.com/ldc-developers/ldc/issues/1061

Because I still get this error:
Error: failed to create path to file: .dub/obj/../../.dub/packages/memutils-0.3.5/.dub/build/secure-unittest-linux.posix-x86_64-ldc_0-38ACFEB5A4C0EFEDC50803AF380B9A85/libmemutils.a

September 17, 2015
On 17 Sep 2015, at 12:20, Marc Schütz via digitalmars-d-ldc wrote:
> Is this version supposed to contain the fix for this bug?
> https://github.com/ldc-developers/ldc/issues/1061

The workaround commit https://github.com/ldc-developers/ldc/commit/2a206453c0a60d31ff37a2573127ae22e9efd8f3 seems to be part of the release tag at least.

> Because I still get this error:
> Error: failed to create path to file: .dub/obj/../../.dub/packages/memutils-0.3.5/.dub/build/secure-unittest-linux.posix-x86_64-ldc_0-38ACFEB5A4C0EFEDC50803AF380B9A85/libmemutils.a

Could you post this (and the full ldc2 command line) to the GitHub issue tracker, please?

 — David

September 17, 2015
On Thursday, 17 September 2015 at 10:20:26 UTC, Marc Schütz wrote:
> Is this version supposed to contain the fix for this bug?
> https://github.com/ldc-developers/ldc/issues/1061
>
> Because I still get this error:
> Error: failed to create path to file: .dub/obj/../../.dub/packages/memutils-0.3.5/.dub/build/secure-unittest-linux.posix-x86_64-ldc_0-38ACFEB5A4C0EFEDC50803AF380B9A85/libmemutils.a

Reported: https://github.com/ldc-developers/ldc/issues/1084

You can use dub --combined to work around this
September 17, 2015
I'm having a problem building my project with this version using dub.

Using `dub build --compiler=path-to-ldc/ldc2`:

Error executing command build:
Source file does not exist.

Using `dub build --compiler=path-to-ldc/ldmd2`:

Error: Output file 'package.o' for module 'aw.g2nc' collides with
previous module 'aw.dp'. See the -oq option
FAIL ../lib/.dub/build/library-debug-linux.posix-x86_64-
ldc_2067-6CBF3AB0F6005CC5D5CF579F69F56135/ awmms-lib staticLibrary
Error executing command build:
/home/administrator/apps/ldc2-0.16.0-alpha3-linux-x86_64/bin/ldmd2 failed
with exit code 1.

I can't create a minimal test case right now. But, at least for ldmd2, the problem seems that I have two package.d files and their output object files are colliding.
September 17, 2015
On Thu, 17 Sep 2015 14:49:15 +0000, Yazan D wrote:

> I can't create a minimal test case right now. But, at least for ldmd2, the problem seems that I have two package.d files and their output object files are colliding.

I will try to create a minimal test case in the next few days if the problem is still unclear by then.

September 17, 2015
On Thursday, 17 September 2015 at 14:49:15 UTC, Yazan D wrote:
> I'm having a problem building my project with this version using dub.
>
> Using `dub build --compiler=path-to-ldc/ldc2`:
>
> Error executing command build:
> Source file does not exist.
>
> Using `dub build --compiler=path-to-ldc/ldmd2`:
>
> Error: Output file 'package.o' for module 'aw.g2nc' collides with
> previous module 'aw.dp'. See the -oq option
> FAIL ../lib/.dub/build/library-debug-linux.posix-x86_64-
> ldc_2067-6CBF3AB0F6005CC5D5CF579F69F56135/ awmms-lib staticLibrary
> Error executing command build:
> /home/administrator/apps/ldc2-0.16.0-alpha3-linux-x86_64/bin/ldmd2 failed
> with exit code 1.
>
> I can't create a minimal test case right now. But, at least for ldmd2, the problem seems that I have two package.d files and their output object files are colliding.

As a work-around for the first bug you can use --combined

The second bug is probably https://github.com/D-Programming-Language/dub/issues/634
Make some noise here.


September 17, 2015
On Thu, 17 Sep 2015 14:57:40 +0000, ponce wrote:

> 
> As a work-around for the first bug you can use --combined
> 
> The second bug is probably https://github.com/D-Programming-Language/dub/issues/634 Make some noise here.

The workaround works perfectly, thanks.
September 17, 2015
On Wednesday, 16 September 2015 at 20:01:10 UTC, Kai Nacke wrote:
> Please test it with your projects!
>

No regressions in my software. After reading the Changelog, I wonder how I ever managed without this compiler, best release ever!

Thanks,
Daniel N

September 18, 2015
On Thursday, 17 September 2015 at 10:20:26 UTC, Marc Schütz wrote:
> Is this version supposed to contain the fix for this bug?
> https://github.com/ldc-developers/ldc/issues/1061
>
> Because I still get this error:
> Error: failed to create path to file: .dub/obj/../../.dub/packages/memutils-0.3.5/.dub/build/secure-unittest-linux.posix-x86_64-ldc_0-38ACFEB5A4C0EFEDC50803AF380B9A85/libmemutils.a

This is a problem with my "Road Warrior" setup. I need to update the build scripts to check for this error. I am already preparing the next alpha release to fix this.

Regards,
Kai
« First   ‹ Prev
1 2