-
Bug
-
Resolution: Fixed
-
P2
-
24
-
None
-
+ uname -a
Linux fedora-riscv-3 6.1.31 #1 SMP Thu Jun 15 01:30:00 CST 2023 riscv64 GNU/Linux
+ cat /etc/os-release
NAME="Fedora Linux"
VERSION="38 (Workstation Edition)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora Linux 38 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:38"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=38
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=38
SUPPORT_END=2024-05-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation
+ free -h
total used free shared buff/cache available
Mem: 125Gi 1.2Gi 110Gi 19Mi 14Gi 123Gi
Swap: 8.0Gi 0B 8.0Gi
+ lscpu
+ head -n 25
Architecture: riscv64
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
NUMA node(s): 4
NUMA node0 CPU(s): 0-7,16-23
NUMA node1 CPU(s): 8-15,24-31
NUMA node2 CPU(s): 32-39,48-55
NUMA node3 CPU(s): 40-47,56-63
+ ldd --version
ldd (GNU libc) 2.37
Copyright (C) 2023 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.+ uname -a Linux fedora-riscv-3 6.1.31 #1 SMP Thu Jun 15 01:30:00 CST 2023 riscv64 GNU/Linux + cat /etc/os-release NAME="Fedora Linux" VERSION="38 (Workstation Edition)" ID=fedora VERSION_ID=38 VERSION_CODENAME="" PLATFORM_ID="platform:f38" PRETTY_NAME="Fedora Linux 38 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:38" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=38 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=38 SUPPORT_END=2024-05-14 VARIANT="Workstation Edition" VARIANT_ID=workstation + free -h total used free shared buff/cache available Mem: 125Gi 1.2Gi 110Gi 19Mi 14Gi 123Gi Swap: 8.0Gi 0B 8.0Gi + lscpu + head -n 25 Architecture: riscv64 Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 NUMA node(s): 4 NUMA node0 CPU(s): 0-7,16-23 NUMA node1 CPU(s): 8-15,24-31 NUMA node2 CPU(s): 32-39,48-55 NUMA node3 CPU(s): 40-47,56-63 + ldd --version ldd (GNU libc) 2.37 Copyright (C) 2023 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.
-
b20
-
riscv
-
linux
src/jdk.incubator.vector/linux/native/libsleef/lib/vector_math_rvv.c:38:10: fatal error: riscv_vector.h: No such file or directory
38 | #include <riscv_vector.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
Standalone build command:
/usr/bin/gcc -MMD -MF build/linux-riscv64-server-release/support/native/jdk.incubator.vector/libsleef/vector_math_rvv.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 -D_LITTLE_ENDIAN '-DARCH="riscv64"' -Driscv64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIC -march=rv64gcv -Isrc/jdk.incubator.vector/linux/native/libsleef/lib -Isrc/jdk.incubator.vector/linux/native/libsleef/generated -Ibuild/linux-riscv64-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=/usr/lib/gcc/riscv64-redhat-linux/13/include/=/usr/local/gcc_include/ -fdebug-prefix-map=/usr/include/c++/13/=/usr/local/gxx_include/ -fdebug-prefix-map=/home/yansendao/git/jdk/build/linux-riscv64-server-release/= -Wno-unused-parameter -Wno-unused-function -Wno-sign-compare -Wno-tautological-compare -Wno-ignored-qualifiers -Werror -O3 -c -o build/linux-riscv64-server-release/support/native/jdk.incubator.vector/libsleef/vector_math_rvv.o src/jdk.incubator.vector/linux/native/libsleef/lib/vector_math_rvv.c -frandom-seed=vector_math_rvv.c
gcc version:
> /usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-redhat-linux/13/lto-wrapper
Target: riscv64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20230728/obj-riscv64-redhat-linux/isl-install --enable-gnu-indirect-function --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20230728 (Red Hat 13.2.1-1) (GCC)
- relates to
-
JDK-8320500 [vectorapi] RISC-V: Optimize vector math operations with SLEEF
- Resolved
- links to
-
Commit(master) openjdk/jdk/ae41daf9
-
Review(master) openjdk/jdk/21442