ldc compiled binaries seg faults

Alexandr Druzhinin drug2004 at bk.ru
Sun Oct 6 20:53:44 PDT 2013


I have a simple project https://github.com/drug007/geoviewer.
If I build it using
dub build --compiler=dmd
it compiles and works as expected
but if I do
dub build --compiler=ldmd2
it compiles but crashes with core dumped

OS:
Linux drug 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux
ldc:
LDC - the LLVM D compiler (dd2a2a):
   based on DMD v2.063.2 and LLVM 3.2
   Default target: x86_64-pc-linux-gnu
   Host CPU: k8-sse3

I have no glue how to build working binaries with ldc - I can't parse 
core dumpings to find it out (yet)


More information about the digitalmars-d-ldc mailing list