On Thu, Dec 5, 2013 at 9:05 PM, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
On Thu, Dec 05, 2013 at 11:17:31AM -0800, Timothee Cour wrote:
> https://d.puremagic.com/issues/show_bug.cgi?id=11684 is a pretty serious
> regression:
> when building dmd/druntime/phobos from source, any call to writeln
> will result in segfault on ubuntu (but on osx I don't have this
> problem)
>
> with git checkout 2.064 instead of git checkout master, things work.

Just on a random whim: have you tried make clean in dmd/druntime/phobos
and then rebuild everything from scratch? I wonder if maybe it's caused
by some stale object files from an incompatible earlier version?

yes, I have
 

Also, have you tried dmd -v to make sure that it's linking in the
correct versions of the runtime libraries?
yes, it does
 

These are some of the things that have bitten me in the past; maybe they
might help you?


T

--
It only takes one twig to burn down a forest.


it fails on Ubuntu 12.04.1 LTS (64bit) and Ubuntu 12.04.3 LTS (64bit), and works on OSX.

what is your configuration where it works?