-
Bug
-
Resolution: External
-
P3
-
8u121, 9
-
None
-
fedora 26
building jdk8 like:
export EXTRA_CFLAGS="-fstack-protector-strong -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse"
export EXTRA_CPP_FLAGS="-fstack-protector-strong -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse"bash ./configure --disable-zip-debug-info --with-milestone="fcs" -with-boot-jdk=/usr/lib/jvm/java-openjdk --enable-unlimited-crypto --with-stdc++lib=dynamic --with-extra-cxxflags="$EXTRA_CPP_FLAGS" --with-extra-cflags="$EXTRA_CFLAGS"
make DEBUG_BINARIES=true JAVAC_FLAGS=-g STRIP_POLICY=no_strip POST_STRIP_CMD="" LOG=trace SCTP_WERROR="" bootcycle-images docs
and jdk9 like:
export EXTRA_CFLAGS="-fstack-protector-strong -Wno-error -Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse -fpermissive";
export EXTRA_CPP_FLAGS="-Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse";bash ./configure --with-version-build=111 --with-version-pre="ea" --with-version-opt="" --with-boot-jdk=/usr/lib/jvm/java-1.8.0-openjdk/ --with-debug-level=release --with-native-debug-symbols=internal --enable-unlimited-crypto --with-stdc++lib=dynamic --with-extra-cxxflags="$EXTRA_CPP_FLAGS" --with-extra-cflags="$EXTRA_CFLAGS" --disable-javac-server --disable-warnings-as-errors
make JAVAC_FLAGS=-g LOG=trace WARNINGS_ARE_ERRORS="-Wno-error" CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" all bootcycle-images docs
fedora 26 building jdk8 like: export EXTRA_CFLAGS="-fstack-protector-strong -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" export EXTRA_CPP_FLAGS="-fstack-protector-strong -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse" bash ./configure --disable-zip-debug-info --with-milestone="fcs" -with-boot-jdk=/usr/lib/jvm/java-openjdk --enable-unlimited-crypto --with-stdc++lib=dynamic --with-extra-cxxflags="$EXTRA_CPP_FLAGS" --with-extra-cflags="$EXTRA_CFLAGS" make DEBUG_BINARIES=true JAVAC_FLAGS=-g STRIP_POLICY=no_strip POST_STRIP_CMD="" LOG=trace SCTP_WERROR="" bootcycle-images docs and jdk9 like: export EXTRA_CFLAGS="-fstack-protector-strong -Wno-error -Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse -fpermissive"; export EXTRA_CPP_FLAGS="-Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse"; bash ./configure --with-version-build=111 --with-version-pre="ea" --with-version-opt="" --with-boot-jdk=/usr/lib/jvm/java-1.8.0-openjdk/ --with-debug-level=release --with-native-debug-symbols=internal --enable-unlimited-crypto --with-stdc++lib=dynamic --with-extra-cxxflags="$EXTRA_CPP_FLAGS" --with-extra-cflags="$EXTRA_CFLAGS" --disable-javac-server --disable-warnings-as-errors make JAVAC_FLAGS=-g LOG=trace WARNINGS_ARE_ERRORS="-Wno-error" CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" all bootcycle-images docs
-
generic
-
linux
You may see original issue at: https://bugzilla.redhat.com/show_bug.cgi?id=1423751
You may also see attached hs_err files for 8u and aarch64-8u
As for jdk8 this may be resolved by new gcc switch of -fno-split-loops, which is pointing to some hidden error in JIT.
On contrary jdk9 do not sigsev, but is being compleatly deadlocked and overflowing which suggest bug in gcc:
Most repeated errors are:
++ /usr/bin/tee /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/macroAssembler_x86_exp.o.log
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
gmake[5]: *** [lib/CompileJvm.gmk:203: /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/escape.o] Error 4
gmake[5]: *** Deleting file '/builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/escape.o'
gmake[5]: *** [lib/CompileJvm.gmk:203: /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/ad_x86_clone.o] Error 4
+ exitcode=4
=== Output from failing command(s) repeated here ===
make/Init.gmk:320: Building on-failure
/usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:\n"
+ /usr/bin/printf '* For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:\n'
* For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:
make/Init.gmk:320: Building on-failure
(/usr/bin/grep -v -e "^Note: including file:" < /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_x86_clone.o.log || true) | /usr/bin/head -n 12
+ /usr/bin/grep -v -e '^Note: including file:'
+ /usr/bin/head -n 12
{standard input}: Assembler messages:
{standard input}:15680: Warning: end of file not at end of a line; newline inserted
{standard input}:15706: Error: unknown pseudo-op: `.cfi'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make/Init.gmk:320: Building on-failure