Issue #179 (bdwgc).
* mark.c [WRAP_MARK_SOME && REGISTER_LIBRARIES_EARLY] (GC_mark_some):
Call GC_cond_register_dynamic_libraries (with the world running)
before GC_invalidate_mark_state().
}
/* We have bad roots on the stack. Discard mark stack. */
/* Rescan from marked objects. Redetermine roots. */
+# ifdef REGISTER_LIBRARIES_EARLY
+ START_WORLD();
+ GC_cond_register_dynamic_libraries();
+ STOP_WORLD();
+# endif
GC_invalidate_mark_state();
scan_ptr = 0;