i'm trying to use tinygc on sabotage linux using musl libc as a boehm gc replacement, because 1) boehm gc relies on UB (it provokes segfaults to find memory boundaries) 2) it uses unportable, unimplemented functions like pthread_getattr_np 3) it crashes
however these few symbols are missing.
i'm somewhat astonished that GC_free is not implemented...
i suspect some of these functions could be implemented as stubs (nops)
and the others should be quite straight-forward to as well.
Error relocating inkscape: GC_free: symbol not found
Error relocating inkscape: GC_malloc_uncollectable: symbol not found
Error relocating inkscape: GC_debug_malloc_atomic: symbol not found
Error relocating inkscape: GC_register_finalizer_ignore_self: symbol not found
Error relocating inkscape: GC_debug_malloc: symbol not found
Error relocating inkscape: GC_malloc_atomic_uncollectable: symbol not found
Error relocating inkscape: GC_debug_malloc_uncollectable: symbol not found
Error relocating inkscape: GC_debug_register_finalizer_ignore_self: symbol not found
Error relocating inkscape: GC_debug_free: symbol not found
Error relocating inkscape: GC_all_interior_pointers: symbol not found
Error relocating inkscape: GC_finalize_on_demand: symbol not found
Error relocating inkscape: GC_no_dls: symbol not found
Sorry for a delay, just noticed this request.
TinyGC was designed as a straight-forward minimalist portable implementation of BDWGC API sufficient for Java VM implementation. It is not designed for speed.
GC_free is not implemented because GC-allocated memory is freed automatically.
As for using GC on sabotage linux, it is better to invest time in porting BDWGC to this target.