This is the mail archive of the java-patches@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]

Re: bootstrap failure with pthreads on solaris-2.6


Hi Loren,

Loren James Rittle wrote:
 
> For the record, the bug you found existed before my patch.  (I have
> access to Solaris 2.7 machines and I too see the same problem with and
> without my patch that you referenced when I configure just
> gcc-mainline/boehm-gc against gcc 3.0).  You might note that a new
> version of the boehm-gc code was imported hours before my patch.  The
> ChangeLog itself doesn't exactly make the situation clear.

Thanks, I found your entry as the last one modifying somewhere there.
And I remembered that the build got further last week, until somewhere
in Java. So I thought it was your mod. Sorry.

> 
> > A quick hack in private/solaris_threads.h brought it at least to
> > compile. I defined the top line to:
> > #ifdef GC_SOLARIS_PTHREADS iso. SOLARIS_THREADS.
> > I guess this is not correct, but could anyone have a look at?
> 
> All macro guards in boehm-gc of the form X_THREADS were suppose to be
> converted to GC_X_THREADS thus your patch is correct.  I have
> installed this patch as obvious (note that it is subtly different than
> your proposal).

Then when you think you do absolutley hackery it seems to be correct,
ugly ;-)
> 
> However, 'make check' still fails.  I have no idea when it last worked
> in the threaded configuration on Solaris.

I never managed to get a make check running under solaris-2.6.
I always fail with expect and dejagnu. (Beside it works with no problems
under darwin.)
So I can't give you a feedback here.

Thanks for the comment!

Andreas


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