Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f29-build-25144-13112/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/opengrm-ngram-1.3.4-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f29-build-25144-13112/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JpDH7Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opengrm-ngram-1.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/opengrm-ngram-1.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opengrm-ngram-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.luNrt3 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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=riscv64-redhat-linux-gnu --host=riscv64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL' 'LIBS=-L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas' 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 for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 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 for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 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 fst/fst.h usability... yes checking fst/fst.h presence... yes checking for fst/fst.h... yes checking fst/extensions/far/far.h usability... yes checking fst/extensions/far/far.h presence... yes checking for fst/extensions/far/far.h... yes checking for dlopen in -ldl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/bin/Makefile config.status: creating src/test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' -e 's|CC=.g..|& -Wl,--as-needed|' -i libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-absolute.lo ngram-absolute.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-context.lo ngram-context.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-count.lo ngram-count.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-count-prune.lo ngram-count-prune.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-context.cc -fPIC -DPIC -o .libs/ngram-context.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-count.cc -fPIC -DPIC -o .libs/ngram-count.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-count-prune.cc -fPIC -DPIC -o .libs/ngram-count-prune.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-absolute.cc -fPIC -DPIC -o .libs/ngram-absolute.o BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-absolute.cc:23: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngram-count-prune.cc:18: BUILDSTDERR: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:56:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: count_minimums_[i] = count_minimums.size() > i BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-absolute.cc:23: BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': BUILDSTDERR: ./../include/ngram/ngram-absolute.h:45:76: required from here BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (order >= histogram_.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngram-context.cc:27: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ngram-context.cc: In static member function 'static void ngram::NGramContext::ParseContextInterval(const string&, std::vector*, std::vector*)': BUILDSTDERR: ngram-context.cc:133:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < labels1.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: ngram-context.cc:137:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < labels2.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: ngram-context.cc: In member function 'void ngram::NGramContext::Init()': BUILDSTDERR: ngram-context.cc:148:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (context_begin_.size() >= hi_order_) hi_order_ = context_begin_.size() + 1; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: ngram-context.cc:149:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (context_end_.size() >= hi_order_) hi_order_ = context_end_.size() + 1; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: ngram-context.cc: In function 'bool ngram::NGramWriteContexts(const string&, const std::vector >&)': BUILDSTDERR: ngram-context.cc:296:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < contexts.size(); ++i) strm << contexts[i] << std::endl; BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-mutable-model.h:28, BUILDSTDERR: from ./../include/ngram/ngram-shrink.h:23, BUILDSTDERR: from ./../include/ngram/ngram-count-prune.h:20, BUILDSTDERR: from ngram-count-prune.cc:18: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:23, BUILDSTDERR: from ngram-absolute.cc:23: BUILDSTDERR: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngram-absolute.cc:41:21: required from here BUILDSTDERR: ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-absolute.cc:23: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngram-absolute.cc:41:21: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngram-absolute.cc:41:21: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ngram-count.cc:18: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ngram-count.cc: In function 'void ngram::RoundCountsToInt(fst::StdMutableFst*)': BUILDSTDERR: ngram-count.cc:27:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: for (size_t s = 0; s < fst->NumStates(); ++s) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-hist-merge.h:21, BUILDSTDERR: from ngram-count.cc:19: BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram2_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) BUILDSTDERR: ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram2_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // shared state BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // state found in both models BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-kneser-ney.lo ngram-kneser-ney.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-kneser-ney.cc -fPIC -DPIC -o .libs/ngram-kneser-ney.o BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ngram-count.cc:18: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() < st) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() == st) { // add state info BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ./../include/ngram/ngram-kneser-ney.h:22, BUILDSTDERR: from ngram-kneser-ney.cc:22: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-make.lo ngram-make.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-make.cc -fPIC -DPIC -o .libs/ngram-make.o BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ./../include/ngram/ngram-kneser-ney.h:22, BUILDSTDERR: from ngram-kneser-ney.cc:22: BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': BUILDSTDERR: ./../include/ngram/ngram-absolute.h:45:76: required from here BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (order >= histogram_.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ./../include/ngram/ngram-kneser-ney.h:22, BUILDSTDERR: from ngram-kneser-ney.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-absolute.h:39:31: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-absolute.h:39:31: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:23, BUILDSTDERR: from ./../include/ngram/ngram-kneser-ney.h:22, BUILDSTDERR: from ngram-kneser-ney.cc:22: BUILDSTDERR: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-make.h:114:18: required from here BUILDSTDERR: ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-marginalize.lo ngram-marginalize.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-marginalize.cc -fPIC -DPIC -o .libs/ngram-marginalize.o BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-output.lo ngram-output.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-output.cc -fPIC -DPIC -o .libs/ngram-output.o BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': BUILDSTDERR: ./../include/ngram/ngram-absolute.h:45:76: required from here BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (order >= histogram_.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]': BUILDSTDERR: ./../include/ngram/ngram-katz.h:63:46: required from 'void ngram::NGramKatz::SetCountOfCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]' BUILDSTDERR: ngram-make.cc:135:45: required from here BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:23, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-unsmoothed.h:41:45: required from here BUILDSTDERR: ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-unsmoothed.h:41:45: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:23, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::HistogramArc; ngram::NGramMake::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ngram-make.cc:136:31: required from here BUILDSTDERR: ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngram-make.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ngram-make.cc:136:31: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-unsmoothed.h:41:45: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ngram-make.cc:136:31: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ngram-marginalize.cc: In member function 'void ngram::NGramMarginal::SetArcIndices(ngram::NGramMarginal::StateId, bool)': BUILDSTDERR: ngram-marginalize.cc:110:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'fst::ArcTpl >::Label' {aka 'int'} [-Wsign-compare] BUILDSTDERR: while (indices_.size() <= arc.ilabel + 1) indices_.push_back(-1); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: ngram-marginalize.cc: In member function 'int ngram::NGramMarginal::GetCurrentArcIndex(int)': BUILDSTDERR: ngram-marginalize.cc:120:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: while (indices_.size() <= label + 1) indices_.push_back(-1); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-mutable-model.h:28, BUILDSTDERR: from ./../include/ngram/ngram-marginalize.h:20, BUILDSTDERR: from ngram-marginalize.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' BUILDSTDERR: ngram-marginalize.cc:34:20: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-marginalize.h:37:39: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngram-output.cc:23: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-marginalize.h:37:39: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ngram-output.cc: In member function 'bool ngram::NGramOutput::PerplexityNGramModel(const std::vector > > > >&, int32, bool, std::__cxx11::string*, double, double)': BUILDSTDERR: ngram-output.cc:103:25: warning: comparison of integer expressions of different signedness: 'ngram::NGramOutput::StateId' {aka 'int'} and 'std::vector > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId i = 0; i < infsts.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: ngram-output.cc: In member function 'void ngram::NGramOutput::RandNGramModel(int64, bool) const': BUILDSTDERR: ngram-output.cc:501:51: warning: variable 'nextstate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: StateId st = GetFst().Start(), hi_state = -1, nextstate; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ngram-output.cc:502:11: warning: variable 'lbl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Label lbl; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngram-output.cc:23: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-shrink.lo ngram-shrink.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-shrink.cc -fPIC -DPIC -o .libs/ngram-shrink.o BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ BUILDSTDERR: ngram-output.cc: In member function 'void ngram::NGramOutput::FindNextStateInModel(ngram::NGramOutput::StateId*, ngram::NGramOutput::Label, double, ngram::NGramOutput::Label, double*, int*, int*, int*, std::__cxx11::string*, bool, std::vector*) const': BUILDSTDERR: ngram-output.cc:374:16: warning: 'ngram_cost' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ngram_cost += OOV_cost; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ngram-output.cc:389:31: warning: 'order' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (verbose) ShowNGramProb(symbol, (*history), 0, order, ngram_cost); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngram-output.cc:23: BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context-prune.h:23, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context-prune.h:24, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:56:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: count_minimums_[i] = count_minimums.size() > i BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-count-prune.h:20, BUILDSTDERR: from ./../include/ngram/ngram-context-prune.h:24, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-relentropy.h:51:66: required from here BUILDSTDERR: ./../include/ngram/ngram-shrink.h:756:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (threshold_index < scores.size() && scores[threshold_index] == theta) { BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-shrink.h:759:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (threshold_index >= scores.size()) { // Sets theta more than max. BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-context-prune.h:23, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-count-prune.h:20, BUILDSTDERR: from ./../include/ngram/ngram-context-prune.h:24, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-shrink.h:567:3: required from 'void ngram::NGramShrink::GetNGramsAndOrScores(std::vector >*, std::vector*, bool) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:738:3: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-relentropy.h:51:66: required from here BUILDSTDERR: ./../include/ngram/ngram-shrink.h:602:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: } else if (state_ngram.size() < min_order - 1) { BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-context-prune.h:23, BUILDSTDERR: from ngram-shrink.cc:15: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-count-prune.h:66:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o util.lo util.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c util.cc -fPIC -DPIC -o .libs/util.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o hist-arc.lo hist-arc.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c hist-arc.cc -fPIC -DPIC -o .libs/hist-arc.o BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -version-info 134:0:0 -lfst -lm -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngram.la -rpath /usr/lib64 ngram-absolute.lo ngram-context.lo ngram-count.lo ngram-count-prune.lo ngram-kneser-ney.lo ngram-make.lo ngram-marginalize.lo ngram-output.lo ngram-shrink.lo util.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/8/crti.o /usr/lib/gcc/riscv64-redhat-linux/8/crtbeginS.o .libs/ngram-absolute.o .libs/ngram-context.o .libs/ngram-count.o .libs/ngram-count-prune.o .libs/ngram-kneser-ney.o .libs/ngram-make.o .libs/ngram-marginalize.o .libs/ngram-output.o .libs/ngram-shrink.o .libs/util.o -ldl -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngram.so.134 -o .libs/libngram.so.134.0.0 libtool: link: (cd ".libs" && rm -f "libngram.so.134" && ln -s "libngram.so.134.0.0" "libngram.so.134") libtool: link: (cd ".libs" && rm -f "libngram.so" && ln -s "libngram.so.134.0.0" "libngram.so") libtool: link: ( cd ".libs" && rm -f "libngram.la" && ln -s "../libngram.la" "libngram.la" ) /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -version-info 134:0:0 -lfst -lfstscript -lm -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngramhist.la -rpath /usr/lib64 hist-arc.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -module -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hist-arc.la -rpath /usr/lib64 hist-arc.lo -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/8/crti.o /usr/lib/gcc/riscv64-redhat-linux/8/crtbeginS.o .libs/hist-arc.o -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,hist-arc.so.0 -o .libs/hist-arc.so.0.0.0 libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/8/crti.o /usr/lib/gcc/riscv64-redhat-linux/8/crtbeginS.o .libs/hist-arc.o -lfstscript -ldl -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngramhist.so.134 -o .libs/libngramhist.so.134.0.0 libtool: link: (cd ".libs" && rm -f "hist-arc.so.0" && ln -s "hist-arc.so.0.0.0" "hist-arc.so.0") libtool: link: (cd ".libs" && rm -f "hist-arc.so" && ln -s "hist-arc.so.0.0.0" "hist-arc.so") libtool: link: ( cd ".libs" && rm -f "hist-arc.la" && ln -s "../hist-arc.la" "hist-arc.la" ) libtool: link: (cd ".libs" && rm -f "libngramhist.so.134" && ln -s "libngramhist.so.134.0.0" "libngramhist.so.134") libtool: link: (cd ".libs" && rm -f "libngramhist.so" && ln -s "libngramhist.so.134.0.0" "libngramhist.so") libtool: link: ( cd ".libs" && rm -f "libngramhist.la" && ln -s "../libngramhist.la" "libngramhist.la" ) make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramapply_main.o ngramapply_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramcontext_main.o ngramcontext_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramcount_main.o ngramcount_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngraminfo_main.o ngraminfo_main.cc BUILDSTDERR: ngraminfo_main.cc: In function 'void ngram::PrintNGramInfo(const ngram::NGramModel > >&, std::ostream&)': BUILDSTDERR: ngraminfo_main.cc:38:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: for (size_t s = 0; s < ngram.NumStates(); ++s) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramcontext_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngraminfo_main.cc:25: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ngraminfo_main.cc:78:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngramapply_main.cc:24: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]': BUILDSTDERR: ngramcontext_main.cc:50:59: required from here BUILDSTDERR: ./../include/ngram/ngram-context.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < begin_contexts.size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngraminfo_main.cc:78:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, std::vector >*, float) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-context.h:118:17: required from 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngramcontext_main.cc:50:59: required from here BUILDSTDERR: ./../include/ngram/ngram-context.h:342:42: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: (bin_count + delta1) * ncontexts < total_count) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:371:46: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: (bin_count + delta2) * ncontexts < total_count) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ngramcontext_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ngramcontext_main.cc:47:73: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ngramcount_main.cc:28: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ngramcontext_main.cc:47:73: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ngramcount_main.cc:28: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramcount_main.cc:124:74: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramcount_main.cc:130:59: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramcount_main.cc:124:74: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramcount_main.cc:130:59: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/lexicographic-map.h:37, BUILDSTDERR: from ngramapply_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammake_main.o ngrammake_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammarginalize_main.o ngrammarginalize_main.cc BUILDSTDERR: In file included from ./../include/ngram/ngram-mutable-model.h:28, BUILDSTDERR: from ./../include/ngram/ngram-marginalize.h:20, BUILDSTDERR: from ngrammarginalize_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-marginalize.h:37:39: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-marginalize.h:37:39: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammerge_main.o ngrammerge_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramperplexity_main.o ngramperplexity_main.cc BUILDSTDERR: In file included from ngrammerge_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h: In member function 'double ngram::NGramBayesModelMerge::StateAlpha(ngram::NGramBayesModelMerge::StateId) const': BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:82:15: warning: comparison of integer expressions of different signedness: 'ngram::NGramBayesModelMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st >= state_alpha_.size()) state_alpha_.push_back(-1.0); BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context-merge.h:20, BUILDSTDERR: from ngrammerge_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ngrammerge_main.cc: In function 'bool GetContexts(int, std::vector >*)': BUILDSTDERR: ngrammerge_main.cc:72:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (contexts->size() != in_count) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ngrammerge_main.cc: In function 'void RoundCountsToInt(fst::StdMutableFst*)': BUILDSTDERR: ngrammerge_main.cc:83:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: for (size_t s = 0; s < fst->NumStates(); ++s) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngramperplexity_main.cc:25: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'ngram::NGramModel::Weight ngram::NGramModel::GetNGramCost(const std::vector&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::Weight = fst::TropicalWeightTpl; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:87:49: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:335:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int n = 0; n < ngram.size(); ++n) { BUILDSTDERR: ./../include/ngram/ngram-model.h:339:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (n != ngram.size() - 1) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, BUILDSTDERR: from ngrammerge_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram2_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) BUILDSTDERR: ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram2_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // shared state BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // state found in both models BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram2_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) BUILDSTDERR: ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram2_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // shared state BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // state found in both models BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramprint_main.o ngramprint_main.cc BUILDSTDERR: In file included from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': BUILDSTDERR: ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngrammerge_main.cc:127:45: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': BUILDSTDERR: ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' BUILDSTDERR: ngrammerge_main.cc:174:58: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, BUILDSTDERR: from ngrammerge_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() < st) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() == st) { // add state info BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, BUILDSTDERR: from ngrammerge_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() < st) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() == st) { // add state info BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: In file included from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' BUILDSTDERR: ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngrammerge_main.cc:127:45: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' BUILDSTDERR: ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' BUILDSTDERR: ngrammerge_main.cc:174:58: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngrammerge_main.cc:21: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngramperplexity_main.cc:25: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-hist-merge.h:49:22: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngramprint_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-output.h:25, BUILDSTDERR: from ngramprint_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-output.h:59:44: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramrandgen_main.o ngramrandgen_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramread_main.o ngramread_main.cc BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ BUILDSTDERR: ngramrandgen_main.cc: In function 'void CreateStringFstFromPath(std::vector*, fst::StdVectorFst*)': BUILDSTDERR: ngramrandgen_main.cc:70:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < labels->size(); i++) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': BUILDSTDERR: ./../include/ngram/ngram-input.h:447:26: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (nextstate >= boweights->size()) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': BUILDSTDERR: ./../include/ngram/ngram-input.h:494:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < boweights->size()) { BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': BUILDSTDERR: ./../include/ngram/ngram-input.h:577:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': BUILDSTDERR: ./../include/ngram/ngram-input.h:684:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < bigram_states.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h:690:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < bigram_states.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramrandgen_main.cc:32: BUILDSTDERR: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': BUILDSTDERR: /usr/include/fst/randgen.h:498:5: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' BUILDSTDERR: /usr/include/fst/randgen.h:453:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' BUILDSTDERR: /usr/include/fst/fst.h:859:65: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' BUILDSTDERR: /usr/include/fst/fst.h:859:10: required from here BUILDSTDERR: ./../include/ngram/ngram-randgen.h:129:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: rstate.length == max_length_) { BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': BUILDSTDERR: ./../include/ngram/ngram-input.h:755:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < words->size() - 2; i++) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h:760:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (last_labels->size() <= i || label != (*last_labels)[i]) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': BUILDSTDERR: ./../include/ngram/ngram-input.h:798:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'ssize_t ngram::NGramCounter::NGramNextState(ssize_t) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:357:50: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:190:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (arc_id < 0 || arc_id >= arcs_.size()) return -1; BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetFinalNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:424:54: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:196:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountState, std::allocator >::CountState> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (state_id < 0 || state_id >= states_.size()) return false; BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:433:53: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:203:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (arc_id < 0 || arc_id >= arcs_.size()) return false; BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-input.h:602:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-input.h:602:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramshrink_main.o ngramshrink_main.cc BUILDSTDERR: In file included from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::FillARPAHoles()': BUILDSTDERR: ./../include/ngram/ngram-input.h:557:33: warning: 'boprob' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramread_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsort_main.o ngramsort_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsplit_main.o ngramsplit_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsymbols_main.o ngramsymbols_main.cc BUILDSTDERR: In file included from ./../include/ngram/ngram-mutable-model.h:28, BUILDSTDERR: from ngramsort_main.cc:20: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngramsort_main.cc:49:21: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngramsort_main.cc:49:21: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-split.h:25, BUILDSTDERR: from ngramsplit_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramsplit_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': BUILDSTDERR: ngramsplit_main.cc:80:67: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': BUILDSTDERR: ngramsplit_main.cc:87:67: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' BUILDSTDERR: ngramsplit_main.cc:80:67: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); BUILDSTDERR: In file included from ngramsplit_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]': BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:83:62: required from here BUILDSTDERR: ./../include/ngram/ngram-split.h:103:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_patterns.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramsymbols_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramsplit_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' BUILDSTDERR: ngramsplit_main.cc:87:67: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); BUILDSTDERR: In file included from ngramsplit_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]': BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:90:62: required from here BUILDSTDERR: ./../include/ngram/ngram-split.h:103:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_patterns.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ngramsymbols_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': BUILDSTDERR: ./../include/ngram/ngram-input.h:447:26: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (nextstate >= boweights->size()) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': BUILDSTDERR: ./../include/ngram/ngram-input.h:494:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < boweights->size()) { BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': BUILDSTDERR: ./../include/ngram/ngram-input.h:577:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': BUILDSTDERR: ./../include/ngram/ngram-input.h:684:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < bigram_states.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h:690:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < bigram_states.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': BUILDSTDERR: ./../include/ngram/ngram-input.h:755:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (auto i = 0; i < words->size() - 2; i++) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h:760:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (last_labels->size() <= i || label != (*last_labels)[i]) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': BUILDSTDERR: ./../include/ngram/ngram-input.h:798:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramsymbols_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'ssize_t ngram::NGramCounter::NGramNextState(ssize_t) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:357:50: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:190:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (arc_id < 0 || arc_id >= arcs_.size()) return -1; BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetFinalNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:424:54: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:196:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountState, std::allocator >::CountState> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (state_id < 0 || state_id >= states_.size()) return false; BUILDSTDERR: ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': BUILDSTDERR: ./../include/ngram/ngram-input.h:433:53: required from here BUILDSTDERR: ./../include/ngram/ngram-count.h:203:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (arc_id < 0 || arc_id >= arcs_.size()) return false; BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngramsplit_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:83:62: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:90:62: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:83:62: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' BUILDSTDERR: ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramsplit_main.cc:90:62: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-count.h:28, BUILDSTDERR: from ./../include/ngram/ngram-input.h:30, BUILDSTDERR: from ngramsymbols_main.cc:19: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-input.h:602:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-input.h:602:50: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramtransfer_main.o ngramtransfer_main.cc BUILDSTDERR: In file included from ./../include/ngram/ngram-transfer.h:26, BUILDSTDERR: from ngramtransfer_main.cc:23: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ngramtransfer_main.cc: In function 'bool GetContexts(int, std::vector >*)': BUILDSTDERR: ngramtransfer_main.cc:60:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (contexts->size() != in_count) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcontext ngramcontext_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcontext ngramcontext_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: In file included from ngramtransfer_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': BUILDSTDERR: ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' BUILDSTDERR: ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:139:71: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': BUILDSTDERR: ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:142:63: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (st_order < order_states.size() && order_states[st_order].size() > 0) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int order = 1; order < order_states.size() - 1; ++order) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int idx = 0; idx < order_states[order].size(); ++idx) { BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' BUILDSTDERR: ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' BUILDSTDERR: ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:139:71: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); BUILDSTDERR: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' BUILDSTDERR: ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:142:63: required from here BUILDSTDERR: ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (order >= order_states->size()) return false; BUILDSTDERR: ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < (*order_states)[order].size(); ++i) { BUILDSTDERR: ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (order_states->size() <= order + 1) order_states->resize(order + 2); /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcount ngramcount_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: In file included from ./../include/ngram/ngram-complete.h:27, BUILDSTDERR: from ngramtransfer_main.cc:22: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:139:71: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:142:63: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcount ngramcount_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:139:71: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: ngramtransfer_main.cc:142:63: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngraminfo ngraminfo_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngraminfo ngraminfo_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammake ngrammake_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammake ngrammake_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammarginalize ngrammarginalize_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammarginalize ngrammarginalize_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammerge ngrammerge_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammerge ngrammerge_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramperplexity ngramperplexity_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramperplexity ngramperplexity_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramprint ngramprint_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramprint ngramprint_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandgen ngramrandgen_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandgen ngramrandgen_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramread ngramread_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramread ngramread_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramshrink ngramshrink_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramshrink ngramshrink_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsort ngramsort_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsplit ngramsplit_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsort ngramsort_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsplit ngramsplit_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsymbols ngramsymbols_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsymbols ngramsymbols_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramtransfer ngramtransfer_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramtransfer ngramtransfer_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramapply ngramapply_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramapply ngramapply_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' Making all in test make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramhisttest.o ngramhisttest.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramrandtest.o ngramrandtest.cc BUILDSTDERR: In file included from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': BUILDSTDERR: ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_begin.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < context_end.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ngramrandtest.cc: In function 'void BuildRandomUnigram(fst::StdMutableFst*, int, int, std::ostream&)': BUILDSTDERR: ngramrandtest.cc:92:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for (size_t a = 0; a < vocabulary; ++a) { // add unigram arcs to model BUILDSTDERR: ~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramhisttest ngramhisttest.o -lfstscript ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': BUILDSTDERR: ./../include/ngram/ngram-absolute.h:45:76: required from here BUILDSTDERR: ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (order >= histogram_.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-seymore-shrink.h:20, BUILDSTDERR: from ngramrandtest.cc:41: BUILDSTDERR: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-seymore-shrink.h:47:66: required from here BUILDSTDERR: ./../include/ngram/ngram-shrink.h:756:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (threshold_index < scores.size() && scores[threshold_index] == theta) { BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-shrink.h:759:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (threshold_index >= scores.size()) { // Sets theta more than max. BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramhisttest ngramhisttest.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl -lfstscript ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas BUILDSTDERR: In file included from ./../include/ngram/ngram-context-merge.h:21, BUILDSTDERR: from ngramrandtest.cc:32: BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram2_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) BUILDSTDERR: ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram1_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId j = 0; j < ngram2_ns_; ++j) { BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // shared state BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId ist = 0; ist < ngram2_ns_; ++ist) { BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (st < ngram1_ns_) { // state found in both models BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (StateId st = 0; st < ngram1_ns_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-context-merge.h:47:30: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() < st) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] BUILDSTDERR: if (state_orders_.size() == st) { // add state info BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-model-merge.h:50:35: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-seymore-shrink.h:20, BUILDSTDERR: from ngramrandtest.cc:41: BUILDSTDERR: ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': BUILDSTDERR: ./../include/ngram/ngram-shrink.h:567:3: required from 'void ngram::NGramShrink::GetNGramsAndOrScores(std::vector >*, std::vector*, bool) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:738:3: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-seymore-shrink.h:47:66: required from here BUILDSTDERR: ./../include/ngram/ngram-shrink.h:602:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: } else if (state_ngram.size() < min_order - 1) { BUILDSTDERR: In file included from ./../include/ngram/ngram-absolute.h:23, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-witten-bell.h:39:45: required from here BUILDSTDERR: ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' BUILDSTDERR: ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' BUILDSTDERR: ./../include/ngram/ngram-model-merge.h:50:35: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = j; i < state_ngrams_[st].size(); ++i) BUILDSTDERR: ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (!boa && j <= state_ngrams_[st].size()) BUILDSTDERR: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': BUILDSTDERR: ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' BUILDSTDERR: ./../include/ngram/ngram-seymore-shrink.h:39:33: required from here BUILDSTDERR: ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] BUILDSTDERR: for (size_t st = 0; st < nstates_; ++st) { BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from ngramrandtest.cc:40: BUILDSTDERR: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': BUILDSTDERR: /usr/include/fst/randgen.h:498:5: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' BUILDSTDERR: /usr/include/fst/randgen.h:453:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' BUILDSTDERR: /usr/include/fst/fst.h:859:65: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' BUILDSTDERR: /usr/include/fst/fst.h:859:10: required from here BUILDSTDERR: ./../include/ngram/ngram-randgen.h:129:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: rstate.length == max_length_) { BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./../include/ngram/ngram-context.h:27, BUILDSTDERR: from ./../include/ngram/ngram-count-of-counts.h:24, BUILDSTDERR: from ./../include/ngram/ngram-absolute.h:22, BUILDSTDERR: from ngramrandtest.cc:31: BUILDSTDERR: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': BUILDSTDERR: ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return w.Value(); BUILDSTDERR: ^ BUILDSTDERR: ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here BUILDSTDERR: Arc barc; BUILDSTDERR: ^~~~ BUILDSTDERR: ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (barc.ilabel != backoff_label_) BUILDSTDERR: ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandtest ngramrandtest.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandtest ngramrandtest.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' + chrpath -d src/lib/.libs/libngram.so.134.0.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HfODA2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 + cd opengrm-ngram-1.3.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include/ngram' /usr/bin/install -p -m 644 ngram/hist-arc.h ngram/hist-mapper.h ngram/lexicographic-map.h ngram/ngram.h ngram/ngram-absolute.h ngram/ngram-bayes-model-merge.h ngram/ngram-complete.h ngram/ngram-context.h ngram/ngram-context-merge.h ngram/ngram-context-prune.h ngram/ngram-count.h ngram/ngram-count-merge.h ngram/ngram-count-of-counts.h ngram/ngram-count-prune.h ngram/ngram-hist-merge.h ngram/ngram-input.h ngram/ngram-katz.h ngram/ngram-kneser-ney.h ngram/ngram-make.h ngram/ngram-marginalize.h ngram/ngram-merge.h ngram/ngram-model.h ngram/ngram-model-merge.h ngram/ngram-mutable-model.h ngram/ngram-output.h ngram/ngram-randgen.h ngram/ngram-relentropy.h ngram/ngram-seymore-shrink.h ngram/ngram-shrink.h ngram/ngram-split.h ngram/ngram-transfer.h ngram/ngram-unsmoothed.h ngram/ngram-witten-bell.h ngram/util.h '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include/ngram' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -p libngram.la libngramhist.la hist-arc.la '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libngram.so.134.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngram.so.134.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f libngram.so.134.0.0 libngram.so.134 || { rm -f libngram.so.134 && ln -s libngram.so.134.0.0 libngram.so.134; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f libngram.so.134.0.0 libngram.so || { rm -f libngram.so && ln -s libngram.so.134.0.0 libngram.so; }; }) libtool: install: /usr/bin/install -p .libs/libngram.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngram.la libtool: install: /usr/bin/install -p .libs/libngramhist.so.134.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngramhist.so.134.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f libngramhist.so.134.0.0 libngramhist.so.134 || { rm -f libngramhist.so.134 && ln -s libngramhist.so.134.0.0 libngramhist.so.134; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f libngramhist.so.134.0.0 libngramhist.so || { rm -f libngramhist.so && ln -s libngramhist.so.134.0.0 libngramhist.so; }; }) libtool: install: /usr/bin/install -p .libs/libngramhist.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngramhist.la libtool: install: /usr/bin/install -p .libs/hist-arc.so.0.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/hist-arc.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so.0 || { rm -f hist-arc.so.0 && ln -s hist-arc.so.0.0.0 hist-arc.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so || { rm -f hist-arc.so && ln -s hist-arc.so.0.0.0 hist-arc.so; }; }) libtool: install: /usr/bin/install -p .libs/hist-arc.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/hist-arc.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' Making install in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramapply ngramcontext ngramcount ngraminfo ngrammake ngrammarginalize ngrammerge ngramperplexity ngramprint ngramrandgen ngramread ngramshrink ngramsort ngramsplit ngramsymbols ngramtransfer '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin' BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramapply /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramapply BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcontext /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcontext BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcount /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcount BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngraminfo /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngraminfo BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammake /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammake BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammarginalize /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammarginalize BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammerge /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammerge BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramperplexity /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramperplexity BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramprint /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramprint BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandgen /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandgen BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramread /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramread BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramshrink /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramshrink BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsort /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsort BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsplit /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsplit BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsymbols /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsymbols BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramtransfer /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramtransfer make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' Making install in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramhisttest ngramrandtest '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin' BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' BUILDSTDERR: libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramhisttest /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramhisttest BUILDSTDERR: libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandtest /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandtest make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' 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/opengrm-ngram-1.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' + rm -f /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/hist-arc.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngram.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngramhist.la + export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramapply + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramapply -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramapply.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcontext + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcontext -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramcontext.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcount + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcount -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramcount.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramhisttest + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramhisttest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramhisttest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngraminfo + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngraminfo -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngraminfo.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammake + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammake -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammake.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammarginalize + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammarginalize -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammarginalize.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammerge + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammerge -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammerge.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramperplexity + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramperplexity -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramperplexity.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramprint + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramprint -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramprint.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandgen + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandgen -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramrandgen.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandtest + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandtest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramrandtest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramread + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramread -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramread.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramshrink + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramshrink -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramshrink.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsort + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsort -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsort.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsplit + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsplit -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsplit.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsymbols + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsymbols -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsymbols.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/* BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramtransfer + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramtransfer -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramtransfer.1 + sed -e '2s/"1" "[[:alpha:]]* [[:digit:]]*"/"1" "January 2018"/' -e 's,/builddir.*/usr/bin/,,g' -i /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramapply.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramcontext.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramcount.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramhisttest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngraminfo.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammake.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammarginalize.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngrammerge.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramperplexity.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramprint.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramrandgen.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramrandtest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramread.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramshrink.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsort.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsplit.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramsymbols.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/man/man1/ngramtransfer.1 + sed '/Faster multinomial sampling/a#define HAVE_GSL' /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include/ngram/ngram-randgen.h + touch -r /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include/ngram/ngram-randgen.h foo + mv -f foo /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/include/ngram/ngram-randgen.h + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.4-5.fc29 --unique-debug-suffix -1.3.4-5.fc29.riscv64 --unique-debug-src-base opengrm-ngram-1.3.4-5.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/opengrm-ngram-1.3.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngraminfo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammerge explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammarginalize explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandgen extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammerge extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngraminfo extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammarginalize extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandgen explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramprint extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramprint explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramread extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramread explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsymbols extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsymbols explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramhisttest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramhisttest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammake extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngrammake explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcontext extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcontext explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsort extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsort explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsplit extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramsplit explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramtransfer extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramtransfer explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramperplexity extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramperplexity explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramshrink extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramshrink explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandtest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramrandtest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramapply extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramapply explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcount extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/bin/ngramcount explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngram.so.134.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngram.so.134.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/hist-arc.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/hist-arc.so.0.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngramhist.so.134.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/lib64/libngramhist.so.134.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 21 CRC32s, 0 CRC32s did match. BUILDSTDERR: 927 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KcQOrC Processing files: opengrm-ngram-1.3.4-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bIPIdg + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + DOCDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/doc/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/doc/opengrm-ngram + cp -pr AUTHORS /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/doc/opengrm-ngram + cp -pr NEWS /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/doc/opengrm-ngram + cp -pr README /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/doc/opengrm-ngram + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6aI7sV + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/licenses/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/licenses/opengrm-ngram + cp -pr COPYING /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64/usr/share/licenses/opengrm-ngram + exit 0 Provides: libngram.so.134()(64bit) libngramhist.so.134()(64bit) opengrm-ngram = 1.3.4-5.fc29 opengrm-ngram(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libfst.so.11()(64bit) libfstscript.so.11()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-devel-1.3.4-5.fc29.riscv64 Provides: opengrm-ngram-devel = 1.3.4-5.fc29 opengrm-ngram-devel(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libngram.so.134()(64bit) libngramhist.so.134()(64bit) Processing files: opengrm-ngram-tools-1.3.4-5.fc29.riscv64 Provides: opengrm-ngram-tools = 1.3.4-5.fc29 opengrm-ngram-tools(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libfst.so.11()(64bit) libfstfar.so.11()(64bit) libfstscript.so.11()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgsl.so.23()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libngram.so.134()(64bit) libngramhist.so.134()(64bit) libopenblas.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-debugsource-1.3.4-5.fc29.riscv64 Provides: opengrm-ngram-debugsource = 1.3.4-5.fc29 opengrm-ngram-debugsource(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opengrm-ngram-debuginfo-1.3.4-5.fc29.riscv64 Provides: debuginfo(build-id) = 52c55cb2c887a41e285580dd5881f1f62bb3da4b debuginfo(build-id) = c95ce384f40f60f21d9bbd19a350ca2cb86550e8 debuginfo(build-id) = ed7968701efef4d2fe2624c74efa17ec9035e91a opengrm-ngram-debuginfo = 1.3.4-5.fc29 opengrm-ngram-debuginfo(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(riscv-64) = 1.3.4-5.fc29 Processing files: opengrm-ngram-tools-debuginfo-1.3.4-5.fc29.riscv64 Provides: debuginfo(build-id) = 086c3ca221ef995636fe7d2c7cba6b3f7e3f5514 debuginfo(build-id) = 11ecb659d8170e5d78c18d714c486e222bf2547b debuginfo(build-id) = 204500b18cdcaff3f5af35b56df5a98eb9a3379e debuginfo(build-id) = 25ef18fabad19781e87d4f74c7c162ee8d1eb9f6 debuginfo(build-id) = 278635f806cb90454697d6bfe7aa528c1bfe63aa debuginfo(build-id) = 3ab329076b4df95e664a33d8e8682db0f27783e8 debuginfo(build-id) = 5cebb594eb3a94a31d785ab3ae588d0852806822 debuginfo(build-id) = 72a950da7aaeb3a4fa924845e4634fc58dbc8668 debuginfo(build-id) = 7d90706e98bd5fe03c8fa00b6c7dd7208a502934 debuginfo(build-id) = 93e2410e9dd204f383fc8988c902511aa73acfeb debuginfo(build-id) = a446a5e3553d1029842c0228f4f0f33ca586880b debuginfo(build-id) = b555d52df0edef73bed02bb676a214354a5c4562 debuginfo(build-id) = bcff82e855d6992d51176c626ef421e3b21afb34 debuginfo(build-id) = c16ff8d6cf563ce229fe3ea97b4a9e1598431093 debuginfo(build-id) = c7f0001f1f8090a38c71dbaa5b9f62d0f1fef849 debuginfo(build-id) = ccd127acd28c8498bc65e06ff63c0611351ec61f debuginfo(build-id) = f1bd0fa11961c8169c0650979c31887afed25daf debuginfo(build-id) = fd4694d098b63744a87be91bdc46332a5954275c opengrm-ngram-tools-debuginfo = 1.3.4-5.fc29 opengrm-ngram-tools-debuginfo(riscv-64) = 1.3.4-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(riscv-64) = 1.3.4-5.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 Wrote: /builddir/build/RPMS/opengrm-ngram-1.3.4-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-devel-1.3.4-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-1.3.4-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debugsource-1.3.4-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debuginfo-1.3.4-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-debuginfo-1.3.4-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RR4k90 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-5.fc29.riscv64 + exit 0 Child return code was: 0