Hi Ludo,
the bootstrap phase now succeeds but the build crashes:
--8<---cut here---start->8---
…
make[2]: Leaving directory
'/tmp/guix-build-guile-awesome-2.2.2.drv-0/guile-2.2.2/bootstrap'
Making all in module
make[2]: Entering directory
'/tmp/guix-build-gui
I worked on the code a bit more. It is currently implemented as a #include
"mman.c" in filesys.c
and another file "mman.c".
I believe this needs to be reviewed by someone who understands the constraints
on foriegn pointers
and finalization better than I do. Also, there is a comment to add a
I located GC_exclude_static_roots() call for the collector.
Now mmap/search will run allocate a bytevector as in the previously provided
patch.
And mmap will call mmap/search and then apply GC_exclude_static_roots() to the
mmap'd region.