This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libjava/classpath/native/jni/java-lang/java_lang_VMProcess.c: Be sure 'errbuf' always be zero terminated.
- From: Chen Gang <gang dot chen dot 5i5j at gmail dot com>
- To: Jeff Law <law at redhat dot com>, tromey at redhat dot com, aph at redhat dot com, per at bothner dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Aug 2014 13:58:50 +0800
- Subject: Re: [PATCH] libjava/classpath/native/jni/java-lang/java_lang_VMProcess.c: Be sure 'errbuf' always be zero terminated.
- Authentication-results: sourceware.org; auth=none
- References: <53D63F19 dot 4050405 at gmail dot com> <53D7313C dot 8080203 at gmail dot com> <53D908CA dot 3060405 at gmail dot com> <53D9C19D dot 7040704 at redhat dot com> <53D9CD3B dot 2040803 at gmail dot com> <53DB234B dot 8090708 at gmail dot com> <53DDCD8A dot 5000702 at gmail dot com>
On 8/3/14 13:50, Chen Gang wrote:
> Excuse me, after tried, I still did not know hot to build the source
> code for "x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni".
> What I have done is:
>
> - ../gcc/configure --enable-core-jni --enable-languages=c,c++,java
> make all-target-libjava
>
> - also try "../gcc/configure && make", but get same result.
>
> - I also enable JNIDIRS in "x86_64-unknown-linux-gnu/libjava/classpath
> /native/jni/Makefile" manually, but still no effect.
>
> Welcome any ideas, suggestions or completions for it, thank.
>
> Also sorry, I did not finish sending patch v2 for it within 2014-08-03,
> one excuse is: for each complete building, it needs 12-15 hours under my
> laptop. So next, I shall buy a PC for it (also for linux kernel).
>
After try again, I can let it pass building, but I do not know whether
it is enough for this patch:
- ../gcc/configure --enable-core-jni && make
- enable JNIDIRS in x86_64-unknown-linux-gnu/libjava/classpath/native/
Makefile, manually.
- then "make && make check" succeed with all related things are built.
Before send patch v2 for it, I shall wait the confirmation from related
members.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed