From da5233fb12064e672a25bc65f72bf599126971ce Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 15 Aug 2018 09:29:23 +0300 Subject: Fix 'undefined reference to GC_incremental' linker error in pthread_start (fix of commit 73d30d2) GC_incremental is declared as static in case of NO_DEBUGGING. * pthread_start.c [GC_PTHREADS && !GC_WIN32_THREADS] (GC_inner_start_routine): Call GC_end_stubborn_change instead of GC_dirty; add comment. --- pthread_start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_start.c') diff --git a/pthread_start.c b/pthread_start.c index f83dc434..d99026b0 100644 --- a/pthread_start.c +++ b/pthread_start.c @@ -59,7 +59,7 @@ GC_INNER_PTHRSTART void * GC_CALLBACK GC_inner_start_routine( GC_log_printf("Finishing thread %p\n", (void *)pthread_self()); # endif me -> status = result; - GC_dirty(me); + GC_end_stubborn_change(me); /* cannot use GC_dirty */ # ifndef NACL pthread_cleanup_pop(1); /* Cleanup acquires lock, ensuring that we can't exit while */ -- cgit v1.2.1