==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done ==> Making package: sunpinyin 3.0.0rc2-3 (Sat Jul 13 19:03:15 2024) ==> Retrieving sources... -> Found sunpinyin-3.0.0-rc2.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... sunpinyin-3.0.0-rc2.tar.gz ... Passed ==> Making package: sunpinyin 3.0.0rc2-3 (Sat Jul 13 19:03:34 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (25) perl-clone-0.46-3 perl-encode-locale-1.05-12 perl-error-0.17029-6 perl-file-listing-6.16-3 perl-html-parser-3.82-1 perl-html-tagset-3.24-1 perl-http-cookiejar-0.014-2 perl-http-cookies-6.11-1 perl-http-daemon-6.16-3 perl-http-date-6.06-2 perl-http-message-6.46-1 perl-http-negotiate-6.01-13 perl-io-html-1.004-5 perl-libwww-6.77-1 perl-lwp-mediatypes-6.04-5 perl-mailtools-2.21-8 perl-net-http-6.23-3 perl-timedate-2.33-6 perl-try-tiny-0.31-3 perl-uri-5.28-1 perl-www-robotrules-6.02-13 perl-xml-parser-2.47-1 git-2.45.2-1 intltool-0.51.0-6 scons-4.7.0-2 Total Download Size: 1.30 MiB Total Installed Size: 48.11 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... scons-4.7.0-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn [pending] perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing scons... Optional dependencies for scons python-psutil: to wait for processes to exit installing perl-encode-locale... installing perl-http-date... installing perl-file-listing... installing perl-html-tagset... installing perl-clone... installing perl-io-html... installing perl-lwp-mediatypes... installing perl-uri... installing perl-http-message... installing perl-html-parser... installing perl-http-cookies... installing perl-http-daemon... installing perl-http-cookiejar... installing perl-http-negotiate... installing perl-net-http... installing perl-try-tiny... installing perl-www-robotrules... installing perl-libwww... Optional dependencies for perl-libwww perl-lwp-protocol-https: for https:// url schemes installing perl-xml-parser... installing intltool... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... -> Found sunpinyin-3.0.0-rc2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting sunpinyin-3.0.0-rc2.tar.gz with bsdtar ==> Starting build()... scons: Reading SConscript files ... Warning: you've set CPPFLAGS in the environmental variable! Warning: you've set CFLAGS in the environmental variable! Warning: you've set CXXFLAGS in the environmental variable! Warning: you've set LDFLAGS in the environmental variable! Checking for pkg-config... yes Checking for sqlite3... yes Checking for C header file assert.h... yes Checking for C function bind_textdomain_codeset()... yes Checking for C function dcgettext()... yes Checking for C function exp2()... no Checking for C header file fcntl.h... yes Checking for C header file getopt.h... yes Checking for C function getopt_long()... yes Checking for C function getpagesize()... yes Checking for C function get_opt()... no Checking for C header file iconv.h... yes Checking for C header file inttypes.h... yes Checking for C header file locale.h... yes Checking for C header file libintl.h... yes Checking for C header file limits.h... yes Checking for C header file locale.h... yes Checking for C function log2()... no Checking for C header file memory.h... yes Checking for C function memset()... yes Checking for C function mmap()... yes Checking for C function munmap()... yes Checking for C function setlocale()... yes Checking for C header file sys/mman.h... yes Checking for C header file sys/param.h... yes Checking for C header file sys/stat.h... yes Checking for C header file sys/types.h... yes Checking for C header file unistd.h... yes Checking for C header file wchar.h... yes scons: done reading SConscript files. scons: Building targets ... scons: Configure: creating config.h Creating 'doc/README' Creating 'doc/SLM-inst.mk' g++ -o src/portability.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/portability.cpp g++ -o src/slm/slm.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slm.cpp g++ -o src/lexicon/pytrie.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/lexicon/pytrie.cpp /usr/bin/python3 python/pinyin_info_gen.py > src/pinyin/pinyin_info.h g++ -o src/pinyin/pinyin_data.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/pinyin_data.cpp /usr/bin/python3 python/quanpin_trie_gen.py > src/pinyin/quanpin_trie.h g++ -o src/pinyin/pinyin_seg.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/pinyin_seg.cpp g++ -o src/pinyin/shuangpin_data.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/shuangpin_data.cpp g++ -o src/pinyin/shuangpin_seg.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/shuangpin_seg.cpp g++ -o src/pinyin/hunpin_seg.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/hunpin_seg.cpp g++ -o src/ime-core/imi_context.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_context.cpp src/ime-core/imi_context.cpp: In member function 'void CLatticeFrame::print(std::string)': src/ime-core/imi_context.cpp:86:33: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = void; _Tp = TLexiconState; _Arg = __cxx11::basic_string<char>]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] In file included from /usr/include/c++/14.1.1/string:49, from src/portability.h:45, from src/ime-core/imi_context.h:42, from src/ime-core/imi_context.cpp:45: /usr/include/c++/14.1.1/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ src/ime-core/imi_context.cpp:86:21: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t<void, TLexiconState, __cxx11::basic_string<char> >; _Tp = __cxx11::basic_string<char>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/c++/14.1.1/bits/stl_function.h:1435: /usr/include/c++/14.1.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ src/ime-core/imi_context.cpp:90:33: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = void; _Tp = TLatticeState; _Arg = __cxx11::basic_string<char>]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] /usr/include/c++/14.1.1/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ src/ime-core/imi_context.cpp:90:21: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t<void, TLatticeState, __cxx11::basic_string<char> >; _Tp = __cxx11::basic_string<char>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/c++/14.1.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ src/ime-core/imi_context.cpp: In member function 'void CIMIContext::printLattice()': src/ime-core/imi_context.cpp:103:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] g++ -o src/ime-core/imi_data.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_data.cpp g++ -o src/ime-core/lattice_states.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/lattice_states.cpp In file included from /usr/include/c++/14.1.1/algorithm:61, from src/portability.h:51, from src/ime-core/lattice_states.h:44, from src/ime-core/lattice_states.cpp:39: /usr/include/c++/14.1.1/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /usr/include/c++/14.1.1/bits/stl_algo.h:1750:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1750 | __unguarded_linear_insert(_RandomAccessIterator __last, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14.1.1/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1770 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_algo.h:1770:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 In file included from /usr/include/c++/14.1.1/bits/stl_algo.h:61: /usr/include/c++/14.1.1/bits/stl_heap.h: In function 'void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Distance = int; _Tp = TLatticeState; _Compare = __gnu_cxx::__ops::_Iter_less_val]': /usr/include/c++/14.1.1/bits/stl_heap.h:135:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 135 | __push_heap(_RandomAccessIterator __first, | ^~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Distance = int; _Tp = TLatticeState; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14.1.1/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14.1.1/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1876 | __introsort_loop(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_algo.h:1876:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 /usr/include/c++/14.1.1/bits/stl_algo.h:1890:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1890 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >]' at /usr/include/c++/14.1.1/bits/stl_algo.h:4771:18, inlined from 'std::vector<TLatticeState> CLatticeStates::getSortedResult()' at src/ime-core/lattice_states.cpp:143:14: /usr/include/c++/14.1.1/bits/stl_algo.h:1905:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1905 | std::__introsort_loop(__first, __last, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 1906 | std::__lg(__last - __first) * 2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1907 | __comp); | ~~~~~~~ In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/include/c++/14.1.1/bits/stl_algo.h:1908:31, inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<TLatticeState*, vector<TLatticeState> >]' at /usr/include/c++/14.1.1/bits/stl_algo.h:4771:18, inlined from 'std::vector<TLatticeState> CLatticeStates::getSortedResult()' at src/ime-core/lattice_states.cpp:143:14: /usr/include/c++/14.1.1/bits/stl_algo.h:1817:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1817 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_algo.h:1822:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<TLatticeState*, std::vector<TLatticeState> >' changed in GCC 7.1 1822 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o src/ime-core/imi_view.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_view.cpp g++ -o src/ime-core/imi_uiobjects.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_uiobjects.cpp g++ -o src/ime-core/imi_view_classic.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_view_classic.cpp g++ -o src/ime-core/imi_winHandler.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_winHandler.cpp g++ -o src/ime-core/ic_history.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/ic_history.cpp src/ime-core/ic_history.cpp: In member function 'int CBigramHistory::uniFreq(TUnigram&)': src/ime-core/ic_history.cpp:280:21: warning: ignoring return value of 'constexpr std::reverse_iterator<_Iterator>::reference std::reverse_iterator<_Iterator>::operator*() const [with _Iterator = std::_Deque_iterator<unsigned int, unsigned int&, unsigned int*>; reference = unsigned int&]', declared with attribute 'nodiscard' [-Wunused-result] In file included from /usr/include/c++/14.1.1/bits/stl_algobase.h:67, from /usr/include/c++/14.1.1/algorithm:60, from src/ime-core/ic_history.cpp:50: /usr/include/c++/14.1.1/bits/stl_iterator.h:257:7: note: declared here 257 | operator*() const | ^~~~~~~~ src/ime-core/ic_history.cpp: In member function 'virtual bool CBigramHistory::loadFromFile(const char*)': src/ime-core/ic_history.cpp:191:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] g++ -o src/ime-core/imi_funcobjs.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_funcobjs.cpp g++ -o src/ime-core/imi_options.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_options.cpp g++ -o src/ime-core/imi_option_event.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/imi_option_event.cpp g++ -o src/ime-core/userdict.os -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/ime-core/userdict.cpp g++ -o libsunpinyin.so.3.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-soname=libsunpinyin.so.3 -shared src/portability.os src/slm/slm.os src/lexicon/pytrie.os src/pinyin/pinyin_data.os src/pinyin/pinyin_seg.os src/pinyin/shuangpin_data.os src/pinyin/shuangpin_seg.os src/pinyin/hunpin_seg.os src/ime-core/imi_context.os src/ime-core/imi_data.os src/ime-core/lattice_states.os src/ime-core/imi_view.os src/ime-core/imi_uiobjects.os src/ime-core/imi_view_classic.os src/ime-core/imi_winHandler.os src/ime-core/ic_history.os src/ime-core/imi_funcobjs.os src/ime-core/imi_options.os src/ime-core/imi_option_event.os src/ime-core/userdict.os -lsqlite3 pod2man man/genpyt.pod man/genpyt.1 pod2man man/getwordfreq.pod man/getwordfreq.1 pod2man man/idngram_merge.pod man/idngram_merge.1 pod2man man/ids2ngram.pod man/ids2ngram.1 pod2man man/mmseg.pod man/mmseg.1 pod2man man/slmbuild.pod man/slmbuild.1 pod2man man/slminfo.pod man/slminfo.1 pod2man man/slmpack.pod man/slmpack.1 pod2man man/slmprune.pod man/slmprune.1 pod2man man/slmseg.pod man/slmseg.1 pod2man man/slmthread.pod man/slmthread.1 pod2man man/tslmendian.pod man/tslmendian.1 pod2man man/tslminfo.pod man/tslminfo.1 g++ -o src/portability.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/portability.cpp g++ -o src/slm/slm.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slm.cpp g++ -o src/slm/tslmendian/writer.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/tslmendian/writer.cpp g++ -o src/lexicon/trie_writer.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/lexicon/trie_writer.cpp g++ -o src/lexicon/genpyt.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/lexicon/genpyt.cpp g++ -o src/lexicon/pytrie.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/lexicon/pytrie.cpp g++ -o src/lexicon/pytrie_gen.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/lexicon/pytrie_gen.cpp In file included from /usr/include/c++/14.1.1/bits/stl_algo.h:61, from /usr/include/c++/14.1.1/algorithm:61, from src/lexicon/pytrie_gen.cpp:13: /usr/include/c++/14.1.1/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<CPinyinTrieMaker::TWordInfo*, vector<CPinyinTrieMaker::TWordInfo> >; _Distance = int; _Tp = CPinyinTrieMaker::TWordInfo; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14.1.1/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<CPinyinTrieMaker::TWordInfo*, std::vector<CPinyinTrieMaker::TWordInfo> >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ g++ -o src/pinyin/pinyin_data.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/pinyin/pinyin_data.cpp g++ -o src/genpyt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/slm.o src/slm/tslmendian/writer.o src/lexicon/trie_writer.o src/lexicon/genpyt.o src/lexicon/pytrie.o src/lexicon/pytrie_gen.o src/pinyin/pinyin_data.o -lsqlite3 g++ -o src/slm/getwordfreq/getwordfreq.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/getwordfreq/getwordfreq.cpp g++ -o src/getwordfreq -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/slm.o src/slm/getwordfreq/getwordfreq.o -lsqlite3 g++ -o src/slm/ids2ngram/idngram_merge.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/ids2ngram/idngram_merge.cpp g++ -o src/idngram_merge -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/ids2ngram/idngram_merge.o -lsqlite3 g++ -o src/slm/ids2ngram/ids2ngram.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/ids2ngram/ids2ngram.cpp src/slm/ids2ngram/ids2ngram.cpp: In function 'void ProcessingRead(FILE*, FILE*, std::vector<long int>&, size_t) [with int N = 1]': src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/ids2ngram/ids2ngram.cpp: In function 'void ProcessingRead(FILE*, FILE*, std::vector<long int>&, size_t) [with int N = 2]': src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/ids2ngram/ids2ngram.cpp: In function 'void ProcessingRead(FILE*, FILE*, std::vector<long int>&, size_t) [with int N = 3]': src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] g++ -o src/ids2ngram -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/ids2ngram/ids2ngram.o -lsqlite3 g++ -o src/slm/sim_dict.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/sim_dict.cpp g++ -o src/slm/sim_sen.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/sim_sen.cpp g++ -o src/slm/mmseg/mmseg.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/mmseg/mmseg.cpp g++ -o src/mmseg -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/sim_dict.o src/slm/sim_sen.o src/slm/mmseg/mmseg.o -lsqlite3 g++ -o src/slm/sim_slm.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/sim_slm.cpp src/slm/sim_slm.cpp: In member function 'bool CSIMSlm::Load(const char*)': src/slm/sim_slm.cpp:52:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/sim_slm.cpp:56:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/sim_slm.cpp:59:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] g++ -o src/slm/slmbuild/sim_slmbuilder.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmbuild/sim_slmbuilder.cpp g++ -o src/slm/slmbuild/slmbuild.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmbuild/slmbuild.cpp g++ -o src/slm/slminfo/slminfo.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slminfo/slminfo.cpp src/slm/slminfo/slminfo.cpp: In function 'void PrintARPALevel(int, FILE*, TReverseLexicon*, bool)': src/slm/slminfo/slminfo.cpp:131:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:132:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:138:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:154:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:155:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:160:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:175:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:198:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:202:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp: In function 'void PrintARPA(FILE*, const char*, bool)': src/slm/slminfo/slminfo.cpp:242:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp: In function 'void PrintSimple(FILE*)': src/slm/slminfo/slminfo.cpp:255:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:256:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] src/slm/slminfo/slminfo.cpp:260:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] g++ -o src/slm/slmpack/arpa_slm.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmpack/arpa_slm.cpp g++ -o src/slm/slmpack/slmpack.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmpack/slmpack.cpp g++ -o src/slm/slmprune/slmprune.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmprune/slmprune.cpp g++ -o src/slm/slmseg/slmseg.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/slmseg/slmseg.cpp In file included from /usr/include/c++/14.1.1/map:62, from src/slm/slmseg/slmseg.cpp:55: /usr/include/c++/14.1.1/bits/stl_tree.h: In function 'std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = CThreadSlm::TState; _Val = std::pair<const CThreadSlm::TState, TLatticeStateValue>; _KeyOfValue = std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >; _Compare = std::less<CThreadSlm::TState>; _Alloc = std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> >]': /usr/include/c++/14.1.1/bits/stl_tree.h:2206:5: note: parameter passing for argument of type 'std::_Rb_tree<CThreadSlm::TState, std::pair<const CThreadSlm::TState, TLatticeStateValue>, std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >, std::less<CThreadSlm::TState>, std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> > >::const_iterator' changed in GCC 7.1 2206 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const CThreadSlm::TState&>, std::tuple<>}; _Key = CThreadSlm::TState; _Val = std::pair<const CThreadSlm::TState, TLatticeStateValue>; _KeyOfValue = std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >; _Compare = std::less<CThreadSlm::TState>; _Alloc = std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> >]': /usr/include/c++/14.1.1/bits/stl_tree.h:2454:7: note: parameter passing for argument of type 'std::_Rb_tree<CThreadSlm::TState, std::pair<const CThreadSlm::TState, TLatticeStateValue>, std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >, std::less<CThreadSlm::TState>, std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> > >::const_iterator' changed in GCC 7.1 2454 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.1.1/map:63: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = CThreadSlm::TState; _Tp = TLatticeStateValue; _Compare = std::less<CThreadSlm::TState>; _Alloc = std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> >]', inlined from 'void searchBest(CLattice&)' at src/slm/slmseg/slmseg.cpp:343:28: /usr/include/c++/14.1.1/bits/stl_map.h:513:44: note: parameter passing for argument of type 'std::_Rb_tree<CThreadSlm::TState, std::pair<const CThreadSlm::TState, TLatticeStateValue>, std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >, std::less<CThreadSlm::TState>, std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> > >::const_iterator' changed in GCC 7.1 513 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | std::tuple<const key_type&>(__k), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | std::tuple<>()); | ~~~~~~~~~~~~~~~ In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = CThreadSlm::TState; _Tp = TLatticeStateValue; _Compare = std::less<CThreadSlm::TState>; _Alloc = std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> >]', inlined from 'void searchBest(CLattice&)' at src/slm/slmseg/slmseg.cpp:346:32: /usr/include/c++/14.1.1/bits/stl_map.h:513:44: note: parameter passing for argument of type 'std::_Rb_tree<CThreadSlm::TState, std::pair<const CThreadSlm::TState, TLatticeStateValue>, std::_Select1st<std::pair<const CThreadSlm::TState, TLatticeStateValue> >, std::less<CThreadSlm::TState>, std::allocator<std::pair<const CThreadSlm::TState, TLatticeStateValue> > >::const_iterator' changed in GCC 7.1 513 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | std::tuple<const key_type&>(__k), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | std::tuple<>()); | ~~~~~~~~~~~~~~~ g++ -o src/slm/thread/ValueCompress.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/thread/ValueCompress.cpp g++ -o src/slm/thread/slmthread.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/thread/slmthread.cpp src/slm/thread/slmthread.cpp: In function 'int main(int, char**)': src/slm/thread/slmthread.cpp:336:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::map<float, float>::size_type' {aka 'unsigned int'} [-Wformat=] src/slm/thread/slmthread.cpp:336:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector<float>::size_type' {aka 'unsigned int'} [-Wformat=] src/slm/thread/slmthread.cpp:344:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::map<float, float>::size_type' {aka 'unsigned int'} [-Wformat=] src/slm/thread/slmthread.cpp:344:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector<float>::size_type' {aka 'unsigned int'} [-Wformat=] g++ -o src/slm/thread/test_vc.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/thread/test_vc.cpp g++ -o src/slm/tslmendian/slm_endian.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/tslmendian/slm_endian.cpp g++ -o src/slm/tslmendian/slm_file.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/tslmendian/slm_file.cpp g++ -o src/slm/tslminfo/tslminfo.o -c -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/lexicon -Isrc/pinyin -Isrc/ime-core -Isrc/slm -Isrc/slm/tools -Isrc/slm/tslminfo -Isrc/slm/ids2ngram -Isrc/slm/slmpack -Isrc/slm/slmseg -Isrc/slm/mmseg -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/slminfo -Isrc/slm/slmprune -Isrc/slm/tslmendian -Isrc/slm/getwordfreq src/slm/tslminfo/tslminfo.cpp g++ -o src/slmbuild -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/slmbuild/sim_slmbuilder.o src/slm/slmbuild/slmbuild.o -lsqlite3 g++ -o src/slminfo -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/slminfo/slminfo.o -lsqlite3 g++ -o src/slmpack -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/sim_slm.o src/slm/slmpack/slmpack.o src/slm/slmpack/arpa_slm.o -lsqlite3 g++ -o src/slmprune -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/sim_slm.o src/slm/slmprune/slmprune.o -lsqlite3 g++ -o src/slmseg -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/sim_dict.o src/slm/sim_sen.o src/slm/slm.o src/slm/slmseg/slmseg.o -lsqlite3 g++ -o src/slmthread -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/sim_slm.o src/slm/thread/ValueCompress.o src/slm/thread/slmthread.o -lsqlite3 Creating 'src/sunpinyin-dictgen.mk' Copy("src/sunpinyin-dictgen", "src/sunpinyin-dictgen.mk") Chmod("src/sunpinyin-dictgen", 0o755) g++ -o src/testvc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/slm/thread/ValueCompress.o src/slm/thread/test_vc.o -lsqlite3 g++ -o src/tslmendian -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/slm/tslmendian/slm_file.o src/slm/tslmendian/slm_endian.o src/slm/tslmendian/writer.o -lsqlite3 g++ -o src/tslminfo -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now src/portability.o src/slm/slm.o src/slm/tslminfo/tslminfo.o -lsqlite3 Creating 'sunpinyin-2.0.pc' scons: done building targets. ==> Entering fakeroot environment... ==> Starting package()... scons: Reading SConscript files ... Warning: you've set CPPFLAGS in the environmental variable! Warning: you've set CFLAGS in the environmental variable! Warning: you've set CXXFLAGS in the environmental variable! Warning: you've set LDFLAGS in the environmental variable! Checking for pkg-config... (cached) yes Checking for sqlite3... (cached) yes Checking for C header file assert.h... (cached) yes Checking for C function bind_textdomain_codeset()... (cached) yes Checking for C function dcgettext()... (cached) yes Checking for C function exp2()... (cached) no Checking for C header file fcntl.h... (cached) yes Checking for C header file getopt.h... (cached) yes Checking for C function getopt_long()... (cached) yes Checking for C function getpagesize()... (cached) yes Checking for C function get_opt()... (cached) no Checking for C header file iconv.h... (cached) yes Checking for C header file inttypes.h... (cached) yes Checking for C header file locale.h... (cached) yes Checking for C header file libintl.h... (cached) yes Checking for C header file limits.h... (cached) yes Checking for C header file locale.h... (cached) yes Checking for C function log2()... (cached) no Checking for C header file memory.h... (cached) yes Checking for C function memset()... (cached) yes Checking for C function mmap()... (cached) yes Checking for C function munmap()... (cached) yes Checking for C function setlocale()... (cached) yes Checking for C header file sys/mman.h... (cached) yes Checking for C header file sys/param.h... (cached) yes Checking for C header file sys/stat.h... (cached) yes Checking for C header file sys/types.h... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C header file wchar.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... Install file: "src/mmseg" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/mmseg" Install file: "src/slmseg" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slmseg" Install file: "src/ids2ngram" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/ids2ngram" Install file: "src/idngram_merge" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/idngram_merge" Install file: "src/slmbuild" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slmbuild" Install file: "src/slmprune" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slmprune" Install file: "src/slminfo" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slminfo" Install file: "src/slmthread" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slmthread" Install file: "src/tslmendian" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/tslmendian" Install file: "src/tslminfo" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/tslminfo" Install file: "src/slmpack" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/slmpack" Install file: "src/genpyt" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/genpyt" Install file: "src/getwordfreq" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/getwordfreq" Install file: "src/sunpinyin-dictgen" as "/build/sunpinyin/pkg/sunpinyin/usr/bin/sunpinyin-dictgen" Install file: "man/mmseg.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/mmseg.1" Install file: "man/slmseg.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slmseg.1" Install file: "man/ids2ngram.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/ids2ngram.1" Install file: "man/idngram_merge.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/idngram_merge.1" Install file: "man/slmbuild.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slmbuild.1" Install file: "man/slmprune.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slmprune.1" Install file: "man/slminfo.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slminfo.1" Install file: "man/slmthread.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slmthread.1" Install file: "man/tslmendian.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/tslmendian.1" Install file: "man/tslminfo.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/tslminfo.1" Install file: "man/slmpack.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/slmpack.1" Install file: "man/genpyt.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/genpyt.1" Install file: "man/getwordfreq.1" as "/build/sunpinyin/pkg/sunpinyin/usr/share/man/man1/getwordfreq.1" Install file: "doc/README" as "/build/sunpinyin/pkg/sunpinyin/usr/share/doc/sunpinyin/README" Install file: "doc/SLM-train.mk" as "/build/sunpinyin/pkg/sunpinyin/usr/share/doc/sunpinyin/SLM-train.mk" Install file: "doc/SLM-inst.mk" as "/build/sunpinyin/pkg/sunpinyin/usr/share/doc/sunpinyin/SLM-inst.mk" Install file: "src/slm/ids2ngram/idngram.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/ids2ngram/idngram.h" Install file: "src/slm/ids2ngram/idngram_merge.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/ids2ngram/idngram_merge.h" Install file: "src/slm/slm.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/slm.h" Install file: "src/slm/sim_dict.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/sim_dict.h" Install file: "src/slm/sim_sen.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/sim_sen.h" Install file: "src/slm/sim_slm.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/sim_slm.h" Install file: "src/slm/thread/ValueCompress.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/thread/ValueCompress.h" Install file: "src/slm/sim_fmerge.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/sim_fmerge.h" Install file: "src/slm/slmbuild/sim_slmbuilder.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/slmbuild/sim_slmbuilder.h" Install file: "src/slm/slmpack/arpa_slm.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/slmpack/arpa_slm.h" Install file: "src/slm/slmpack/common.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/slmpack/common.h" Install file: "src/slm/tslmendian/slm_file.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/tslmendian/slm_file.h" Install file: "src/slm/tslmendian/writer.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/slm/tslmendian/writer.h" Install file: "src/lexicon/pytrie_gen.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/lexicon/pytrie_gen.h" Install file: "src/lexicon/trie_writer.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/lexicon/trie_writer.h" Install file: "src/lexicon/pytrie.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/lexicon/pytrie.h" Install file: "src/ime-core/imi_view_classic.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_view_classic.h" Install file: "src/ime-core/imi_uiobjects.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_uiobjects.h" Install file: "src/ime-core/lattice_states.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/lattice_states.h" Install file: "src/ime-core/ic_history.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/ic_history.h" Install file: "src/ime-core/imi_funcobjs.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_funcobjs.h" Install file: "src/ime-core/imi_context.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_context.h" Install file: "src/ime-core/imi_winHandler.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_winHandler.h" Install file: "src/ime-core/imi_glibHandler.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_glibHandler.h" Install file: "src/ime-core/userdict.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/userdict.h" Install file: "src/ime-core/imi_option_event.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_option_event.h" Install file: "src/ime-core/imi_data.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_data.h" Install file: "src/ime-core/utils.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/utils.h" Install file: "src/ime-core/imi_keys.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_keys.h" Install file: "src/ime-core/imi_option_keys.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_option_keys.h" Install file: "src/ime-core/imi_options.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_options.h" Install file: "src/ime-core/imi_defines.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_defines.h" Install file: "src/ime-core/imi_view.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/ime-core/imi_view.h" Install file: "src/portability.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/portability.h" Install file: "src/pinyin/segmentor.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/segmentor.h" Install file: "src/pinyin/shuangpin_seg.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/shuangpin_seg.h" Install file: "src/pinyin/datrie.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/datrie.h" Install file: "src/pinyin/quanpin_trie.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/quanpin_trie.h" Install file: "src/pinyin/pinyin_seg.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/pinyin_seg.h" Install file: "src/pinyin/pinyin_data.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/pinyin_data.h" Install file: "src/pinyin/syllable.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/syllable.h" Install file: "src/pinyin/shuangpin_data.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/shuangpin_data.h" Install file: "src/pinyin/hunpin_seg.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/hunpin_seg.h" Install file: "src/pinyin/datrie_impl.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/pinyin/datrie_impl.h" Install file: "src/sunpinyin.h" as "/build/sunpinyin/pkg/sunpinyin/usr/include/sunpinyin-2.0/sunpinyin.h" Install file: "libsunpinyin.so.3.0" as "/build/sunpinyin/pkg/sunpinyin/usr/lib/libsunpinyin.so.3.0" cd /build/sunpinyin/pkg/sunpinyin/usr/lib && ln -s libsunpinyin.so.3.0 libsunpinyin.so.3 cd /build/sunpinyin/pkg/sunpinyin/usr/lib && ln -s libsunpinyin.so.3.0 libsunpinyin.so Install file: "sunpinyin-2.0.pc" as "/build/sunpinyin/pkg/sunpinyin/usr/lib/pkgconfig/sunpinyin-2.0.pc" scons: done building targets. ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "sunpinyin"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: sunpinyin 3.0.0rc2-3 (Sat Jul 13 19:05:11 2024) ==> Cleaning up...