Mock Version: 2.6 Mock Version: 2.6 Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f34-build-24567833-2584553/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1607990400 Wrote: /builddir/build/SRPMS/libpinyin-2.6.0-1.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f34-build-24567833-2584553/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1607990400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jbuRs0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpinyin-2.6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/libpinyin-2.6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.6.0 + /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.qNvMH3 + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.6.0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 2020-12-15 03:49:35.000000000 +0000 +++ ./configure 2020-12-15 06:27:48.736970975 +0000 @@ -1925,7 +1925,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 2020-12-15 06:27:48.736970975 +0000 +++ ./configure 2020-12-15 06:27:48.767971067 +0000 @@ -7983,7 +7983,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'" @@ -19245,7 +19245,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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-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/lib --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 thread-safe 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 we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for i686-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... 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 for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether g++ supports C++11 features by default... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... 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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7937: -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 i686-redhat-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... no 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 i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for ANSI C header files... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) 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 stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes 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 db.h usability... yes checking db.h presence... 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.6.0 Install prefix /usr DBM BerkeleyDB Enable libzhuyin yes + /usr/bin/make -O -j48 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.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o table_info.o table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table3.o phrase_large_table3.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tag_utility.o tag_utility.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table3_bdb.o phrase_large_table3_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_large_table2.o chewing_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ngram.o ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ngram_bdb.o ngram_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_index.o phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table2.o phrase_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(pinyin::PhoneticKeyMatrix*)': phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_large_table.o chewing_large_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_large_table2_bdb.o chewing_large_table2_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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 unsigned int phrase_length = 1]': chewing_large_table2.h:106: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:166: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:181: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 2]': chewing_large_table2.h:106: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:166: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:182: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 3]': chewing_large_table2.h:106: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:166: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:183: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 4]': chewing_large_table2.h:106: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:166: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:184: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 5]': chewing_large_table2.h:106: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:166: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:185: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 6]': chewing_large_table2.h:106: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:166: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:186: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 7]': chewing_large_table2.h:106: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:166: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:187: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 8]': chewing_large_table2.h:106: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:166: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:188: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 9]': chewing_large_table2.h:106: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:166: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:189: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 10]': chewing_large_table2.h:106: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:166: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:190: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 11]': chewing_large_table2.h:106: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:166: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:191: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 12]': chewing_large_table2.h:106: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:166: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:192: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 13]': chewing_large_table2.h:106: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:166: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:193: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 14]': chewing_large_table2.h:106: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:166: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:194: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 15]': chewing_large_table2.h:106: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:166: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:195: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 16]': chewing_large_table2.h:106: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:166: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:196: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, from chewing_large_table2_bdb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin_parser2.o pinyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o zhuyin_parser2.o zhuyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup.o lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phonetic_lookup.o phonetic_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_lookup.o phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin_lookup2.o pinyin_lookup2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' storage/phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': storage/phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin_internal.o pinyin_internal.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/ngram_bdb.cpp -fPIC -DPIC -o storage/.libs/ngram_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' storage/chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' storage/phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' storage/phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': storage/phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:482:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 482 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool zhuyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': zhuyin.cpp:525:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 525 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 'void _compute_frequency_of_items(zhuyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': zhuyin.cpp:1238:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1238 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ 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); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28, from pinyin_internal.h:32, from zhuyin.cpp:25: zhuyin.cpp: In function 'bool zhuyin_get_character_offset(zhuyin_instance_t*, const char*, size_t, size_t*)': zhuyin.cpp:2185:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2185 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' storage/phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(pinyin::PhoneticKeyMatrix*)': storage/phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pinyin.cpp -fPIC -DPIC -o .libs/pinyin.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:556:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 556 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp:501:9: warning: unused variable 'num' [-Wunused-variable] 501 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool pinyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': pinyin.cpp:600:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 600 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1208:17: warning: unused variable 'num' [-Wunused-variable] 1208 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'void _compute_frequency_of_items(pinyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': pinyin.cpp:1583:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1583 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2114:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2114 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2189:9: warning: unused variable 'num' [-Wunused-variable] 2189 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2640:13: warning: unused variable 'retval' [-Wunused-variable] 2640 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28, from pinyin_internal.h:32, from pinyin.cpp:27: pinyin.cpp: In function 'bool pinyin_get_character_offset(pinyin_instance_t*, const char*, size_t, size_t*)': pinyin.cpp:2755:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2755 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool _remember_phrase_recur(pinyin_instance_t*, ChewingKeyVector, TokenVector, size_t, ucs4_t*, gint)': pinyin.cpp:3121:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3121 | if (cached_keys->len != phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp:3162:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3162 | if (cached_keys->len >= phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28, from pinyin_internal.h:32, from pinyin.cpp:27: pinyin.cpp: In function 'bool pinyin_remember_user_input(pinyin_instance_t*, const char*, gint)': pinyin.cpp:3215:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 3215 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/src' storage/chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6.0/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 unsigned int phrase_length = 1]': storage/chewing_large_table2.h:106: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:166: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:181: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 2]': storage/chewing_large_table2.h:106: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:166: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:182: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 3]': storage/chewing_large_table2.h:106: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:166: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:183: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 4]': storage/chewing_large_table2.h:106: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:166: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:184: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 5]': storage/chewing_large_table2.h:106: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:166: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:185: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 6]': storage/chewing_large_table2.h:106: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:166: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:186: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 7]': storage/chewing_large_table2.h:106: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:166: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:187: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 8]': storage/chewing_large_table2.h:106: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:166: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:188: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 9]': storage/chewing_large_table2.h:106: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:166: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:189: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 10]': storage/chewing_large_table2.h:106: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:166: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:190: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 11]': storage/chewing_large_table2.h:106: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:166: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:191: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 12]': storage/chewing_large_table2.h:106: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:166: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:192: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 13]': storage/chewing_large_table2.h:106: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:166: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:193: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 14]': storage/chewing_large_table2.h:106: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:166: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:194: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 15]': storage/chewing_large_table2.h:106: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:166: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:195: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, from storage/chewing_large_table2_bdb.cpp:21: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ 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 unsigned int phrase_length = 16]': storage/chewing_large_table2.h:106: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:166: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:196: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, from storage/chewing_large_table2_bdb.cpp:21: 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.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script=./libpinyin.ver -version-info 13:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libpinyin.la -rpath /usr/lib 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/i686-redhat-linux/11/../../../crti.o /usr/lib/gcc/i686-redhat-linux/11/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/i686-redhat-linux/11 -L/usr/lib/gcc/i686-redhat-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/11/crtendS.o /usr/lib/gcc/i686-redhat-linux/11/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,--version-script=./libpinyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libpinyin.so.13 -o .libs/libpinyin.so.13.0.0 libtool: link: (cd ".libs" && rm -f "libpinyin.so.13" && ln -s "libpinyin.so.13.0.0" "libpinyin.so.13") libtool: link: (cd ".libs" && rm -f "libpinyin.so" && ln -s "libpinyin.so.13.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.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script=./libzhuyin.ver -version-info 13:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libzhuyin.la -rpath /usr/lib 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/i686-redhat-linux/11/../../../crti.o /usr/lib/gcc/i686-redhat-linux/11/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/i686-redhat-linux/11 -L/usr/lib/gcc/i686-redhat-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/11/crtendS.o /usr/lib/gcc/i686-redhat-linux/11/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,--version-script=./libzhuyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libzhuyin.so.13 -o .libs/libzhuyin.so.13.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.13" && ln -s "libzhuyin.so.13.0.0" "libzhuyin.so.13") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.13.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.6.0/src' Making all in tests Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_memory_chunk.o test_memory_chunk.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' test_memory_chunk.cpp: In function 'int main(int, char**)': test_memory_chunk.cpp:14:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:21:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 21 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:30:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 30 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_table_info.o test_table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_parser2.o test_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_ngram.o test_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase_table.o test_phrase_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ test_phrase_table.cpp:71:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_chewing_table.o test_chewing_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' test_chewing_table.cpp: In function 'int main(int, char**)': test_chewing_table.cpp:98:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase_index.o test_phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_matrix.o test_matrix.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' test_matrix.cpp: In function 'int main(int, char**)': test_matrix.cpp:153:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d test_matrix.cpp:153:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_flexible_ngram.o test_flexible_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase_lookup.o test_phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' test_pinyin_lookup.cpp: In function 'int main(int, char**)': test_pinyin_lookup.cpp:124:31: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 124 | printf("pos:%ld,token:%d\t", j, *token); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_zhuyin test_zhuyin.o ../src/libzhuyin.la -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_zhuyin test_zhuyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_chewing test_chewing.o ../src/libpinyin.la -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_chewing test_chewing.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase test_phrase.o ../src/libpinyin.la -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_phrase test_phrase.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_pinyin test_pinyin.o ../src/libpinyin.la -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_pinyin test_pinyin.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' Making all in utils Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_pinyin_table.o gen_pinyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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 | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_binary_files.o gen_binary_files.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o export_interpolation.o export_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' export_interpolation.cpp: In function 'bool gen_unigram(FILE*, pinyin::FacadePhraseIndex*)': export_interpolation.cpp:98:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | fprintf(output, "\\item %d %s count %ld\n", token, phrase, freq); | ~~^ ~~~~ | | | | long int size_t {aka unsigned int} | %d make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o import_interpolation.o import_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ngseg.o ngseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mergeseq.o mergeseq.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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); | ^~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o spseg.o spseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' spseg.cpp: In function 'bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:93:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 93 | for ( glong i = 0; i < phrase_len + 1; ++i ){ | ~~^~~~~~~~~~~~~~~~ spseg.cpp:104:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 104 | for ( glong i = 0; i < phrase_len + 1; ++i ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:107:34: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 107 | for ( glong k = i + 1; k < phrase_len + 1; ++k ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:114:17: warning: unused variable 'num' [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ spseg.cpp: In function 'bool deal_with_segmentable(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, FILE*)': spseg.cpp:177:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 177 | for ( glong i = 0; i < strings->len; ++i ) { | ~~^~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o estimate_interpolation.o estimate_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_ngram.o gen_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_unigram.o gen_unigram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o export_k_mixture_model.o export_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o import_k_mixture_model.o import_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/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); | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/lib/glib-2.0/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o eval_correction_rate.o eval_correction_rate.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.0/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/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.pLNvt1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 ++ dirname /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 + cd libpinyin-2.6.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -p libpinyin.la libzhuyin.la '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib' libtool: install: /usr/bin/install -p .libs/libpinyin.so.13.0.0 /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libpinyin.so.13.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib && { ln -s -f libpinyin.so.13.0.0 libpinyin.so.13 || { rm -f libpinyin.so.13 && ln -s libpinyin.so.13.0.0 libpinyin.so.13; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib && { ln -s -f libpinyin.so.13.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.13.0.0 libpinyin.so; }; }) libtool: install: /usr/bin/install -p .libs/libpinyin.lai /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libpinyin.la libtool: install: /usr/bin/install -p .libs/libzhuyin.so.13.0.0 /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libzhuyin.so.13.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so.13 || { rm -f libzhuyin.so.13 && ln -s libzhuyin.so.13.0.0 libzhuyin.so.13; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.13.0.0 libzhuyin.so; }; }) libtool: install: /usr/bin/install -p .libs/libzhuyin.lai /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/include/libpinyin-2.6.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin' libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_binary_files libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin' libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/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.6.0/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/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.6.0-1.fc34.i386/usr/lib/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/man/man1' /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/pkgconfig' /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0' + find /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 2.6.0-1.fc34 --unique-debug-suffix -2.6.0-1.fc34.i386 --unique-debug-src-base libpinyin-2.6.0-1.fc34.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.6.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_binary_files explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_unigram explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/import_interpolation explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libzhuyin.so.13.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libpinyin.so.13.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_unigram extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libzhuyin.so.13.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/lib/libpinyin.so.13.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/gen_binary_files extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/bin/import_interpolation original debug info size: 7936kB, size after compression: 5340kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. cpio: utils/storage/{standard input}: Cannot stat: No such file or directory 2477 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RDuUb0 + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.6.0 + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/src' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.6.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.6.0 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/tests' Making check in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/storage' Making check in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/segment' Making check in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/utils' Making check in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/data' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.6.0' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.6.0' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libpinyin-2.6.0-1.fc34.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5nmp00 + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.6.0 + DOCDIR=/builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/doc/libpinyin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/doc/libpinyin + cp -pr AUTHORS /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/doc/libpinyin + cp -pr COPYING /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/doc/libpinyin + cp -pr README /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.6.0-1.fc34 libpinyin(x86-32) = 2.6.0-1.fc34 libpinyin.so.13 libpinyin.so.13(LIBPINYIN) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libm.so.6 libm.so.6(GLIBC_2.29) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: libpinyin-devel-2.6.0-1.fc34.i686 Provides: libpinyin-devel = 2.6.0-1.fc34 libpinyin-devel(x86-32) = 2.6.0-1.fc34 libzhuyin-devel = 2.6.0-1.fc34 pkgconfig(libpinyin) = 2.6.0 pkgconfig(libzhuyin) = 2.6.0 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.13 libzhuyin.so.13 pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.6.0-1.fc34 Processing files: libpinyin-data-2.6.0-1.fc34.i686 Provides: libpinyin-data = 2.6.0-1.fc34 libpinyin-data(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-tools-2.6.0-1.fc34.i686 Provides: libpinyin-tools = 2.6.0-1.fc34 libpinyin-tools(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: libzhuyin-2.6.0-1.fc34.i686 Provides: libzhuyin = 2.6.0-1.fc34 libzhuyin(x86-32) = 2.6.0-1.fc34 libzhuyin.so.13 libzhuyin.so.13(LIBZHUYIN) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libm.so.6 libm.so.6(GLIBC_2.29) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: libpinyin-debugsource-2.6.0-1.fc34.i686 Provides: libpinyin-debugsource = 2.6.0-1.fc34 libpinyin-debugsource(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-debuginfo-2.6.0-1.fc34.i686 Provides: debuginfo(build-id) = b7ef1d529374c3ffa26af3396bd16aec3acee0b4 libpinyin-debuginfo = 2.6.0-1.fc34 libpinyin-debuginfo(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.6.0-1.fc34 Processing files: libpinyin-tools-debuginfo-2.6.0-1.fc34.i686 Provides: debuginfo(build-id) = 11a601dad5f543fb55992abc8e1cfa74c34a3b43 debuginfo(build-id) = 76b8f4ed45f3286c775d4ba2ae183dcb3f42a960 debuginfo(build-id) = b5b34820101a872a10380f8c3a659c176348e1cc libpinyin-tools-debuginfo = 2.6.0-1.fc34 libpinyin-tools-debuginfo(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.6.0-1.fc34 Processing files: libzhuyin-debuginfo-2.6.0-1.fc34.i686 Provides: debuginfo(build-id) = f0c33d2595eaf8b596fd1af8297493e104004a5d libzhuyin-debuginfo = 2.6.0-1.fc34 libzhuyin-debuginfo(x86-32) = 2.6.0-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.6.0-1.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 Wrote: /builddir/build/RPMS/libzhuyin-debuginfo-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-debugsource-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-debuginfo-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libzhuyin-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-debuginfo-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-devel-2.6.0-1.fc34.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-data-2.6.0-1.fc34.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jWlWQ1 + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpinyin-2.6.0-1.fc34.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0