LDC 0.11.0 Beta 1

David Nadlinger code at klickverbot.at
Wed May 29 13:50:09 PDT 2013


Without any bells and whistles, here is the first round of beta packages 
for the 0.11.0 release, scheduled for next weekend:

http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-beta1-linux-x86.tar.gz
http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-beta1-linux-x86.tar.xz
http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-beta1-linux-x86_64.tar.gz
http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-beta1-linux-x86_64.tar.xz
http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-beta1-mingw-x86.7z
http://d32gngvpvl2pi1.cloudfront.net/ldc-0.11.0-beta1-src.tar.gz

MD5 checksums:

75ce19ff7d57155d679a214a5f970213  ldc2-0.11.0-beta1-linux-x86.tar.gz
982903082dd7fe0b696d0268122ab724  ldc2-0.11.0-beta1-linux-x86.tar.xz
b9de309f8910fbc151981dee7598e45d  ldc2-0.11.0-beta1-linux-x86_64.tar.gz
c7a9ede3297fe83b73d3aeec1cd00e46  ldc2-0.11.0-beta1-linux-x86_64.tar.xz
c6e7815b0dc034f72c276a54e1aa28ce  ldc2-0.11.0-beta1-mingw-x86.7z
01c291c6db3698144e833ee2b2bb7140  ldc-0.11.0-beta1-src.tar.gz

The MinGW version is to be considered a preview/alpha/… version as 
there are known issues. It also requires a very recent mingw32-w64 
snapshot, such as this one: 
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-dw2-release/i686-w64-mingw32-gcc-dw2-4.8.0-win32_rubenvb.7z/download

As previously discussed, there are no OS X packages at this point, as 
LLVM 3.2 doesn't pass the test suite (GitHub issue #362), and we hit a 
regression for the current 3.3 RC 1.

But there is also an open issue on Linux: For some reason, the versions 
from the above packages fail on a test case from the DMD test suite:

---
$ /build/work/ldc/bin/ldc2 -g runnable/ldc_github_176.d
UNREACHABLE executed!
0  ldc2            0x0000000000fad8bf
1  ldc2            0x0000000000faf32a
2  libpthread.so.0 0x00007f1d201258f0
3  libc.so.6       0x00007f1d1f411b25 gsignal + 53
4  libc.so.6       0x00007f1d1f415670 abort + 384
5  ldc2            0x0000000000f9a664 
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) 
+ 356
6  ldc2            0x0000000000641c9e
7  ldc2            0x000000000064229c 
DtoDwarfLocalVariable(llvm::Value*, VarDeclaration*, 
llvm::ArrayRef<llvm::Value*>) + 220
8  ldc2            0x000000000063311d DtoVarDeclaration(VarDeclaration*) 
+ 509
9  ldc2            0x0000000000633498 DtoDeclarationExp(Dsymbol*) + 312
10 ldc2            0x00000000006481b1 DeclarationExp::toElem(IRState*) + 
65
11 ldc2            0x00000000006469fd Expression::toElemDtor(IRState*) + 
77
12 ldc2            0x00000000006172ea ExpStatement::toIR(IRState*) + 74
13 ldc2            0x00000000006171ff CompoundStatement::toIR(IRState*) 
+ 95
---

I tried to reproduce this with a local build, but didn't have any 
success so far. I am not convinced that this is a GCC miscompilation 
bug, though, as there is a mysterious occasional crash on the same file 
using the MinGW port.

I'm pretty swamped in work right now, so if somebody wants to help with 
writing the release notes/announcement, I'd appreciate that very much.

David


More information about the digitalmars-d-ldc mailing list