This is the mail archive of the java-discuss@sourceware.cygnus.com 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: problems building libgcj on irix 6.5


>>>>> "J-M" == John-Marc Chandonia <jmc@cmpharm.ucsf.edu> writes:

J-M> include/java-threads.h: In function `void _Jv_MutexDestroy(_Jv_Mutex_t *)':
J-M> include/java-threads.h:195: cannot convert `_Jv_Mutex_t *' to `pthread_mutex_t *' for argument `1' to `pthread_mutex_destroy(pthread_mutex_t *)'

Thanks.  I'm checking in a fix for this.

J-M> 3) libgcj does compile successfully with --disable-threads and
J-M> gcc-2.95.1.  However, as expected, I can't link because I
J-M> compiled gcc with --enable-threads.  Compiling gcc takes all day
J-M> on my machine, so I haven't recompiled a version without threads.

Why can't you link?

If you are missing the pthread functions, then that might be a bug in
gcc.  gcc should be emitting weak symbols here, so that the pthread
functions are only used if you are already linking in the library.

J-M> 4) I tried getting a newer snapshot, hoping the error would
J-M> already be fixed, but the snapshots on
J-M> sourceware.cygnus.com:/pub/java/snapshots are corrupted.  Looks
J-M> like the server ran out of disk space.  Can somebody check this?

I'll see about it.

Tom

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