-
Bug
-
Resolution: Unresolved
-
P4
-
25
-
None
-
+ uname -a
Linux riscv-dev 5.10.134-17.2.al8.x86_64 #1 SMP Fri Aug 9 15:49:42 CST 2024 x86_64 x86_64 x86_64 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: 495Gi 9Gi 205Gi 11Mi 284Gi 485Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 2
Core(s) per socket: 64
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model: 17
Model name: AMD EPYC 9T24 96-Core Processor
Stepping: 1
CPU MHz: 3693.956
BogoMIPS: 5400.00
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 32768K
NUMA node0 CPU(s): 0-127
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 clzero xsaveerptr rdpru wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
+ 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 "24" 2025-03-18
OpenJDK Runtime Environment (build 24)
OpenJDK 64-Bit Server VM (build 24, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (24) for linux-amd64 JRE (24), built on 2024-10-23T10:09:48Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ 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 a6277bb521e07e569cd75a4641b2a05a26f47b0a+ uname -a Linux riscv-dev 5.10.134-17.2.al8.x86_64 #1 SMP Fri Aug 9 15:49:42 CST 2024 x86_64 x86_64 x86_64 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: 495Gi 9Gi 205Gi 11Mi 284Gi 485Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 25 Model: 17 Model name: AMD EPYC 9T24 96-Core Processor Stepping: 1 CPU MHz: 3693.956 BogoMIPS: 5400.00 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 32768K NUMA node0 CPU(s): 0-127 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 clzero xsaveerptr rdpru wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities + 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 "24" 2025-03-18 OpenJDK Runtime Environment (build 24) OpenJDK 64-Bit Server VM (build 24, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (24) for linux-amd64 JRE (24), built on 2024-10-23T10:09:48Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + 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 a6277bb521e07e569cd75a4641b2a05a26f47b0a
-
generic
-
linux
The configure command:
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=a6277bb5 --with-zlib=system --enable-ccache --with-toolchain-type=gcc --with-toolchain-path=~/software/gcc/gcc-14.2.0-binary/bin --enable-asan --enable-ubsan --enable-lsan
The compile warnings reported:
src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c: In function ‘core_read_data’:
src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:144:10: error: ‘memset’ specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
144 | memset(buf, 0, len);
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
The standalone compile command:
gcc -MMD -MF build/linux-x86_64-server-release/support/native/jdk.hotspot.agent/libsaproc/ps_core.d.tmp -fpch-preprocess -fvisibility=hidden -pipe -fstack-protector -DLIBC=gnu -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLINUX -DNDEBUG -fmacro-prefix-map=/home/yansendao/git/jdk/= -std=c11 -fno-strict-aliasing -Wall -Wextra -Wformat=2 -Wpointer-arith -Wreturn-type -Wsign-compare -Wtrampolines -Wundef -Wunused-const-variable=1 -Wunused-function -Wunused-result -Wunused-value -m64 -D_LITTLE_ENDIAN -DARCH='"amd64"' -Damd64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIC -fsanitize=address -Wno-stringop-truncation -fno-omit-frame-pointer -fno-common -DADDRESS_SANITIZER --param asan-use-after-return=0 -fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER -fsanitize=leak -fno-omit-frame-pointer -DLEAK_SANITIZER -Isrc/jdk.hotspot.agent/linux/native/libsaproc -Isrc/jdk.hotspot.agent/share/native/libsaproc -Ibuild/linux-x86_64-server-release/support/headers/jdk.hotspot.agent -Isrc/hotspot/share/include -Isrc/hotspot/os/posix/include -Isrc/java.base/linux/native/libjava -Isrc/java.base/unix/native/libjava -Isrc/java.base/share/native/libjava -Ibuild/linux-x86_64-server-release/support/modules_include/java.base -Isrc/java.base/unix/native/include -Isrc/java.base/share/native/include -g -gdwarf-4 -fdebug-prefix-map=/home/yansendao/git/jdk/= -fdebug-prefix-map=/usr/include/=/usr/include/ -fdebug-prefix-map=/home/yansendao/software/gcc/gcc-14.2.0-binary/lib/gcc/x86_64-pc-linux-gnu/14.2.0/include/=/usr/local/gcc_include/ -fdebug-prefix-map=/home/yansendao/software/gcc/gcc-14.2.0-binary/include/c++/14.2.0/=/usr/local/gxx_include/ -fdebug-prefix-map=/home/yansendao/git/jdk/build/linux-x86_64-server-release/= -Wno-unused-parameter -Wno-sign-compare -Werror -O3 -Wno-pointer-arith -c -o build/linux-x86_64-server-release/support/native/jdk.hotspot.agent/libsaproc/ps_core.o src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c -frandom-seed="ps_core.c"
gcc version:
> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/yansendao/software/gcc/gcc-14.2.0-binary/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: configure --prefix=/home/yansendao/git/tone-matrix-compiler/csmith/gcc-14.2.0/../gcc-14.2.0-binary --disable-multilib --enable-languages=c,c++,objc,obj-c++,fortran,lto
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.2.0 (GCC)