Diff of the two buildlogs: -- --- b1/build.log 2024-11-12 19:56:14.425091123 +0000 +++ b2/build.log 2024-11-12 19:57:12.779010751 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 12 07:55:43 -12 2024 -I: pbuilder-time-stamp: 1731441343 +I: Current time: Wed Nov 13 09:56:18 +14 2024 +I: pbuilder-time-stamp: 1731441378 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying exitcode I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/490341/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3318383/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Nov 12 19:56 /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/3318383/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3318383/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d2b65251800b47fab90a1b78fc012185' - 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='490341' - PS1='# ' - PS2='> ' + INVOCATION_ID=c6c44f6416504b48b6c545d465eacde0 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=3318383 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.9K1lwhBz/pbuilderrc_RTpV --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.9K1lwhBz/b1 --logfile b1/build.log minisat+_1.0-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.9K1lwhBz/pbuilderrc_1Xpj --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.9K1lwhBz/b2 --logfile b2/build.log minisat+_1.0-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/490341/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3318383/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -146,7 +178,7 @@ Get: 30 http://deb.debian.org/debian unstable/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-2+b2 [329 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-2+b2 [621 kB] Get: 32 http://deb.debian.org/debian unstable/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1+b1 [917 kB] -Fetched 21.3 MB in 0s (147 MB/s) +Fetched 21.3 MB in 0s (86.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 20088 files and directories currently installed.) @@ -289,7 +321,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/minisat+-1.0/ && 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 > ../minisat+_1.0-5_source.changes +I: user script /srv/workspace/pbuilder/3318383/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3318383/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/minisat+-1.0/ && 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 > ../minisat+_1.0-5_source.changes dpkg-buildpackage: info: source package minisat+ dpkg-buildpackage: info: source version 1.0-5 dpkg-buildpackage: info: source distribution unstable @@ -320,46 +356,6 @@ Compiling: Hardware_adders.C Compiling: Hardware_clausify.C Compiling: Hardware_sorters.C -Compiling: Main.C -Compiling: MiniSat.C -Compiling: PbParser.C -Compiling: PbSolver.C -Compiling: PbSolver_convert.C -Compiling: PbSolver_convertAdd.C -Compiling: PbSolver_convertBdd.C -Compiling: PbSolver_convertSort.C -In file included from Solver.h:24, - from PbSolver.h:23, - from Hardware.h:24, - from Hardware_clausify.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from Hardware.h:24, - from Hardware_adders.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ In file included from Solver.h:24, from PbSolver.h:23, from Debug.h:24, @@ -376,25 +372,11 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ +Compiling: Main.C In file included from Solver.h:24, from PbSolver.h:23, - from PbParser.h:23, - from PbParser.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from PbSolver_convert.C:20: + from Hardware.h:24, + from Hardware_adders.C:20: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ @@ -407,9 +389,11 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ +Compiling: MiniSat.C In file included from Solver.h:24, from PbSolver.h:23, - from PbSolver_convertAdd.C:20: + from Hardware.h:24, + from Hardware_clausify.C:20: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ @@ -422,6 +406,7 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ +Compiling: PbParser.C In file included from Solver.h:24, from PbSolver.h:23, from Hardware.h:24, @@ -438,19 +423,22 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:24, from PbSolver.h:23, from Main.C:31: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from Debug.h:24, - from PbSolver.C:22: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ +Compiling: PbSolver.C SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ @@ -460,28 +448,9 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ Main.C:269:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 269 | reportf("restarts : %"I64_fmt"\n", stats.starts); | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ Main.C:270:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 270 | reportf("conflicts : %-12"I64_fmt" (%.0f /sec)\n", stats.conflicts , stats.conflicts /cpu_time); | ^ @@ -494,35 +463,23 @@ Main.C:273:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 273 | reportf("inspects : %-12"I64_fmt" (%.0f /sec)\n", stats.inspects , stats.inspects /cpu_time); | ^ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ +Compiling: PbSolver_convert.C SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:24, from PbSolver.h:23, - from PbSolver_convertBdd.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from PbSolver_convertSort.C:20: + from PbParser.h:23, + from PbParser.C:20: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ @@ -532,21 +489,13 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ +Compiling: PbSolver_convertAdd.C +Compiling: PbSolver_convertBdd.C In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] @@ -556,30 +505,14 @@ SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from MiniSat.C:20: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from Main.C:30: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, - from PbSolver.h:24: + from ADTs/FEnv.h:30, + from Hardware.h:23: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -593,9 +526,29 @@ | | | | int long unsigned int | %ld +In file included from Solver.h:24, + from PbSolver.h:23, + from Debug.h:24, + from PbSolver.C:22: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +Compiling: PbSolver_convertSort.C In file included from ADTs/Map.h:29, - from ADTs/FEnv.h:30, - from Hardware.h:23: + from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -613,8 +566,29 @@ SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:24, + from PbSolver.h:23, + from PbSolver_convert.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, - from PbSolver.h:24: + from ADTs/FEnv.h:30, + from Hardware.h:23: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -628,10 +602,58 @@ | | | | int long unsigned int | %ld -PbSolver_convertAdd.C: In function 'void lte(vec&, vec&, vec&)': -PbSolver_convertAdd.C:43:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 43 | c = c | x ^ y; - | ~~^~~ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:24, + from PbSolver.h:23, + from PbSolver_convertAdd.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +In file included from PbSolver.C:20: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:24, + from PbSolver.h:23, + from PbSolver_convertBdd.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from ADTs/FEnv.h:30, from Hardware.h:23: @@ -648,11 +670,26 @@ | | | | int long unsigned int | %ld -In file included from PbSolver.C:20: +In file included from Solver.h:24, + from PbSolver.h:23, + from PbSolver_convertSort.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +In file included from MiniSat.C:20: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -668,17 +705,11 @@ | | | | int long unsigned int | %ld -In file included from PbSolver.h:25: -ADTs/StackAlloc.h: In instantiation of 'void StackAlloc::freeAll() [with T = char*; int cap = 10000; int lim = 1000]': -ADTs/StackAlloc.h:55:26: required from 'void StackAlloc::clear() [with T = char*; int cap = 10000; int lim = 1000]' - 55 | void clear (void) { freeAll(); init(); } - | ^~~~~~~ -PbSolver_convert.C:71:14: required from here - 71 | mem.clear(); - | ~~~~~~~~~^~ -ADTs/StackAlloc.h:83:26: warning: deleting object of polymorphic class type 'StackAlloc' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 83 | tmp = ptr->prev, delete ptr, ptr = tmp; - | ^~~~~~~~~~ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -694,16 +725,6 @@ | | | | int long unsigned int | %ld -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) @@ -717,10 +738,6 @@ SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -736,40 +753,17 @@ | | | | int long unsigned int | %ld -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': -MiniSat.C:65:21: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] - 65 | if (&out_clause != NULL) out_clause = NULL; - | ^ -MiniSat.C:59:67: note: 'out_clause' declared here - 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) - | ~~~~~~~~~^~~~~~~~~~ -MiniSat.C:135:25: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] - 135 | if (&out_clause != NULL) out_clause = c; - | ^ -MiniSat.C:59:67: note: 'out_clause' declared here - 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) - | ~~~~~~~~~^~~~~~~~~~ -MiniSat.C: In member function 'void MiniSat::Solver::remove(MiniSat::Clause*, bool)': -MiniSat.C:144:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 144 | if (!just_dealloc) - | ^ -MiniSat.C: In member function 'bool MiniSat::Solver::removable(Lit, unsigned int)': -MiniSat.C:362:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 362 | if (!analyze_seen[var(p)] && level[var(p)] != 0) \ - | ^ -MiniSat.C:384:13: note: in expansion of macro 'REMOVABLE_LIT' - 384 | REMOVABLE_LIT(q); - | ^~~~~~~~~~~~~ -MiniSat.C:362:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 362 | if (!analyze_seen[var(p)] && level[var(p)] != 0) \ - | ^ -MiniSat.C:388:17: note: in expansion of macro 'REMOVABLE_LIT' - 388 | REMOVABLE_LIT(c[i]); - | ^~~~~~~~~~~~~ +In file included from PbSolver.h:25: +ADTs/StackAlloc.h: In instantiation of 'void StackAlloc::freeAll() [with T = char*; int cap = 10000; int lim = 1000]': +ADTs/StackAlloc.h:55:26: required from 'void StackAlloc::clear() [with T = char*; int cap = 10000; int lim = 1000]' + 55 | void clear (void) { freeAll(); init(); } + | ^~~~~~~ +PbSolver_convert.C:71:14: required from here + 71 | mem.clear(); + | ~~~~~~~~~^~ +ADTs/StackAlloc.h:83:26: warning: deleting object of polymorphic class type 'StackAlloc' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 83 | tmp = ptr->prev, delete ptr, ptr = tmp; + | ^~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -785,22 +779,11 @@ | | | | int long unsigned int | %ld -In file included from ADTs/Map.h:29, - from ADTs/FEnv.h:30, - from Hardware.h:23: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -PbSolver.h:99:41: required from here - 99 | , best_goalvalue(Int_MAX) - | ^ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map >::Cell; int chunk_size = 100]': ADTs/Map.h:120:51: required from 'Map::Map(const D&) [with K = int; D = Pair; Par = Hash_params]' 120 | Map(const D& null) : D_null(null) { init(1); } @@ -814,7 +797,10 @@ | | | | int long unsigned int | %ld -Compiling: SatELite.C +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -843,6 +829,25 @@ | | | | int long unsigned int | %ld +PbSolver_convertAdd.C: In function 'void lte(vec&, vec&, vec&)': +PbSolver_convertAdd.C:43:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 43 | c = c | x ^ y; + | ~~^~~ +In file included from ADTs/Map.h:29, + from PbSolver.h:24: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +PbSolver.h:99:41: required from here + 99 | , best_goalvalue(Int_MAX) + | ^ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -858,6 +863,37 @@ | | | | int long unsigned int | %ld +MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': +MiniSat.C:65:21: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] + 65 | if (&out_clause != NULL) out_clause = NULL; + | ^ +MiniSat.C:59:67: note: 'out_clause' declared here + 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) + | ~~~~~~~~~^~~~~~~~~~ +MiniSat.C:135:25: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] + 135 | if (&out_clause != NULL) out_clause = c; + | ^ +MiniSat.C:59:67: note: 'out_clause' declared here + 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) + | ~~~~~~~~~^~~~~~~~~~ +MiniSat.C: In member function 'void MiniSat::Solver::remove(MiniSat::Clause*, bool)': +MiniSat.C:144:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 144 | if (!just_dealloc) + | ^ +MiniSat.C: In member function 'bool MiniSat::Solver::removable(Lit, unsigned int)': +MiniSat.C:362:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 362 | if (!analyze_seen[var(p)] && level[var(p)] != 0) \ + | ^ +MiniSat.C:384:13: note: in expansion of macro 'REMOVABLE_LIT' + 384 | REMOVABLE_LIT(q); + | ^~~~~~~~~~~~~ +MiniSat.C:362:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 362 | if (!analyze_seen[var(p)] && level[var(p)] != 0) \ + | ^ +MiniSat.C:388:17: note: in expansion of macro 'REMOVABLE_LIT' + 388 | REMOVABLE_LIT(c[i]); + | ^~~~~~~~~~~~~ +Compiling: SatELite.C In file included from SatELite.C:26: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); @@ -871,13 +907,6 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': -MiniSat.C:135:9: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] - 135 | if (&out_clause != NULL) out_clause = c; - | ^~ -MiniSat.C:65:5: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] - 65 | if (&out_clause != NULL) out_clause = NULL; - | ^~ SatELite.C:639:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 639 | if (verbosity >= 2) reportf(L_IND"assume("L_LIT")\n", L_ind, L_lit(p)); | ^ @@ -896,11 +925,19 @@ SatELite.C:2373:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2373 | printf("asymmetricBranching("L_LIT" @ %d)\n", L_lit(p), level[var(p)]); | ^ +MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': +MiniSat.C:135:9: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] + 135 | if (&out_clause != NULL) out_clause = c; + | ^~ +MiniSat.C:65:5: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] + 65 | if (&out_clause != NULL) out_clause = NULL; + | ^~ SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling: ADTs/Global.C +Compiling: ADTs/FEnv.C SatELite.C: In function 'FILE* SatELite::createTmpFile(cchar*, cchar*, char*&)': SatELite.C:172:19: warning: the compiler can assume that the address of 'out_name' will never be NULL [-Waddress] 172 | if (&out_name != NULL) out_name = name; @@ -945,6 +982,22 @@ SatELite.C:2205:94: note: 'new_clauses' declared here 2205 | int Solver::substitute(Lit x, Clause def, vec& poss, vec& negs, vec& new_clauses = *(vec*)NULL) | ^ +In file included from ADTs/Map.h:29, + from ADTs/FEnv.h:30, + from ADTs/FEnv.C:20: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = FEnv::NodeData; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +ADTs/FEnv.C:24:25: required from here + 24 | Map uniqueness_table; + | ^~~~~~~~~~~~~~~~ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld SatELite.C: In member function 'void SatELite::Solver::subsume0(SatELite::Clause, int&)': SatELite.C:1694:9: warning: 'nonnull' argument 'counter' compared to NULL [-Wnonnull-compare] 1694 | if (&counter != NULL) counter++; @@ -967,24 +1020,7 @@ SatELite.C:2267:9: warning: 'nonnull' argument 'new_clauses' compared to NULL [-Wnonnull-compare] 2267 | if (&new_clauses != NULL){ | ^~ -Compiling: ADTs/FEnv.C Compiling: ADTs/File.C -In file included from ADTs/Map.h:29, - from ADTs/FEnv.h:30, - from ADTs/FEnv.C:20: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = FEnv::NodeData; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -ADTs/FEnv.C:24:25: required from here - 24 | Map uniqueness_table; - | ^~~~~~~~~~~~~~~~ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld In member function 'Lit& SatELite::Clause_t::operator[](int)', inlined from 'void SatELite::Solver::subsume1(SatELite::Clause, int&)' at SatELite.C:1723:26: SatELite.h:110:92: warning: array subscript i is outside array bounds of 'Lit [0]' [-Warray-bounds=] @@ -1075,12 +1111,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3318383/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3318383/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/490341 and its subdirectories -I: Current time: Tue Nov 12 07:56:13 -12 2024 -I: pbuilder-time-stamp: 1731441373 +I: removing directory /srv/workspace/pbuilder/3318383 and its subdirectories +I: Current time: Wed Nov 13 09:57:11 +14 2024 +I: pbuilder-time-stamp: 1731441431