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]
Other format: [Raw text]

Re: libjava threads vs no-threads?


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


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