RFR: 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942 [v2]
Vladimir Petko
vpetko at openjdk.org
Tue Jun 25 19:24:25 UTC 2024
> 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...
Vladimir Petko has updated the pull request incrementally with two additional commits since the last revision:
- update description
- disable export
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19869/files
- new: https://git.openjdk.org/jdk/pull/19869/files/41c6f75e..09747d45
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19869&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19869&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19869.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19869/head:pull/19869
PR: https://git.openjdk.org/jdk/pull/19869
More information about the build-dev
mailing list