Fwd: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-02-28 Thread Zhu Yong
Dear All, I am testing cross compile OpenJDK-9+158 for our embedded system using buildroot, I can build server and client variants successfully, but the output compact1 profile file size is too big, then I tried to build minimal variant, failed when linking libjvm.so. I checked build/linux-arm-no

Re: Fwd: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-02-28 Thread Zhu Yong
public: } VMOp_Type type() const { return VMOp_GetFrameLocation; } jvmtiError result(){ return _result; } - void doit() { -_result = JVMTI_ERROR_THREAD_NOT_ALIVE; -if (Threads::includes(_java_thread) && !_java_thread->is_exiting() && -_java_thread->threadObj() != NULL) { - _result = ((JvmtiEnvB

Re: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-02-28 Thread Zhu Yong
t; On Feb 28, 2017, at 5:11 AM, David Holmes > wrote: > > > > On 28/02/2017 7:35 PM, David Holmes wrote: > >> On 28/02/2017 6:51 PM, Zhu Yong wrote: > >>> Dear All, > >>> > >>> I am testing cross compile OpenJDK-9+158 for our embedded

Re: Fwd: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-02-28 Thread Zhu Yong
/whetjava2.html, server VM finished with good result, client and minimal VM not able to finish (program stuck there forever after print 1st line of output). On Wed, Mar 1, 2017 at 1:56 PM, David Holmes wrote: > On 1/03/2017 3:39 PM, Zhu Yong wrote: > >> Thank you for the information,

Re: Fwd: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-03-01 Thread Zhu Yong
> On 1/03/2017 4:26 PM, Zhu Yong wrote: > >> We use armv7-marvell-linux-gnueabi-softfp toolchain >> >> gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE >> ALIGN CVE-2015-0235) >> >> Is this toolchain too old? I am asking because I

Re: Fwd: cross compile OpenJDK-9+158 minimal variant failed when link libjvm.so

2017-03-01 Thread Zhu Yong
System.exit(5); // I always get exit code 5 } //System.out.printf("time float value %f\n", q); return q / 1000.0; } On Wed, Mar 1, 2017 at 5:31 PM, David Holmes wrote: > On 1/03/2017 6:45 PM, Zhu Yong wrote: > >> OK, for the