Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-291909-28262/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f359277217b14057810420d59c223d9c', '-D', '/home/lib/mock/dist-ocs23-base-build-291909-28262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libpinyin-2.8.1-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-291909-28262/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5eed22d472834585b7ec616eeb7ccf4b', '-D', '/home/lib/mock/dist-ocs23-base-build-291909-28262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6nw_sp_u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bmEVMv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpinyin-2.8.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpinyin-2.8.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2hJhof + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.8.1 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-01-16 12:19:47.000000000 +0800 +++ ./configure 2024-09-27 14:25:22.300938044 +0800 @@ -1834,7 +1834,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-09-27 14:25:22.300938044 +0800 +++ ./configure 2024-09-27 14:25:22.332938609 +0800 @@ -9133,7 +9133,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20543,7 +20543,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-dbm=BerkeleyDB --enable-libzhuyin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking how to print strings... printf checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether g++ supports C++11 features by default... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9139: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for egrep... (cached) /usr/bin/grep -E checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking for db.h... yes checking for library containing db_create... -ldb checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating data/table.conf config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/storage/Makefile config.status: creating src/lookup/Makefile config.status: creating tests/Makefile config.status: creating tests/include/Makefile config.status: creating tests/storage/Makefile config.status: creating tests/lookup/Makefile config.status: creating utils/Makefile config.status: creating utils/storage/Makefile config.status: creating utils/segment/Makefile config.status: creating utils/training/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build options: Version 2.8.1 Install prefix /usr DBM BerkeleyDB Enable libzhuyin yes + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in include make[3]: Nothing to be done for 'all'. Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o table_info.o table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phrase_large_table3.o phrase_large_table3.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o ngram_bdb.o ngram_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o tag_utility.o tag_utility.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o chewing_large_table2.o chewing_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phrase_large_table3_bdb.o phrase_large_table3_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o ngram.o ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phrase_index.o phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phrase_large_table2.o phrase_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o chewing_large_table.o chewing_large_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o chewing_large_table2_bdb.o chewing_large_table2_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' In file included from chewing_large_table2.h:27, from chewing_large_table2_bdb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 1]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:206:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 2]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:207:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 3]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:208:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 4]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:209:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 5]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:210:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 6]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:211:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 7]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:212:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 8]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:213:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 9]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:214:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 10]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:215:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 11]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:216:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 12]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:217:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 13]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:218:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 14]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:219:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 15]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:220:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 16]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:221:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o pinyin_parser2.o pinyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o zhuyin_parser2.o zhuyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' rm -f libstorage.a ar cru libstorage.a phrase_index.o phrase_large_table2.o phrase_large_table3.o ngram.o tag_utility.o chewing_key.o pinyin_parser2.o zhuyin_parser2.o phonetic_key_matrix.o chewing_large_table.o chewing_large_table2.o table_info.o ngram_bdb.o phrase_large_table3_bdb.o chewing_large_table2_bdb.o ranlib libstorage.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lookup.o lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phonetic_lookup.o phonetic_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' In file included from phonetic_lookup.cpp:21: phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o phrase_lookup.o phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o pinyin_lookup2.o pinyin_lookup2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' rm -f liblookup.a ar cru liblookup.a pinyin_lookup2.o phrase_lookup.o lookup.o phonetic_lookup.o ranlib liblookup.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lookup/lookup.lo lookup/lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/table_info.lo storage/table_info.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o pinyin_internal.o pinyin_internal.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' In file included from pinyin_internal.h:43, from pinyin_internal.cpp:1: ../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/phrase_large_table3.lo storage/phrase_large_table3.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/phrase_large_table3.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/ngram_bdb.lo storage/ngram_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/ngram_bdb.cpp -fPIC -DPIC -o storage/.libs/ngram_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/tag_utility.lo storage/tag_utility.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/ngram.lo storage/ngram.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' rm -f libpinyin_internal.a ar cru libpinyin_internal.a pinyin_internal.o storage/libstorage.a lookup/liblookup.a ranlib libpinyin_internal.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/chewing_large_table2.lo storage/chewing_large_table2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/chewing_large_table2.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/phrase_large_table3_bdb.lo storage/phrase_large_table3_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/phrase_large_table3_bdb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lookup/phonetic_lookup.lo lookup/phonetic_lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' In file included from lookup/phonetic_lookup.cpp:21: lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lookup/phrase_lookup.lo lookup/phrase_lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o lookup/pinyin_lookup2.lo lookup/pinyin_lookup2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/phrase_index.lo storage/phrase_index.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o zhuyin.lo zhuyin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] 933 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp:1651:16: warning: unused variable 'len' [-Wunused-variable] 1651 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1658:16: warning: unused variable 'len' [-Wunused-variable] 1658 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1638:26: warning: unused variable 'context' [-Wunused-variable] 1638 | zhuyin_context_t * & context = instance->m_context; | ^~~~~~~ zhuyin.cpp:1641:25: warning: unused variable 'results' [-Wunused-variable] 1641 | NBestMatchResults & results = instance->m_nbest_results; | ^~~~~~~ zhuyin.cpp:1647:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1647 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': zhuyin.cpp:1690:9: warning: unused variable 'num' [-Wunused-variable] 1690 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': zhuyin.cpp:2078:13: warning: unused variable 'retval' [-Wunused-variable] 2078 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/phrase_large_table2.lo storage/phrase_large_table2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/phrase_large_table2.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/phonetic_key_matrix.lo storage/phonetic_key_matrix.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/phonetic_key_matrix.cpp -fPIC -DPIC -o storage/.libs/phonetic_key_matrix.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o pinyin.lo pinyin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c pinyin.cpp -fPIC -DPIC -o .libs/pinyin.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:507:9: warning: unused variable 'num' [-Wunused-variable] 507 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1226:17: warning: unused variable 'num' [-Wunused-variable] 1226 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _prepend_longer_candidates(pinyin_instance_t*, CandidateVector)': pinyin.cpp:1701:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1701 | for (int i = 0; i < tokenarray->len; ++i) { | ~~^~~~~~~~~~~~~~~~~ pinyin.cpp:1694:9: warning: unused variable 'result' [-Wunused-variable] 1694 | int result = search_suggestion_with_matrix | ^~~~~~ pinyin.cpp:1696:9: warning: unused variable 'num' [-Wunused-variable] 1696 | int num = reduce_tokens(tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'bool _compute_phrase_length(pinyin_context_t*, CandidateVector)': pinyin.cpp:1776:15: warning: enumeration value 'LONGER_CANDIDATE' not handled in switch [-Wswitch] 1776 | switch(candidate->m_candidate_type) { | ^ pinyin.cpp: In function 'bool pinyin_guess_predicted_candidates(pinyin_instance_t*, const char*)': pinyin.cpp:2190:9: warning: unused variable 'result' [-Wunused-variable] 2190 | int result = context->m_phrase_table->search_suggestion | ^~~~~~ pinyin.cpp:2192:9: warning: unused variable 'num' [-Wunused-variable] 2192 | int num = reduce_tokens(phrase_tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2316:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2316 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2396:9: warning: unused variable 'num' [-Wunused-variable] 2396 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2847:13: warning: unused variable 'retval' [-Wunused-variable] 2847 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/chewing_large_table.lo storage/chewing_large_table.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/chewing_large_table.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/chewing_large_table2_bdb.lo storage/chewing_large_table2_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/chewing_large_table2_bdb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_bdb.cpp:21: storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 1]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:206:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from storage/chewing_large_table2.h:26: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 2]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:207:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 3]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:208:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 4]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:209:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 5]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:210:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 6]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:211:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 7]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:212:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 8]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:213:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 9]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:214:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 10]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:215:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 11]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:216:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 12]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:217:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 13]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:218:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 14]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:219:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 15]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:220:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 16]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:221:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/chewing_key.lo storage/chewing_key.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/pinyin_parser2.lo storage/pinyin_parser2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o storage/zhuyin_parser2.lo storage/zhuyin_parser2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--version-script=./libzhuyin.ver -version-info 15:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libzhuyin.la -rpath /usr/lib64 storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo zhuyin.lo -lglib-2.0 -ldb libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/zhuyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12 -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64 -L/lib64/../lib64 -L/usr/lib64/../lib64 -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../.. -L/lib64 -L/usr/lib64 -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/crtendS.o /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,--version-script=./libzhuyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libzhuyin.so.15 -o .libs/libzhuyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.15" && ln -s "libzhuyin.so.15.0.0" "libzhuyin.so.15") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.15.0.0" "libzhuyin.so") libtool: link: ( cd ".libs" && rm -f "libzhuyin.la" && ln -s "../libzhuyin.la" "libzhuyin.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--version-script=./libpinyin.ver -version-info 15:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libpinyin.la -rpath /usr/lib64 storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo pinyin.lo -lglib-2.0 -ldb libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/pinyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12 -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64 -L/lib64/../lib64 -L/usr/lib64/../lib64 -L/usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../.. -L/lib64 -L/usr/lib64 -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/crtendS.o /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,--version-script=./libpinyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libpinyin.so.15 -o .libs/libpinyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libpinyin.so.15" && ln -s "libpinyin.so.15.0.0" "libpinyin.so.15") libtool: link: (cd ".libs" && rm -f "libpinyin.so" && ln -s "libpinyin.so.15.0.0" "libpinyin.so") libtool: link: ( cd ".libs" && rm -f "libpinyin.la" && ln -s "../libpinyin.la" "libpinyin.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' Making all in tests Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_memory_chunk.o test_memory_chunk.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' In file included from ../../src/pinyin_internal.h:43, from test_memory_chunk.cpp:2: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_table_info.o test_table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_table_info.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_parser2.o test_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_parser2.cpp:32: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_ngram.o test_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_ngram.cpp:2: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_phrase_table.o test_phrase_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' test_phrase_table.cpp: In function 'int main(int, char**)': test_phrase_table.cpp:67:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ In file included from ../../src/pinyin_internal.h:43, from test_phrase_table.cpp:7: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_phrase_index_logger.cpp:21: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_chewing_table.o test_chewing_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_chewing_table.cpp:27: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_phrase_index.o test_phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_phrase_index.cpp:4: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_matrix.o test_matrix.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_matrix.cpp:27: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_flexible_ngram.o test_flexible_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' In file included from ../../src/pinyin_internal.h:43, from test_flexible_ngram.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_phrase_lookup.o test_phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' In file included from ../../src/pinyin_internal.h:43, from test_phrase_lookup.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_zhuyin test_zhuyin.o ../src/libzhuyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/test_zhuyin test_zhuyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_chewing test_chewing.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/test_chewing test_chewing.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_phrase test_phrase.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/test_phrase test_phrase.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o test_pinyin test_pinyin.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/test_pinyin test_pinyin.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' Making all in utils Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' gen_zhuyin_table.cpp: In function 'void gen_phrase_file(const char*, int)': gen_zhuyin_table.cpp:311:36: warning: variable 'key_rest' set but not used [-Wunused-but-set-variable] 311 | ChewingKeyRest key_rest = g_array_index | ^~~~~~~~ In file included from ../../src/pinyin_internal.h:43, from gen_zhuyin_table.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_pinyin_table.o gen_pinyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' In file included from ../../src/pinyin_internal.h:43, from gen_pinyin_table.cpp:24: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_binary_files.o gen_binary_files.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' In file included from ../../src/pinyin_internal.h:43, from gen_binary_files.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o export_interpolation.o export_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' In file included from ../../src/pinyin_internal.h:43, from export_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o import_interpolation.o import_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' In file included from ../../src/pinyin_internal.h:43, from import_interpolation.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o ngseg.o ngseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' In file included from ../../src/pinyin_internal.h:43, from ngseg.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o mergeseq.o mergeseq.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' mergeseq.cpp: In function 'bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)': mergeseq.cpp:99:17: warning: unused variable 'num' [-Wunused-variable] 99 | int num = get_first_token(tokens, token); | ^~~ In file included from ../../src/pinyin_internal.h:43, from mergeseq.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o spseg.o spseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' spseg.cpp: In function 'bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:114:17: warning: unused variable 'num' [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ In file included from ../../src/pinyin_internal.h:43, from spseg.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from k_mixture_model_to_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from validate_k_mixture_model.cpp:21: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from gen_deleted_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' estimate_k_mixture_model.cpp: In function 'parameter_t compute_interpolation(pinyin::KMixtureModelSingleGram*, pinyin::KMixtureModelBigram*, pinyin::KMixtureModelSingleGram*)': estimate_k_mixture_model.cpp:39:10: warning: unused variable 'success' [-Wunused-variable] 39 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:43, from estimate_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o estimate_interpolation.o estimate_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' estimate_interpolation.cpp: In function 'parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)': estimate_interpolation.cpp:33:10: warning: unused variable 'success' [-Wunused-variable] 33 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:43, from estimate_interpolation.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_unigram.o gen_unigram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from gen_unigram.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' prune_k_mixture_model.cpp: In function 'bool prune_k_mixture_model(pinyin::KMixtureModelMagicHeader*, pinyin::KMixtureModelSingleGram*&, pinyin::FlexibleBigramPhraseArray)': prune_k_mixture_model.cpp:48:10: warning: unused variable 'success' [-Wunused-variable] 48 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:43, from prune_k_mixture_model.cpp:26: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_ngram.o gen_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from gen_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o export_k_mixture_model.o export_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from export_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from merge_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o import_k_mixture_model.o import_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' In file included from ../../src/pinyin_internal.h:43, from import_k_mixture_model.cpp:27: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' gen_k_mixture_model.cpp: In function 'void train_word_pair(HashofUnigram, pinyin::KMixtureModelSingleGram*, phrase_token_t, guint32)': gen_k_mixture_model.cpp:184:20: warning: comparison of integer expressions of different signedness: 'guint32' {aka 'unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare] 184 | if ( count > g_maximum_occurs ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)': gen_k_mixture_model.cpp:302:14: warning: unused variable 'result' [-Wunused-variable] 302 | bool result = bigram->get_array_header(token, array_header); | ^~~~~~ In file included from ../../src/pinyin_internal.h:43, from gen_k_mixture_model.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o eval_correction_rate.o eval_correction_rate.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/data' Making all in doc make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.isLBy6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 + cd libpinyin-2.8.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libpinyin.la libzhuyin.la '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libpinyin.so.15.0.0 /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libpinyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64 && { ln -s -f libpinyin.so.15.0.0 libpinyin.so.15 || { rm -f libpinyin.so.15 && ln -s libpinyin.so.15.0.0 libpinyin.so.15; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64 && { ln -s -f libpinyin.so.15.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.15.0.0 libpinyin.so; }; }) libtool: install: /usr/bin/install -p .libs/libpinyin.lai /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libpinyin.la libtool: install: /usr/bin/install -p .libs/libzhuyin.so.15.0.0 /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libzhuyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64 && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so.15 || { rm -f libzhuyin.so.15 && ln -s libzhuyin.so.15.0.0 libzhuyin.so.15; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64 && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.15.0.0 libzhuyin.so; }; }) libtool: install: /usr/bin/install -p .libs/libzhuyin.lai /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin' libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/gen_binary_files libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin' libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libpinyin/data' /usr/bin/install -p -m 644 phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin table.conf '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1' + find /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.8.1-4.ocs23 --unique-debug-suffix -2.8.1-4.ocs23.loongarch64 --unique-debug-src-base libpinyin-2.8.1-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.8.1 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/gen_unigram extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/import_interpolation extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libpinyin.so.15.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/bin/gen_binary_files extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/lib64/libzhuyin.so.15.0.0 2533 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.q8m85Z + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.8.1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 check Making check in src Making check in include make[2]: Nothing to be done for 'check'. Making check in storage make[2]: Nothing to be done for 'check'. Making check in lookup make[2]: Nothing to be done for 'check'. make[2]: Nothing to be done for 'check-am'. Making check in tests Making check in include /usr/bin/make check-TESTS make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' PASS: test_memory_chunk make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/include' Making check in storage /usr/bin/make check-TESTS make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' PASS: test_flexible_ngram make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' PASS: test_ngram make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' PASS: test_phrase_index_logger make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1/tests/storage' Making check in lookup make[2]: Nothing to be done for 'check'. make[2]: Nothing to be done for 'check-am'. Making check in utils Making check in storage make[2]: Nothing to be done for 'check'. Making check in segment make[2]: Nothing to be done for 'check'. Making check in training make[2]: Nothing to be done for 'check'. make[2]: Nothing to be done for 'check-am'. Making check in data make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libpinyin-2.8.1-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Hc3GsW + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.8.1 + DOCDIR=/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/doc/libpinyin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/doc/libpinyin + cp -pr AUTHORS /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/doc/libpinyin + cp -pr README /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3EAVcM + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/licenses/libpinyin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/licenses/libpinyin + cp -pr COPYING /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64/usr/share/licenses/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.8.1-4.ocs23 libpinyin(loongarch-64) = 2.8.1-4.ocs23 libpinyin.so.15()(64bit) libpinyin.so.15(LIBPINYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libdb-5.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libpinyin-devel-2.8.1-4.ocs23.loongarch64 Provides: libpinyin-devel = 2.8.1-4.ocs23 libpinyin-devel(loongarch-64) = 2.8.1-4.ocs23 libzhuyin-devel = 2.8.1-4.ocs23 pkgconfig(libpinyin) = 2.8.1 pkgconfig(libzhuyin) = 2.8.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libpinyin.so.15()(64bit) libzhuyin.so.15()(64bit) pkgconfig(glib-2.0) Processing files: libpinyin-data-2.8.1-4.ocs23.loongarch64 Provides: libpinyin-data = 2.8.1-4.ocs23 libpinyin-data(loongarch-64) = 2.8.1-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-tools-2.8.1-4.ocs23.loongarch64 Provides: libpinyin-tools = 2.8.1-4.ocs23 libpinyin-tools(loongarch-64) = 2.8.1-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libdb-5.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libzhuyin-2.8.1-4.ocs23.loongarch64 Provides: libzhuyin = 2.8.1-4.ocs23 libzhuyin(loongarch-64) = 2.8.1-4.ocs23 libzhuyin.so.15()(64bit) libzhuyin.so.15(LIBZHUYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libdb-5.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libpinyin-debugsource-2.8.1-4.ocs23.loongarch64 Provides: libpinyin-debugsource = 2.8.1-4.ocs23 libpinyin-debugsource(loongarch-64) = 2.8.1-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-debuginfo-2.8.1-4.ocs23.loongarch64 Provides: debuginfo(build-id) = dd210b07fcdcbf8f22e4fa9bd6df08c8b3f672b9 libpinyin-debuginfo = 2.8.1-4.ocs23 libpinyin-debuginfo(loongarch-64) = 2.8.1-4.ocs23 libpinyin.so.15.0.0-2.8.1-4.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(loongarch-64) = 2.8.1-4.ocs23 Processing files: libpinyin-tools-debuginfo-2.8.1-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 86ad64082b1688fed6c1890fec65d6e77d41b871 debuginfo(build-id) = bda9e0f0879e3259513be54157ca1fd77087afe8 debuginfo(build-id) = c55ffbfa976bb308daa632bb07aaaf3348b0abe5 libpinyin-tools-debuginfo = 2.8.1-4.ocs23 libpinyin-tools-debuginfo(loongarch-64) = 2.8.1-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(loongarch-64) = 2.8.1-4.ocs23 Processing files: libzhuyin-debuginfo-2.8.1-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 1bdbf78507e533e8da7b6fa0f32b382719d099a4 libzhuyin-debuginfo = 2.8.1-4.ocs23 libzhuyin-debuginfo(loongarch-64) = 2.8.1-4.ocs23 libzhuyin.so.15.0.0-2.8.1-4.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(loongarch-64) = 2.8.1-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpinyin-2.8.1-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libpinyin-devel-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libzhuyin-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-debugsource-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-debuginfo-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libzhuyin-debuginfo-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-debuginfo-2.8.1-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpinyin-data-2.8.1-4.ocs23.loongarch64.rpm Child return code was: 0