Compiling using ldmd2 crashes, any ideas?

David Nadlinger code at klickverbot.at
Thu Oct 10 09:35:25 PDT 2013


On Thu, Oct 10, 2013 at 1:39 PM, Gary Willoughby <dev at nomad.so> wrote:
> rdmd --build-only --compiler=ldmd2 --force -m64 -property -release -w main.d
>
> 0  ldc2            0x00000000014a50a2 llvm::sys::PrintStackTrace(_IO_FILE*)
> + 34
> 1  ldc2            0x00000000014a4e99
> 2  libpthread.so.0 0x00007f3ef263b030
> 3  ldc2            0x0000000000735242 AndAndExp::toElem(IRState*) + 450
> 4  ldc2            0x000000000072e3ac Expression::toElemDtor(IRState*) + 540
> 5  ldc2            0x000000000071fa4b ExpStatement::toIR(IRState*) + 91
> 6  ldc2            0x000000000071f2e9 CompoundStatement::toIR(IRState*) + 89
> Error: Error executing /usr/local/bin/ldc2: Segmentation fault

We are going to need some kind of test case to be able to track this down.

David


More information about the digitalmars-d-ldc mailing list