digitalmars.D.ldc - NetBSD lit test failed: codegen/gh1955.d
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
May 11 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/d55c71df7b3756964aef452e284a909fHi 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.
May 11 2017
On Thursday, 11 May 2017 at 12:49:14 UTC, kinke wrote: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.Thanks!
May 11 2017