[Issue 14476] core.thread unit tests failing on FreeBSD 9+

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 26 07:50:12 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14476

--- Comment #6 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
(In reply to Martin Nowak from comment #4)
> (In reply to Jonathan M Davis from comment #2)
> > It looks like it's this commit in druntime which broke things:
> 
> I hope you used https://github.com/CyberShadow/Digger to bisect this.

I've never used Digger, and if I knew about it, I'd forgotten. But git-bisect
was plenty, and given that that commit adds the test that fails and the code
that it's testing, it's not exactly surprising. The harder part was figuring
out what pull request the commit was associated with. But unfortunately, I
don't know much about what the code is doing, which makes it harder for me to
be helpful.(In reply to Martin Nowak from comment #5)

> (In reply to Jonathan M Davis from comment #2)
> > The second failure with
> > 
> > Testing link_linkdep
> 
> 2.067.0 comes with shared library support for FreeBSD, not sure why they
> fail on 9.1. The ugly runtime liker bug is fixed in both 8.4 and 9.1.
> http://svnweb.freebsd.org/base?view=revision&revision=226155

Hmmm. I'm using 10.1, so I would _hope_ that it would be fine given that the
older versions are, but then again, the code in core.thread seems to work fine
on 8.4 and not 9.1 or 10.1. However, looking at Joakim's post, his 32-bit 9.1
VM is failing in a different place earlier in the tests if he comments out the
failing core.thread test, so for that problem, 9.1 and 10.1 don't seem to be
acting the same (though maybe it's a 32-bit vs 64-bit problem, since he's using
32-bits, whereas I'm using 64). Regardless, it's clear that 8.4 is not acting
the same as later versions, so the version of FreeBSD seems to matter more than
would be desirable. Maybe I should figure out a way to get a FreeBSD 10.1 setup
available for Brad on the autotester so that we're not just testing on an older
version - though if he wants the current machines to be supported, he'll have
to update the current FreeBSD machines by July according to what freebsd.org
says about the support lifecycle of 8.4.

But for better or worse, I'm now using FreeBSD 10.1 as my main OS, so I'm
likely to start noticing some of these problems that have been getting passed
the autotester.

--


More information about the Digitalmars-d-bugs mailing list