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

Re: Compile libjava.jvmti C++ code with -pthread on Tru64 UNIX


On 11/08/2010 05:29 PM, Rainer Orth wrote:
> [Please keep me on the Cc: since I'm not subscribed to java-patches.  Thanks.]
> 
> The libjava.jvmti tests currently fail to compile on Tru64 UNIX:
> 
> FAIL: natevents.cc compilation
> FAIL: natgetallthreads.cc compilation
> FAIL: natgeterrorname.cc compilation
> FAIL: natgetmethodname.cc compilation
> 
> The problem can be seen here:
> 
> In file included from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libjava/testsuite/../include/java-threads.h:20:0,
>                  from /vol/gcc/src/hg/trunk/local/libjava/testsuite/../include/jvm.h:23,
>                  from /vol/gcc/src/hg/trunk/local/libjava/testsuite/libjava.jvmti/natevents.cc:3:
> /var/gcc/regression/trunk/5.1b-gcc/build/gcc/include-fixed/pthread.h:1427:4: error: #error "Please compile the module including pthread.h with -pthread"
> 
> <pthread.h> needs to be compiled with -pthread.  This is exactly what
> this patch does.  It fixes all failures from jvmti.exp and
> jvmti-interp.exp.  Ok for mainline?

OK, thanks.

Andrew.


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