NetBSD lit test failed: codegen/gh1955.d

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu May 11 05:49:14 PDT 2017


On Thursday, 11 May 2017 at 10:07:21 UTC, Nikolay wrote:
> Can somebody give advice why test is failed?
>
> Result "python runlit.py codegen/gh1955.d --verbose"
>
> https://gist.github.com/nrTQgc/6d8554ac5e4795a9853562147055af7f
>
> Content of tests/codegen/Output/gh1955.d.tmp.ll
> https://gist.github.com/nrTQgc/d55c71df7b3756964aef452e284a909f

Hi Nikolay,

thx for adding NetBSD support.

I'm pleased this recently added test already pays off. Apparently 
there's a mismatch between druntime's rt.monitor_.Mutex (size = 
48 bytes) and the size used by the compiler directly in 
`Target::critsecsize()` (8 bytes), see 
https://github.com/ldc-developers/ldc/blob/master/gen/target.cpp#L127-L177.


More information about the digitalmars-d-ldc mailing list