This is the mail archive of the
mailing list for the Java project.
RE: build broken for solaris
- From: "Boehm, Hans" <hans dot boehm at hp dot com>
- To: "Andreas Tobler" <toa at pop dot agri dot ch>, <java at gcc dot gnu dot org>, "Tom Tromey" <tromey at redhat dot com>
- Date: Tue, 12 Sep 2006 14:57:38 -0500
- Subject: RE: build broken for solaris
Or get rid of solaris_threads.c as in gc7 ...
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]
> On Behalf Of Andreas Tobler
> Sent: Tuesday, September 12, 2006 11:51 AM
> To: email@example.com; Tom Tromey
> Subject: build broken for solaris
> Hi Tom,
> this patch:
> 2006-08-21 Bryce McKinlay <firstname.lastname@example.org>
> PR libgcj/13212:
> * configure.ac: Check for pthread_getattr_np(). Remove
> GC_PTHREAD_SYM_VERSION detection.
> * include/gc.h (GC_register_my_thread,
> GC_get_thread_stack_base): New declarations.
> * pthread_support.c (GC_register_my_thread,
> GC_get_thread_stack_base): New functions.
> (GC_delete_thread): Don't try to free the first_thread.
> * misc.c (GC_init_inner): Use
> GC_get_thread_stack_base() if possible.
> (pthread_create_, constr): Removed.
> (pthread_create): Don't rename.
> * include/gc_ext_config.h.in: Rebuilt.
> * include/gc_pthread_redirects.h (pthread_create): Define
> * include/gc_config.h.in: Rebuilt.
> * configure: Rebuilt.
> Breaks build on libjava and tests in boehm-gc since
> GC_register_my_thread, GC_unregister_my_thread,
> GC_get_thread_stack_base are only implemented in
> pthread_support.c, they result in unresulved symbols when one
> links agains libgcjgc.so.
> Solaris instead uses solaris_threads.c.
> Now we have either to reduce this patch to only support
> pthreads or implement it for solaris_threads.c too.