Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32620-9849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xxhash-0.8.1-3.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32620-9849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oVUHAw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (1-fix-man-page-installation.patch): + echo 'Patch #0 (1-fix-man-page-installation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file cli/xxhsum.1 patching file cli/xxhsum.1.md + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9pcWyo + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + /usr/bin/make -O -j32 'MOREFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' DISPATCH=1 cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o cli/xsum_output.o cli/xsum_output.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o cli/xsum_bench.o cli/xsum_bench.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o cli/xxhsum.o cli/xxhsum.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -c -o xxhash.o xxhash.c ar rcs libxxhash.a xxhash.o cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 -c -o xxh_x86dispatch.o xxh_x86dispatch.c cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DXXHSUM_DISPATCH=1 xxhash.o cli/xxhsum.o cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o cli/xsum_bench.o xxh_x86dispatch.o -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum cc -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC xxhash.c xxh_x86dispatch.c -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.1 ln -sf libxxhash.so.0.8.1 libxxhash.so.0 ln -sf libxxhash.so.0.8.1 libxxhash.so + doxygen /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:98: warning: explicit link request to 'define' could not be resolved /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:99: warning: explicit link request to 'include' could not be resolved /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:317: warning: Found unknown command `\ret' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2116: warning: argument 'length' of command @param is not found in the argument list of XXH32(const void *input, size_t len, XXH32_hash_t seed) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:415: warning: The following parameters of XXH32(const void *input, size_t len, XXH32_hash_t seed) are not documented: parameter 'len' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2152: warning: argument 'dst_state' of command @param is not found in the argument list of XXH32_copyState(XXH32_state_t *dstState, const XXH32_state_t *srcState) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2152: warning: argument 'src_state' of command @param is not found in the argument list of XXH32_copyState(XXH32_state_t *dstState, const XXH32_state_t *srcState) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:498: warning: The following parameters of XXH32_copyState(XXH32_state_t *dstState, const XXH32_state_t *srcState) are not documented: parameter 'dstState' parameter 'srcState' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2166: warning: unable to resolve reference to `XXH_OK' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2166: warning: unable to resolve reference to `XXH_ERROR' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2173: warning: argument 'statePtr' of command @param is not found in the argument list of XXH32_update(XXH32_state_t *state, const void *input, size_t len) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2173: warning: argument 'length' of command @param is not found in the argument list of XXH32_update(XXH32_state_t *state, const void *input, size_t len) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2186: warning: unable to resolve reference to `XXH_OK' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2186: warning: unable to resolve reference to `XXH_ERROR' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:533: warning: The following parameters of XXH32_update(XXH32_state_t *state, const void *input, size_t len) are not documented: parameter 'state' parameter 'len' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2228: warning: argument 'statePtr' of command @param is not found in the argument list of XXH32_digest(const XXH32_state_t *state) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:549: warning: The following parameters of XXH32_digest(const XXH32_state_t *state) are not documented: parameter 'state' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2534: warning: argument 'length' of command @param is not found in the argument list of XXH64(const void *input, size_t len, XXH64_hash_t seed) /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:709: warning: The following parameters of XXH64(const void *input, size_t len, XXH64_hash_t seed) are not documented: parameter 'len' /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1316: warning: End of list marker found without any preceding list items /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2819: warning: unable to resolve reference to `XXH_X86DISPATCH' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:965: warning: unable to resolve reference to `XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:966: warning: unable to resolve reference to `XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:966: warning: unable to resolve reference to `XXH_IMPLEMENTATION' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1051: warning: unable to resolve reference to `XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1052: warning: unable to resolve reference to `XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1052: warning: unable to resolve reference to `XXH_IMPLEMENTATION' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1073: warning: unable to resolve reference to `XXH32_state_s::v1' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:989: warning: unable to resolve reference to `XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:990: warning: unable to resolve reference to `XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:990: warning: unable to resolve reference to `XXH_IMPLEMENTATION' for \ref command + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X9trAQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 + cd xxHash-0.8.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 creating pkgconfig Installing libxxhash Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed + rm /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64//usr/lib64/libxxhash.a + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.8.1-3.oc8 --unique-debug-suffix -0.8.1-3.oc8.x86_64 --unique-debug-src-base xxhash-0.8.1-3.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xxHash-0.8.1 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/bin/xxhsum extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/lib64/libxxhash.so.0.8.1 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 702 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lfiypI + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + make check # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* a9c413a5c9548a52 xxhash.c 11a167c25cb049b1 xxhash.h e602cf7f15e4d407 xxhash.o # internal bench ./xxhsum -bi0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit x86_64 autoVec little endian with GCC 8.5.0 20210514 (Red Hat 8.5.0-15) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 63809 it/s ( 6231.3 MB/s) 1#XXH32 : 102400 -> 63809 it/s ( 6231.3 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 127374 it/s (12438.8 MB/s) 3#XXH64 : 102400 -> 127374 it/s (12438.8 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 319202 it/s (31172.1 MB/s) 5#XXH3_64b : 102400 -> 319202 it/s (31172.1 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 319202 it/s (31172.1 MB/s) 11#XXH128 : 102400 -> 319202 it/s (31172.1 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit x86_64 autoVec little endian with GCC 8.5.0 20210514 (Red Hat 8.5.0-15) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 63884 it/s ( 6238.7 MB/s) 1#XXH32 : 102400 -> 63884 it/s ( 6238.7 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 63870 it/s ( 6237.3 MB/s) 2#XXH32 unaligned : 102400 -> 63870 it/s ( 6237.3 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 127713 it/s (12471.9 MB/s) 3#XXH64 : 102400 -> 127713 it/s (12471.9 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 126618 it/s (12365.0 MB/s) 4#XXH64 unaligned : 102400 -> 126618 it/s (12365.0 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 317651 it/s (31020.6 MB/s) 5#XXH3_64b : 102400 -> 317651 it/s (31020.6 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 318309 it/s (31084.9 MB/s) 6#XXH3_64b unaligned : 102400 -> 318309 it/s (31084.9 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 318937 it/s (31146.2 MB/s) 7#XXH3_64b w/seed : 102400 -> 318937 it/s (31146.2 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 318276 it/s (31081.6 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 318276 it/s (31081.6 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 303647 it/s (29653.1 MB/s) 9#XXH3_64b w/secret : 102400 -> 303647 it/s (29653.1 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 302720 it/s (29562.5 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 302720 it/s (29562.5 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 318309 it/s (31084.9 MB/s) 11#XXH128 : 102400 -> 318309 it/s (31084.9 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 318639 it/s (31117.1 MB/s) 12#XXH128 unaligned : 102400 -> 318639 it/s (31117.1 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 318111 it/s (31065.5 MB/s) 13#XXH128 w/seed : 102400 -> 318111 it/s (31065.5 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 318177 it/s (31072.0 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 318177 it/s (31072.0 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 304068 it/s (29694.2 MB/s) 15#XXH128 w/secret : 102400 -> 304068 it/s (29694.2 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 304732 it/s (29759.0 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 304732 it/s (29759.0 MB/s) 1-XXH32_stream : 102400 -> 1-XXH32_stream : 102400 -> 63067 it/s ( 6158.9 MB/s) 17#XXH32_stream : 102400 -> 63067 it/s ( 6158.9 MB/s) 1-XXH32_stream unaligned : 102400 -> 1-XXH32_stream unaligned : 102400 -> 62462 it/s ( 6099.8 MB/s) 18#XXH32_stream unaligned : 102400 -> 62462 it/s ( 6099.8 MB/s) 1-XXH64_stream : 102400 -> 1-XXH64_stream : 102400 -> 126843 it/s (12387.0 MB/s) 19#XXH64_stream : 102400 -> 126843 it/s (12387.0 MB/s) 1-XXH64_stream unaligned : 102400 -> 1-XXH64_stream unaligned : 102400 -> 126618 it/s (12365.0 MB/s) 20#XXH64_stream unaligned : 102400 -> 126618 it/s (12365.0 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 316636 it/s (30921.5 MB/s) 21#XXH3_stream : 102400 -> 316636 it/s (30921.5 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 316245 it/s (30883.3 MB/s) 22#XXH3_stream unaligned : 102400 -> 316245 it/s (30883.3 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 314368 it/s (30700.0 MB/s) 23#XXH3_stream w/seed : 102400 -> 314368 it/s (30700.0 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 316375 it/s (30896.0 MB/s) 24#XXH3_stream w/seed unaligned : 102400 -> 316375 it/s (30896.0 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 317159 it/s (30972.5 MB/s) 25#XXH128_stream : 102400 -> 317159 it/s (30972.5 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 317454 it/s (31001.3 MB/s) 26#XXH128_stream unaligned : 102400 -> 317454 it/s (31001.3 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 316147 it/s (30873.7 MB/s) 27#XXH128_stream w/seed : 102400 -> 316147 it/s (30873.7 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 315984 it/s (30857.8 MB/s) 28#XXH128_stream w/seed unaligne : 102400 -> 315984 it/s (30857.8 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit x86_64 autoVec little endian with GCC 8.5.0 20210514 (Red Hat 8.5.0-15) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 63831 it/s ( 6233.5 MB/s) 1#XXH32 : 102400 -> 63831 it/s ( 6233.5 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 63814 it/s ( 6231.8 MB/s) 2#XXH32 unaligned : 102400 -> 63814 it/s ( 6231.8 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 127585 it/s (12459.5 MB/s) 3#XXH64 : 102400 -> 127585 it/s (12459.5 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.1 by Yann Collet compiled as 64-bit x86_64 autoVec little endian with GCC 8.5.0 20210514 (Red Hat 8.5.0-15) 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 3397819 it/s ( 6011.0 MB/s) 1#XXH32 : 1855 -> 3397819 it/s ( 6011.0 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 6432014 it/s (11378.7 MB/s) 3#XXH64 : 1855 -> 6432014 it/s (11378.7 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 14559746 it/s (25757.1 MB/s) 5#XXH3_64b : 1855 -> 14559746 it/s (25757.1 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 13497651 it/s (23878.2 MB/s) 11#XXH128 : 1855 -> 13497651 it/s (23878.2 MB/s) # 32-bit ./xxhsum -H0 xxhash.c 0b9f9eb1 xxhash.c # 128-bit ./xxhsum -H2 xxhash.c 75323380c1b81bbbe6b4fc5c377a18ff xxhash.c # XXH3 (enforce BSD style) ./xxhsum -H3 xxhash.c | grep "XXH3" XXH3 (xxhash.c) = e6b4fc5c377a18ff # request incorrect variant ./xxhsum -H9 xxhash.c ; test $? -eq 1 Wrong parameters xxhsum 0.8.1 by Yann Collet Print or verify checksums using fast non-cryptographic algorithm xxHash Usage: xxhsum [options] [files] When no filename provided or when '-' is provided, uses stdin as input. Options: -H# algorithm selection: 0,1,2,3 or 32,64,128 (default: 1) -c, --check read xxHash checksum from [files] and check them -h, --help display a long help page about advanced options ....... checks completed successfully ....... + make test-xxhsum-c # xxhsum to/from pipe ./xxhsum xxhsum xxhash.c xxhash.h | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -H0 xxhsum xxhash.c xxhash.h | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK # xxhsum -c is unable to verify checksum of file from STDIN (#470) ./xxhsum < README.md > .test.README.md.xxh ./xxhsum -c .test.README.md.xxh < README.md stdin: OK # xxhsum -q does not display "Loading" message into stderr (#251) ! ./xxhsum -q xxhsum xxhash.c xxhash.h 2>&1 | grep Loading # xxhsum does not display "Loading" message into stderr either ! ./xxhsum xxhsum xxhash.c xxhash.h 2>&1 | grep Loading # Check that xxhsum do display filename that it failed to open. LC_ALL=C ./xxhsum nonexistent 2>&1 | grep "Error: Could not open 'nonexistent'" Error: Could not open 'nonexistent': No such file or directory. # xxhsum to/from file, shell redirection ./xxhsum xxhsum xxhash.c xxhash.h > .test.xxh64 ./xxhsum --tag xxhsum xxhash.c xxhash.h > .test.xxh64_tag ./xxhsum --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh64 ./xxhsum --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh64_tag ./xxhsum -H0 xxhsum xxhash.c xxhash.h > .test.xxh32 ./xxhsum -H0 --tag xxhsum xxhash.c xxhash.h > .test.xxh32_tag ./xxhsum -H0 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh32 ./xxhsum -H0 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh32_tag ./xxhsum -H2 xxhsum xxhash.c xxhash.h > .test.xxh128 ./xxhsum -H2 --tag xxhsum xxhash.c xxhash.h > .test.xxh128_tag ./xxhsum -H2 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh128 ./xxhsum -H2 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh128_tag ./xxhsum -H3 xxhsum xxhash.c xxhash.h > .test.xxh3 ./xxhsum -H3 --tag xxhsum xxhash.c xxhash.h > .test.xxh3_tag ./xxhsum -H3 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh3 ./xxhsum -H3 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh3_tag ./xxhsum -c .test.xxh* xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c --little-endian .test.le_xxh* xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c .test.*_tag xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK # read list of files from stdin ./xxhsum -c < .test.xxh32 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh64 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh128 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh3 xxhsum: OK xxhash.c: OK xxhash.h: OK cat .test.xxh* | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK # check variant with '*' marker as second separator sed 's/ / \*/' .test.xxh32 | ./xxhsum -c xxhsum: OK xxhash.c: OK xxhash.h: OK # bsd-style output ./xxhsum --tag xxhsum* | grep XXH64 XXH64 (xxhsum) = e35ee8d584bde745 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = 1c9198e9 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = e35ee8d584bde745 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = 7304259109851a19664febcdda696eea ./xxhsum --tag -H3 xxhsum* | grep XXH3 XXH3 (xxhsum) = 664febcdda696eea ./xxhsum -H3 xxhsum* | grep XXH3 # --tag is implicit for H3 XXH3 (xxhsum) = 664febcdda696eea ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = 1c9198e9 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = e35ee8d584bde745 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = 7304259109851a19664febcdda696eea ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = e998911c ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 45e7bd84d5e85ee3 ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = ea6e69dacdeb4f66191a850991250473 ./xxhsum -H3 --little-endian xxhsum* | grep XXH3_LE XXH3_LE (xxhsum) = ea6e69dacdeb4f66 ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = e998911c ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 45e7bd84d5e85ee3 ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = ea6e69dacdeb4f66191a850991250473 # check bsd-style ./xxhsum --tag xxhsum* | ./xxhsum -c xxhsum: OK ./xxhsum --tag -H32 --little-endian xxhsum* | ./xxhsum -c xxhsum: OK # xxhsum -c warns improperly format lines. echo '12345678 ' >>.test.xxh32 ./xxhsum -c .test.xxh32 | grep improperly 1 line is improperly formatted echo '123456789 file' >>.test.xxh64 ./xxhsum -c .test.xxh64 | grep improperly 1 line is improperly formatted # Expects "FAILED" echo "0000000000000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksum did NOT match echo "00000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksum did NOT match # Expects "FAILED open or read" echo "0000000000000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 stdin:1: Could not open or read 'test-expects-file-not-found': No such file or directory. 1 listed file could not be read echo "00000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 stdin:1: Could not open or read 'test-expects-file-not-found': No such file or directory. 1 listed file could not be read + exit 0 Processing files: xxhash-0.8.1-3.oc8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ThsS9d + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash + cp -pr cli/README.md /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fvwGI9 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash + cp -pr cli/COPYING /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash + exit 0 Provides: xxhash = 0.8.1-3.oc8 xxhash(x86-64) = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: xxhash-libs-0.8.1-3.oc8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1cy11z + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-libs + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-libs + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ffQd9U + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash-libs + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/licenses/xxhash-libs + exit 0 Provides: libxxhash.so.0()(64bit) xxhash-libs = 0.8.1-3.oc8 xxhash-libs(x86-64) = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: xxhash-devel-0.8.1-3.oc8.x86_64 Provides: pkgconfig(libxxhash) = 0.8.1 xxhash-devel = 0.8.1-3.oc8 xxhash-devel(x86-64) = 0.8.1-3.oc8 xxhash-static = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxxhash.so.0()(64bit) Processing files: xxhash-doc-0.8.1-3.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2jkvr8 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-doc + cp -pr doxygen/html /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64/usr/share/doc/xxhash-doc + exit 0 Provides: xxhash-doc = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xxhash-debugsource-0.8.1-3.oc8.x86_64 Provides: xxhash-debugsource = 0.8.1-3.oc8 xxhash-debugsource(x86-64) = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xxhash-debuginfo-0.8.1-3.oc8.x86_64 Provides: debuginfo(build-id) = 599e0c07c94f8e233c2c583e8d9800d2b830ed89 xxhash-debuginfo = 0.8.1-3.oc8 xxhash-debuginfo(x86-64) = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(x86-64) = 0.8.1-3.oc8 Processing files: xxhash-libs-debuginfo-0.8.1-3.oc8.x86_64 Provides: debuginfo(build-id) = 79377b3fd27d6dc60347330bea180c4dc04fd63e xxhash-libs-debuginfo = 0.8.1-3.oc8 xxhash-libs-debuginfo(x86-64) = 0.8.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(x86-64) = 0.8.1-3.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 Wrote: /builddir/build/RPMS/xxhash-0.8.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/xxhash-libs-0.8.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/xxhash-devel-0.8.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/xxhash-doc-0.8.1-3.oc8.noarch.rpm Wrote: /builddir/build/RPMS/xxhash-debugsource-0.8.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/xxhash-debuginfo-0.8.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/xxhash-libs-debuginfo-0.8.1-3.oc8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fIDF1O + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xxhash-0.8.1-3.oc8.x86_64 + exit 0 Child return code was: 0