Thread overview |
---|
May 11, 2017 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 Re: NetBSD lit test failed: codegen/gh1955.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nikolay | 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. |
May 12, 2017 Re: NetBSD lit test failed: codegen/gh1955.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinke | 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!
I created PR #2109. Now I have no fails in LDC lit test suite (PR #1826 from dlang/druntime needed)!
|
Copyright © 1999-2021 by the D Language Foundation