-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
24
-
+ uname -a
Linux iZwz924azk5pol4hvmjftsZ 5.10.134-17.3.al8.aarch64 #1 SMP Thu Oct 31 14:27:09 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
+ cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (OpenAnolis Edition)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
VARIANT="OpenAnolis Edition"
VARIANT_ID="openanolis"
ALINUX_MINOR_ID="2104"
ALINUX_UPDATE_ID="10"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
+ free -h
total used free shared buff/cache available
Mem: 492Gi 4.9Gi 488Gi 0.0Ki 3.4Gi 487Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 1
Core(s) per socket: 64
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
BIOS Vendor ID: Alibaba Cloud
Model: 0
Model name: Neoverse-N2
BIOS Model name: virt-rhel7.6.0
Stepping: r0p0
CPU MHz: 3000.000
CPU max MHz: 3000.0000
CPU min MHz: 3000.0000
BogoMIPS: 100.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
L3 cache: 65536K
NUMA node0 CPU(s): 0-63
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
+ ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ java -version
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.15.16) (build 1.8.0_372-b03)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.15.16) (build 25.372-b03, mixed mode)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (25.372-b03) for linux-aarch64 JRE (1.8.0_372-b03), built on Sep 26 2023 11:38:37 by "mockbuild" with gcc 10.2.1 20200825 (Alibaba 10.2.1-3.5 2.32)
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git log -n 1
+ head -n 1
commit 5958463cadb04560ec85d9af972255bfe6dcc2f2+ uname -a Linux iZwz924azk5pol4hvmjftsZ 5.10.134-17.3.al8.aarch64 #1 SMP Thu Oct 31 14:27:09 CST 2024 aarch64 aarch64 aarch64 GNU/Linux + cat /etc/os-release NAME="Alibaba Cloud Linux" VERSION="3 (OpenAnolis Edition)" ID="alinux" ID_LIKE="rhel fedora centos anolis" VERSION_ID="3" VARIANT="OpenAnolis Edition" VARIANT_ID="openanolis" ALINUX_MINOR_ID="2104" ALINUX_UPDATE_ID="10" PLATFORM_ID="platform:al8" PRETTY_NAME="Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/" + free -h total used free shared buff/cache available Mem: 492Gi 4.9Gi 488Gi 0.0Ki 3.4Gi 487Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: aarch64 Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM BIOS Vendor ID: Alibaba Cloud Model: 0 Model name: Neoverse-N2 BIOS Model name: virt-rhel7.6.0 Stepping: r0p0 CPU MHz: 3000.000 CPU max MHz: 3000.0000 CPU min MHz: 3000.0000 BogoMIPS: 100.00 L1d cache: 64K L1i cache: 64K L2 cache: 1024K L3 cache: 65536K NUMA node0 CPU(s): 0-63 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh + ldd --version ldd (GNU libc) 2.32 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. + java -version openjdk version "1.8.0_372" OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.15.16) (build 1.8.0_372-b03) OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.15.16) (build 25.372-b03, mixed mode) + java -Xinternalversion OpenJDK 64-Bit Server VM (25.372-b03) for linux-aarch64 JRE (1.8.0_372-b03), built on Sep 26 2023 11:38:37 by "mockbuild" with gcc 10.2.1 20200825 (Alibaba 10.2.1-3.5 2.32) + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git log -n 1 + head -n 1 commit 5958463cadb04560ec85d9af972255bfe6dcc2f2
bash configure --with-jobs=128 --prefix=/home/yansendao/git/jdk/install-release --verbose --with-debug-level=release --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/home/yansendao/software/jdk/24/jdk-repo-binary --with-gtest=/home/yansendao/git/googletest-v1.14.x --with-jtreg=/home/yansendao/software/jdk/jtreg-7.4 --with-jmh=build/jmh/jars --with-version-opt=e023addf --with-zlib=system --enable-ccache
time make all LOG=debug &> build/make.log
The build log snippet:
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/support/static-native/launcher/main.o: in function `main':
/tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:101: undefined reference to `JLI_InitArgProcessing'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:146: undefined reference to `JLI_List_new'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:150: undefined reference to `JLI_StringDup'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:150: undefined reference to `JLI_List_add'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:152: undefined reference to `JLI_AddArgsFromEnvVar'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:164: undefined reference to `JLI_PreprocessArg'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:171: undefined reference to `JLI_List_add'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:174: undefined reference to `JLI_MemFree'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:175: undefined reference to `JLI_MemFree'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:180: undefined reference to `JLI_List_add'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:184: undefined reference to `JLI_Launch'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:166: undefined reference to `JLI_StringDup'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:166: undefined reference to `JLI_List_add'
/opt/rh/devtoolset-10/root/usr/libexec/gcc/aarch64-redhat-linux/10/ld: /tmp/tone/run/jtreg/jdk-repo/src/java.base/share/native/launcher/main.c:158: undefined reference to `JLI_ReportMessage'
collect2: error: ld returned 1 exit status
- duplicates
-
JDK-8345507 Fix build of static launcher
- Resolved
- relates to
-
JDK-8339480 Build static-jdk image with a statically linked launcher
- Resolved