libjava threads vs no-threads?

David Daney ddaney@avtrex.com
Mon Apr 23 04:47:00 GMT 2007


Brian Dessent wrote:
> David Daney wrote:
> 
>> It used to work, but as Mohan mentioned has suffered bit rot.  The best
>> case would be to restore it to working order.
>>
>> The threads setting should default to the proper value.  If you are
>> getting failures, then you are either asking for a broken configuration
>> which should be fixed, or you are specifying an invalid combination in
>> which case configure should be made to offer a helpful diagnostic.
>>
>> It is unclear to me which of these cases you find yourself in.
> 
> I think what Dave is saying is that it would work if he configured with
> --enable-threads=posix, however, if he doesn't specify anything it
> assumes --disable-threads and fails.

I should have read more carefully.  Although not stated in the message, 
I assume That newlib is being used as that was stated in a post to gcc@. 
  So I doubt it would work with --enable-threads=posix.

I guess I would just confirm that I think using no-threads.h may be the 
proper thing to do.  But as stated several times in the thread, it has 
bit rotted some and needs fixing.  I cannot approve it, but generally 
patches to fix lesser used configurations are approved if they look sane.

David Daney



More information about the Java mailing list