[aarch64-port-dev ] Error: missing `client' JVM at `/home/aph/jdk8/build/linux-aarch64-normal-server-slowdebug/jdk/lib/aarch64/client/libjvm.so'.
Edward Nevill
ed at camswl.com
Sat Nov 9 09:52:57 PST 2013
On Fri, 2013-11-08 at 17:36 +0000, Andrew Haley wrote:
> If I configure
>
> --with-debug-level=slowdebug --with-jvm-variants=server --disable-zip-debug-info
>
> I get
>
> Error: missing `client' JVM at `/home/aph/jdk8/build/linux-aarch64-normal-server-slowdebug/jdk/lib/aarch64/client/libjvm.so'.
>
> WTF? Can someone please point to whichever bit of configury needs
> fixing?
OK,
What you need to do to get around this for the moment is edit
jdk/src/solaris/bin/aarch64/jvm.cfg
and change
-client KNOWN
-server IF_SERVER_CLASS KNOWN
to
-server KNOWN
-client IGNORE
The problem is the jvm.cfg file is saying it knows about a client
compiler and that that compiler is the default.
This only appears when you do a native build because on a cross compile
build it does not try to use the JVM it as just built.
I think the better solution is
-client IF_SERVER_CLASS -server
-server KNOWN
and make the IF_SERVER_CLASS predicate dependant on there being a server
compiler (otherwise the IF_SERVER_CLASS is always true).
I am still in the US. I will look at this further when I am back on
Monday,
All the best,
Ed.
More information about the aarch64-port-dev
mailing list