build broken for solaris
Boehm, Hans
hans.boehm@hp.com
Tue Sep 12 19:57:00 GMT 2006
Or get rid of solaris_threads.c as in gc7 ...
Hans
> -----Original Message-----
> From: java-owner@gcc.gnu.org [mailto:java-owner@gcc.gnu.org]
> On Behalf Of Andreas Tobler
> Sent: Tuesday, September 12, 2006 11:51 AM
> To: java@gcc.gnu.org; Tom Tromey
> Subject: build broken for solaris
>> Hi Tom,
>> this patch:
>> 2006年08月21日 Bryce McKinlay <mckinlay@redhat.com>
>> PR libgcj/13212:
> * configure.ac: Check for pthread_getattr_np(). Remove
> GC_PTHREAD_SYM_VERSION detection.
> * include/gc.h (GC_register_my_thread,
> GC_unregister_my_thread,
> GC_get_thread_stack_base): New declarations.
> * pthread_support.c (GC_register_my_thread,
> GC_unregister_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
> unconditionally.
> * 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.
>> Andreas
>>
More information about the Java
mailing list