jdk10 bootcycle build linux failing

Erik Joelsson erik.joelsson at oracle.com
Thu Mar 1 21:59:52 UTC 2018


Hello Michal,

The --with-memory-size option is only used to help configure pick a more 
reasonable concurrency level for make. If your machine still gets 
overwhelmed, I would recommend manually turning down concurrency until 
you get it to work, using "make JOBS=X". You can check the end of the 
configure output for how many concurrent jobs configure set for you and 
work down from there.

/Erik


On 2018-03-01 03:36, Michal Vala wrote:
> Hi,
>
> I have an issue with bootcycle build. First run with external boot jdk 
> is ok, but bootcycle phase always fails. I'm building on 
> fedora27(local) and rhel7(VM). In case of local, build consume too 
> much memory and kill my OS. I've tried to set `with-memory-size` but 
> it seems like it accepts this value just for first build, but not for 
> bootcycle. I'm building with:
>
> $ bash ./configure --disable-warnings-as-errors 
> --with-boot-jdk=/home/tester/jdk-9.0.4
> $ make bootcycle-images
>
> I suspect that build eats too much memory and OS kills some process, 
> but I'm lack of knowledge here. Anyone else meeting similar issue?
>
> end of build log inlined here. I can provide more, but I was not able 
> to find any useful log output:
>
> collect2: error: ld terminated with signal 9 [Killed]
> gmake[5]: *** 
> [/home/tester/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/gtest/libjvm.so] 
> Error 1
> gmake[5]: *** Deleting file 
> `/home/tester/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/gtest/libjvm.so'
> gmake[5]: *** Waiting for unfinished jobs....
> gmake[4]: *** [hotspot-server-libs] Error 1
>
> ERROR: Build failed for target 'product-images' in configuration 
> 'linux-x86_64-normal-server-release' (exit code 2)
> gmake[4]: warning: -jN forced in submake: disabling jobserver mode.
> Stopping sjavac server
>
> === Output from failing command(s) repeated here ===
> * For target 
> hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
> collect2: error: ld terminated with signal 9 [Killed]
>
> * All command lines available in 
> /home/tester/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/make-support/failure-logs.
> === End of repeated output ===
>
> No indication of failed target found.
> Hint: Try searching the build log for '] Error'.
> Hint: See doc/building.html#troubleshooting for assistance.
>
> gmake[3]: *** [main] Error 1
> gmake[2]: *** [bootcycle-images] Error 2
>
> ERROR: Build failed for target 'bootcycle-images' in configuration 
> 'linux-x86_64-normal-server-release' (exit code 2)
>
> No indication of failed target found.
> Hint: Try searching the build log for '] Error'.
> Hint: See doc/building.html#troubleshooting for assistance.
>
> make[1]: *** [main] Error 1
> make: *** [bootcycle-images] Error 2
>




More information about the build-dev mailing list