jdk10 bootcycle build linux failing

Michal Vala mvala at redhat.com
Thu Mar 1 11:36:37 UTC 2018


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

-- 
Michal Vala
OpenJDK QE
Red Hat Czech



More information about the build-dev mailing list