Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f45-build-21159-578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5fc059650fcc40b2b37e7848d024003e', '-D', '/var/lib/mock/f45-build-21159-578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/opengrm-ngram-1.3.17-3.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f45-build-21159-578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '218dc4ce1a5e4e1eb5653bcf969c784f', '-D', '/var/lib/mock/f45-build-21159-578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7_febdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.bGLTBa Creating(rpmbuild.env): /builddir/build/BUILD/opengrm-ngram-1.3.17-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/opengrm-ngram-1.3.17-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/opengrm-ngram-1.3.17-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="opengrm-ngram" RPM_PACKAGE_VERSION="1.3.17" RPM_PACKAGE_RELEASE="3.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lPauOP + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + rm -rf ngram-1.3.17 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/ngram-1.3.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngram-1.3.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UNB0aV + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.17 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL' 'LIBS=-L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas' checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... -std=gnu++11 checking dependency style of g++ -std=gnu++11... none checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-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 how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for 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++ -std=gnu++11 -std=c++17 -fno-exceptions -E checking for ld used by g++ -std=gnu++11 -std=c++17 -fno-exceptions... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ -std=gnu++11 -std=c++17 -fno-exceptions linker (/usr/bin/ld) supports shared libraries... yes checking for g++ -std=gnu++11 -std=c++17 -fno-exceptions option to produce PIC... -fPIC -DPIC checking if g++ -std=gnu++11 -std=c++17 -fno-exceptions PIC flag -fPIC -DPIC works... yes checking if g++ -std=gnu++11 -std=c++17 -fno-exceptions static flag -static works... no checking if g++ -std=gnu++11 -std=c++17 -fno-exceptions supports -c -o file.o... yes checking if g++ -std=gnu++11 -std=c++17 -fno-exceptions supports -c -o file.o... (cached) yes checking whether the g++ -std=gnu++11 -std=c++17 -fno-exceptions linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for fst/fst.h... 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 -j8 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' Making all in src make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-absolute.lo ngram-absolute.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-context.lo ngram-context.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-count.lo ngram-count.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-count-prune.lo ngram-count-prune.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-input.lo ngram-input.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-kneser-ney.lo ngram-kneser-ney.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-list-prune.lo ngram-list-prune.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-make.lo ngram-make.cc libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-absolute.cc -fPIC -DPIC -o .libs/ngram-absolute.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-make.cc -fPIC -DPIC -o .libs/ngram-make.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-count.cc -fPIC -DPIC -o .libs/ngram-count.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-context.cc -fPIC -DPIC -o .libs/ngram-context.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-kneser-ney.cc -fPIC -DPIC -o .libs/ngram-kneser-ney.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-count-prune.cc -fPIC -DPIC -o .libs/ngram-count-prune.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-input.cc -fPIC -DPIC -o .libs/ngram-input.o libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-list-prune.cc -fPIC -DPIC -o .libs/ngram-list-prune.o In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-absolute.h:26, from ./../include/ngram/ngram-kneser-ney.h:24, from ngram-kneser-ney.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngram-count-prune.cc:18: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:64:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 64 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:51:31: required from here 51 | count_of_counts_.SetCounts(fst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-count-of-counts.h:182:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-prune.h:26: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-make.h:69:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 69 | backoff_(backoff) {} | ^ ./../include/ngram/ngram-absolute.h:44:31: required from here 44 | count_of_counts_(bins_) {} | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../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]': ./../include/ngram/ngram-model.h:289:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' 289 | ret = StationaryStateProbs(probs, .999999, norm_eps_, maxiters); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:515:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' 515 | CalculateStateProbs(&probs); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-shrink.h:462:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' 462 | FillStateProbs(); // calculate p(h) | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:482:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 482 | CalculateShrinkScores(require_norm); // Calculates scores for all ngrams. | ^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:1083:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1083 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1090:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1090 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-make.h:69:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 69 | backoff_(backoff) {} | ^ ./../include/ngram/ngram-absolute.h:44:31: required from here 44 | count_of_counts_(bins_) {} | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:27: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:122:18: required from here 122 | virtual double CalculateHiOrderMass(const std::vector &discounts, | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-absolute.h:26, from ngram-absolute.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-absolute.h:26, from ngram-make.cc:30: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:51:31: required from here 51 | count_of_counts_.SetCounts(fst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-count-of-counts.h:182:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-marginalize.lo ngram-marginalize.cc ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:51:31: required from here 51 | count_of_counts_.SetCounts(fst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-count-of-counts.h:182:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-marginalize.cc -fPIC -DPIC -o .libs/ngram-marginalize.o In file included from ./../include/ngram/ngram-absolute.h:27: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:152:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]' 152 | double hi_order_mass = CalculateHiOrderMass(discounts, nlog_stored_sum); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:84:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 84 | SmoothState(st); | ^~~~~~~~~~~ ngram-absolute.cc:43:35: required from here 43 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-make.h:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = ngram::HistogramArc; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-katz.h:67:31: required from 'void ngram::NGramKatz::SetCountOfCounts(const fst::StdFst&) [with Arc = ngram::HistogramArc; fst::StdFst = fst::Fst > >]' 67 | count_of_counts_.SetCounts(fst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ngram-make.cc:129:38: required from here 129 | if (ccfst) ngram.SetCountOfCounts(*ccfst); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-count-of-counts.h:182:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ngram-context.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ngram-absolute.cc:43:35: required from here 43 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ngram-context.cc: In static member function 'static void ngram::NGramContext::ParseContextInterval(std::string_view, std::vector*, std::vector*)': ngram-context.cc:143:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 143 | for (int i = 0; i < labels1.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc:147:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 147 | for (int i = 0; i < labels2.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc: In member function 'void ngram::NGramContext::Init()': ngram-context.cc:158:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 158 | if (context_begin_.size() >= hi_order_) hi_order_ = context_begin_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ngram-count.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-context.cc:159:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 159 | if (context_end_.size() >= hi_order_) hi_order_ = context_end_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc: In function 'bool ngram::NGramWriteContexts(const std::string&, const std::vector >&)': ngram-context.cc:307:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 307 | for (int i = 0; i < contexts.size(); ++i) strm << contexts[i] << std::endl; | ~~^~~~~~~~~~~~~~~~~ In file included from ngram-make.cc:18: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:152:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]' 152 | double hi_order_mass = CalculateHiOrderMass(discounts, nlog_stored_sum); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:84:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 84 | SmoothState(st); | ^~~~~~~~~~~ ./../include/ngram/ngram-unsmoothed.h:44:68: required from here 44 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-make.h:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ngram-count.cc:38: ./../include/ngram/ngram-hist-merge.h: In member function 'ngram::NGramMerge::Weight ngram::NGramHistMerge::WeightSum(ngram::NGramMerge::Weight, ngram::NGramMerge::Weight) const': ./../include/ngram/ngram-hist-merge.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int k = 0; k < v.size() - 1; k++) { | ~~^~~~~~~~~~~~~~ ngram-count.cc: In function 'void ngram::RoundCountsToInt(fst::StdMutableFst*)': ngram-count.cc:46:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] 46 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ngram-absolute.cc:43:35: required from here 43 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-make.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-unsmoothed.h:44:68: required from here 44 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ./../include/ngram/ngram-input.h:35, from ngram-input.cc:16: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-make.h:152:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = ngram::HistogramArc; StateId = int]' 152 | double hi_order_mass = CalculateHiOrderMass(discounts, nlog_stored_sum); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:84:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' 84 | SmoothState(st); | ^~~~~~~~~~~ ./../include/ngram/ngram-katz.h:62:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' 62 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ngram-make.cc:130:30: required from here 130 | if (!ngram.MakeNGramModel()) { | ~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-make.h:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-katz.h:62:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' 62 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ngram-make.cc:130:30: required from here 130 | if (!ngram.MakeNGramModel()) { | ~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ngram-input.cc: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(const std::vector >&, const std::vector&, const std::vector&, StateId)': ngram-input.cc:185:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 185 | for (auto i = 0; i < words.size() - 2; ++i) { | ~~^~~~~~~~~~~~~~~~~~ ngram-input.cc:190:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 190 | if (last_labels.size() <= i || label != last_labels[i]) { | ~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-unsmoothed.h:44:68: required from here 44 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ngram-input.cc:450:24: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 450 | while (nextstate >= boweights->size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'void ngram::NGramInput::SetARPABackoffWeights(const std::vector&)': ngram-input.cc:503:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 503 | if (st < boweights.size()) { | ~~~^~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ngram-input.cc:587:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 587 | for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order | ~~^~~~~~~~~~~~~~~ ngram-input.cc: In member function 'void ngram::NGramInput::AddBackoffAndCycles(StateId, Label)': ngram-input.cc:680:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 680 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc:685:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 685 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In static member function 'static int ngram::NGramInput::UpdateLast(const std::vector >&, int, std::vector*, std::vector*, Label, StateId)': ngram-input.cc:761:20: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 761 | if (words.size() > longest_ngram + 1) { // Adds a dimension to vectors. | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'bool ngram::NGramInput::CompileSymbolTable(bool)': ngram-input.cc:839:31: warning: 'bool fst::SymbolTable::WriteText(std::ostream&, std::string_view) const' is deprecated: Use `WriteTextWithStatus` instead. [-Wdeprecated-declarations] 839 | if (output) syms_->WriteText(ostrm_); | ~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/fst/fst.h:48, from ./../include/ngram/ngram-input.h:31: /usr/include/fst/symbol-table.h:503:8: note: declared here 503 | bool WriteText(std::ostream& strm, std::string_view sep = "") const { | ^~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-katz.h:62:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' 62 | return NGramMake::MakeNGramModel(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ngram-make.cc:130:30: required from here 130 | if (!ngram.MakeNGramModel()) { | ~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-hist-merge.h:26: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:96:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 96 | if (!MergeWordLists()) return false; // merge symbol tables | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:186:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 186 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../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] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:229: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] 229 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:235:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 235 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:242:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 242 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:98:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:347:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:380:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 380 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:384:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 384 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:398:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:101:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 101 | NormStates(); // normalization | ^~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../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]': ngram-input.cc:358:41: required from here 358 | return ngram_counter->NGramNextState(arc_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-count.h:207: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] 207 | if (arc_id < 0 || arc_id >= arcs_.size()) return -1; | ~~~~~~~^~~~~~~~~~~~~~~ ./../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]': ngram-input.cc:427:41: required from here 427 | ngram_counter->SetFinalNGramWeight(st, nlprob); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-count.h:213: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] 213 | if (state_id < 0 || state_id >= states_.size()) return false; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ ./../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]': ngram-input.cc:436:36: required from here 436 | ngram_counter->SetNGramWeight(arc_id, nlprob); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h:233: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] 233 | if (arc_id < 0 || arc_id >= arcs_.size()) return false; | ~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::CountFromTopSortedFst(const fst::Fst&) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]': ./../include/ngram/ngram-count.h:85:35: required from 'bool ngram::NGramCounter::Count(const fst::Fst&) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]' 85 | return CountFromTopSortedFst(fst); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ngram-count.cc:94:35: required from here 94 | counted = ngram_counter->Count(*ifst); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./../include/ngram/ngram-count.h:453:10: warning: variable 'i' set but not used [-Wunused-but-set-variable=] 453 | size_t i = 0; | ^ In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ./../include/ngram/ngram-input.h:35, from ngram-list-prune.cc:24: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::CountFromTopSortedFst(const fst::Fst&) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]': ./../include/ngram/ngram-count.h:115:33: required from 'bool ngram::NGramCounter::Count(fst::MutableFst*) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]' 115 | return CountFromTopSortedFst(*fst); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ngram-count.cc:98:35: required from here 98 | counted = ngram_counter->Count(&log_ifst); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./../include/ngram/ngram-count.h:453:10: warning: variable 'i' set but not used [-Wunused-but-set-variable=] 453 | size_t i = 0; | ^ ngram-list-prune.cc: In function 'void ngram::GetNGramListToPrune(const std::vector >&, const fst::SymbolTable*, std::set >*, bool)': ngram-list-prune.cc:47:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for (int i = 0; i < ngram_words.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:267:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]' 267 | if (!bo_from1 && first_setup) MergeBackedOffToMap(); | ^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:327:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 327 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = ngram::HistogramArc; StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:350:20: required from 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]' 350 | UpdateState(st, ngram2_->StateOrder(ist), false, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | check_consistency_ ? &(ngram2_->StateNGram(ist)) : nullptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:98:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:458: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] 458 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:465: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] 465 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:124:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' 124 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*) [with Arc = fst::ArcTpl >]' 72 | mutable_fst_(infst) {} | ^ ngram-input.cc:613:48: required from here 613 | NGramMutableModel ngram_model(fst_.get()); | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:124:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' 124 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*) [with Arc = fst::ArcTpl >]' 72 | mutable_fst_(infst) {} | ^ ngram-input.cc:613:48: required from here 613 | NGramMutableModel ngram_model(fst_.get()); | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-list-prune.h:32, from ngram-list-prune.cc:16: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../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]': ./../include/ngram/ngram-model.h:289:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' 289 | ret = StationaryStateProbs(probs, .999999, norm_eps_, maxiters); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:515:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' 515 | CalculateStateProbs(&probs); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-shrink.h:462:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' 462 | FillStateProbs(); // calculate p(h) | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:482:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 482 | CalculateShrinkScores(require_norm); // Calculates scores for all ngrams. | ^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:1083:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1083 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1090:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1090 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngram-count.cc:37: ./../include/ngram/hist-mapper.h: In instantiation of 'ngram::ToHistogramMapper::ToArc ngram::ToHistogramMapper::operator()(const Arc&) const [with Arc = fst::ArcTpl >; ToArc = ngram::HistogramArc]': /usr/include/fst/arc-map.h:260:32: required from 'void fst::ArcMap(const Fst&, MutableFst*, C*) [with A = ArcTpl >; B = ngram::HistogramArc; C = ngram::ToHistogramMapper > >]' 260 | ofst->AddArc(s, (*mapper)(aiter.Value())); | ~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/fst/arc-map.h:310:9: required from 'void fst::ArcMap(const Fst&, MutableFst*, C) [with A = ArcTpl >; B = ngram::HistogramArc; C = ngram::ToHistogramMapper > >]' 310 | ArcMap(ifst, ofst, &mapper); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ngram-count.cc:148:13: required from here 148 | ArcMap(in_fst, fst, ToHistogramMapper()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/hist-mapper.h:88:15: warning: comparison of integer expressions of different signedness: 'const int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | if (index < weights.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/hist-mapper.h:91:24: warning: comparison of integer expressions of different signedness: 'const int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | if (index && index < weights.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-merge.h:91:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 91 | ngram2_.reset(new NGramModel(infst2, BackoffLabel(), NormEps(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | check_consistency_)); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'void ngram::NGramMarginal::SetArcIndices(StateId, bool)': ngram-marginalize.cc:127: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] 127 | while (indices_.size() <= arc.ilabel + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'int ngram::NGramMarginal::GetCurrentArcIndex(int)': ngram-marginalize.cc:137:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | while (indices_.size() <= label + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-marginalize.h:25, from ngram-marginalize.cc:18: ./../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]': ./../include/ngram/ngram-model.h:289:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' 289 | ret = StationaryStateProbs(probs, .999999, norm_eps_, maxiters); | ^~~~~~~~~~~~~~~~~~~~ ngram-marginalize.cc:51:39: required from here 51 | if (!NGramModel::CalculateStateProbs(&weights, false)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:1083:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1083 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1090:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1090 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-merge.h:91:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' 91 | ngram2_.reset(new NGramModel(infst2, BackoffLabel(), NormEps(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | check_consistency_)); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-output.lo ngram-output.cc ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-marginalize.h:44:39: required from here 44 | max_bo_updates_(max_bo_updates) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-output.cc -fPIC -DPIC -o .libs/ngram-output.o ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-marginalize.h:44:39: required from here 44 | max_bo_updates_(max_bo_updates) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-shrink.lo ngram-shrink.cc libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-shrink.cc -fPIC -DPIC -o .libs/ngram-shrink.o ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o util.lo util.cc libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c util.cc -fPIC -DPIC -o .libs/util.o In file included from ./../include/ngram/ngram-context-prune.h:25, from ngram-shrink.cc:25: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-prune.h:26: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:64:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 64 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ngram-shrink.cc:16: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-relentropy.h:53:31: required from here 53 | theta_ = ThetaForMaxNGrams(target_number_of_ngrams, min_order); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:782:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 782 | while (threshold_index < scores.size() && scores[threshold_index] == theta) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:785:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 785 | if (threshold_index >= scores.size()) { // Sets theta more than max. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./../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]': ./../include/ngram/ngram-shrink.h:764:21: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' 764 | NGramShrink::GetNGramsAndOrScoresMinOrder(nullptr, &scores, min_order); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-relentropy.h:53:31: required from here 53 | theta_ = ThetaForMaxNGrams(target_number_of_ngrams, min_order); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:625:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 625 | } else if (state_ngram.size() < min_order - 1) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-shrink.h:35: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../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]': ./../include/ngram/ngram-model.h:289:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' 289 | ret = StationaryStateProbs(probs, .999999, norm_eps_, maxiters); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:515:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' 515 | CalculateStateProbs(&probs); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-shrink.h:462:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' 462 | FillStateProbs(); // calculate p(h) | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:482:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 482 | CalculateShrinkScores(require_norm); // Calculates scores for all ngrams. | ^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:1083:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1083 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1090:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1090 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-count-prune.h:74:54: required from here 74 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 75 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o hist-arc.lo hist-arc.cc libtool: compile: g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c hist-arc.cc -fPIC -DPIC -o .libs/hist-arc.o In file included from ./../include/ngram/ngram-output.h:35, from ngram-output.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-output.cc: In member function 'bool ngram::NGramOutput::PerplexityNGramModel(const std::vector > > > >&, int32_t, bool, std::string*, double, double)': ngram-output.cc:123: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] 123 | for (StateId i = 0; i < infsts.size(); ++i) | ~~^~~~~~~~~~~~~~~ ngram-output.cc: In member function 'void ngram::NGramOutput::RandNGramModel(int64_t, bool) const': ngram-output.cc:525:51: warning: variable 'nextstate' set but not used [-Wunused-but-set-variable=] 525 | StateId st = GetFst().Start(), hi_state = -1, nextstate; | ^~~~~~~~~ ngram-output.cc:526:11: warning: variable 'lbl' set but not used [-Wunused-but-set-variable=] 526 | Label lbl; | ^~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:834:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ ngram-input.cc: In member function 'void ngram::NGramInput::FillARPAHoles()': ngram-input.cc:566:31: warning: 'boprob' may be used uninitialized [-Wmaybe-uninitialized] 566 | arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc:556:12: note: 'boprob' was declared here 556 | double boprob; | ^~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:730:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here 710 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -version-info 1317:0:0 -lfst -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libngram.la -rpath /usr/lib64 ngram-absolute.lo ngram-context.lo ngram-count.lo ngram-count-prune.lo ngram-input.lo ngram-kneser-ney.lo ngram-list-prune.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 -lflexiblas libtool: link: g++ -Wl,--as-needed -std=gnu++11 -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/16/crti.o /usr/lib/gcc/riscv64-redhat-linux/16/crtbeginS.o .libs/ngram-absolute.o .libs/ngram-context.o .libs/ngram-count.o .libs/ngram-count-prune.o .libs/ngram-input.o .libs/ngram-kneser-ney.o .libs/ngram-list-prune.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 -lflexiblas -L/usr/lib/gcc/riscv64-redhat-linux/16 -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 -L/lib -L/usr/lib -lstdc++ -lm -latomic_asneeded -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/16/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/16/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -g -grecord-gcc-switches -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngram.so.1317 -o .libs/libngram.so.1317.0.0 libtool: link: (cd ".libs" && rm -f "libngram.so.1317" && ln -s "libngram.so.1317.0.0" "libngram.so.1317") libtool: link: (cd ".libs" && rm -f "libngram.so" && ln -s "libngram.so.1317.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++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -version-info 1317:0:0 -lfst -lfstscript -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libngramhist.la -rpath /usr/lib64 hist-arc.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -module -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o hist-arc.la -rpath /usr/lib64 hist-arc.lo -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -Wl,--as-needed -std=gnu++11 -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/16/crti.o /usr/lib/gcc/riscv64-redhat-linux/16/crtbeginS.o .libs/hist-arc.o -L/usr/lib64/fst -lfst -lgsl -lflexiblas -L/usr/lib/gcc/riscv64-redhat-linux/16 -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 -L/lib -L/usr/lib -lstdc++ -lm -latomic_asneeded -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/16/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/16/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -g -grecord-gcc-switches -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -std=gnu++11 -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/16/crti.o /usr/lib/gcc/riscv64-redhat-linux/16/crtbeginS.o .libs/hist-arc.o -lfstscript -ldl -L/usr/lib64/fst -lfst -lgsl -lflexiblas -L/usr/lib/gcc/riscv64-redhat-linux/16 -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 -L/lib -L/usr/lib -lstdc++ -lm -latomic_asneeded -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/16/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/16/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -g -grecord-gcc-switches -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngramhist.so.1317 -o .libs/libngramhist.so.1317.0.0 libtool: link: (cd ".libs" && rm -f "libngramhist.so.1317" && ln -s "libngramhist.so.1317.0.0" "libngramhist.so.1317") libtool: link: (cd ".libs" && rm -f "libngramhist.so" && ln -s "libngramhist.so.1317.0.0" "libngramhist.so") libtool: link: ( cd ".libs" && rm -f "libngramhist.la" && ln -s "../libngramhist.la" "libngramhist.la" ) 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" ) make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramapply.o ngramapply.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramapply-main.o ngramapply-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcontext.o ngramcontext.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcontext-main.o ngramcontext-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcount.o ngramcount.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcount-main.o ngramcount-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngraminfo.o ngraminfo.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngraminfo-main.o ngraminfo-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammake.o ngrammake.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammake-main.o ngrammake-main.cc In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ngramcount-main.cc:33: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-count.h:519:19: required from ‘void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, std::string_view) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string_view = std::basic_string_view]’ 519 | NGramModel ngram(fst, 0, kNormEps, !context_pattern.empty()); | ^~~~~ ngramcount-main.cc:131:48: required from here 131 | ngram::GetNGramCountOfCounts( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 132 | *fst, &ccfst, FST_FLAGS_order, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | FST_FLAGS_context_pattern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-count.h:519:19: required from ‘void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, std::string_view) [with Arc = HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string_view = std::basic_string_view]’ 519 | NGramModel ngram(fst, 0, kNormEps, !context_pattern.empty()); | ^~~~~ ngramcount-main.cc:138:56: required from here 138 | ngram::GetNGramCountOfCounts( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 139 | *fst, &ccfst, FST_FLAGS_order, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | FST_FLAGS_context_pattern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-count.h:519:19: required from ‘void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, std::string_view) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string_view = std::basic_string_view]’ 519 | NGramModel ngram(fst, 0, kNormEps, !context_pattern.empty()); | ^~~~~ ngramcount-main.cc:131:48: required from here 131 | ngram::GetNGramCountOfCounts( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 132 | *fst, &ccfst, FST_FLAGS_order, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | FST_FLAGS_context_pattern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-count.h:519:19: required from ‘void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, std::string_view) [with Arc = HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string_view = std::basic_string_view]’ 519 | NGramModel ngram(fst, 0, kNormEps, !context_pattern.empty()); | ^~~~~ ngramcount-main.cc:138:56: required from here 138 | ngram::GetNGramCountOfCounts( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 139 | *fst, &ccfst, FST_FLAGS_order, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | FST_FLAGS_context_pattern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammarginalize.o ngrammarginalize.cc ngraminfo-main.cc: In function ‘void ngram::PrintNGramInfo(const NGramModel > >&, std::ostream&)’: ngraminfo-main.cc:47:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ngram::NGramModel > >::StateId’ {aka ‘int’} [-Wsign-compare] 47 | for (size_t s = 0; s < ngram.NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from ngraminfo-main.cc:33: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ngraminfo-main.cc:88:49: required from here 88 | ostrm << "well-formed" << (ngram.CheckTopology() ? 'y' : 'n') << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ngraminfo-main.cc:88:49: required from here 88 | ostrm << "well-formed" << (ngram.CheckTopology() ? 'y' : 'n') << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramcontext-main.cc:25: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammarginalize-main.o ngrammarginalize-main.cc ./../include/ngram/ngram-context.h: In instantiation of ‘static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]’: ngramcontext-main.cc:50:36: required from here 50 | ngram::NGramContext::FindContexts(ngram, FST_FLAGS_contexts, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | &contexts, | ~~~~~~~~~~ 52 | FST_FLAGS_bigram_threshold); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:123:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 123 | for (int i = 0; i < begin_contexts.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~ ./../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]’: ./../include/ngram/ngram-context.h:120:17: required from ‘static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]’ 120 | FindContexts(model, ncontexts, &begin_contexts, &end_contexts, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | bigram_thresh); | ~~~~~~~~~~~~~~ ngramcontext-main.cc:50:36: required from here 50 | ngram::NGramContext::FindContexts(ngram, FST_FLAGS_contexts, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | &contexts, | ~~~~~~~~~~ 52 | FST_FLAGS_bigram_threshold); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:347:42: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 347 | (bin_count + delta1) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:376:46: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 376 | (bin_count + delta2) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ngramcontext-main.cc:48:73: required from here 48 | ngram::NGramModel ngram(*in_fst, 0, ngram::kNormEps, true); | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:35, from ngramapply-main.cc:34: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ngramcontext-main.cc:48:73: required from here 48 | ngram::NGramModel ngram(*in_fst, 0, ngram::kNormEps, true); | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-marginalize.h:25, from ngrammarginalize-main.cc:24: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-marginalize.h:44:39: required from here 44 | max_bo_updates_(max_bo_updates) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-marginalize.h:44:39: required from here 44 | max_bo_updates_(max_bo_updates) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function ‘double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:730:7: warning: ‘barc.fst::ArcTpl >::ilabel’ may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: ‘barc.fst::ArcTpl >::ilabel’ was declared here 710 | Arc barc; | ^~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammerge.o ngrammerge.cc ./../include/ngram/ngram-model.h: In member function ‘double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:730:7: warning: ‘barc.fst::ArcTpl >::ilabel’ may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: ‘barc.fst::ArcTpl >::ilabel’ was declared here 710 | Arc barc; | ^~~~ In file included from ./../include/ngram/lexicographic-map.h:40, from ngramapply-main.cc:33: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammerge-main.o ngrammerge-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramperplexity.o ngramperplexity.cc ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramperplexity-main.o ngramperplexity-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramprint.o ngramprint.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramprint-main.o ngramprint-main.cc In file included from ngrammerge-main.cc:29: ./../include/ngram/ngram-bayes-model-merge.h: In member function ‘double ngram::NGramBayesModelMerge::StateAlpha(StateId) const’: ./../include/ngram/ngram-bayes-model-merge.h:89: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] 89 | while (st >= state_alpha_.size()) state_alpha_.push_back(-1.0); | ~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:25, from ngrammerge-main.cc:31: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngrammerge-main.cc:34: ./../include/ngram/ngram-hist-merge.h: In member function ‘ngram::NGramMerge::Weight ngram::NGramHistMerge::WeightSum(ngram::NGramMerge::Weight, ngram::NGramMerge::Weight) const’: ./../include/ngram/ngram-hist-merge.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::array, 7>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int k = 0; k < v.size() - 1; k++) { | ~~^~~~~~~~~~~~~~ ngrammerge-main.cc: In function ‘bool {anonymous}::GetContexts(int, std::vector >*)’: ngrammerge-main.cc:87:24: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 87 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngrammerge-main.cc: In function ‘void {anonymous}::RoundCountsToInt(fst::StdMutableFst*)’: ngrammerge-main.cc:98:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘fst::ExpandedFst > >::StateId’ {aka ‘int’} [-Wsign-compare] 98 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:35, from ngramprint-main.cc:28: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-merge.h:30, from ./../include/ngram/ngram-bayes-model-merge.h:27: ./../include/ngram/ngram-model.h: In instantiation of ‘ngram::NGramModel::Weight ngram::NGramModel::GetNGramCost(const std::vector&) const [with Arc = fst::ArcTpl >; Weight = fst::TropicalWeightTpl; typename Arc::Label = int; typename Arc::Label = int]’: ./../include/ngram/ngram-bayes-model-merge.h:94:43: required from here 94 | double w1 = ScalarValue(GetNGramCost(ngram)); | ~~~~~~~~~~~~^~~~~~~ ./../include/ngram/ngram-model.h:384:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for (int n = 0; n < ngram.size(); ++n) { | ~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:388:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 388 | if (n != ngram.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-merge.h:96:10: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 96 | if (!MergeWordLists()) return false; // merge symbol tables | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:186:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-merge.h:97:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../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] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:229: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] 229 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:235:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:242:27: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-merge.h:98:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:347:31: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 347 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:380:33: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 380 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:384:18: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandgen.o ngramrandgen.cc ./../include/ngram/ngram-merge.h:398:33: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 398 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-merge.h:101:7: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 101 | NormStates(); // normalization | ^~~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘bool ngram::NGramMerge::MergeWordLists() [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-merge.h:96:10: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 96 | if (!MergeWordLists()) return false; // merge symbol tables | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:186:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandgen-main.o ngramrandgen-main.cc ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-merge.h:97:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../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] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:229: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] 229 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:235:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 235 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:242:27: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-merge.h:98:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:347:31: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 347 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:380:33: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 380 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:384:18: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:398:33: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 398 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::NormStates() [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-merge.h:101:7: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 101 | NormStates(); // normalization | ^~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-replace-merge.h:133:14: required from here 133 | InitModel(); | ~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ngrammerge-main.cc:30: ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’: ngrammerge-main.cc:71:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]’ 71 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngrammerge-main.cc:145:30: required from here 145 | if (!ReadFst(argv[1], &fst1)) return 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’: ngrammerge-main.cc:71:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]’ 71 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngrammerge-main.cc:216:38: required from here 216 | if (!ReadFst(argv[1], &hist_fst1)) return 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-merge.h:267:35: required from ‘void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]’ 267 | if (!bo_from1 && first_setup) MergeBackedOffToMap(); | ^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:97:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:327:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge > >::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 327 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; StateId = int; typename Arc::Label = int; typename Arc::Label = int]’: ./../include/ngram/ngram-merge.h:350:20: required from ‘void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]’ 350 | UpdateState(st, ngram2_->StateOrder(ist), false, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | check_consistency_ ? &(ngram2_->StateNGram(ist)) : nullptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:98:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]’ 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-bayes-model-merge.h:64:51: required from here 64 | if (!NGramMerge::MergeNGramModels(infst2, true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:458: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] 458 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:465: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] 465 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-merge.h: In instantiation of ‘void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-merge.h:267:35: required from ‘void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]’ 267 | if (!bo_from1 && first_setup) MergeBackedOffToMap(); | ^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:97:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 97 | SetupMergeMaps(); // setup state mappings between two FSTs | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:327:29: warning: comparison of integer expressions of different signedness: ‘ngram::NGramMerge::StateId’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 327 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = ngram::HistogramArc; StateId = int; typename Arc::Label = int; typename Arc::Label = int]’: ./../include/ngram/ngram-merge.h:350:20: required from ‘void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]’ 350 | UpdateState(st, ngram2_->StateOrder(ist), false, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | check_consistency_ ? &(ngram2_->StateNGram(ist)) : nullptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:98:5: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 98 | MergeFsts(max_order); // combines Fsts; not necessarily normalized | ^~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:458: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] 458 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:465: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] 465 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../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 Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngrammerge-main.cc:71:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]’ 71 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngrammerge-main.cc:145:30: required from here 145 | if (!ReadFst(argv[1], &fst1)) return 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../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 = HistogramArc; typename Arc::Label = int; typename Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngrammerge-main.cc:71:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]’ 71 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngrammerge-main.cc:216:38: required from here 216 | if (!ReadFst(argv[1], &hist_fst1)) return 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-merge.h:91:19: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 91 | ngram2_.reset(new NGramModel(infst2, BackoffLabel(), NormEps(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | check_consistency_)); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-replace-merge.h:133:14: required from here 133 | InitModel(); | ~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:35, from ngramperplexity-main.cc:32: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-merge.h:91:19: required from ‘bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]’ 91 | ngram2_.reset(new NGramModel(infst2, BackoffLabel(), NormEps(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | check_consistency_)); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-hist-merge.h:51:38: required from here 51 | if (!NGramMerge::MergeNGramModels(infst2, norm)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramread.o ngramread.cc In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-mutable-model.h:60:27: required from ‘ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]’ 60 | mutable_fst_(infst) {} | ^ ./../include/ngram/ngram-output.h:63:44: required from here 63 | context_(context_pattern, HiOrder()) { | ^ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramrandgen-main.cc: In function ‘void {anonymous}::CreateStringFstFromPath(std::vector*, fst::StdVectorFst*)’: ngramrandgen-main.cc:72:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | for (int i = 0; i < labels->size(); i++) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramread-main.o ngramread-main.cc In file included from ngramrandgen-main.cc:34: ./../include/ngram/ngram-randgen.h: In instantiation of ‘bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]’: /usr/include/fst/randgen.h:525:21: required from ‘void fst::internal::RandGenFstImpl::Expand(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; StateId = int]’ 525 | sampler_->Sample(rstate); | ~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/randgen.h:480:23: required from ‘fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; ToWeight = fst::TropicalWeightTpl; StateId = int]’ 480 | if (!HasFinal(s)) Expand(s); | ^~~~~~ /usr/include/fst/impl-to-fst.h:51:63: required from ‘fst::ImplToFst::Weight fst::ImplToFst::Final(StateId) const [with I = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; Weight = fst::TropicalWeightTpl; StateId = int]’ 51 | Weight Final(StateId s) const override { return impl_->Final(s); } | ~~~~~~~~~~~~^~~ /usr/include/fst/impl-to-fst.h:51:10: required from here 51 | Weight Final(StateId s) const override { return impl_->Final(s); } | ^~~~~ ./../include/ngram/ngram-randgen.h:131:23: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare] 131 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramshrink.o ngramshrink.cc In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ./../include/ngram/ngram-input.h:35, from ngramread-main.cc:26: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramshrink-main.o ngramshrink-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsort.o ngramsort.cc In file included from ./../include/ngram/ngram-list-prune.h:32, from ngramshrink-main.cc:28: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from ‘bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]’ 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../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]’: ./../include/ngram/ngram-model.h:289:13: required from ‘bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]’ 289 | ret = StationaryStateProbs(probs, .999999, norm_eps_, maxiters); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:515:22: required from ‘void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]’ 515 | CalculateStateProbs(&probs); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/ngram/ngram-shrink.h:462:5: required from ‘void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]’ 462 | FillStateProbs(); // calculate p(h) | ^~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:482:3: required from ‘bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]’ 482 | CalculateShrinkScores(require_norm); // Calculates scores for all ngrams. | ^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:1083:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const ngram::NGramModel > >::StateId’ {aka ‘const int’} [-Wsign-compare] 1083 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1090:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const ngram::NGramModel > >::StateId’ {aka ‘const int’} [-Wsign-compare] 1090 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:498:12: required from ‘bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]’ 498 | InitModel(); // re-calcs state info | ~~~~~~~~~^~ ./../include/ngram/ngram-list-prune.h:64:54: required from here 64 | return NGramShrink::ShrinkNGramModel( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 65 | /*require_norm=*/false, min_order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsort-main.o ngramsort-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsplit.o ngramsplit.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsplit-main.o ngramsplit-main.cc ./../include/ngram/ngram-model.h: In member function ‘double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:730:7: warning: ‘barc.fst::ArcTpl >::ilabel’ may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: ‘barc.fst::ArcTpl >::ilabel’ was declared here 710 | Arc barc; | ^~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsymbols.o ngramsymbols.cc In file included from ./../include/ngram/ngram-mutable-model.h:30, from ngramsort-main.cc:25: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ngramsort-main.cc:56:20: required from here 56 | ngramlm.InitModel(); | ~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ngramsort-main.cc:56:20: required from here 56 | ngramlm.InitModel(); | ~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit-main.cc:33: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit-main.cc:32: ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’: ngramsplit-main.cc:117:51: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 117 | (FST_FLAGS_complete && !ngram::NGramComplete(fst.get()))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngramsplit-main.cc:167:46: required from here 167 | return CountOrHistogramSplit(in_name, context_patterns, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | out_name_prefix, | ~~~~~~~~~~~~~~~~ 169 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’: ngramsplit-main.cc:117:51: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 117 | (FST_FLAGS_complete && !ngram::NGramComplete(fst.get()))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngramsplit-main.cc:171:54: required from here 171 | return CountOrHistogramSplit( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 172 | in_name, context_patterns, out_name_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../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 Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngramsplit-main.cc:117:51: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 117 | (FST_FLAGS_complete && !ngram::NGramComplete(fst.get()))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngramsplit-main.cc:167:46: required from here 167 | return CountOrHistogramSplit(in_name, context_patterns, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | out_name_prefix, | ~~~~~~~~~~~~~~~~ 169 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ngramsplit-main.cc:34: ./../include/ngram/ngram-split.h: In instantiation of ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’: ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:167:46: required from here 167 | return CountOrHistogramSplit(in_name, context_patterns, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | out_name_prefix, | ~~~~~~~~~~~~~~~~ 169 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../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] 103 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../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 = HistogramArc; typename Arc::Label = int; typename Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngramsplit-main.cc:117:51: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 117 | (FST_FLAGS_complete && !ngram::NGramComplete(fst.get()))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngramsplit-main.cc:171:54: required from here 171 | return CountOrHistogramSplit( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 172 | in_name, context_patterns, out_name_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-split.h: In instantiation of ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’: ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:171:54: required from here 171 | return CountOrHistogramSplit( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 172 | in_name, context_patterns, out_name_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../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] 103 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:29: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-split.h:99:7: required from ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 99 | : model_(fst, backoff_label, norm_eps, true), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:167:46: required from here 167 | return CountOrHistogramSplit(in_name, context_patterns, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | out_name_prefix, | ~~~~~~~~~~~~~~~~ 169 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-split.h:99:7: required from ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 99 | : model_(fst, backoff_label, norm_eps, true), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:171:54: required from here 171 | return CountOrHistogramSplit( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 172 | in_name, context_patterns, out_name_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-split.h:99:7: required from ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 99 | : model_(fst, backoff_label, norm_eps, true), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:167:46: required from here 167 | return CountOrHistogramSplit(in_name, context_patterns, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | out_name_prefix, | ~~~~~~~~~~~~~~~~ 169 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-split.h:99:7: required from ‘ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 99 | : model_(fst, backoff_label, norm_eps, true), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:50:26: required from ‘bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 50 | ngram::NGramSplit split(*fst, context_patterns, | ^~~~~ ngramsplit-main.cc:123:23: required from ‘bool {anonymous}::CountOrHistogramSplit(std::string_view, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; std::string = std::__cxx11::basic_string]’ 123 | return SplitToFsts(fst.get(), context_patterns, out_name_prefix); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramsplit-main.cc:171:54: required from here 171 | return CountOrHistogramSplit( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 172 | in_name, context_patterns, out_name_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | FST_FLAGS_far_type); | ~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsymbols-main.o ngramsymbols-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramtransfer.o ngramtransfer.cc In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-count.h:38, from ./../include/ngram/ngram-input.h:35, from ngramsymbols-main.cc:26: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramrandgen-main.cc:29: In destructor ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = fst::FarWriter > >]’ at /usr/include/c++/16/bits/unique_ptr.h:92:2, inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = fst::FarWriter > >; _Dp = std::default_delete > > >]’ at /usr/include/c++/16/bits/unique_ptr.h:408:17, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:157:1: /usr/include/fst/extensions/far/far.h:229:3: warning: array subscript ‘fst::FstFarWriter > >::__as_base [0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds=] 229 | ~FstFarWriter() final = default; | ^ In static member function ‘static fst::STListFarWriter* fst::STListFarWriter::Create(std::string_view) [with A = fst::ArcTpl >]’, inlined from ‘static fst::FarWriter* fst::FarWriter::Create(std::string_view, fst::FarType) [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:246:42, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:128:39: /usr/include/fst/extensions/far/far.h:185:12: note: object of size 16 allocated by ‘operator new’ 185 | return new STListFarWriter(writer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/16/string:58, from /usr/include/c++/16/bits/locale_classes.h:43, from /usr/include/c++/16/bits/ios_base.h:43, from /usr/include/c++/16/ios:46, from /usr/include/c++/16/istream:42, from /usr/include/c++/16/sstream:42, from ngramrandgen-main.cc:24: In member function ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’, inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/16/bits/basic_string.h:920:19, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = fst::FarWriter > >]’ at /usr/include/c++/16/bits/unique_ptr.h:92:2, inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = fst::FarWriter > >; _Dp = std::default_delete > > >]’ at /usr/include/c++/16/bits/unique_ptr.h:408:17, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:157:1: /usr/include/c++/16/bits/basic_string.h:298:21: warning: array subscript ‘std::__cxx11::basic_string[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds=] 298 | _M_destroy(_M_allocated_capacity); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static fst::STListFarWriter* fst::STListFarWriter::Create(std::string_view) [with A = fst::ArcTpl >]’, inlined from ‘static fst::FarWriter* fst::FarWriter::Create(std::string_view, fst::FarType) [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:246:42, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:128:39: /usr/include/fst/extensions/far/far.h:185:12: note: at offset 8 into object of size 16 allocated by ‘operator new’ 185 | return new STListFarWriter(writer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’, inlined from ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/16/bits/basic_string.h:297:18, inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ at /usr/include/c++/16/bits/basic_string.h:920:19, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = fst::FarWriter > >]’ at /usr/include/c++/16/bits/unique_ptr.h:92:2, inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = fst::FarWriter > >; _Dp = std::default_delete > > >]’ at /usr/include/c++/16/bits/unique_ptr.h:408:17, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:157:1: /usr/include/c++/16/bits/basic_string.h:281:17: warning: array subscript ‘const std::__cxx11::basic_string[0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds=] 281 | if (_M_string_length > _S_local_capacity) | ^~~~~~~~~~~~~~~~ In static member function ‘static fst::STListFarWriter* fst::STListFarWriter::Create(std::string_view) [with A = fst::ArcTpl >]’, inlined from ‘static fst::FarWriter* fst::FarWriter::Create(std::string_view, fst::FarType) [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:246:42, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:128:39: /usr/include/fst/extensions/far/far.h:185:12: note: at offset 8 into object of size 16 allocated by ‘operator new’ 185 | return new STListFarWriter(writer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In destructor ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = fst::FarWriter > >]’ at /usr/include/c++/16/bits/unique_ptr.h:92:2, inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = fst::FarWriter > >; _Dp = std::default_delete > > >]’ at /usr/include/c++/16/bits/unique_ptr.h:408:17, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:157:1: /usr/include/fst/extensions/far/far.h:229:3: warning: array subscript ‘fst::FstFarWriter > >::__as_base [0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds=] 229 | ~FstFarWriter() final = default; | ^ In static member function ‘static fst::STListFarWriter* fst::STListFarWriter::Create(std::string_view) [with A = fst::ArcTpl >]’, inlined from ‘static fst::FarWriter* fst::FarWriter::Create(std::string_view, fst::FarType) [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:246:42, inlined from ‘int ngramrandgen_main(int, char**)’ at ngramrandgen-main.cc:128:39: /usr/include/fst/extensions/far/far.h:185:12: note: object of size 16 allocated by ‘operator new’ 185 | return new STListFarWriter(writer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramtransfer-main.o ngramtransfer-main.cc /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramcontext ngramcontext.o ngramcontext-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramcontext ngramcontext.o ngramcontext-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramcount ngramcount.o ngramcount-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramcount ngramcount.o ngramcount-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas In file included from ngramtransfer-main.cc:29: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngraminfo ngraminfo.o ngraminfo-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas ngramtransfer-main.cc: In function ‘bool {anonymous}::GetContexts(int, std::vector >*)’: ngramtransfer-main.cc:68:24: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 68 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngraminfo ngraminfo.o ngraminfo-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammake ngrammake.o ngrammake-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammake ngrammake.o ngrammake-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas In file included from ngramtransfer-main.cc:28: ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’: ngramtransfer-main.cc:51:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]’ 51 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngramtransfer-main.cc:78:20: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 78 | if (!ReadFst(argv[FST_FLAGS_index + 1], &index_fst)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:153:39: required from here 153 | if (!Transfer(out_name_prefix, in_count, argv)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammarginalize ngrammarginalize.o ngrammarginalize-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammarginalize ngrammarginalize.o ngrammarginalize-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas ./../include/ngram/ngram-complete.h: In instantiation of ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’: ngramtransfer-main.cc:51:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]’ 51 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngramtransfer-main.cc:78:20: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 78 | if (!ReadFst(argv[FST_FLAGS_index + 1], &index_fst)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:156:31: required from here 156 | if (!Transfer(out_name_prefix, in_count, argv)) return 1; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:148:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramprint ngramprint.o ngramprint-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas ./../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 = HistogramArc; typename Arc::Label = int; typename Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:51:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]’ 51 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngramtransfer-main.cc:78:20: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 78 | if (!ReadFst(argv[FST_FLAGS_index + 1], &index_fst)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:153:39: required from here 153 | if (!Transfer(out_name_prefix, in_count, argv)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramprint ngramprint.o ngramprint-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramrandgen ngramrandgen.o ngramrandgen-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas ./../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 Arc::StateId = int]’: ./../include/ngram/ngram-complete.h:92:35: required from ‘bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]’ 92 | if (!AscendAndCollectStateInfo(*fst, st_order++, backoff_label, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | &order_states, &state_orders, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | &backoff_states)) { | ~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:51:51: required from ‘bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]’ 51 | (FST_FLAGS_complete && !ngram::NGramComplete(fst->get()))) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngramtransfer-main.cc:78:20: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 78 | if (!ReadFst(argv[FST_FLAGS_index + 1], &index_fst)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:156:31: required from here 156 | if (!Transfer(out_name_prefix, in_count, argv)) return 1; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:41:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 41 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:42:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:55:34: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 55 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramrandgen ngramrandgen.o ngramrandgen-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas In file included from ./../include/ngram/ngram-complete.h:29: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-transfer.h:108:9: required from ‘void ngram::NGramTransfer::InitSrc(const fst::Fst&, std::string_view, Label, double) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; Label = int]’ 108 | new NGramModel(*src_fst_, backoff_label, norm_eps, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-transfer.h:66:5: required from ‘bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, std::string_view) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view]’ 66 | InitSrc(fst, context_pn, dest_model_->BackoffLabel(), | ^~~~~~~ ngramtransfer-main.cc:93:39: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 93 | !transfer.TransferNGramsFrom(*fst_src, contexts[src])) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:153:39: required from here 153 | if (!Transfer(out_name_prefix, in_count, argv)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-transfer.h:108:9: required from ‘void ngram::NGramTransfer::InitSrc(const fst::Fst&, std::string_view, Label, double) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; Label = int]’ 108 | new NGramModel(*src_fst_, backoff_label, norm_eps, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-transfer.h:66:5: required from ‘bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, std::string_view) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view]’ 66 | InitSrc(fst, context_pn, dest_model_->BackoffLabel(), | ^~~~~~~ ngramtransfer-main.cc:93:39: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 93 | !transfer.TransferNGramsFrom(*fst_src, contexts[src])) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:156:31: required from here 156 | if (!Transfer(out_name_prefix, in_count, argv)) return 1; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-transfer.h:108:9: required from ‘void ngram::NGramTransfer::InitSrc(const fst::Fst&, std::string_view, Label, double) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view; Label = int]’ 108 | new NGramModel(*src_fst_, backoff_label, norm_eps, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-transfer.h:66:5: required from ‘bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, std::string_view) [with Arc = ngram::HistogramArc; std::string_view = std::basic_string_view]’ 66 | InitSrc(fst, context_pn, dest_model_->BackoffLabel(), | ^~~~~~~ ngramtransfer-main.cc:93:39: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]’ 93 | !transfer.TransferNGramsFrom(*fst_src, contexts[src])) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:153:39: required from here 153 | if (!Transfer(out_name_prefix, in_count, argv)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramread ngramread.o ngramread-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:104:5: required from ‘ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]’ 104 | InitModel(); | ^~~~~~~~~ ./../include/ngram/ngram-transfer.h:108:9: required from ‘void ngram::NGramTransfer::InitSrc(const fst::Fst&, std::string_view, Label, double) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view; Label = int]’ 108 | new NGramModel(*src_fst_, backoff_label, norm_eps, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-transfer.h:66:5: required from ‘bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, std::string_view) [with Arc = fst::ArcTpl >; std::string_view = std::basic_string_view]’ 66 | InitSrc(fst, context_pn, dest_model_->BackoffLabel(), | ^~~~~~~ ngramtransfer-main.cc:93:39: required from ‘bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]’ 93 | !transfer.TransferNGramsFrom(*fst_src, contexts[src])) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc:156:31: required from here 156 | if (!Transfer(out_name_prefix, in_count, argv)) return 1; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramread ngramread.o ngramread-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramshrink ngramshrink.o ngramshrink-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramshrink ngramshrink.o ngramshrink-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsort ngramsort.o ngramsort-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsymbols ngramsymbols.o ngramsymbols-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramperplexity ngramperplexity.o ngramperplexity-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsort ngramsort.o ngramsort-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsymbols ngramsymbols.o ngramsymbols-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramperplexity ngramperplexity.o ngramperplexity-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas ./../include/ngram/ngram-model.h: In member function ‘double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:730:7: warning: ‘barc.fst::ArcTpl >::ilabel’ may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: ‘barc.fst::ArcTpl >::ilabel’ was declared here 710 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsplit ngramsplit.o ngramsplit-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsplit ngramsplit.o ngramsplit-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammerge ngrammerge.o ngrammerge-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammerge ngrammerge.o ngrammerge-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramtransfer ngramtransfer.o ngramtransfer-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramtransfer ngramtransfer.o ngramtransfer-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas In file included from ngramapply-main.cc:24: In destructor ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’, inlined from ‘fst::FstFarWriter::~FstFarWriter() [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:229:3, inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = fst::FarWriter > >]’ at /usr/include/c++/16/bits/unique_ptr.h:92:2, inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = fst::FarWriter > >; _Dp = std::default_delete > > >]’ at /usr/include/c++/16/bits/unique_ptr.h:408:17, inlined from ‘int ngramapply_main(int, char**)’ at ngramapply-main.cc:135:1: /usr/include/fst/extensions/far/far.h:229:3: warning: array subscript ‘fst::FstFarWriter > >::__as_base [0]’ is partly outside array bounds of ‘unsigned char [16]’ [-Warray-bounds=] 229 | ~FstFarWriter() final = default; | ^ In static member function ‘static fst::STListFarWriter* fst::STListFarWriter::Create(std::string_view) [with A = fst::ArcTpl >]’, inlined from ‘static fst::FarWriter* fst::FarWriter::Create(std::string_view, fst::FarType) [with A = fst::ArcTpl >]’ at /usr/include/fst/extensions/far/far.h:246:42, inlined from ‘int ngramapply_main(int, char**)’ at ngramapply-main.cc:106:62: /usr/include/fst/extensions/far/far.h:185:12: note: object of size 16 allocated by ‘operator new’ 185 | return new STListFarWriter(writer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramapply ngramapply.o ngramapply-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramapply ngramapply.o ngramapply-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' Making all in test make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramhisttest.o ngramhisttest.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramhisttest-main.o ngramhisttest-main.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandtest.o ngramrandtest.cc g++ -std=gnu++11 -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandtest-main.o ngramrandtest-main.cc In file included from ./../include/ngram/ngram-count-of-counts.h:31, from ./../include/ngram/ngram-absolute.h:26, from ngramrandtest-main.cc:39: ./../include/ngram/ngram-context.h: In static member function ‘static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)’: ./../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] 100 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 104 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngramrandtest-main.cc: In function ‘void {anonymous}::BuildRandomUnigram(fst::StdMutableFst*, int, int, std::ostream&)’: ngramrandtest-main.cc:101:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 101 | for (size_t a = 0; a < vocabulary; ++a) { // add unigram arcs to model | ~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramhisttest ngramhisttest.o ngramhisttest-main.o -lfstscript ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas ./../include/ngram/ngram-count-of-counts.h: In instantiation of ‘void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]’: ./../include/ngram/ngram-absolute.h:51:31: required from here 51 | count_of_counts_.SetCounts(fst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-count-of-counts.h:182:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 182 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramhisttest ngramhisttest.o ngramhisttest-main.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 -lflexiblas In file included from ngramrandtest-main.cc:40: ./../include/ngram/ngram-count.h: In instantiation of ‘bool ngram::NGramCounter::CountFromTopSortedFst(const fst::Fst&) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]’: ./../include/ngram/ngram-count.h:85:35: required from ‘bool ngram::NGramCounter::Count(const fst::Fst&) [with Arc = fst::ArcTpl >; Weight = fst::LogWeightTpl; Label = int]’ 85 | return CountFromTopSortedFst(fst); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ngramrandtest-main.cc:160:24: required from here 160 | ngram_counter.Count(ofst); // Count n-grams of random order | ~~~~~~~~~~~~~~~~~~~^~~~~~ ./../include/ngram/ngram-count.h:453:10: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=] 453 | size_t i = 0; | ^ In file included from ./../include/ngram/ngram-absolute.h:27: ./../include/ngram/ngram-make.h: In instantiation of ‘double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-make.h:152:30: required from ‘void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]’ 152 | double hi_order_mass = CalculateHiOrderMass(discounts, nlog_stored_sum); | ^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:84:11: required from ‘bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]’ 84 | SmoothState(st); | ^~~~~~~~~~~ ./../include/ngram/ngram-witten-bell.h:43:68: required from here 43 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-make.h:126:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 126 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:30: ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from ‘bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]’ 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-witten-bell.h:43:68: required from here 43 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:227:45: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 227 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of ‘bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]’: ./../include/ngram/ngram-model.h:834:34: required from ‘bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]’ 834 | if (have_state_ngrams_ && !CheckStateNGrams(st, arc)) { | ^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:225:12: required from ‘bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]’ 225 | if (!CheckTopologyState(st)) return false; | ^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:346:10: required from ‘void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]’ 346 | if (!CheckTopology()) { | ^~~~~~~~~~~~~ ./../include/ngram/ngram-make.h:92:14: required from ‘bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]’ 92 | InitModel(); // Recalculate state info | ~~~~~~~~~^~ ./../include/ngram/ngram-witten-bell.h:43:68: required from here 43 | bool MakeNGramModel() override { return NGramMake::MakeNGramModel(); } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./../include/ngram/ngram-model.h:860:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 860 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:862:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 862 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramrandtest-main.cc:44: ./../include/ngram/ngram-randgen.h: In instantiation of ‘bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]’: /usr/include/fst/randgen.h:525:21: required from ‘void fst::internal::RandGenFstImpl::Expand(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; StateId = int]’ 525 | sampler_->Sample(rstate); | ~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/randgen.h:480:23: required from ‘fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; ToWeight = fst::TropicalWeightTpl; StateId = int]’ 480 | if (!HasFinal(s)) Expand(s); | ^~~~~~ /usr/include/fst/impl-to-fst.h:51:63: required from ‘fst::ImplToFst::Weight fst::ImplToFst::Final(StateId) const [with I = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; Weight = fst::TropicalWeightTpl; StateId = int]’ 51 | Weight Final(StateId s) const override { return impl_->Final(s); } | ~~~~~~~~~~~~^~~ /usr/include/fst/impl-to-fst.h:51:10: required from here 51 | Weight Final(StateId s) const override { return impl_->Final(s); } | ^~~~~ ./../include/ngram/ngram-randgen.h:131:23: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare] 131 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function ‘double ngram::NGramModel::CalcBruteLowSum(StateId, StateId, double) const [with Arc = fst::ArcTpl >]’: ./../include/ngram/ngram-model.h:730:7: warning: ‘barc.fst::ArcTpl >::ilabel’ may be used uninitialized [-Wmaybe-uninitialized] 730 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:710:9: note: ‘barc.fst::ArcTpl >::ilabel’ was declared here 710 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramrandtest ngramrandtest.o ngramrandtest-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=gnu++11 -std=c++17 -fno-exceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramrandtest ngramrandtest.o ngramrandtest-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 -lflexiblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' + chrpath -d src/lib/.libs/libngram.so.1317.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w2dhiJ + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + '[' /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT ++ dirname /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT + mkdir -p /builddir/build/BUILD/opengrm-ngram-1.3.17-build + mkdir /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.17 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/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-list-prune.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-replace-merge.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/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/include/ngram' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -p libngram.la libngramhist.la hist-arc.la '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libngram.so.1317.0.0 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngram.so.1317.0.0 libtool: install: (cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 && { ln -s -f libngram.so.1317.0.0 libngram.so.1317 || { rm -f libngram.so.1317 && ln -s libngram.so.1317.0.0 libngram.so.1317; }; }) libtool: install: (cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 && { ln -s -f libngram.so.1317.0.0 libngram.so || { rm -f libngram.so && ln -s libngram.so.1317.0.0 libngram.so; }; }) libtool: install: /usr/bin/install -p .libs/libngram.lai /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngram.la libtool: install: /usr/bin/install -p .libs/libngramhist.so.1317.0.0 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngramhist.so.1317.0.0 libtool: install: (cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 && { ln -s -f libngramhist.so.1317.0.0 libngramhist.so.1317 || { rm -f libngramhist.so.1317 && ln -s libngramhist.so.1317.0.0 libngramhist.so.1317; }; }) libtool: install: (cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 && { ln -s -f libngramhist.so.1317.0.0 libngramhist.so || { rm -f libngramhist.so && ln -s libngramhist.so.1317.0.0 libngramhist.so; }; }) libtool: install: /usr/bin/install -p .libs/libngramhist.lai /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngramhist.la libtool: install: /usr/bin/install -p .libs/hist-arc.so.0.0.0 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/hist-arc.so.0.0.0 libtool: install: (cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/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/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/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/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/hist-arc.la libtool: 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.17-build/ngram-1.3.17/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' Making install in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' /usr/bin/mkdir -p '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/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/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin' libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramapply /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramapply libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcontext /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcontext libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcount /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcount libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngraminfo /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngraminfo libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammake /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammake libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammarginalize /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammarginalize libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammerge /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammerge libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramperplexity /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramperplexity libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramprint /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramprint libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandgen /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandgen libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramread /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramread libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramshrink /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramshrink libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsort /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsort libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsplit /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsplit libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsymbols /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsymbols libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramtransfer /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramtransfer make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' Making install in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' /usr/bin/mkdir -p '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramhisttest ngramrandtest '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin' libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramhisttest /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramhisttest libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandtest /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandtest make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/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.17-build/ngram-1.3.17/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' 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.17-build/ngram-1.3.17' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' + rm -f /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/hist-arc.la /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngram.la /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64/libngramhist.la + export LD_LIBRARY_PATH=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 + LD_LIBRARY_PATH=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/lib64 + mkdir -p /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramapply + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramapply -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramapply.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcontext + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcontext -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramcontext.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcount + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramcount -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramcount.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramhisttest + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramhisttest -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramhisttest.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngraminfo + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngraminfo -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngraminfo.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammake + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammake -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammake.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammarginalize + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammarginalize -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammarginalize.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammerge + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngrammerge -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammerge.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramperplexity + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramperplexity -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramperplexity.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramprint + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramprint -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramprint.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandgen + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandgen -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramrandgen.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandtest + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramrandtest -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramrandtest.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramread + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramread -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramread.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramshrink + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramshrink -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramshrink.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsort + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsort -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsort.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsplit + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsplit -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsplit.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsymbols + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramsymbols -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsymbols.1 + for f in /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/* ++ basename /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramtransfer + help2man -N --version-string=1.3.17 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/bin/ngramtransfer -o /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramtransfer.1 + sed -e '2s/"1" "[[:alpha:]]* [[:digit:]]*"/"1" "February 2022"/' -e 's,/builddir.*/usr/bin/,,g' -i /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramapply.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramcontext.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramcount.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramhisttest.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngraminfo.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammake.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammarginalize.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngrammerge.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramperplexity.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramprint.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramrandgen.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramrandtest.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramread.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramshrink.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsort.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsplit.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramsymbols.1 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/man/man1/ngramtransfer.1 + sed '/Faster multinomial sampling/a#define HAVE_GSL' /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/include/ngram/ngram-randgen.h + touch -r /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/include/ngram/ngram-randgen.h foo + mv -f foo /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/include/ngram/ngram-randgen.h + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.3.17-3.fc45 --unique-debug-suffix -1.3.17-3.fc45.riscv64 --unique-debug-src-base opengrm-ngram-1.3.17-3.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17 find-debuginfo: starting Extracting debug info from 21 files DWARF-compressing 21 files sepdebugcrcfix: Updated 21 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/opengrm-ngram-1.3.17-3.fc45.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT Scanned 24 directories and 186 files, processed 18 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr Scanned 23 directories and 186 files, considered 180 files, read 70 files, linked 33 files, 0 errors sum of sizes of linked files: 317726 bytes Reading /builddir/build/BUILD/opengrm-ngram-1.3.17-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KT7gO9 + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.17 + LD_LIBRARY_PATH=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib/.libs + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/include' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/lib' Making check in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/bin' Making check in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make disttestsetup.sh ngramapply_test.sh ngramcount_histograms_test.sh ngramcount_test.sh ngramdistrand.sh ngramdistcount_test.sh ngramdistmake_test.sh ngramdistshrink_test.sh ngramdistwittenbell_test.sh ngramfracdistmake_test.sh ngramfracdistshrink_test.sh ngraminfo_test.sh ngrammake_test.sh ngrammarginalize_test.sh ngrammerge_test.sh ngramperplexity_test.sh ngramprint_test.sh ngramrandgen_test.sh ngramrand_test.sh ngramshrink_test.sh ngramsymbols_test.sh make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[3]: Nothing to be done for 'disttestsetup.sh'. make[3]: Nothing to be done for 'ngramapply_test.sh'. make[3]: Nothing to be done for 'ngramcount_histograms_test.sh'. make[3]: Nothing to be done for 'ngramcount_test.sh'. make[3]: Nothing to be done for 'ngramdistrand.sh'. make[3]: Nothing to be done for 'ngramdistcount_test.sh'. make[3]: Nothing to be done for 'ngramdistmake_test.sh'. make[3]: Nothing to be done for 'ngramdistshrink_test.sh'. make[3]: Nothing to be done for 'ngramdistwittenbell_test.sh'. make[3]: Nothing to be done for 'ngramfracdistmake_test.sh'. make[3]: Nothing to be done for 'ngramfracdistshrink_test.sh'. make[3]: Nothing to be done for 'ngraminfo_test.sh'. make[3]: Nothing to be done for 'ngrammake_test.sh'. make[3]: Nothing to be done for 'ngrammarginalize_test.sh'. make[3]: Nothing to be done for 'ngrammerge_test.sh'. make[3]: Nothing to be done for 'ngramperplexity_test.sh'. make[3]: Nothing to be done for 'ngramprint_test.sh'. make[3]: Nothing to be done for 'ngramrandgen_test.sh'. make[3]: Nothing to be done for 'ngramrand_test.sh'. make[3]: Nothing to be done for 'ngramshrink_test.sh'. make[3]: Nothing to be done for 'ngramsymbols_test.sh'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[4]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' PASS: ngramapply_test.sh PASS: ngramcount_histograms_test.sh PASS: ngramcount_test.sh PASS: ngramdistcount_test.sh PASS: ngramdistmake_test.sh PASS: ngramdistshrink_test.sh PASS: ngramdistwittenbell_test.sh PASS: ngramfracdistmake_test.sh PASS: ngramfracdistshrink_test.sh PASS: ngraminfo_test.sh PASS: ngrammake_test.sh PASS: ngrammarginalize_test.sh PASS: ngrammerge_test.sh PASS: ngramperplexity_test.sh PASS: ngramprint_test.sh PASS: ngramrandgen_test.sh PASS: ngramrand_test.sh PASS: ngramshrink_test.sh PASS: ngramsymbols_test.sh ============================================================================ Testsuite summary for NGram 1.3.17 ============================================================================ # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: opengrm-ngram-1.3.17-3.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UGMEKv + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + cd ngram-1.3.17 + DOCDIR=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/doc/opengrm-ngram + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/AUTHORS /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/NEWS /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/README.md /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/doc/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0qzxCg + umask 022 + cd /builddir/build/BUILD/opengrm-ngram-1.3.17-build + cd ngram-1.3.17 + LICENSEDIR=/builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/licenses/opengrm-ngram + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/licenses/opengrm-ngram + cp -pr /builddir/build/BUILD/opengrm-ngram-1.3.17-build/ngram-1.3.17/LICENSE /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT/usr/share/licenses/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Provides: libngram.so.1317()(64bit) libngramhist.so.1317()(64bit) opengrm-ngram = 1.3.17-3.fc45 opengrm-ngram(riscv-64) = 1.3.17-3.fc45 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) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfst.so.27()(64bit) libfstscript.so.27()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(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(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.9)(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.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-devel-1.3.17-3.fc45.riscv64 Provides: opengrm-ngram-devel = 1.3.17-3.fc45 opengrm-ngram-devel(riscv-64) = 1.3.17-3.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libngram.so.1317()(64bit) libngramhist.so.1317()(64bit) Processing files: opengrm-ngram-tools-1.3.17-3.fc45.riscv64 Provides: opengrm-ngram-tools = 1.3.17-3.fc45 opengrm-ngram-tools(riscv-64) = 1.3.17-3.fc45 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) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libflexiblas.so.3()(64bit) libfst.so.27()(64bit) libfstfar.so.27()(64bit) libfstfarscript.so.27()(64bit) libfstscript.so.27()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgsl.so.28()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libngram.so.1317()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.9)(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.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-debugsource-1.3.17-3.fc45.riscv64 Provides: opengrm-ngram-debugsource = 1.3.17-3.fc45 opengrm-ngram-debugsource(riscv-64) = 1.3.17-3.fc45 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.17-3.fc45.riscv64 Provides: debuginfo(build-id) = 6a596a6834676cbe174658baa9b9345f7c32870a debuginfo(build-id) = c682983443c9af8fd4828b9d43f8b09b1c8297b2 debuginfo(build-id) = f34bbf0891b01ef36e3f4cc685a0ed1d328ffc3b libngram.so.1317.0.0-1.3.17-3.fc45.riscv64.debug()(64bit) libngramhist.so.1317.0.0-1.3.17-3.fc45.riscv64.debug()(64bit) opengrm-ngram-debuginfo = 1.3.17-3.fc45 opengrm-ngram-debuginfo(riscv-64) = 1.3.17-3.fc45 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.17-3.fc45 Processing files: opengrm-ngram-tools-debuginfo-1.3.17-3.fc45.riscv64 Provides: debuginfo(build-id) = 5d273ed37c92dfce06331d2f3c6d83a305145ef1 debuginfo(build-id) = 724781328dfbaedddcb70a2875b5bc44b07be996 debuginfo(build-id) = 7971790fca5115a790e16b9b8a76a07a5bfbedfb debuginfo(build-id) = 7a7f376d409fb193e4cad87585b5cd1b4d9bc35f debuginfo(build-id) = 7d26b3b7f682976cc038658570331844dfda7619 debuginfo(build-id) = 82e68eb01a4085631df3cf20283195096f310c94 debuginfo(build-id) = 8dc7a4bd519d9f2a98fb3b8ea49493c444d61a07 debuginfo(build-id) = 8e57a0aa4812294641d1a92b8459903d337a8cdd debuginfo(build-id) = 9e6b602d80c92ab152107122573e11070d6066ba debuginfo(build-id) = a80eada0fdf0711ec82fdc5c2a6076e4a8cb4fd9 debuginfo(build-id) = a968c35ce455928c4c651fa3800fd9f79f3d3e72 debuginfo(build-id) = accb30570f80539fb794d77b97e7d2576d31e1c1 debuginfo(build-id) = ae7760b124b4ad776b0d8ce5bbb5282819bc3d87 debuginfo(build-id) = b13016c419bd0c7e8399a494ff5f18070511f562 debuginfo(build-id) = b8128cebbe6da0177b1342581425f2fb16af710b debuginfo(build-id) = badf9560e23c5256fa9bc6e49337d59b647952dc debuginfo(build-id) = c5c7396fdc5ed2334dd06365707cc7ace8905ff8 debuginfo(build-id) = ec9d57e854d559d77dc20d76f2f7ebfbf7ea6ece opengrm-ngram-tools-debuginfo = 1.3.17-3.fc45 opengrm-ngram-tools-debuginfo(riscv-64) = 1.3.17-3.fc45 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.17-3.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/opengrm-ngram-1.3.17-build/BUILDROOT Wrote: /builddir/build/RPMS/opengrm-ngram-devel-1.3.17-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debugsource-1.3.17-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-1.3.17-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-1.3.17-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-debuginfo-1.3.17-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debuginfo-1.3.17-3.fc45.riscv64.rpm Child return code was: 0