Diff of the two buildlogs: -- --- b1/build.log 2024-05-11 07:05:17.169385737 +0000 +++ b2/build.log 2024-05-11 07:09:27.778709998 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jun 13 01:26:48 -12 2025 -I: pbuilder-time-stamp: 1749821208 +I: Current time: Sat May 11 21:05:21 +14 2024 +I: pbuilder-time-stamp: 1715411121 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ntfs2btrfs_20240115-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1678553/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 11 07:05 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c7b9b16a0d674ccba21bd17134715fef' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1678553' - PS1='# ' - PS2='> ' + INVOCATION_ID=4d3b4fa87fb44d36be0ca0b8e036a238 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1459174 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mZgyTpxa/pbuilderrc_Gj6e --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mZgyTpxa/b1 --logfile b1/build.log ntfs2btrfs_20240115-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mZgyTpxa/pbuilderrc_7UFu --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mZgyTpxa/b2 --logfile b2/build.log ntfs2btrfs_20240115-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 11 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1678553/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 9 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -182,7 +214,7 @@ Get: 62 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 pkg-config amd64 1.8.1-1+b2 [14.0 kB] Get: 64 http://deb.debian.org/debian unstable/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1 [919 kB] -Fetched 37.5 MB in 1s (50.5 MB/s) +Fetched 37.5 MB in 4s (9615 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19700 files and directories currently installed.) @@ -453,7 +485,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ntfs2btrfs-20240115/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ntfs2btrfs_20240115-1_source.changes +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ntfs2btrfs-20240115/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ntfs2btrfs_20240115-1_source.changes dpkg-buildpackage: info: source package ntfs2btrfs dpkg-buildpackage: info: source version 20240115-1 dpkg-buildpackage: info: source distribution unstable @@ -489,7 +525,7 @@ -- Found libzstd, version 1.5.5 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc --- Configuring done (1.4s) +-- Configuring done (4.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: @@ -501,7 +537,7 @@ -- Build files have been written to: /build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu dh_auto_build - cd obj-x86_64-linux-gnu && make -j42 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-x86_64-linux-gnu && make -j20 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/ntfs2btrfs-20240115 -B/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu/CMakeFiles /build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu//CMakeFiles/progress.marks @@ -516,39 +552,32 @@ make[3]: Leaving directory '/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu' make -f CMakeFiles/ntfs2btrfs.dir/build.make CMakeFiles/ntfs2btrfs.dir/build make[3]: Entering directory '/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu' -[ 6%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -[ 25%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o -[ 25%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -[ 25%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -[ 31%] Building C object CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -[ 37%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o -[ 43%] Building C object CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o -/usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ntfs.cpp +[ 6%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o /usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ntfs2btrfs.cpp -[ 50%] Building C object CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o -/usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/decomp.cpp -[ 56%] Building C object CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o +[ 12%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o +/usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ntfs.cpp +[ 18%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o /usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/compress.cpp -[ 62%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o +[ 25%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o +[ 31%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o +/usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/decomp.cpp /usr/bin/c++ -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/rollback.cpp +[ 37%] Building C object CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o +[ 43%] Building C object CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o /usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/crc32c.c -[ 68%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o +[ 50%] Building C object CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o /usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/xxhash.c -[ 75%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o /usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/sha256.c -/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/blake2b-ref.c -[ 81%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o +[ 56%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o /usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c -/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c +[ 62%] Building C object CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o +/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/blake2b-ref.c +[ 68%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o /usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c -/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c -[ 93%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -[ 93%] Building ASM object CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o -/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -isystem /usr/include -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/crc32c-gas.S -/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:29, from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:59: /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': +[ 75%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ @@ -586,6 +615,8 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ +[ 81%] Building ASM object CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o +/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -isystem /usr/include -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/crc32c-gas.S /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:183:41: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 183 | if (unlikely(is->end - is->next < count)) @@ -593,51 +624,11 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ -In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:29, - from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:70: -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 191 | return bsr32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'repeat_byte': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' - 191 | return bsr32(v); - | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:436:41: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 436 | return repeat_u16(((u16)b << 8) | b); | ~~~~~~~~~~~~~~^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 38 | # define bsr64(n) (63 - __builtin_clzll(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' - 193 | return bsr64(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'lz_copy': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 229 | return bsf32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' - 39 | # define bsf32(n) __builtin_ctz(n) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 39 | # define bsf32(n) __builtin_ctz(n) - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' - 229 | return bsf32(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 40 | # define bsf64(n) __builtin_ctzll(n) - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' - 231 | return bsf64(v); - | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:472:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ @@ -647,71 +638,12 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' 34 | # define likely(expr) __builtin_expect(!!(expr), 1) | ^~~~ -In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c:11: -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 191 | return bsr32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' - 191 | return bsr32(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 38 | # define bsr64(n) (63 - __builtin_clzll(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' - 193 | return bsr64(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 229 | return bsf32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' - 39 | # define bsf32(n) __builtin_ctz(n) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 39 | # define bsf32(n) __builtin_ctz(n) - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' - 229 | return bsf32(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 40 | # define bsf64(n) __builtin_ctzll(n) - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' - 231 | return bsf64(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c: In function 'aligned_malloc': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c:24:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] - 24 | *((size_t *)ptr - 1) = ptr - raw_ptr; - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:183:41: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 183 | if (unlikely(is->end - is->next < count)) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' - 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'repeat_byte': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:436:41: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] - 436 | return repeat_u16(((u16)b << 8) | b); - | ~~~~~~~~~~~~~~^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'lz_copy': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:472:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) - | ^~ +/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c +[ 87%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o +/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c +[ 93%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: At top level: -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' - 34 | # define likely(expr) __builtin_expect(!!(expr), 1) - | ^~~~ +/usr/bin/cc -DFMT_HEADER_ONLY=1 -I/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ntfs2btrfs-20240115=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -808,7 +740,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:73:9: note: in expansion of macro 'DECODE_TABLE' 73 | DECODE_TABLE(maincode_decode_table, LZX_MAINCODE_MAX_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c: At top level: /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -824,30 +755,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:339:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 339 | STATIC_ASSERT_ZERO((num_syms) > 0) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:340:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 340 | STATIC_ASSERT_ZERO((table_bits) > 0) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:370:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 370 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ | ^~~~~~~~~~~~~~~~~~ @@ -860,30 +767,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:341:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 341 | STATIC_ASSERT_ZERO((max_codeword_len) > 0) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:344:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 344 | STATIC_ASSERT_ZERO((num_syms) <= 1U << (max_codeword_len)) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:375:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 375 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ | ^~~~~~~~~~~~~~~~~~ @@ -896,30 +779,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:348:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 348 | STATIC_ASSERT_ZERO((table_bits) <= (max_codeword_len)) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:351:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 351 | STATIC_ASSERT_ZERO((num_syms) - 1 <= DECODE_TABLE_MAX_SYMBOL) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:339:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 339 | STATIC_ASSERT_ZERO((num_syms) > 0) + \ | ^~~~~~~~~~~~~~~~~~ @@ -932,18 +791,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:355:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 355 | STATIC_ASSERT_ZERO((table_bits) <= DECODE_TABLE_MAX_LENGTH) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:340:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 340 | STATIC_ASSERT_ZERO((table_bits) > 0) + \ | ^~~~~~~~~~~~~~~~~~ @@ -956,18 +803,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:359:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 359 | STATIC_ASSERT_ZERO((max_codeword_len) - (table_bits) <= \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:341:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 341 | STATIC_ASSERT_ZERO((max_codeword_len) > 0) + \ | ^~~~~~~~~~~~~~~~~~ @@ -980,18 +815,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:367:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 367 | STATIC_ASSERT_ZERO((1U << table_bits) > (num_syms) - 1) + \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:344:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 344 | STATIC_ASSERT_ZERO((num_syms) <= 1U << (max_codeword_len)) + \ | ^~~~~~~~~~~~~~~~~~ @@ -1016,18 +839,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:370:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 370 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:351:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 351 | STATIC_ASSERT_ZERO((num_syms) - 1 <= DECODE_TABLE_MAX_SYMBOL) + \ | ^~~~~~~~~~~~~~~~~~ @@ -1040,18 +851,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:375:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' - 375 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' - 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' - 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, - | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] - 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) - | ^ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:355:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' 355 | STATIC_ASSERT_ZERO((table_bits) <= DECODE_TABLE_MAX_LENGTH) + \ | ^~~~~~~~~~~~~~~~~~ @@ -1073,13 +872,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:77:9: note: in expansion of macro 'DECODE_TABLE' 77 | DECODE_TABLE(lencode_decode_table, LZX_LENCODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c: In function 'xpress_decompress': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:116:46: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] - 116 | compressed_size - XPRESS_NUM_SYMBOLS / 2); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:128:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] - 128 | *out_next++ = sym; - | ^~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1176,6 +968,67 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:82:17: note: in expansion of macro 'DECODE_TABLE' 82 | DECODE_TABLE(alignedcode_decode_table, LZX_ALIGNEDCODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ +In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:29, + from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:70: +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 191 | return bsr32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' + 191 | return bsr32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 38 | # define bsr64(n) (63 - __builtin_clzll(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' + 193 | return bsr64(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 229 | return bsf32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' + 39 | # define bsf32(n) __builtin_ctz(n) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 39 | # define bsf32(n) __builtin_ctz(n) + | ^~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' + 229 | return bsf32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 40 | # define bsf64(n) __builtin_ctzll(n) + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' + 231 | return bsf64(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:183:41: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 183 | if (unlikely(is->end - is->next < count)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' + 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) + | ^~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'repeat_byte': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:436:41: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] + 436 | return repeat_u16(((u16)b << 8) | b); + | ~~~~~~~~~~~~~~^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'lz_copy': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:472:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' + 34 | # define likely(expr) __builtin_expect(!!(expr), 1) + | ^~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1224,39 +1077,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:82:17: note: in expansion of macro 'DECODE_TABLE' 82 | DECODE_TABLE(alignedcode_decode_table, LZX_ALIGNEDCODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:36: -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 191 | return bsr32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 37 | # define bsr32(n) (31 - __builtin_clz(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' - 191 | return bsr32(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 38 | # define bsr64(n) (63 - __builtin_clzll(n)) - | ~~~~^~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' - 193 | return bsr64(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 229 | return bsf32(v); - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' - 39 | # define bsf32(n) __builtin_ctz(n) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 39 | # define bsf32(n) __builtin_ctz(n) - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' - 229 | return bsf32(v); - | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1269,37 +1089,6 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:82:17: note: in expansion of macro 'DECODE_TABLE' 82 | DECODE_TABLE(alignedcode_decode_table, LZX_ALIGNEDCODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 40 | # define bsf64(n) __builtin_ctzll(n) - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' - 231 | return bsf64(v); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_get_window_order': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 47 | (_a > _b) ? _a : _b; }) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' - 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:42: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 47 | (_a > _b) ? _a : _b; }) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' - 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 47 | (_a > _b) ? _a : _b; }) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' - 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:46:24: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 46 | # define max(a, b) ({ __typeof__(a) _a = (a); __typeof__(b) _b = (b); \ - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' - 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); - | ^~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1312,25 +1101,7 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:82:17: note: in expansion of macro 'DECODE_TABLE' 82 | DECODE_TABLE(alignedcode_decode_table, LZX_ALIGNEDCODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_get_num_main_syms': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:95:27: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] - 95 | while (max_offset >= lzx_offset_slot_base[num_offset_slots]) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'do_translate_target': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:115:30: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] - 115 | *(uint32_t*)target = abs_offset; - | ^~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'undo_translate_target': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:129:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] - 129 | *(uint32_t*)target = rel_offset; - | ^~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:135:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] - 135 | *(uint32_t*)target = rel_offset; - | ^~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_e8_filter': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:205:26: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] - 205 | u64 valid_mask = ~0; - | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c: At top level: /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1343,12 +1114,18 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:220:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] - 220 | (*process_target)(p + 1, p - data); - | ~~^~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:221:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] - 221 | valid_mask &= ~0x1F; - | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:339:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 339 | STATIC_ASSERT_ZERO((num_syms) > 0) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1361,15 +1138,18 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:255:64: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] - 255 | const __m128i e8_bytes = _mm_set1_epi8(0xE8); - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:263:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] - 263 | u32 mask1 = _mm_movemask_epi8(cmpresult1); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:264:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] - 264 | u32 mask2 = _mm_movemask_epi8(cmpresult2); - | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:340:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 340 | STATIC_ASSERT_ZERO((table_bits) > 0) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1382,9 +1162,18 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:278:46: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] - 278 | valid_mask = ~0; - | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:341:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 341 | STATIC_ASSERT_ZERO((max_codeword_len) > 0) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1397,9 +1186,18 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:287:44: warning: conversion from 'u64' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] - 287 | while ((e8_mask &= valid_mask)) { - | ^~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:344:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 344 | STATIC_ASSERT_ZERO((num_syms) <= 1U << (max_codeword_len)) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1412,18 +1210,39 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] - 39 | # define bsf32(n) __builtin_ctz(n) - | ^~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:288:48: note: in expansion of macro 'bsf32' - 288 | unsigned bit = bsf32(e8_mask); - | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:289:72: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] - 289 | (*process_target)(p + bit + 1, p + bit - data); - | ~~~~~~~~^~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:304:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] - 304 | (*process_target)(p + 1, p - data); - | ~~^~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:348:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 348 | STATIC_ASSERT_ZERO((table_bits) <= (max_codeword_len)) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:29, + from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:33: +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 191 | return bsr32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' + 191 | return bsr32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 38 | # define bsr64(n) (63 - __builtin_clzll(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' + 193 | return bsr64(v); + | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1436,9 +1255,25 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:305:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] - 305 | valid_mask &= ~0x1F; - | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 229 | return bsf32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' + 39 | # define bsf32(n) __builtin_ctz(n) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 39 | # define bsf32(n) __builtin_ctz(n) + | ^~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' + 229 | return bsf32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 40 | # define bsf64(n) __builtin_ctzll(n) + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' + 231 | return bsf64(v); + | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1475,6 +1310,109 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:183:41: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 183 | if (unlikely(is->end - is->next < count)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' + 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) + | ^~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:351:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 351 | STATIC_ASSERT_ZERO((num_syms) - 1 <= DECODE_TABLE_MAX_SYMBOL) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:355:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 355 | STATIC_ASSERT_ZERO((table_bits) <= DECODE_TABLE_MAX_LENGTH) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'repeat_byte': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:436:41: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] + 436 | return repeat_u16(((u16)b << 8) | b); + | ~~~~~~~~~~~~~~^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:359:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 359 | STATIC_ASSERT_ZERO((max_codeword_len) - (table_bits) <= \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'lz_copy': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:472:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' + 34 | # define likely(expr) __builtin_expect(!!(expr), 1) + | ^~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:367:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 367 | STATIC_ASSERT_ZERO((1U << table_bits) > (num_syms) - 1) + \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c: In function 'make_huffman_decode_table': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:158:40: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare] + 158 | if (unlikely(remainder != 1U << max_codeword_len)) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' + 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) + | ^~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:370:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 370 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:182:53: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] + 182 | sorted_syms[offsets[lens[sym]]++] = sym; + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] + 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:375:9: note: in expansion of macro 'STATIC_ASSERT_ZERO' + 375 | STATIC_ASSERT_ZERO(DECODE_TABLE_ENOUGH( \ + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:396:18: note: in expansion of macro 'DECODE_TABLE_SIZE' + 396 | u16 name[DECODE_TABLE_SIZE((num_syms), (table_bits), \ + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:79:17: note: in expansion of macro 'DECODE_TABLE' + 79 | DECODE_TABLE(decode_table, XPRESS_NUM_SYMBOLS, + | ^~~~~~~~~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:104:51: warning: ISO C forbids zero-size array [-Wpedantic] 104 | #define STATIC_ASSERT_ZERO(expr) ((int)sizeof(char[-!(expr)])) | ^ @@ -1499,6 +1437,74 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:88:17: note: in expansion of macro 'DECODE_TABLE' 88 | DECODE_TABLE(precode_decode_table, LZX_PRECODE_NUM_SYMBOLS, | ^~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:232:50: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] + 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:209:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' + 209 | MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c:11: +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 191 | return bsr32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:37:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 37 | # define bsr32(n) (31 - __builtin_clz(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' + 191 | return bsr32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:38:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 38 | # define bsr64(n) (63 - __builtin_clzll(n)) + | ~~~~^~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' + 193 | return bsr64(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 229 | return bsf32(v); + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' + 39 | # define bsf32(n) __builtin_ctz(n) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 39 | # define bsf32(n) __builtin_ctz(n) + | ^~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' + 229 | return bsf32(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:40:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 40 | # define bsf64(n) __builtin_ctzll(n) + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' + 231 | return bsf64(v); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:269:20: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] + 269 | codeword = ((u16 *)entry_ptr - decode_table) << 1; + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:272:27: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] + 272 | subtable_prefix = -1; + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:232:9: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] + 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:317:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' + 317 | MAKE_DECODE_TABLE_ENTRY(subtable_pos, + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c: In function 'xpress_decompress': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:116:46: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] + 116 | compressed_size - XPRESS_NUM_SYMBOLS / 2); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/xpress_decompress.c:128:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] + 128 | *out_next++ = sym; + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c: In function 'aligned_malloc': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/aligned_malloc.c:24:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] + 24 | *((size_t *)ptr - 1) = ptr - raw_ptr; + | ^~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: In function 'lzx_read_codeword_lens': /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:165:25: warning: conversion from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 165 | bitstream_read_bits(is, LZX_PRECODE_ELEMENT_SIZE); @@ -1520,8 +1526,24 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:390:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 390 | *out_next++ = mainsym; | ^~~~~~~ -In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:29, - from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:33: +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:420:32: warning: conversion to 'u32' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] + 420 | offset += lzx_offset_slot_base[offset_slot]; + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:452:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] + 452 | init_input_bitstream(&is, compressed_data, compressed_size); + | ^~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:500:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] + 500 | lzx_postprocess(uncompressed_data, uncompressed_size); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:270:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 270 | for (int i = 0; i < LZX_ALIGNEDCODE_NUM_SYMBOLS; i++) { + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:279:9: note: here + 279 | case LZX_BLOCKTYPE_VERBATIM: + | ^~~~ +In file included from /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:36: /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsrw': /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:191:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); @@ -1542,9 +1564,6 @@ 193 | return bsr64(v); | ^~~~~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h: In function 'bsfw': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:420:32: warning: conversion to 'u32' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] - 420 | offset += lzx_offset_slot_base[offset_slot]; - | ^~ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:229:30: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ @@ -1563,69 +1582,86 @@ /build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:452:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] - 452 | init_input_bitstream(&is, compressed_data, compressed_size); - | ^~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:183:41: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 183 | if (unlikely(is->end - is->next < count)) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' - 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:500:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] - 500 | lzx_postprocess(uncompressed_data, uncompressed_size); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'repeat_byte': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:436:41: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] - 436 | return repeat_u16(((u16)b << 8) | b); - | ~~~~~~~~~~~~~~^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h: In function 'lz_copy': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:472:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' - 34 | # define likely(expr) __builtin_expect(!!(expr), 1) - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:270:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 270 | for (int i = 0; i < LZX_ALIGNEDCODE_NUM_SYMBOLS; i++) { - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_decompress.c:279:9: note: here - 279 | case LZX_BLOCKTYPE_VERBATIM: - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c: In function 'make_huffman_decode_table': -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:158:40: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare] - 158 | if (unlikely(remainder != 1U << max_codeword_len)) - | ^~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' - 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) - | ^~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:182:53: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] - 182 | sorted_syms[offsets[lens[sym]]++] = sym; - | ^~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:232:50: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] - 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:209:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' - 209 | MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:269:20: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] - 269 | codeword = ((u16 *)entry_ptr - decode_table) << 1; - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:272:27: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] - 272 | subtable_prefix = -1; - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.h:232:9: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] - 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) - | ^ -/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c:317:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' - 317 | MAKE_DECODE_TABLE_ENTRY(subtable_pos, - | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_get_window_order': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 47 | (_a > _b) ? _a : _b; }) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' + 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:42: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 47 | (_a > _b) ? _a : _b; }) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' + 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:47:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 47 | (_a > _b) ? _a : _b; }) + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' + 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:46:24: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 46 | # define max(a, b) ({ __typeof__(a) _a = (a); __typeof__(b) _b = (b); \ + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' + 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); + | ^~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_get_num_main_syms': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:95:27: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] + 95 | while (max_offset >= lzx_offset_slot_base[num_offset_slots]) + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'do_translate_target': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:115:30: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] + 115 | *(uint32_t*)target = abs_offset; + | ^~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'undo_translate_target': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:129:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] + 129 | *(uint32_t*)target = rel_offset; + | ^~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:135:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] + 135 | *(uint32_t*)target = rel_offset; + | ^~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c: In function 'lzx_e8_filter': +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:205:26: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] + 205 | u64 valid_mask = ~0; + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:220:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] + 220 | (*process_target)(p + 1, p - data); + | ~~^~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:221:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] + 221 | valid_mask &= ~0x1F; + | ^~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:255:64: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] + 255 | const __m128i e8_bytes = _mm_set1_epi8(0xE8); + | ^~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:263:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] + 263 | u32 mask1 = _mm_movemask_epi8(cmpresult1); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:264:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] + 264 | u32 mask2 = _mm_movemask_epi8(cmpresult2); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:278:46: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] + 278 | valid_mask = ~0; + | ^ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:287:44: warning: conversion from 'u64' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] + 287 | while ((e8_mask &= valid_mask)) { + | ^~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/common_defs.h:39:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] + 39 | # define bsf32(n) __builtin_ctz(n) + | ^~~~~~~~~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:288:48: note: in expansion of macro 'bsf32' + 288 | unsigned bit = bsf32(e8_mask); + | ^~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:289:72: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] + 289 | (*process_target)(p + bit + 1, p + bit - data); + | ~~~~~~~~^~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:304:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] + 304 | (*process_target)(p + 1, p - data); + | ~~^~~~~~ +/build/reproducible-path/ntfs2btrfs-20240115/src/ebiggers/lzx_common.c:305:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] + 305 | valid_mask &= ~0x1F; + | ^~ In file included from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /build/reproducible-path/ntfs2btrfs-20240115/src/ntfs2btrfs.h:23, @@ -1853,7 +1889,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/ntfs2btrfs/ - cd obj-x86_64-linux-gnu && make -j42 install DESTDIR=/build/reproducible-path/ntfs2btrfs-20240115/debian/ntfs2btrfs AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j20 install DESTDIR=/build/reproducible-path/ntfs2btrfs-20240115/debian/ntfs2btrfs AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/ntfs2btrfs-20240115 -B/build/reproducible-path/ntfs2btrfs-20240115/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -1892,12 +1928,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1459174/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1678553 and its subdirectories -I: Current time: Fri Jun 13 01:28:15 -12 2025 -I: pbuilder-time-stamp: 1749821295 +I: removing directory /srv/workspace/pbuilder/1459174 and its subdirectories +I: Current time: Sat May 11 21:09:26 +14 2024 +I: pbuilder-time-stamp: 1715411366