******************************************************************************** conan install librhash/1.3.9@#cfd9abb270cfdcf698f2e84b8e66737f --build=librhash -pr /home/conan/w/prod/BuildSingleReference/64717/775acf7a-98c5-43a1-9062-e2201056954c/profile_linux_13_libstdcpp_clang_release_64.librhash-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 13.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=13 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=13 os=Linux [options] librhash:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True openssl/1.1.1q: Not found in local cache, looking in remotes... openssl/1.1.1q: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1q: Downloaded recipe revision 5f25b2ff5bed8a6bec73b90fe963d93c librhash/1.3.9: Forced build from source Installing package: librhash/1.3.9 Requirements librhash/1.3.9 from local cache - Cache openssl/1.1.1q from 'conan-center' - Downloaded Packages librhash/1.3.9:f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6 - Build openssl/1.1.1q:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download Installing (downloading, building) binaries... openssl/1.1.1q: Retrieving package 63c2a85d57849e261f98f935b93ecac31ba71b84 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1q: Package installed 63c2a85d57849e261f98f935b93ecac31ba71b84 openssl/1.1.1q: Downloaded package revision f8e259a05c6460433d4e96b90c1cc2c6 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK librhash/1.3.9: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/source [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK librhash/1.3.9: Copying sources to build folder librhash/1.3.9: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6 librhash/1.3.9: Generator txt created conanbuildinfo.txt librhash/1.3.9: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK librhash/1.3.9: Calling build() librhash/1.3.9: Calling: > ./configure '--enable-openssl' '--disable-gettext' '--prefix=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6' '--bindir=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin' '--libdir=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib' '--extra-cflags=-m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG' '--extra-ldflags=-m64 -L/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/lib' '--enable-lib-shared' '--disable-lib-static' ----Running------ > ./configure '--enable-openssl' '--disable-gettext' '--prefix=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6' '--bindir=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin' '--libdir=/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib' '--extra-cflags=-m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG' '--extra-ldflags=-m64 -L/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/lib' '--enable-lib-shared' '--disable-lib-static' ----------------- Checking for target OS ... Linux Checking for clang version ... clang 13.0.0 Checking for linker support for -static ... no Checking for linker support for --version-script ... yes Checking for OpenSSL ... found Checking for sources ... RHash 1.3.9 Writing config.mak Writing librhash/config.mak Writing dist/librhash.pc ----Running------ > make -j3 ----------------- clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG calc_sums.c -o calc_sums.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG hash_print.c -o hash_print.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG common_func.c -o common_func.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG hash_update.c -o hash_update.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG file.c -o file.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG file_mask.c -o file_mask.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG file_set.c -o file_set.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG find_file.c -o find_file.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG hash_check.c -o hash_check.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG output.c -o output.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG -DSYSCONFDIR=\"/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/etc\" parse_cmdline.c -o parse_cmdline.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG rhash_main.c -o rhash_main.o clang -c -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG win_utils.c -o win_utils.o cd librhash && make lib-shared make[1]: Entering directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' sed -ne '1s/.*/{ global:/p; s/^RHASH_API.* \(rhash_[a-z0-9_]*\)(.*/ \1;/p; $s/.*/local: *; };/p' rhash.h rhash_torrent.h rhash_timing.h > exports.sym rm -f librhash.so ln -s librhash.so.0 librhash.so clang -DUSE_OPENSSL -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -m64 -O3 -I/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include -DNDEBUG -fpic algorithms.c byte_order.c plug_openssl.c rhash.c rhash_timing.c rhash_torrent.c aich.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-160.c gost12.c gost94.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c whirlpool.c whirlpool_sbox.c -m64 -L/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/lib -lcrypto -shared -Wl,--version-script,exports.sym,-soname,librhash.so.0 -o librhash.so.0 make[1]: Leaving directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' clang calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.0 -m64 -L/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/lib -o rhash librhash/1.3.9: Package 'f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6' built librhash/1.3.9: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6 librhash/1.3.9: Generated conaninfo.txt librhash/1.3.9: Generated conanbuildinfo.txt librhash/1.3.9: Generating the package librhash/1.3.9: Package folder /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6 librhash/1.3.9: Calling package() ----Running------ > make install -j3 ----------------- make install-binary install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/share/man/man1 install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/etc tr -d \\r < dist/rhashrc.sample > rc.tmp && install -m 644 rc.tmp /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/etc/rhashrc install -m 644 dist/rhash.1 /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/share/man/man1/rhash.1 make[1]: Entering directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder' install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin install -m 755 rhash /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin/rhash rm -f rc.tmp cd librhash && make install-lib-shared install -m 755 rhash /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin/rhash make[1]: Leaving directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder' cd /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/bin && for f in sfv-hash has160-hash gost12-256-hash gost12-512-hash edonr256-hash edonr512-hash tiger-hash tth-hash whirlpool-hash ed2k-link magnet-link; do ln -sf rhash $f; done make[1]: Entering directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib install -m 644 librhash.so.0 /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib/ make[1]: Leaving directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' cd /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/share/man/man1 && for f in sfv-hash has160-hash gost12-256-hash gost12-512-hash edonr256-hash edonr512-hash tiger-hash tth-hash whirlpool-hash ed2k-link magnet-link; do ln -sf rhash.1 $f.1; done ----Running------ > make install-lib-headers -j3 ----------------- cd librhash && make install-lib-headers make[1]: Entering directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/include install -m 644 rhash.h rhash_torrent.h /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/include/ make[1]: Leaving directory '/home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/build/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/source_subfolder/librhash' ----Running------ > make install-so-link -j3 ----------------- install -d /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib ln -s librhash.so.0 /home/conan/w/prod/BuildSingleReference/.conan/data/librhash/1.3.9/_/_/package/f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6/lib/librhash.so [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK librhash/1.3.9 package(): Packaged 2 '.h' files: rhash_torrent.h, rhash.h librhash/1.3.9 package(): Packaged 1 '.so' file: librhash.so librhash/1.3.9 package(): Packaged 1 '.0' file: librhash.so.0 librhash/1.3.9 package(): Packaged 1 file: COPYING librhash/1.3.9: Package 'f79f7155d5d3311e13d5292f33aaedf2d9ebcfe6' created librhash/1.3.9: Created package revision 13cce45683c7fd6d72e9df039518614e [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK Aggregating env generators algorithms.c:116:32: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_md4, sizeof(md4_ctx), dgshft(md4), iuf(rhash_md4), 0 }, /* 128 bit */ ^~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:117:32: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_md5, sizeof(md5_ctx), dgshft(md5), iuf(rhash_md5), 0 }, /* 128 bit */ ^~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:118:34: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha1, sizeof(sha1_ctx), dgshft(sha1), iuf(rhash_sha1), 0 }, /* 160 bit */ ^~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:119:36: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_tiger, sizeof(tiger_ctx), dgshft(tiger), iuf(rhash_tiger), 0 }, /* 192 bit */ ^~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:120:32: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_tth, sizeof(tth_ctx), dgshft2(tth, tiger.hash), iuf(rhash_tth), 0 }, /* 192 bit */ ^~~~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:121:37: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_btih, sizeof(torrent_ctx), dgshft2(torrent, btih), iuf(bt), (pcleanup_t)bt_cleanup }, /* 160 bit */ ^~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:122:34: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_ed2k, sizeof(ed2k_ctx), dgshft2(ed2k, md4_context_inner.hash), iuf(rhash_ed2k), 0 }, /* 128 bit */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:123:34: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_aich, sizeof(aich_ctx), dgshft2(aich, sha1_context.hash), iuf(rhash_aich), (pcleanup_t)rhash_aich_cleanup }, /* 160 bit */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:124:44: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_whirlpool, sizeof(whirlpool_ctx), dgshft(whirlpool), iuf(rhash_whirlpool), 0 }, /* 512 bit */ ^~~~~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:125:41: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_rmd160, sizeof(ripemd160_ctx), dgshft(ripemd160), iuf(rhash_ripemd160), 0 }, /* 160 bit */ ^~~~~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:126:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_gost94, sizeof(gost94_ctx), dgshft(gost94), iuf(rhash_gost94), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:127:41: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_gost94pro, sizeof(gost94_ctx), dgshft(gost94), iuf2(rhash_gost94_cryptopro, rhash_gost94), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:128:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_has160, sizeof(has160_ctx), dgshft(has160), iuf(rhash_has160), 0 }, /* 160 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:129:42: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_gost12_256, sizeof(gost12_ctx), dgshft2(gost12, h) + 32, iuf2(rhash_gost12_256, rhash_gost12), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:130:42: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_gost12_512, sizeof(gost12_ctx), dgshft2(gost12, h), iuf2(rhash_gost12_512, rhash_gost12), 0 }, /* 512 bit */ ^~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:131:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha224, sizeof(sha256_ctx), dgshft(sha256), iuf2(rhash_sha224, rhash_sha256), 0 }, /* 224 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:132:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha256, sizeof(sha256_ctx), dgshft(sha256), iuf(rhash_sha256), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:133:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha384, sizeof(sha512_ctx), dgshft(sha512), iuf2(rhash_sha384, rhash_sha512), 0 }, /* 384 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:134:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha512, sizeof(sha512_ctx), dgshft(sha512), iuf(rhash_sha512), 0 }, /* 512 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:135:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_edr256, sizeof(edonr_ctx), dgshft2(edonr, u.data256.hash) + 32, iuf(rhash_edonr256), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:136:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_edr512, sizeof(edonr_ctx), dgshft2(edonr, u.data512.hash) + 64, iuf(rhash_edonr512), 0 }, /* 512 bit */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ algorithms.c:104:65: note: expanded from macro 'dgshft2' #define dgshft2(name, field) (((char*)&((name##_ctx*)0)->field) - (char*)0) ^ ~~~~~~~~ algorithms.c:137:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha3_224, sizeof(sha3_ctx), dgshft(sha3), iuf2(rhash_sha3_224, rhash_sha3), 0 }, /* 224 bit */ ^~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:138:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha3_256, sizeof(sha3_ctx), dgshft(sha3), iuf2(rhash_sha3_256, rhash_sha3), 0 }, /* 256 bit */ ^~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:139:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha3_384, sizeof(sha3_ctx), dgshft(sha3), iuf2(rhash_sha3_384, rhash_sha3), 0 }, /* 384 bit */ ^~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:140:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_sha3_512, sizeof(sha3_ctx), dgshft(sha3), iuf2(rhash_sha3_512, rhash_sha3), 0 }, /* 512 bit */ ^~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:142:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_snf128, sizeof(snefru_ctx), dgshft(snefru), iuf2(rhash_snefru128, rhash_snefru), 0 }, /* 128 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ algorithms.c:143:38: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] { &info_snf256, sizeof(snefru_ctx), dgshft(snefru), iuf2(rhash_snefru256, rhash_snefru), 0 }, /* 256 bit */ ^~~~~~~~~~~~~~ algorithms.c:103:56: note: expanded from macro 'dgshft' #define dgshft(name) (((char*)&((name##_ctx*)0)->hash) - (char*)0) ^ ~~~~~~~~ 27 warnings generated. byte_order.c:77:31: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | index | length ) & 3) ) { ^ ~~~~~~~~ byte_order.c:77:58: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | index | length ) & 3) ) { ^ ~~~~~~~~ byte_order.c:104:31: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | index | length ) & 7) ) { ^ ~~~~~~~~ byte_order.c:104:58: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | index | length ) & 7) ) { ^ ~~~~~~~~ byte_order.c:127:31: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | length ) & 7) ) { ^ ~~~~~~~~ byte_order.c:127:58: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | length ) & 7) ) { ^ ~~~~~~~~ 6 warnings generated. rhash.c:326:30: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] align8 = ((unsigned char*)0 - pmem) & 7; ~~~~~~~~~~~~~~~~~ ^ 1 warning generated. crc32.c:38:19: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] for (; (3 & (msg - (unsigned char*)0)) && size > 0; msg++, size--) ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. md4.c:153:27: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_LITTLE_ENDIAN && IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. md5.c:183:27: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_LITTLE_ENDIAN && IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. sha1.c:142:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. sha256.c:189:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. sha512.c:207:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_64(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. sha3.c:290:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_64(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. ripemd-160.c:288:27: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_LITTLE_ENDIAN && IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. gost12.c:820:26: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_LITTLE_ENDIAN && IS_ALIGNED_64(msg)) ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. gost94.c:366:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_64(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. has160.c:225:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. snefru.c:874:27: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_LITTLE_ENDIAN && IS_ALIGNED_32(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:84:55: note: expanded from macro 'IS_ALIGNED_32' #define IS_ALIGNED_32(p) (0 == (3 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. tiger.c:180:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_64(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated. whirlpool.c:156:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction] if (IS_ALIGNED_64(msg)) { ^~~~~~~~~~~~~~~~~~ ./byte_order.h:85:55: note: expanded from macro 'IS_ALIGNED_64' #define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0))) ^ ~~~~~~~~~~~~~~ 1 warning generated.