I reduced the failure to this: cd /my/druntime/dir gcc -c src/rt/critical.c -oobj/critical.o dmd -lib -oflib/libdruntime.a obj/critical.o That's it! I get: Error: corrupt object module obj/critical.o 13 I don't know even where the 13 is coming from! Andrei