https://issues.dlang.org/show_bug.cgi?id=16796 --- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> --- As a workaround, try microsoft linker with -m32mscoff compiler switch https://dlang.org/dmd-windows.html#switch-m32mscoff dmd -gc -m32mscoff program.d --