JDK-8263465 : JDK-8236847 causes tier1 build failure on linux-aarch64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2021-03-11
  • Updated: 2021-03-18
  • Resolved: 2021-03-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b14Fixed
Related Reports
Relates :  
Description
[2021-03-11T16:56:26,505Z] checking if compatible cds region alignment enabled... enabled, from command line
[2021-03-11T16:56:26,505Z] configure: error: Option --enable-compatible-cds-alignment is not available
[2021-03-11T16:56:26,604Z] configure exiting with result code 1
[2021-03-11T16:56:26,674Z][INFO][pool-3-thread-1][c.o.j.s.e.SparkyExecutorBase] JIB configure finished in 15902 ms
[2021-03-11T16:56:26,677Z][INFO][pool-3-thread-1][c.o.j.s.e.j.JdkBuilder] Build failed: Error while running 'jib configure', return value: 1
com.oracle.java.sparky.executor.utils.BuildFailedException: Error while running 'jib configure', return value: 1
	at com.oracle.java.sparky.executor.jdkbuilder.JdkBuilder.configure(JdkBuilder.java:142)
	at com.oracle.java.sparky.executor.jdkbuilder.JdkBuilder.execute(JdkBuilder.java:75)
	at com.oracle.java.sparky.executor.SparkyExecutorRunner.lambda$run$2(SparkyExecutorRunner.java:108)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Comments
Changeset: 15daccac Author: Yumin Qi <minqi@openjdk.org> Date: 2021-03-11 18:54:45 +0000 URL: https://git.openjdk.java.net/jdk/commit/15daccac
11-03-2021

The error is in this part of the log file: [2021-03-11T16:59:32,438Z] checking if CDS archive is available... no (not possible with cross compilation) [2021-03-11T16:59:32,439Z] checking if a default CDS archive should be generated... disabled, from default 'auto' [2021-03-11T16:59:32,439Z] checking if CDS archive is available... no (CDS is disabled) [2021-03-11T16:59:32,439Z] checking if compatible cds region alignment enabled... enabled, from command line [2021-03-11T16:59:32,439Z] configure: error: Option --enable-compatible-cds-alignment is not available [2021-03-11T16:59:32,526Z] configure exiting with result code 1 This part of make/autoconf/jdk-options.m4 is wrong: CHECK_AVAILABLE: [ AC_MSG_CHECKING([if CDS archive is available]) if test "x$BUILD_CDS_ARCHIVE" = "xfalse"; then <<<<<<<<<<<<< AVAILABLE=false AC_MSG_RESULT([no (CDS is disabled)]) else AVAILABLE=true AC_MSG_RESULT([yes]) fi $BUILD_CDS_ARCHIVE means "should we generate the default CDS archive during the build?" It should be changed to if test "x$ENABLE_CDS" = "xfalse"; then AC_MSG_RESULT([no (CDS is disabled)])
11-03-2021