This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
threads and gc on SPARC/Solaris 2.8
- To: java at gcc dot gnu dot org
- Subject: threads and gc on SPARC/Solaris 2.8
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- Date: Wed, 27 Jun 2001 19:54:34 +0100 (BST)
- Cc: "Hans-J. Boehm" <boehm at acm dot org>
In mach_dep.c we have:
#if defined(ASM_CLEAR_CODE) && !defined(THREADS)
GC_clear_stack_inner:
... code to clear the stack.
GC_clear_stack_inner is defined nowhere else, and we depend on it.
Yet it isn't compiled when THREADS is defined, which it always needs
to be for Java. However, comments say it is essential. If I compile
GC_clear_stack_inner and use it with threads, it faults with an
illegal instruction.
What is going on here? I don't get it. Has anybody made gcj work on
Sparc/Solaris?
Andrew.