problem building client variant in 9.0.1+11

Mete Balci mete.balci at antelabs.com
Fri Nov 24 10:42:32 UTC 2017


Thanks Erik, I understand. I did patch the jvm.cfg (aliased server to
client) and then I had to do something for the errors below, so I added
JVMCI_FLAG_CHECKED for both MaxVectorSize and ReduceInitialCardMarks to
JVMCIGlobals::check_jvmci_flags_are_consistent() -no idea if this is
correct but not important for me for the moment -. Now the client build
succeeds.

Mete

#  Internal Error (../src/share/vm/jvmci/jvmci_globals.cpp:95), pid=31194,
tid=31195
#  assert(MaxVectorSizechecked) failed: MaxVectorSize flag not checked

#  Internal Error (../src/share/vm/jvmci/jvmci_globals.cpp:97), pid=32358,
tid=32359
#  assert(ReduceInitialCardMarkschecked) failed: ReduceInitialCardMarks
flag not checked


On Thu, Nov 23, 2017 at 5:03 PM, Erik Joelsson <erik.joelsson at oracle.com>
wrote:

> Hello Mete,
>
> The options to chose which jvm to build was never completely dynamic like
> that unfortunately. The jvm.cfg file is still assuming only a few specific
> combinations. A build of client only has never been an official combination
> so unfortunately fails. It's really too bad because it shouldn't be hard to
> fix that build logic, it just has never been a priority. I don't have
> access to source right now, but if you want to patch your source, look for
> jvm.cfg* and find the template for your platform and modify it to support
> client only.
>
> At least that's my best guess as to what is failing here.
>
> /Erik
>
>
> On 2017-11-23 05:32, Mete Balci wrote:
>
>> Hi,
>>
>> I am trying to build the client variant, but it fails with the output
>> below. Is this a known issue or is there any specific configure option I
>> should use ?
>>
>> Thanks,
>>
>> Mete
>>
>> Compiling 4 files for BUILD_JIGSAW_TOOLS
>> Error: missing `server' JVM at
>> `/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release
>> /jdk/lib/server/libjvm.so'.
>> Please install or use the JRE or JDK that contains these missing
>> components.
>> ExplodedImageOptimize.gmk:40: recipe for target
>> '/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release
>> /jdk/_packages_attribute.done'
>> failed
>> make[3]: ***
>> [/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release
>> /jdk/_packages_attribute.done]
>> Error 4
>> make/Main.gmk:356: recipe for target 'exploded-image-optimize' failed
>> make[2]: *** [exploded-image-optimize] Error 1
>>
>>
>

-- 
This message contains confidential and proprietary information of the 
sender, and is intended only for the person(s) to whom it is addressed. Any 
use, distribution, copying, disclosure or taking of any action in reliance 
upon it by any other person is strictly prohibited. If you have received 
this message in error, please notify the e-mail sender immediately, and 
delete the original message without making a copy. The sender accepts no 
liability if this email harms any systems or data of the recipient or if 
this email is accessed by anyone other than the person(s) to whom it is 
addressed. 

antelabs GmbH (CHE-153.180.355) is registered in Zug, Switzerland and its 
registered office address is Grafenauweg 10, 6301 Zug, Switzerland.



More information about the build-dev mailing list