[dmd-beta] Mo' Beta: dmd 1.067 and 2.052 beta
Jonathan M Davis
jmdavisProg at gmx.com
Mon Feb 14 21:33:55 PST 2011
On Monday 14 February 2011 18:20:16 Jonathan M Davis wrote:
> On Monday, February 14, 2011 18:03:51 Brad Roberts wrote:
> > Care to do a little bisecting of druntime with git to see which change
> > introduced the problem? Assuming it doesn't happen in 2.051:
> >
> > Start with commit fdb3d7096836b533e1426cb4ab18c3fecbd00c0a as that was
> > shortly before the 2.051 release. Check it out and validate that it
> > works ok for you. Assuming it does, then run this recipe:
> >
> > git bisect start HEAD fdb3d7096836b533e1426cb4ab18c3fecbd00c0a
> >
> > If I'm remembering correctly, that'll checkout a candidate midpoint to
> > build and test with, so:
> >
> > make clean; make (filling in the rest of the args as appropriate to
> > build)
> > run test
> >
> > if good: git bisect good
> > if bad: git bisect bad
> >
> > goto build step.
> >
> > Assuming accurate detection of good vs bad, this works amazingly well.
> > Also assuming it's in druntime. It might not be. It looks like you're
> > not using any of the phobos code, so you can avoid recompiling it each
> >
> > time and tell dmd to just link against libdruntime with:
> > dmd -defaultlib=druntime
> >
> > Depending on your environment, you might also need -L-L<path to druntime>
> >
> > On Mon, 14 Feb 2011, David Simcha wrote:
> > > Date: Mon, 14 Feb 2011 20:47:11 -0500
> > > From: David Simcha <dsimcha at gmail.com>
> > > Reply-To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> > > To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> > > Subject: Re: [dmd-beta] Mo' Beta: dmd 1.067 and 2.052 beta
> > >
> > > Jackpot. I don't know how noone caught a bug this obvious yet.
> > >
> > > http://d.puremagic.com/issues/show_bug.cgi?id=5579
>
> Another major thread-related bug would be
> http://d.puremagic.com/issues/show_bug.cgi?id=5537
>
> I don't know if there's any relation though. It might be something entirely
> related to std.concurrency. And it's an invariant failure, not a segfault.
> But it broke quite recently as well.
Definitely unrelated. I used git-bisect to determine that 5537 was broken by this
commit to Phobos:
https://github.com/D-Programming-
Language/phobos/commit/ecc7390670a122dec11183cbefbef2e7d9477921
And since dsimcha is running into the problem with just druntime, they're
defnitely two separate issues. Though 5537 _does_ render spawn utterly useless.
- Jonathan M Davis
More information about the dmd-beta
mailing list