Ok, I found the issue in dmd picking up the system's dmd.conf during "bootstrapping" which had conflicting settings, effectively linking phobos2 against itself or something like that. Now I write a clean dmd to dmd/ini/linux/bin${MODEL}/dmd.conf and symlink it into dmd/src.