[package - 140releng-armv7-default][misc/llama-cpp] Failed for llama-cpp-2266 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Mar 2024 19:04:22 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/ampere3/data/140releng-armv7-default/74acf3311b89/logs/llama-cpp-2266.log
Build URL: https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=74acf3311b89
Log:
=>> Building misc/llama-cpp
build started at Tue Mar 12 19:03:07 UTC 2024
port directory: /usr/ports/misc/llama-cpp
package name: llama-cpp-2266
building for: FreeBSD 140releng-armv7-default-job-11 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 1400097 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 722 Feb 27 01:02 /usr/ports/misc/llama-cpp/Makefile
Ports top last git commit: 74acf3311b
Ports top unclean checkout: no
Port dir last git commit: 72774ca026
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 11
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p5 1400097
UNAME_r=14.0-RELEASE-p5
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/140releng-armv7-default/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/140releng-armv7-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-armv7-default/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-2266:
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=freebsd14 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=14.0 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=freebsd14 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-2266 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.9_1.pkg
[140releng-armv7-default-job-11] Installing pkg-1.20.9_1...
[140releng-armv7-default-job-11] Extracting pkg-1.20.9_1: .......... done
===> llama-cpp-2266 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of llama-cpp-2266
===========================================================================
=======================<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-2266 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-2266 for building
=> SHA256 Checksum OK for ggerganov-llama.cpp-b2266_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-2266 for building
===> Extracting for llama-cpp-2266
=> SHA256 Checksum OK for ggerganov-llama.cpp-b2266_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-2266
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> llama-cpp-2266 depends on file: /usr/local/bin/cmake - not found
===> Installing existing package /packages/All/cmake-core-3.28.3.pkg
[140releng-armv7-default-job-11] Installing cmake-core-3.28.3...
[140releng-armv7-default-job-11] `-- Installing expat-2.6.0...
[140releng-armv7-default-job-11] `-- Extracting expat-2.6.0: .......... done
[140releng-armv7-default-job-11] `-- Installing jsoncpp-1.9.5...
[140releng-armv7-default-job-11] `-- Extracting jsoncpp-1.9.5: .......... done
[140releng-armv7-default-job-11] `-- Installing libuv-1.48.0...
[140releng-armv7-default-job-11] `-- Extracting libuv-1.48.0: .......... done
[140releng-armv7-default-job-11] `-- Installing rhash-1.4.4_1...
[140releng-armv7-default-job-11] | `-- Installing gettext-runtime-0.22.3_1...
[140releng-armv7-default-job-11] | | `-- Installing indexinfo-0.3.1...
[140releng-armv7-default-job-11] | | `-- Extracting indexinfo-0.3.1: .... done
[140releng-armv7-default-job-11] | `-- Extracting gettext-runtime-0.22.3_1: .......... done
[140releng-armv7-default-job-11] `-- Extracting rhash-1.4.4_1: .......... done
[140releng-armv7-default-job-11] Extracting cmake-core-3.28.3: .......... done
===> llama-cpp-2266 depends on file: /usr/local/bin/cmake - found
===> Returning to build of llama-cpp-2266
===> llama-cpp-2266 depends on executable: ninja - not found
===> Installing existing package /packages/All/ninja-1.11.1,2.pkg
[140releng-armv7-default-job-11] Installing ninja-1.11.1,2...
[140releng-armv7-default-job-11] `-- Installing python39-3.9.18_1...
[140releng-armv7-default-job-11] | `-- Installing libffi-3.4.4_1...
[140releng-armv7-default-job-11] | `-- Extracting libffi-3.4.4_1: .......... done
[140releng-armv7-default-job-11] | `-- Installing mpdecimal-2.5.1...
[140releng-armv7-default-job-11] | `-- Extracting mpdecimal-2.5.1: .......... done
[140releng-armv7-default-job-11] | `-- Installing readline-8.2.7_1...
[140releng-armv7-default-job-11] | `-- Extracting readline-8.2.7_1: .......... done
[140releng-armv7-default-job-11] `-- Extracting python39-3.9.18_1: .......... done
[140releng-armv7-default-job-11] Extracting ninja-1.11.1,2: ........ done
=====
Message from python39-3.9.18_1:
--
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-2266 depends on executable: ninja - found
===> Returning to build of llama-cpp-2266
===========================================================================
=======================<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-2266
===> Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/llama-cpp/work/.build
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- 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:24 (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 (1.9s)
-- 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-2266
[ 1% 3/80] /usr/bin/cc -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/ggml-alloc.c
[ 2% 4/80] /usr/bin/cc -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/ggml-backend.c
[ 3% 5/80] /usr/bin/cc -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/ggml-quants.c
[ 5% 6/80] cd /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266 && /usr/local/bin/cmake -DMSVC= -DCMAKE_C_COMPILER_VERSION=16.0.6 -DCMAKE_C_COMPILER_ID=Clang -DCMAKE_VS_PLATFORM_NAME= -DCMAKE_C_COMPILER=/usr/bin/cc -P /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/common/../scripts/gen-build-info-cpp.cmake
-- Found Git: /wrkdirs/usr/ports/misc/llama-cpp/work/.bin/git
[ 6% 7/80] /usr/bin/c++ -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -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 -MD -MT common/CMakeFiles/build_info.dir/build-info.cpp.o -MF common/CMakeFiles/build_info.dir/build-info.cpp.o.d -o common/CMakeFiles/build_info.dir/build-info.cpp.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/common/build-info.cpp
[ 7% 8/80] /usr/bin/cc -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/ggml.c
FAILED: CMakeFiles/ggml.dir/ggml.c.o
/usr/bin/cc -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/ggml.c
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/ggml.c:1356: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-b2266/ggml.c:871: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-b2266/ggml.c:861:38: note: expanded from macro 'GGML_F32Cx4_REDUCE'
#define GGML_F32Cx4_REDUCE GGML_F32x4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/ggml.c:791:11: note: expanded from macro 'GGML_F32x4_REDUCE'
res = GGML_F32x4_REDUCE_ONE(x[0]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/ggml.c:776: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-b2266/ggml.c:1404: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-b2266/ggml.c:871: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-b2266/ggml.c:861:38: note: expanded from macro 'GGML_F32Cx4_REDUCE'
#define GGML_F32Cx4_REDUCE GGML_F32x4_REDUCE
^
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/ggml.c:791:11: note: expanded from macro 'GGML_F32x4_REDUCE'
res = GGML_F32x4_REDUCE_ONE(x[0]); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/ggml.c:776: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: 0x27f845f0: v4f32 = fmaxnum 0x27fafdc0, 0x26f52820
0x27fafdc0: v4f32,i32,ch = ARMISD::VLD1_UPD<(load (s128) from %ir.522, align 4)> 0x264996fc, 0x27fafaf0, Constant:i32<16>, Constant:i32<1>
0x27fafaf0: i32,ch = CopyFromReg 0x264996fc, Register:i32 %191
0x26f54d20: i32 = Register %191
0x26f54aa0: i32 = Constant<16>
0x26463000: i32 = Constant<1>
0x26f52820: v4f32 = bitcast 0x26f54af0
0x26f54af0: v4i32 = ARMISD::VMOVIMM TargetConstant:i32<0>
0x26462960: 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 -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/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-b2266/ggml.c'.
4. Running pass 'ARM Instruction Selection' on function '@ggml_compute_forward_unary'
#0 0x042b3f5c (/usr/bin/cc+0x42b3f5c)
#1 0x042b1ea4 (/usr/bin/cc+0x42b1ea4)
#2 0x0425f754 (/usr/bin/cc+0x425f754)
#3 0x0425f710 (/usr/bin/cc+0x425f710)
#4 0x042a25d4 (/usr/bin/cc+0x42a25d4)
#5 0x0173ec28 (/usr/bin/cc+0x173ec28)
#6 0x04265e10 (/usr/bin/cc+0x4265e10)
#7 0x045c5b3c (/usr/bin/cc+0x45c5b3c)
#8 0x045c50d0 (/usr/bin/cc+0x45c50d0)
#9 0x04a54fb0 (/usr/bin/cc+0x4a54fb0)
#10 0x045bd480 (/usr/bin/cc+0x45bd480)
#11 0x045bccc0 (/usr/bin/cc+0x45bccc0)
#12 0x045bc914 (/usr/bin/cc+0x45bc914)
#13 0x045bc328 (/usr/bin/cc+0x45bc328)
#14 0x045ba594 (/usr/bin/cc+0x45ba594)
#15 0x04a503e4 (/usr/bin/cc+0x4a503e4)
#16 0x03ad62a0 (/usr/bin/cc+0x3ad62a0)
#17 0x03f04888 (/usr/bin/cc+0x3f04888)
#18 0x03f0a458 (/usr/bin/cc+0x3f0a458)
#19 0x03f04e74 (/usr/bin/cc+0x3f04e74)
#20 0x01f9da9c (/usr/bin/cc+0x1f9da9c)
#21 0x022850bc (/usr/bin/cc+0x22850bc)
#22 0x02797710 (/usr/bin/cc+0x2797710)
#23 0x021ca634 (/usr/bin/cc+0x21ca634)
#24 0x0215e480 (/usr/bin/cc+0x215e480)
#25 0x0227ed24 (/usr/bin/cc+0x227ed24)
#26 0x0173e488 (/usr/bin/cc+0x173e488)
#27 0x0174ba70 (/usr/bin/cc+0x174ba70)
#28 0x0201a678 (/usr/bin/cc+0x201a678)
#29 0x0425f6ec (/usr/bin/cc+0x425f6ec)
#30 0x0201a140 (/usr/bin/cc+0x201a140)
#31 0x01fe78e8 (/usr/bin/cc+0x1fe78e8)
#32 0x01fe7b70 (/usr/bin/cc+0x1fe7b70)
#33 0x01ffe958 (/usr/bin/cc+0x1ffe958)
#34 0x0174b1a0 (/usr/bin/cc+0x174b1a0)
#35 0x25ce86c0 __libc_start1 (/lib/libc.so.7+0x576c0)
cc: error: clang frontend command failed with exit code 70 (use -v to see invocation)
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Target: armv7-unknown-freebsd14.0-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-17a6e5.c
cc: note: diagnostic msg: /tmp/ggml-17a6e5.sh
cc: note: diagnostic msg:
********************
[ 8% 8/80] /usr/bin/c++ -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/common/. -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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 -MD -MT common/CMakeFiles/common.dir/common.cpp.o -MF common/CMakeFiles/common.dir/common.cpp.o.d -o common/CMakeFiles/common.dir/common.cpp.o -c /wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/common/common.cpp
[ 10% 8/80] /usr/bin/c++ -DLLAMA_BUILD -DLLAMA_SHARED -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Dllama_EXPORTS -I/wrkdirs/usr/ports/misc/llama-cpp/work/llama.cpp-b2266/. -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-b2266/llama.cpp
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