abetlen / abetlen/llama-cpp-python
0.2.88 fails to build: error: invalid operands to binary expression, etc
- Vorherrschende Sprache
- Python
- Sterne
- 10.6k
- Forks
- 1.4k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
```
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:2436:26: error: invalid operands to binary expression ('basic_ostream>' and 'const vk::DescriptorBufferInfo')
2436 | std::cerr << "(" << buffer << ", " << buffer.offset << ", " << buffer.size << "), ";
| ~~~~~~~~~~~~~~~~ ^ ~~~~~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:62:40: note: expanded from macro 'VK_LOG_DEBUG'
62 | #define VK_LOG_DEBUG(msg) std::cerr << msg << std::endl
| ^~~
/usr/include/c++/v1/ostream:698:55: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'char' for 2nd argument
698 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) {
| ^ ~~~~~~~~~
/usr/include/c++/v1/ostream:725:53: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'char' for 2nd argument
725 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) {
| ^ ~~~~~~~~
/usr/include/c++/v1/ostream:730:53: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'signed char' for 2nd argument
730 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) {
| ^ ~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:735:53: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'unsigned char' for 2nd argument
735 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) {
| ^ ~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:747:1: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const char *' for 2nd argument
747 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) {
| ^ ~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:786:53: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const char *' for 2nd argument
786 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) {
| ^ ~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:792:1: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const signed char *' for 2nd argument
792 | operator<<(basic_ostream& __os, const signed char* __str) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:799:1: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const unsigned char *' for 2nd argument
799 | operator<<(basic_ostream& __os, const unsigned char* __str) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:937:1: note: candidate function template not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const error_code' for 2nd argument
937 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:693:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'vk::DescriptorBufferInfo')
693 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) {
| ^
/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const vk::DescriptorBufferInfo'
234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) {
| ^
/usr/include/c++/v1/ostream:741:1: note: candidate template ignored: could not match 'const _CharT *' against 'vk::DescriptorBufferInfo'
741 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) {
| ^
/usr/include/c++/v1/ostream:918:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = basic_ostream> &, _Tp = vk::DescriptorBufferInfo]
918 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) {
| ^
/usr/include/c++/v1/ostream:925:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const vk::DescriptorBufferInfo'
925 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) {
| ^
/usr/include/c++/v1/ostream:931:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'vk::DescriptorBufferInfo'
931 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) {
| ^
/usr/include/c++/v1/ostream:943:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const vk::DescriptorBufferInfo'
943 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) {
| ^
/usr/include/c++/v1/ostream:957:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const vk::DescriptorBufferInfo'
957 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) {
| ^
/usr/include/c++/v1/ostream:963:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const vk::DescriptorBufferInfo'
963 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) {
| ^
/usr/include/c++/v1/iomanip:283:1: note: candidate template ignored: could not match 'const __iom_t8<_MoneyT>' against 'const vk::DescriptorBufferInfo'
283 | operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x) {
| ^
/usr/include/c++/v1/iomanip:380:1: note: candidate template ignored: could not match 'const __iom_t10<_CharT>' against 'const vk::DescriptorBufferInfo'
380 | operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x) {
| ^
/usr/include/c++/v1/ostream:241:56: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'ostream &(*)(ostream &)' for 1st argument
241 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:246:3: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument
246 | operator<<(basic_ios& (*__pf)(basic_ios&)) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:251:56: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'ios_base &(*)(ios_base &)' for 1st argument
251 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:256:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'bool' for 1st argument
256 | basic_ostream& operator<<(bool __n);
| ^ ~~~~~~~~
/usr/include/c++/v1/ostream:257:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'short' for 1st argument
257 | basic_ostream& operator<<(short __n);
| ^ ~~~~~~~~~
/usr/include/c++/v1/ostream:258:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'unsigned short' for 1st argument
258 | basic_ostream& operator<<(unsigned short __n);
| ^ ~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:259:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'int' for 1st argument
259 | basic_ostream& operator<<(int __n);
| ^ ~~~~~~~
/usr/include/c++/v1/ostream:260:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'unsigned int' for 1st argument
260 | basic_ostream& operator<<(unsigned int __n);
| ^ ~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:261:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'long' for 1st argument
261 | basic_ostream& operator<<(long __n);
| ^ ~~~~~~~~
/usr/include/c++/v1/ostream:262:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'unsigned long' for 1st argument
262 | basic_ostream& operator<<(unsigned long __n);
| ^ ~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:263:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'long long' for 1st argument
263 | basic_ostream& operator<<(long long __n);
| ^ ~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:264:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'unsigned long long' for 1st argument
264 | basic_ostream& operator<<(unsigned long long __n);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:265:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'float' for 1st argument
265 | basic_ostream& operator<<(float __f);
| ^ ~~~~~~~~~
/usr/include/c++/v1/ostream:266:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'double' for 1st argument
266 | basic_ostream& operator<<(double __f);
| ^ ~~~~~~~~~~
/usr/include/c++/v1/ostream:267:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'long double' for 1st argument
267 | basic_ostream& operator<<(long double __f);
| ^ ~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:268:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'const void *' for 1st argument; take the address of the argument with &
268 | basic_ostream& operator<<(const void* __p);
| ^ ~~~~~~~~~~~~~~~
/usr/include/c++/v1/ostream:276:18: note: candidate function not viable: no known conversion from 'const vk::DescriptorBufferInfo' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument
276 | basic_ostream& operator<<(basic_streambuf* __sb);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:2436:79: error: no member named 'size' in 'vk::DescriptorBufferInfo'
2436 | std::cerr << "(" << buffer << ", " << buffer.offset << ", " << buffer.size << "), ";
| ~~~~~~ ^
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:62:40: note: expanded from macro 'VK_LOG_DEBUG'
62 | #define VK_LOG_DEBUG(msg) std::cerr << msg << std::endl
| ^~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:5174:5: error: no matching function for call to 'ggml_vk_dispatch_pipeline'
5174 | ggml_vk_dispatch_pipeline(ctx, subctx, p, { { qx_buf, 0, qx_sz }, { x_buf, 0, x_sz_f16 } }, pc.size() * sizeof(int), pc.data(), { (uint32_t)ne, 1, 1});
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:2430:13: note: candidate function not viable: cannot convert initializer list argument to 'vk::DescriptorBufferInfo'
2430 | static void ggml_vk_dispatch_pipeline(ggml_backend_vk_context* ctx, vk_context& subctx, vk_pipeline& pipeline, std::initializer_list const& descriptor_buffer_infos, size_t push_constant_size, const void* push_constants, std::array elements) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml-vulkan.cpp:7115:24: error: no matching function for call to 'ggml_group_norm'
7115 | tensor_clone = ggml_group_norm(ggml_ctx, src0_clone, *(int *)tensor->op_params);
| ^~~~~~~~~~~~~~~
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include/ggml.h:1143:35: note: candidate function not viable: requires 4 arguments, but 3 were provided
1143 | GGML_API struct ggml_tensor * ggml_group_norm(
| ^
1144 | struct ggml_context * ctx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1145 | struct ggml_tensor * a,
| ~~~~~~~~~~~~~~~~~~~~~~~~
1146 | int n_groups,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1147 | float eps);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[19/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -pthread -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/train.cpp
[20/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -pthread -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/ngram-cache.cpp
[21/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/unicode.cpp
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/unicode.cpp:203:31: warning: 'codecvt_utf8' is deprecated [-Wdeprecated-declarations]
203 | std::wstring_convert> conv;
| ^
/usr/include/c++/v1/codecvt:194:28: note: 'codecvt_utf8' has been explicitly marked deprecated here
194 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 codecvt_utf8 : public __codecvt_utf8<_Elem> {
| ^
/usr/include/c++/v1/__config:1004:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1004 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:977:49: note: expanded from macro '_LIBCPP_DEPRECATED'
977 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/unicode.cpp:203:10: warning: 'wstring_convert>' is deprecated [-Wdeprecated-declarations]
203 | std::wstring_convert> conv;
| ^
/usr/include/c++/v1/locale:3114:28: note: 'wstring_convert>' has been explicitly marked deprecated here
3114 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 wstring_convert {
| ^
/usr/include/c++/v1/__config:1004:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1004 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:977:49: note: expanded from macro '_LIBCPP_DEPRECATED'
977 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
2 warnings generated.
[22/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -DLLAMA_BUILD -DLLAMA_SHARED -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/examples/llava/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/examples/llava/../.. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/examples/llava/../../common -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -Wno-cast-qual -MD -MT vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o -MF vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o.d -o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/examples/llava/llava.cpp
[23/37] ccache /usr/local/libexec/ccache/cc -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -DGGML_USE_VULKAN -DGGML_VULKAN_CHECK_RESULTS -DGGML_VULKAN_DEBUG -DGGML_VULKAN_MEMORY_DEBUG -DGGML_VULKAN_RUN_TESTS -DGGML_VULKAN_VALIDATE -D_XOPEN_SOURCE=600 -D__BSD_VISIBLE -Dggml_EXPORTS -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/. -I/tmp/tmpblng5l7g/build/vendor/llama.cpp/ggml/src -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -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 -pthread -fopenmp=libomp -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/ggml.c
[24/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/unicode-data.cpp
[25/37] ccache /usr/local/libexec/ccache/c++ -DGGML_USE_VULKAN -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/. -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/src/../include -I/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/ggml/src/../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -DNDEBUG -fPIC -pthread -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o -c /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.cpp
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.cpp:1894:35: warning: 'codecvt_utf8' is deprecated [-Wdeprecated-declarations]
1894 | std::wstring_convert, char32_t> converter;
| ^
/usr/include/c++/v1/codecvt:194:28: note: 'codecvt_utf8' has been explicitly marked deprecated here
194 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 codecvt_utf8 : public __codecvt_utf8<_Elem> {
| ^
/usr/include/c++/v1/__config:1004:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1004 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:977:49: note: expanded from macro '_LIBCPP_DEPRECATED'
977 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.cpp:1894:14: warning: 'wstring_convert, char32_t>' is deprecated [-Wdeprecated-declarations]
1894 | std::wstring_convert, char32_t> converter;
| ^
/usr/include/c++/v1/locale:3114:28: note: 'wstring_convert, char32_t>' has been explicitly marked deprecated here
3114 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 wstring_convert {
| ^
/usr/include/c++/v1/__config:1004:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1004 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:977:49: note: expanded from macro '_LIBCPP_DEPRECATED'
977 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.cpp:5:
In file included from /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.h:7:
In file included from /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/sampling.h:5:
In file included from /usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/grammar-parser.h:14:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:35:
/usr/include/c++/v1/locale:3257:1: warning: 'wstring_convert, char32_t>' is deprecated [-Wdeprecated-declarations]
3257 | wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::to_bytes(const _Elem* __frm, const _Elem* __frm_end) {
| ^
/usr/include/c++/v1/locale:3161:12: note: in instantiation of member function 'std::wstring_convert, char32_t>::to_bytes' requested here
3161 | return to_bytes(__wstr.data(), __wstr.data() + __wstr.size());
| ^
/usr/ports/misc/py-llama-cpp-python/work-py311/llama-cpp-python-0.2.88/vendor/llama.cpp/common/common.cpp:1899:52: note: in instantiation of member function 'std::wstring_convert, char32_t>::to_bytes' requested here
1899 | std::string filename_reencoded = converter.to_bytes(filename_utf32);
| ^
/usr/include/c++/v1/locale:3114:28: note: 'wstring_convert, char32_t>' has been explicitly marked deprecated here
3114 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 wstring_convert {
| ^
/usr/include/c++/v1/__config:1004:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1004 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:977:49: note: expanded from macro '_LIBCPP_DEPRECATED'
977 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
3 warnings generated.
```
clang-18
FreeBSD 14.1
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.