ldc-developers/ldc

Segmentation fault: ldc2 compiled tinyscheme-1.42 (DMD works fine)

mw66 opened this issue · 1 comments

mw66 commented
tinyscheme-1.42$ ldc2 ./scheme.c 
tinyscheme-1.42$ ./scheme 
Segmentation fault (core dumped)

tried both
ldc2-1.34.0-linux-x86_64
ldc2-1.35.0-linux-x86_64

while dmd (v2.108.1) works fine:

tinyscheme-1.42$ dmd scheme.c
tinyscheme-1.42$ ./scheme 
TinyScheme 1.42
ts> (+ 1 3)
4