ldmd2 is run from termux32 with -O, remove -O it work fine. LDC - the LLVM D compiler (1.12.0): based on DMD v2.082.1 and LLVM 7.0.0 built with LDC - the LLVM D compiler (1.12.0)