(a cherry-pick of commit
79ae7acd from 'master')
The incremental GC is considered incompatible with /proc roots.
* include/private/gcconfig.h [USE_PROC_FOR_LIBRARIES
&& GC_LINUX_THREADS] (MPROTECT_VDB): Undefine; add comment.
/* PARALLEL_MARK does not cause undef MPROTECT_VDB any longer. */
+#if defined(USE_PROC_FOR_LIBRARIES) && defined(GC_LINUX_THREADS)
+ /* Incremental GC is incompatible with /proc roots. */
+# undef MPROTECT_VDB
+#endif
+
#if defined(MPROTECT_VDB) && defined(GC_PREFER_MPROTECT_VDB)
/* Choose MPROTECT_VDB manually (if multiple strategies available). */
# undef PCR_VDB