This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Boehm GC support addition for debugging
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Bryce McKinlay <mckinlay at redhat dot com>, gcc mailing list <gcc at gcc dot gnu dot org>, Keith Seitz <keiths at redhat dot com>, Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Mon, 26 Jun 2006 22:08:38 -0700
- Subject: Re: [RFA] Boehm GC support addition for debugging
- References: <4496CF73.7000507@redhat.com> <449848BF.8070503@redhat.com> <4499B5E8.4060601@redhat.com> <44A004CB.6060604@redhat.com> <2A14EE9F-3386-40DD-8BEA-A3E3BCB38933@physics.uc.edu>
On Jun 26, 2006, at 10:02 PM, Andrew Pinski wrote:
On Jun 26, 2006, at 9:01 AM, Bryce McKinlay wrote:
Otherwise, this is fine.
No it is not, it broke bootstrap on powerpc-darwin:
Did you look when the function would have been declared.
From gc.h:
#if defined(GC_PTHREADS) && !defined(GC_SOLARIS_THREADS) \
&& !defined(GC_WIN32_THREADS) && !defined(GC_DARWIN_THREADS)
GC_API void GC_suspend_thread GC_PROTO((pthread_t));
GC_API void GC_resume_thread GC_PROTO((pthread_t));
#endif
So this is not just Darwin but also Windows and maybe solaris too.
-- Pinski