-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
Description
Git commit
git rev-parse HEAD b56f079
Operating systems
Linux
GGML backends
CPU
Problem description & steps to reproduce
Trying to compile on a raspi w v2 and failing to compile
First Bad Commit
No response
Relevant log output
[ 2%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o
In file included from /usr/include/c++/12/algorithm:61,
from /usr/src/llama.cpp/ggml/src/ggml-opt.cpp:8:
/usr/include/c++/12/bits/stl_algo.h: In function ‘void std::shuffle(_RAIter, _RAIter, _UGenerator&&) [with _RAIter = __gnu_cxx::__normal_iterator<long long int*, vector<long long int> >; _UGenerator = mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&]’:
/usr/include/c++/12/bits/stl_algo.h:3696:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ changed in GCC 7.1
3696 | shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~~~~
/usr/include/c++/12/bits/stl_algo.h:3696:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ changed in GCC 7.1
/usr/src/llama.cpp/ggml/src/ggml-opt.cpp: In function ‘void ggml_opt_dataset_shuffle(ggml_opt_context_t, ggml_opt_dataset_t, int64_t)’:
/usr/src/llama.cpp/ggml/src/ggml-opt.cpp:134:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ changed in GCC 7.1
134 | std::shuffle(dataset->permutation.begin(), dataset->permutation.end(), opt_ctx->rng);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/llama.cpp/ggml/src/ggml-opt.cpp:140:17: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ changed in GCC 7.1
140 | std::shuffle(dataset->permutation.begin(), dataset->permutation.begin() + ishard_max, opt_ctx->rng);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o
[ 3%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-quants.c.o
[ 4%] Linking CXX shared library libggml-base.so
[ 4%] Built target ggml-base
[ 4%] Building C object ggml/src/CMakeFiles/ggml-cpu.dir/ggml-cpu/ggml-cpu.c.o
cc: error: arm1176jzf-s does not take any feature options
cc: error: arm1176jzf-s does not take any feature options