On 13/11/2015 8:26 PM, Robert burner Schadek wrote:
On Friday, 13 November 2015 at 02:50:07 UTC, Daniel Murphy wrote:
You also need to modify root/rmem.d to actually use the GC as the
allocator.
I should have known that it couldn't be that simple. Anyway, after doing
so. Building druntime and phobos die with a segfault, but all dmd tests
pass, except runnable/arrayop.d
Furthermore, I had to create a function called:
extern (C) void* allocmemory(size_t m_size) {
return GC.malloc(m_size);
}
Yep, that sounds about right. It's probably just some malloced memory
being used to store GC pointers, somewhere in there.