On Mon, 24 Jun 2024 22:22:38 GMT, Vladimir Petko <vpe...@openjdk.org> wrote:
> This PR sets COMPATIBLE_CDS_ALIGNMENT_DEFAULT to auto for aarch64. > This allows to avoid configure error on arm64: > > $ sh configure --disable-jvm-feature-cds > ... > checking if CDS archive is available... no (CDS is disabled) > checking if a default CDS archive should be generated... disabled, from > default 'auto' > checking if CDS archive is available... no (CDS is disabled) > checking if compatible cds region alignment enabled... enabled, default > configure: error: Option --enable-compatible-cds-alignment is not available > configure exiting with result code 1 > > after applying the change: > > $ sh configure --disable-jvm-feature-cds > ... > checking if the CDS classlist generation should be enabled... disabled, from > default 'auto' > checking if any translations should be excluded... no > checking if static man pages should be copied... enabled, default > checking if CDS archive is available... no (CDS is disabled) > checking if a default CDS archive should be generated... disabled, from > default 'auto' > checking if CDS archive is available... no (CDS is disabled) > checking if compatible cds region alignment enabled... disabled, from default > 'auto' > checking for number of cores... 4 > checking for memory size... 7943 MB > checking for appropriate number of jobs to run in parallel... 4 > checking whether to use javac server... enabled, default > checking flags for boot jdk java command ... -Duser.language=en > -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces > -XX:SharedArchiveFile=/build/magic/arm64/jdk/build/linux-aarch64-server-release/configure-support/classes.jsa > -Xshare:auto > checking flags for boot jdk java command for big workloads... -Xms64M > -Xmx1600M > checking flags for bootcycle boot jdk java command for big workloads... > -Xms64M -Xmx1600M > checking flags for boot jdk java command for small workloads... > -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 > checking for --enable-icecc... disabled, default > checking if precompiled headers are available... yes > checking for --enable-precompiled-headers... enabled, from default 'auto' > checking for ccache... [not found] > checking if ccache is available... no, ccache binary missing or not executable > checking if ccache is enabled... disabled, default > checking if build directory is on local disk... yes > configure: creating > /build/magic/arm64/jdk/build/linux-aarch64-server-release/configure-support/config.status > config.status: creating > /build/magic/arm64/jdk/build/linux-aarch64-server-release/spec.gmk > config.status: creating... This pull request has now been integrated. Changeset: 3b1ca986 Author: Vladimir Petko <vpe...@openjdk.org> Committer: Erik Joelsson <er...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/3b1ca986427d3a69c9e167b9b4c07d1b83bc264d Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942 Reviewed-by: erikj ------------- PR: https://git.openjdk.org/jdk/pull/19869