druntime unit test failures on FreeBSD

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 19 01:18:55 PDT 2015


On Sunday, 19 April 2015 at 07:36:13 UTC, Jonathan M Davis wrote:
> I am consistently seeing this when I try and run druntime's 
> unit tests on
> FreeBSD for either 2.067 or master:
>
> 0.000s PASS release64 object
> 0.000s PASS release64 core.atomic
> 0.008s PASS release64 core.bitop
> 0.000s PASS release64 core.checkedint
> 0.000s PASS release64 core.demangle
> 0.000s PASS release64 core.exception
> 0.000s PASS release64 core.math
> 0.000s PASS release64 core.memory
> posix.mak:230: recipe for target 'obj/64/core/thread' failed
> gmake: *** [obj/64/core/thread] Illegal instruction
> gmake: *** Deleting file 'obj/64/core/thread'
>
> 2.066 works fine, so I assume that something was introduced 
> since then, but
> clearly the autotesters are working for FreeBSD, so I have to 
> wonder whether
> I have an environmental problem with my machine or whether I've 
> just done
> something differently from the autotesters and am hitting a 
> problem in
> either the compiler or in druntime that's a general problem 
> that the
> autotester doesn't hit for whatever reason.
>
> I'm running the latest 64-bit PC-BSD. I have no idea what the 
> autotesters
> are running.
>
> Is anyone else seeing anything like this?

I dusted off the old FreeBSD VM I had lying around and tried it 
out.  For me, it hangs in core.thread on FreeBSD 9.1 i386 from a 
couple years ago when I try to run the druntime unit tests with 
dmd/druntime HEAD.  At least most of the time, I just tried it 
again and it returned and passed once, out of ten times.


More information about the Digitalmars-d mailing list