double free or corruption (!prev)

kinke noone at nowhere.com
Wed Apr 10 19:29:42 UTC 2019


On Wednesday, 10 April 2019 at 19:01:49 UTC, Thomas Mader wrote:
> On some machines there are errors when running the unittests 
> for the ldc 1.15.0 package on NixOS which I don't have an 
> explanation for yet.
> Maybe someone knows what the problem might be.
> I can not reproduce the problem on my machines.

I guess this has nothing to do with LDC itself and might be a bug 
in (that pretty old version of) LLVM, as it occurs deeply in some 
optimization pass while removing dead instructions.

While looking over the script, I noticed that you're using make, 
not ninja. make has issues wrt. CMake custom commands and shared 
dependencies, so the issues you've been seeing wrt. build order 
are most likely due to that.


More information about the digitalmars-d-ldc mailing list