https://issues.dlang.org/show_bug.cgi?id=16291
--- Comment #5 from Ketmar Dark <ket...@ketmar.no-ip.org> --- p.s. i think that vibe.d works 'cause it passes all it's files to dmd instead of creating .a library. then dmd generating single object file with everything necessary inside, including module ctors. but for .a libraries, dmd is writing alot of object files (one per function, i believe) to allow smartlinking. so passing all phobos .d files to dmd should work as expected, but using .a isn't. and i believe that vibe.d will have the same issue if it will be complied as .a library. --