>>> Building on riscv64-3 under devel/libggml BDEPENDS = [devel/cmake/core;devel/ninja;graphics/spirv-headers] DIST = [devel/libggml:ggml-0.13.0.tar.gz] FULLPKGNAME = libggml-0.13.0 (Junk lock obtained for riscv64-3 at 1780731155.66) >>> Running depends in devel/libggml at 1780731155.89 last junk was in x11/fvwm3 /usr/sbin/pkg_add -aI -Drepair spirv-headers-1.4.341.0v0 was: /usr/sbin/pkg_add -aI -Drepair cmake-core-4.3.3 ninja-1.11.1p1v1 spirv-headers-1.4.341.0v0 /usr/sbin/pkg_add -aI -Drepair spirv-headers-1.4.341.0v0 >>> Running show-prepare-results in devel/libggml at 1780731175.94 ===> devel/libggml ===> Building from scratch libggml-0.13.0 ===> libggml-0.13.0 depends on: spirv-headers-* -> spirv-headers-1.4.341.0v0 ===> libggml-0.13.0 depends on: cmake-core->=4 -> cmake-core-4.3.3 ===> libggml-0.13.0 depends on: ninja-* -> ninja-1.11.1p1v1 ===> Verifying specs: m pthread c++ c++abi pthread ===> found m.10.1 pthread.28.1 c++.12.0 c++abi.9.0 cmake-core-4.3.3 ninja-1.11.1p1v1 spirv-headers-1.4.341.0v0 Don't run junk because nojunk in x11/qt6/qtbase (Junk lock released for riscv64-3 at 1780731183.65) distfiles size=3087306 >>> Running patch in devel/libggml at 1780731183.96 ===> devel/libggml ===> Checking files for libggml-0.13.0 `/usr/ports/distfiles/ggml-0.13.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for libggml-0.13.0 ===> Patching for libggml-0.13.0 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-src_ggml-backend-reg_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/ggml-backend-reg.cpp |--- src/ggml-backend-reg.cpp.orig |+++ src/ggml-backend-reg.cpp -------------------------- Patching file src/ggml-backend-reg.cpp using Plan A... Hunk #1 succeeded at 482. done ===> Applying OpenBSD patch patch-tests_CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tests/CMakeLists.txt |--- tests/CMakeLists.txt.orig |+++ tests/CMakeLists.txt -------------------------- Patching file tests/CMakeLists.txt using Plan A... Hunk #1 succeeded at 114. done ===> Applying OpenBSD patch patch-tests_test-opt_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix build on ILP32 | |Index: tests/test-opt.cpp |--- tests/test-opt.cpp.orig |+++ tests/test-opt.cpp -------------------------- Patching file tests/test-opt.cpp using Plan A... Hunk #1 succeeded at 98. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in devel/libggml at 1780731192.38 ===> devel/libggml ===> Generating configure for libggml-0.13.0 ===> Configuring for libggml-0.13.0 -- The C compiler identification is Clang 22.1.6 -- The CXX compiler identification is Clang 22.1.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /local/pobj/libggml-0.13.0/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /local/pobj/libggml-0.13.0/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /local/pobj/libggml-0.13.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- CMAKE_SYSTEM_PROCESSOR: riscv64 -- GGML_SYSTEM_ARCH: riscv64 -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) CMake Warning at src/CMakeLists.txt:231 (message): OpenMP not found -- Including CPU backend -- riscv64 detected -- Adding CPU backend variant ggml-cpu: -march=rv64gc_zfh_zicbop_zihintpause;-mabi=lp64d -- x86 detected -- processor type riscv64 -- ggml version: 0.13.0 -- ggml commit: unknown -- Configuring done (23.7s) -- Generating done (0.7s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /local/pobj/libggml-0.13.0/build-riscv64 >>> Running build in devel/libggml at 1780731219.08 ===> devel/libggml ===> Building for libggml-0.13.0 Change Dir: '/local/pobj/libggml-0.13.0/build-riscv64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/39] /local/pobj/libggml-0.13.0/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml.c.o -MF src/CMakeFiles/ggml-base.dir/ggml.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml.c.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml.c [2/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml.cpp [3/39] /local/pobj/libggml-0.13.0/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o -MF src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-alloc.c [4/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-backend.cpp [5/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-backend-meta.cpp [6/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-opt.cpp [7/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-threading.cpp [8/39] /local/pobj/libggml-0.13.0/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-quants.c.o -MF src/CMakeFiles/ggml-base.dir/ggml-quants.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml-quants.c.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-quants.c [9/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.0\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/gguf.cpp.o -MF src/CMakeFiles/ggml-base.dir/gguf.cpp.o.d -o src/CMakeFiles/ggml-base.dir/gguf.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/gguf.cpp [10/39] : && /local/pobj/libggml-0.13.0/bin/c++ -fPIC -O2 -pipe -DNDEBUG -flto=thin -shared -Xlinker --dependency-file=src/CMakeFiles/ggml-base.dir/link.d -Wl,-soname,libggml-base.so.4.0 -o src/libggml-base.so.4.0 src/CMakeFiles/ggml-base.dir/ggml.c.o src/CMakeFiles/ggml-base.dir/ggml.cpp.o src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o src/CMakeFiles/ggml-base.dir/ggml-quants.c.o src/CMakeFiles/ggml-base.dir/gguf.cpp.o -lm -pthread -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) [11/39] /usr/local/bin/cmake -E cmake_symlink_library src/libggml-base.so.4.0 src/libggml-base.so.4.0 src/libggml-base.so && : [12/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DIR=\"/usr/local/lib\" -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -MD -MT src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o -MF src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o.d -o src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-backend-dl.cpp [13/39] /local/pobj/libggml-0.13.0/bin/c++ -DGGML_BACKEND_DIR=\"/usr/local/lib\" -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -MD -MT src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o -MF src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o.d -o src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-backend-reg.cpp [14/39] /local/pobj/libggml-0.13.0/bin/cc -DGGML_BACKEND_BUILD -DGGML_BACKEND_DL -DGGML_BACKEND_SHARED -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_CPU_REPACK -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_cpu_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/.. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -march=rv64gc_zfh_zicbop_zihintpause -mabi=lp64d -MD -MT src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -MF src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o.d -o src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/ggml-cpu.c FAILED: src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o /local/pobj/libggml-0.13.0/bin/cc -DGGML_BACKEND_BUILD -DGGML_BACKEND_DL -DGGML_BACKEND_SHARED -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_CPU_REPACK -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_cpu_EXPORTS -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/.. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/. -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu -I/local/pobj/libggml-0.13.0/ggml-0.13.0/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -march=rv64gc_zfh_zicbop_zihintpause -mabi=lp64d -MD -MT src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -MF src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o.d -o src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -c /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/ggml-cpu.c In file included from /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/ggml-cpu.c:11: In file included from /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/unary-ops.h:3: In file included from /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/common.h:7: /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/simd-mappings.h:99:16: warning: implicit conversion increases floating-point precision: '_Float16' to 'float' [-Wdouble-promotion] 99 | return hf; | ~~~~~~ ^~ In file included from /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/ggml-cpu.c:13: /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:421:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 421 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:421:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 421 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:422:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 422 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:422:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 422 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 423 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 423 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:55: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 423 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:423:62: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 423 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:424:13: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 424 | __riscv_vse32_v_f32m8(&y[i], ny, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:424:42: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 424 | __riscv_vse32_v_f32m8(&y[i], ny, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:624:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 624 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:624:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 624 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:626:30: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 626 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[k][i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:626:35: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 626 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[k][i], avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:627:17: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 627 | ay = __riscv_vfmadd_vf_f32m8(ax, v[k][0], ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:627:22: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 627 | ay = __riscv_vfmadd_vf_f32m8(ax, v[k][0], ay, avl); | ^ /local/pobj/libggml-0.13.0/ggml-0.13.0/src/ggml-cpu/vec.h:627:22: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. ninja: build stopped: subcommand failed. *** Error 1 in devel/libggml (/usr/ports/devel/cmake/cmake.port.mk:40 'do-build': @cd /local/pobj/libggml-0.13.0/build-riscv64 && exec /usr/...) *** Error 2 in devel/libggml (/usr/ports/infrastructure/mk/bsd.port.mk:3075 '/local/pobj/libggml-0.13.0/build-riscv64/.build_done': @cd /usr...) *** Error 2 in devel/libggml (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=libggml-0.13.0; export _LOCKS_HELD=" libggml-0.1...) ===> Exiting devel/libggml with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1780731656.58 max_stuck=99.38/depends=20.08/show-prepare-results=7.89/patch=8.40/configure=26.84/build=437.67 Error: job failed with 512 on riscv64-3 at 1780731656 >>> Wiping on riscv64-3 under devel/libggml BDEPENDS = [devel/cmake/core;devel/ninja;graphics/spirv-headers] FULLPKGNAME = libggml-0.13.0 >>> Running clean in devel/libggml at 1780852597.34 ===> devel/libggml ===> Cleaning for libggml-0.13.1 >>> Ended at 1780852600.71 max_stuck=0.00/clean=3.56 >>> Building on riscv64-1 under devel/libggml BDEPENDS = [devel/cmake/core;graphics/spirv-headers;devel/ninja] DIST = [devel/libggml:ggml-0.13.1.tar.gz] FULLPKGNAME = libggml-0.13.1 (Junk lock obtained for riscv64-1 at 1780918327.28) >>> Running depends in devel/libggml at 1780918327.51 last junk was in multimedia/libde265 /usr/sbin/pkg_add -aI -Drepair spirv-headers-1.4.341.0v0 was: /usr/sbin/pkg_add -aI -Drepair cmake-core-4.3.3 ninja-1.11.1p1v1 spirv-headers-1.4.341.0v0 /usr/sbin/pkg_add -aI -Drepair spirv-headers-1.4.341.0v0 >>> Running show-prepare-results in devel/libggml at 1780918350.28 ===> devel/libggml ===> Building from scratch libggml-0.13.1 ===> libggml-0.13.1 depends on: spirv-headers-* -> spirv-headers-1.4.341.0v0 ===> libggml-0.13.1 depends on: cmake-core->=4 -> cmake-core-4.3.3 ===> libggml-0.13.1 depends on: ninja-* -> ninja-1.11.1p1v1 ===> Verifying specs: m pthread c++ c++abi pthread ===> found m.10.1 pthread.28.1 c++.12.0 c++abi.9.0 cmake-core-4.3.3 ninja-1.11.1p1v1 spirv-headers-1.4.341.0v0 Don't run junk because nojunk in x11/qt6/qt3d (Junk lock released for riscv64-1 at 1780918357.19) distfiles size=3114277 >>> Running patch in devel/libggml at 1780918357.38 ===> devel/libggml ===> Checking files for libggml-0.13.1 `/usr/ports/distfiles/ggml-0.13.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for libggml-0.13.1 ===> Patching for libggml-0.13.1 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-src_ggml-backend-reg_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/ggml-backend-reg.cpp |--- src/ggml-backend-reg.cpp.orig |+++ src/ggml-backend-reg.cpp -------------------------- Patching file src/ggml-backend-reg.cpp using Plan A... Hunk #1 succeeded at 482. done ===> Applying OpenBSD patch patch-tests_CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tests/CMakeLists.txt |--- tests/CMakeLists.txt.orig |+++ tests/CMakeLists.txt -------------------------- Patching file tests/CMakeLists.txt using Plan A... Hunk #1 succeeded at 114. done ===> Applying OpenBSD patch patch-tests_test-opt_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix build on ILP32 | |Index: tests/test-opt.cpp |--- tests/test-opt.cpp.orig |+++ tests/test-opt.cpp -------------------------- Patching file tests/test-opt.cpp using Plan A... Hunk #1 succeeded at 98. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in devel/libggml at 1780918363.47 ===> devel/libggml ===> Generating configure for libggml-0.13.1 ===> Configuring for libggml-0.13.1 -- The C compiler identification is Clang 22.1.6 -- The CXX compiler identification is Clang 22.1.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /local/pobj/libggml-0.13.1/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /local/pobj/libggml-0.13.1/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /local/pobj/libggml-0.13.1/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- CMAKE_SYSTEM_PROCESSOR: riscv64 -- GGML_SYSTEM_ARCH: riscv64 -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) CMake Warning at src/CMakeLists.txt:231 (message): OpenMP not found -- Including CPU backend -- riscv64 detected -- Adding CPU backend variant ggml-cpu: -march=rv64gc_zfh_zicbop_zihintpause;-mabi=lp64d -- x86 detected -- processor type riscv64 -- ggml version: 0.13.1 -- ggml commit: unknown -- Configuring done (21.0s) -- Generating done (0.5s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /local/pobj/libggml-0.13.1/build-riscv64 >>> Running build in devel/libggml at 1780918387.04 ===> devel/libggml ===> Building for libggml-0.13.1 Change Dir: '/local/pobj/libggml-0.13.1/build-riscv64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/39] /local/pobj/libggml-0.13.1/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml.c.o -MF src/CMakeFiles/ggml-base.dir/ggml.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml.c.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml.c [2/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml.cpp [3/39] /local/pobj/libggml-0.13.1/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o -MF src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-alloc.c [4/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-backend.cpp [5/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-backend-meta.cpp [6/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-opt.cpp [7/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o -MF src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o.d -o src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-threading.cpp [8/39] /local/pobj/libggml-0.13.1/bin/cc -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -pthread -MD -MT src/CMakeFiles/ggml-base.dir/ggml-quants.c.o -MF src/CMakeFiles/ggml-base.dir/ggml-quants.c.o.d -o src/CMakeFiles/ggml-base.dir/ggml-quants.c.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-quants.c [9/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_COMMIT=\"unknown\" -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_VERSION=\"0.13.1\" -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_base_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -pthread -MD -MT src/CMakeFiles/ggml-base.dir/gguf.cpp.o -MF src/CMakeFiles/ggml-base.dir/gguf.cpp.o.d -o src/CMakeFiles/ggml-base.dir/gguf.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/gguf.cpp [10/39] : && /local/pobj/libggml-0.13.1/bin/c++ -fPIC -O2 -pipe -DNDEBUG -flto=thin -shared -Xlinker --dependency-file=src/CMakeFiles/ggml-base.dir/link.d -Wl,-soname,libggml-base.so.4.1 -o src/libggml-base.so.4.1 src/CMakeFiles/ggml-base.dir/ggml.c.o src/CMakeFiles/ggml-base.dir/ggml.cpp.o src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o src/CMakeFiles/ggml-base.dir/ggml-quants.c.o src/CMakeFiles/ggml-base.dir/gguf.cpp.o -lm -pthread -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) [11/39] /usr/local/bin/cmake -E cmake_symlink_library src/libggml-base.so.4.1 src/libggml-base.so.4.1 src/libggml-base.so && : [12/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DIR=\"/usr/local/lib\" -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -MD -MT src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o -MF src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o.d -o src/CMakeFiles/ggml.dir/ggml-backend-dl.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-backend-dl.cpp [13/39] /local/pobj/libggml-0.13.1/bin/c++ -DGGML_BACKEND_DIR=\"/usr/local/lib\" -DGGML_BACKEND_DL -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu++17 -flto=thin -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -MD -MT src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o -MF src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o.d -o src/CMakeFiles/ggml.dir/ggml-backend-reg.cpp.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-backend-reg.cpp [14/39] /local/pobj/libggml-0.13.1/bin/cc -DGGML_BACKEND_BUILD -DGGML_BACKEND_DL -DGGML_BACKEND_SHARED -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_CPU_REPACK -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_cpu_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/.. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -march=rv64gc_zfh_zicbop_zihintpause -mabi=lp64d -MD -MT src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -MF src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o.d -o src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/ggml-cpu.c FAILED: src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o /local/pobj/libggml-0.13.1/bin/cc -DGGML_BACKEND_BUILD -DGGML_BACKEND_DL -DGGML_BACKEND_SHARED -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_CPU_REPACK -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Dggml_cpu_EXPORTS -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/.. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/. -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu -I/local/pobj/libggml-0.13.1/ggml-0.13.1/src/../include -O2 -pipe -DNDEBUG -std=gnu11 -flto=thin -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wdouble-promotion -march=rv64gc_zfh_zicbop_zihintpause -mabi=lp64d -MD -MT src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -MF src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o.d -o src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o -c /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/ggml-cpu.c In file included from /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/ggml-cpu.c:11: In file included from /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/unary-ops.h:3: In file included from /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/common.h:7: /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/simd-mappings.h:99:16: warning: implicit conversion increases floating-point precision: '_Float16' to 'float' [-Wdouble-promotion] 99 | return hf; | ~~~~~~ ^~ In file included from /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/ggml-cpu.c:13: /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:403:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 403 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:403:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 403 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:404:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 404 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:404:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 404 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 405 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 405 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:55: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 405 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:405:62: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 405 | vfloat32m8_t ny = __riscv_vfmadd_vf_f32m8(ax, v, ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:406:13: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 406 | __riscv_vse32_v_f32m8(&y[i], ny, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:406:42: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 406 | __riscv_vse32_v_f32m8(&y[i], ny, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:606:26: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 606 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:606:31: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 606 | vfloat32m8_t ay = __riscv_vle32_v_f32m8(&y[i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:608:30: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 608 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[k][i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:608:35: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 608 | vfloat32m8_t ax = __riscv_vle32_v_f32m8(&x[k][i], avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:609:17: error: RISC-V type 'vfloat32m8_t' (aka '__rvv_float32m8_t') requires the 'zve32f' extension 609 | ay = __riscv_vfmadd_vf_f32m8(ax, v[k][0], ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:609:22: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension 609 | ay = __riscv_vfmadd_vf_f32m8(ax, v[k][0], ay, avl); | ^ /local/pobj/libggml-0.13.1/ggml-0.13.1/src/ggml-cpu/vec.h:609:22: error: RISC-V type '__rvv_float32m8_t' requires the 'zve32f' extension fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. ninja: build stopped: subcommand failed. *** Error 1 in devel/libggml (/usr/ports/devel/cmake/cmake.port.mk:40 'do-build': @cd /local/pobj/libggml-0.13.1/build-riscv64 && exec /usr/...) *** Error 2 in devel/libggml (/usr/ports/infrastructure/mk/bsd.port.mk:3075 '/local/pobj/libggml-0.13.1/build-riscv64/.build_done': @cd /usr...) ===> Exiting devel/libggml with an error *** Error 2 in devel/libggml (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=libggml-0.13.1; export _LOCKS_HELD=" libggml-0.1...) *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1780918816.26 max_stuck=95.98/depends=22.81/show-prepare-results=7.09/patch=6.08/configure=23.58/build=429.37 Error: job failed with 512 on riscv64-1 at 1780918816