This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

threads and gc on SPARC/Solaris 2.8


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]