Compile Phobos library ?

GG g at g.com
Thu Feb 18 13:19:02 PST 2010


Hello BCS !

> Hello GG,
> 
> > Thanks you very much for your explanation ! I got it work with gdb and
> > got this:
> > 
> [...]
> 
> I don't know enough about the internals to be able to help you beyond maybe 
> converting the seg-v into an assert (but you should be able to do that yourself).
> 
> Someone else might be able to do something with a stack trace but if you 
> can get a reproducible test case, post it to the bugzilla.
> 
> Oh, and if you can convert it to an assert, post a patch for that to the 
> bugzilla as well.
> 
> PS. It's generally a good idea to keep some context (at least the auto generated 
> "so and so wrote:" line) from the post you are responding to as it makes 
> it easier for people to find replies to what they posted.
> 
> -- 
> ... <IXOYE><


Ok ! It's a good idea ! I will keep the auto generated text.

Today I thought about that, and I realized that the only thing that I changed is this : http://d.puremagic.com/issues/show_bug.cgi?id=3692, I applied the patch (download mtype.c and replace file to /dmd2/src/dmd)
After that, I compiled a new DMD and put DMD to my environement path. And next, try to compile libphobos, give me segmentation fault !

And if I roll back the patch, I can compile libphobos without any error !
So the problem is localized, at now I have no idea to solve this bug.

Thanks !
GG


More information about the Digitalmars-d-learn mailing list