This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Compile libjava.jvmti C++ code with -pthread on Tru64 UNIX
- From: Andrew Haley <aph at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 08 Nov 2010 18:59:47 +0000
- Subject: Re: Compile libjava.jvmti C++ code with -pthread on Tru64 UNIX
- References: <yddsjzb3es7.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
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.