[package - 132releng-armv7-quarterly][misc/llama-cpp] Failed for llama-cpp-2619 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Apr 2024 20:18:18 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: yuri@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/ampere1/data/132releng-armv7-quarterly/1b931669de11/logs/llama-cpp-2619.log
Build URL: https://pkg-status.freebsd.org/ampere1/build.html?mastername=132releng-armv7-quarterly&build=1b931669de11
Log:
=>> Building misc/llama-cpp
build started at Fri Apr 19 20:16:44 UTC 2024
port directory: /usr/ports/misc/llama-cpp
package name: llama-cpp-2619
building for: FreeBSD 132releng-armv7-quarterly-job-09 13.2-RELEASE-p6 FreeBSD 13.2-RELEASE-p6 1302001 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 722 Apr 14 01:02 /usr/ports/misc/llama-cpp/Makefile
Ports top last git commit: 1b931669d
Ports top unclean checkout: no
Port dir last git commit: 1b931669d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 09
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p6 1302001
UNAME_r=13.2-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/132releng-armv7-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132releng-armv7-quarterly/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132releng-armv7-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for llama-cpp-2619:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work/.cache HOME=/wrkdirs/usr/ports/misc/llama-cpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/llama-cpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/llama-cpp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/llama-cpp/work/.cache HOME=/wrkdirs/usr/ports/misc/llama-cpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/llama-cpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/llama-cpp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/misc/llama-cpp/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -pthread -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m
0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTEXAMPLES="" EXAMPLES="" NO_EXAMPLES="@comment " CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/llama-cpp" EXAMPLESDIR="share/examples/llama-cpp" DATADIR="share/llama-cpp" WWWDIR="www/llama-cpp" ETCDIR="etc/llama-cpp"
--End PLIST_SUB--
--SUB_LIST--
EXAMPLES="" NO_EXAMPLES="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/llama-cpp DOCSDIR=/usr/local/share/doc/llama-cpp EXAMPLESDIR=/usr/local/share/examples/llama-cpp WWWDIR=/usr/local/www/llama-cpp ETCDIR=/usr/local/etc/llama-cpp
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 524288
stack size (kbytes, -s) 65536
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> llama-cpp-2619 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.1.pkg
[132releng-armv7-quarterly-job-09] Installing pkg-1.21.1...
[132releng-armv7-quarterly-job-09] Extracting pkg-1.21.1: .......... done
===> llama-cpp-2619 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of llama-cpp-2619
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by llama-cpp-2619 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by llama-cpp-2619 for building
=> SHA256 Checksum OK for ggerganov-llama.cpp-b2619_GH0.tar.gz.
=> SHA256 Checksum OK for nomic-ai-kompute-4565194_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License MIT accepted by the user
===> Fetching all distfiles required by llama-cpp-2619 for building
===> Extracting for llama-cpp-2619
=> SHA256 Checksum OK for ggerganov-llama.cpp-b2619_GH0.tar.gz.
=> SHA256 Checksum OK for nomic-ai-kompute-4565194_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Patching for llama-cpp-2619
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> llama-cpp-2619 depends on file: /usr/local/bin/cmake - not found
===> Installing existing package /packages/All/cmake-core-3.28.3.pkg
[132releng-armv7-quarterly-job-09] Installing cmake-core-3.28.3...
[132releng-armv7-quarterly-job-09] `-- Installing expat-2.6.2...
[132releng-armv7-quarterly-job-09] `-- Extracting expat-2.6.2: .......... done
[132releng-armv7-quarterly-job-09] `-- Installing jsoncpp-1.9.5...
[132releng-armv7-quarterly-job-09] `-- Extracting jsoncpp-1.9.5: .......... done
[132releng-armv7-quarterly-job-09] `-- Installing libuv-1.48.0...
[132releng-armv7-quarterly-job-09] `-- Extracting libuv-1.48.0: .......... done
[132releng-armv7-quarterly-job-09] `-- Installing rhash-1.4.4_1...
[132releng-armv7-quarterly-job-09] | `-- Installing gettext-runtime-0.22.5...
[132releng-armv7-quarterly-job-09] | | `-- Installing indexinfo-0.3.1...
[132releng-armv7-quarterly-job-09] | | `-- Extracting indexinfo-0.3.1: .... done
[132releng-armv7-quarterly-job-09] | `-- Extracting gettext-runtime-0.22.5: .......... done
[132releng-armv7-quarterly-job-09] `-- Extracting rhash-1.4.4_1: .......... done
[132releng-armv7-quarterly-job-09] Extracting cmake-core-3.28.3: .......... done
===> llama-cpp-2619 depends on file: /usr/local/bin/cmake - found
===> Returning to build of llama-cpp-2619
===> llama-cpp-2619 depends on executable: ninja - not found
===> Installing existing package /packages/All/ninja-1.11.1,2.pkg
[132releng-armv7-quarterly-job-09] Installing ninja-1.11.1,2...
[132releng-armv7-quarterly-job-09] `-- Installing python39-3.9.18_2...
<snip>
[132releng-armv7-quarterly-job-09] | `-- Extracting readline-8.2.10: .......... done
[132releng-armv7-quarterly-job-09] `-- Extracting python39-3.9.18_2: .......... done
[132releng-armv7-quarterly-job-09] Extracting ninja-1.11.1,2: ........ done
=====
Message from python39-3.9.18_2:
--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
py39-gdbm databases/py-gdbm@py39
py39-sqlite3 databases/py-sqlite3@py39
py39-tkinter x11-toolkits/py-tkinter@py39
===> llama-cpp-2619 depends on executable: ninja - found
===> Returning to build of llama-cpp-2619
===========================================================================
=======================<phase: lib-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Configuring for llama-cpp-2619
===> Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/llama-cpp/work/.build
-- The C compiler identification is Clang 14.0.5
-- The CXX compiler identification is Clang 14.0.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /wrkdirs/usr/ports/misc/llama-cpp/work/.bin/git
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF
-- CMAKE_SYSTEM_PROCESSOR: armv7
-- ARM detected
-- Performing Test COMPILER_SUPPORTS_FP16_FORMAT_I3E
-- Performing Test COMPILER_SUPPORTS_FP16_FORMAT_I3E - Failed
CMake Warning at common/CMakeLists.txt:29 (message):
Git repository not found; to enable automatic generation of build info,
make sure Git is installed and the project is a Git repository.
-- Configuring done (2.8s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
BOOST_PYTHON_SUFFIX
CMAKE_COLOR_MAKEFILE
CMAKE_MODULE_LINKER_FLAGS
CMAKE_VERBOSE_MAKEFILE
FETCHCONTENT_FULLY_DISCONNECTED
Python3_EXECUTABLE
Python_ADDITIONAL_VERSIONS
Python_EXECUTABLE
-- Build files have been written to: /wrkdirs/usr/ports/misc/llama-cpp/work/.build
===========================================================================
=======================<phase: build >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for llama-cpp-2619
[ 1% 3/96] /usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml-alloc.c.o -MF CMakeFiles/ggml.dir/ggml-alloc.c.o.d -o CMakeFiles/ggml.dir/ggml-alloc.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml-alloc.c
[ 2% 4/96] /usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml-backend.c.o -MF CMakeFiles/ggml.dir/ggml-backend.c.o.d -o CMakeFiles/ggml.dir/ggml-backend.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml-backend.c
[ 3% 5/96] /usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml-quants.c.o -MF CMakeFiles/ggml.dir/ggml-quants.c.o.d -o CMakeFiles/ggml.dir/ggml-quants.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml-quants.c
[ 4% 6/96] /usr/bin/c++ -DGGML_SCHED_MAX_COPIES=4 -DLLAMA_BUILD -DLLAMA_SHARED -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Dllama_EXPORTS -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++11 -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/llama.dir/unicode.cpp.o -MF CMakeFiles/llama.dir/unicode.cpp.o.d -o CMakeFiles/llama.dir/unicode.cpp.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/unicode.cpp
[ 5% 7/96] /usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml.c.o -MF CMakeFiles/ggml.dir/ggml.c.o.d -o CMakeFiles/ggml.dir/ggml.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c
FAILED: CMakeFiles/ggml.dir/ggml.c.o
/usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml.c.o -MF CMakeFiles/ggml.dir/ggml.c.o.d -o CMakeFiles/ggml.dir/ggml.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:1571:5: warning: implicit conversion increases floating-point precision: 'float' to 'ggml_float' (aka 'double') [-Wdouble-promotion]
GGML_F16_VEC_REDUCE(sumf, sum);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:991:41: note: expanded from macro 'GGML_F16_VEC_REDUCE'
#define GGML_F16_VEC_REDUCE GGML_F32Cx4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:981:38: note: expanded from macro 'GGML_F32Cx4_REDUCE'
#define GGML_F32Cx4_REDUCE GGML_F32x4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:911:11: note: expanded from macro 'GGML_F32x4_REDUCE'
res = GGML_F32x4_REDUCE_ONE(x[0]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:896:34: note: expanded from macro 'GGML_F32x4_REDUCE_ONE'
#define GGML_F32x4_REDUCE_ONE(x) vaddvq_f32(x)
^~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:1619:9: warning: implicit conversion increases floating-point precision: 'float' to 'ggml_float' (aka 'double') [-Wdouble-promotion]
GGML_F16_VEC_REDUCE(sumf[k], sum[k]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:991:41: note: expanded from macro 'GGML_F16_VEC_REDUCE'
#define GGML_F16_VEC_REDUCE GGML_F32Cx4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:981:38: note: expanded from macro 'GGML_F32Cx4_REDUCE'
#define GGML_F32Cx4_REDUCE GGML_F32x4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:911:11: note: expanded from macro 'GGML_F32x4_REDUCE'
res = GGML_F32x4_REDUCE_ONE(x[0]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c:896:34: note: expanded from macro 'GGML_F32x4_REDUCE_ONE'
#define GGML_F32x4_REDUCE_ONE(x) vaddvq_f32(x)
^~~~~~~~~~~~~
fatal error: error in backend: Cannot select: 0x27a540d8: v4f32 = fmaxnum 0x27a255a0, 0x267b9bd0
0x27a255a0: v4f32,i32,ch = ARMISD::VLD1_UPD<(load (s128) from %ir.687, align 4, !alias.scope !1002)> 0x25ab8834, 0x267b9900, Constant:i32<16>, Constant:i32<1>
0x267b9900: i32,ch = CopyFromReg 0x25ab8834, Register:i32 %203
0x27a25b40: i32 = Register %203
0x273adb88: i32 = Constant<16>
0x25d500d8: i32 = Constant<1>
0x267b9bd0: v4f32 = bitcast 0x27a546c0
0x27a546c0: v4i32 = ARMISD::VMOVIMM TargetConstant:i32<0>
0x27a54360: i32 = TargetConstant<0>
In function: ggml_compute_forward_unary
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /usr/bin/cc -DGGML_SCHED_MAX_COPIES=4 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu11 -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 -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/ggml.dir/ggml.c.o -MF CMakeFiles/ggml.dir/ggml.c.o.d -o CMakeFiles/ggml.dir/ggml.c.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/ggml.c'.
4. Running pass 'ARM Instruction Selection' on function '@ggml_compute_forward_unary'
#0 0x03d70ad8 (/usr/bin/cc+0x3d70ad8)
#1 0x03d6e9a8 (/usr/bin/cc+0x3d6e9a8)
#2 0x03d2143c (/usr/bin/cc+0x3d2143c)
#3 0x03d213c4 (/usr/bin/cc+0x3d213c4)
#4 0x03d62ca0 (/usr/bin/cc+0x3d62ca0)
#5 0x0156aa3c (/usr/bin/cc+0x156aa3c)
#6 0x03d2803c (/usr/bin/cc+0x3d2803c)
#7 0x0404282c (/usr/bin/cc+0x404282c)
#8 0x04041fa4 (/usr/bin/cc+0x4041fa4)
#9 0x044604cc (/usr/bin/cc+0x44604cc)
#10 0x0403aff0 (/usr/bin/cc+0x403aff0)
#11 0x0403a798 (/usr/bin/cc+0x403a798)
#12 0x0403a3e4 (/usr/bin/cc+0x403a3e4)
#13 0x04039e50 (/usr/bin/cc+0x4039e50)
#14 0x04037f74 (/usr/bin/cc+0x4037f74)
#15 0x0445b818 (/usr/bin/cc+0x445b818)
#16 0x036355b0 (/usr/bin/cc+0x36355b0)
#17 0x039f73ec (/usr/bin/cc+0x39f73ec)
#18 0x039fd260 (/usr/bin/cc+0x39fd260)
#19 0x039f7994 (/usr/bin/cc+0x39f7994)
#20 0x01d0bfb4 (/usr/bin/cc+0x1d0bfb4)
#21 0x01fb6334 (/usr/bin/cc+0x1fb6334)
#22 0x024649b0 (/usr/bin/cc+0x24649b0)
#23 0x01f06778 (/usr/bin/cc+0x1f06778)
#24 0x01ea0da0 (/usr/bin/cc+0x1ea0da0)
#25 0x01fb0960 (/usr/bin/cc+0x1fb0960)
#26 0x0156a53c (/usr/bin/cc+0x156a53c)
#27 0x01576b30 (/usr/bin/cc+0x1576b30)
#28 0x01d7ce84 (/usr/bin/cc+0x1d7ce84)
#29 0x03d213a4 (/usr/bin/cc+0x3d213a4)
#30 0x01d7cb40 (/usr/bin/cc+0x1d7cb40)
#31 0x01d50a10 (/usr/bin/cc+0x1d50a10)
#32 0x01d50db4 (/usr/bin/cc+0x1d50db4)
#33 0x01d63318 (/usr/bin/cc+0x1d63318)
cc: error: clang frontend command failed with exit code 70 (use -v to see invocation)
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
Target: armv7-unknown-freebsd13.2-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/ggml-80b9ba.c
cc: note: diagnostic msg: /tmp/ggml-80b9ba.sh
cc: note: diagnostic msg:
********************
[ 6% 7/96] /usr/bin/c++ -DGGML_SCHED_MAX_COPIES=4 -DLLAMA_BUILD -DLLAMA_SHARED -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Dllama_EXPORTS -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++11 -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/llama.dir/unicode-data.cpp.o -MF CMakeFiles/llama.dir/unicode-data.cpp.o.d -o CMakeFiles/llama.dir/unicode-data.cpp.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/unicode-data.cpp
[ 7% 7/96] /usr/bin/c++ -DGGML_SCHED_MAX_COPIES=4 -DLLAMA_BUILD -DLLAMA_SHARED -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Dllama_EXPORTS -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++11 -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -mfpu=neon-fp-armv8 -mno-unaligned-access -funsafe-math-optimizations -pthread -MD -MT CMakeFiles/llama.dir/llama.cpp.o -MF CMakeFiles/llama.dir/llama.cpp.o.d -o CMakeFiles/llama.dir/llama.cpp.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/llama.cpp
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/llama.cpp:15521:70: warning: format specifies type 'unsigned long' but the argument has type 'std::vector<int>::size_type' (aka 'unsigned int') [-Wformat]
throw std::runtime_error(format("out of range [0, %lu)", ctx->output_ids.size()));
~~~ ^~~~~~~~~~~~~~~~~~~~~~
%u
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/llama.cpp:15530:97: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
throw std::runtime_error(format("corrupt output buffer (j=%d, output_size=%lu)", j, ctx->output_size));
~~~ ^~~~~~~~~~~~~~~~
%zu
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/llama.cpp:15557:70: warning: format specifies type 'unsigned long' but the argument has type 'std::vector<int>::size_type' (aka 'unsigned int') [-Wformat]
throw std::runtime_error(format("out of range [0, %lu)", ctx->output_ids.size()));
~~~ ^~~~~~~~~~~~~~~~~~~~~~
%u
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2619/llama.cpp:15566:97: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
throw std::runtime_error(format("corrupt output buffer (j=%d, output_size=%lu)", j, ctx->output_size));
~~~ ^~~~~~~~~~~~~~~~
%zu
4 warnings generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/misc/llama-cpp