On Sunday, 30 November 2014 at 12:41:38 UTC, anonymous wrote:
Seems to be an issue with my setup. Testing on a fresh user, phobos builds without problems.
Alright, traced it down. I have a copy of gdc lying around. Its /bin/ was in my $PATH. Apparently, gdc's g++ caused the trouble. When I move it out of the way so that /usr/bin/g++ is used, everything's fine. So, as far as I understand it, when dmd is built with gdc's g++, the result is a faulty binary. This may hint at a bug in dmd or g++.