Diff of the two buildlogs: -- --- b1/build.log 2025-10-16 14:32:15.306958147 +0000 +++ b2/build.log 2025-10-16 14:33:04.611015742 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 18 08:53:53 -12 2026 -I: pbuilder-time-stamp: 1795035233 +I: Current time: Fri Oct 17 04:32:17 +14 2025 +I: pbuilder-time-stamp: 1760625137 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying gcc-15.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2542081/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/402970/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 Oct 16 14:32 /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/402970/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/402970/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=16 ' - 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(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=12 ' + 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='1e07e35b11e4428388a4bfd60b946d03' - 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='2542081' - PS1='# ' - PS2='> ' + INVOCATION_ID=941bbe683e5d4206ae59fc467c246ad8 + 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=402970 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.kMz9NLyl/pbuilderrc_DyEl --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.kMz9NLyl/b1 --logfile b1/build.log pmars_0.9.4-1.1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.kMz9NLyl/pbuilderrc_3vxb --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.kMz9NLyl/b2 --logfile b2/build.log pmars_0.9.4-1.1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2542081/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/402970/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +184,7 @@ Get: 39 http://deb.debian.org/debian unstable/main amd64 xtrans-dev all 1.6.0-1 [93.5 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 libxcb1-dev amd64 1.17.0-2+b1 [181 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 libx11-dev amd64 2:1.8.12-1 [894 kB] -Fetched 14.5 MB in 2s (6167 kB/s) +Fetched 14.5 MB in 0s (38.9 MB/s) Preconfiguring packages ... 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 ... 19856 files and directories currently installed.) @@ -336,7 +368,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/pmars-0.9.4/ && 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 > ../pmars_0.9.4-1.1_source.changes +I: user script /srv/workspace/pbuilder/402970/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/402970/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/pmars-0.9.4/ && 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 > ../pmars_0.9.4-1.1_source.changes dpkg-buildpackage: info: source package pmars dpkg-buildpackage: info: source version 0.9.4-1.1 dpkg-buildpackage: info: source distribution unstable @@ -348,7 +384,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/pmars-0.9.4' dh_auto_clean --sourcedir src - cd src && make -j16 clean + cd src && make -j12 clean make[2]: Entering directory '/build/reproducible-path/pmars-0.9.4/src' rm -f pmars.o asm.o eval.o disasm.o cdb.o sim.o pos.o clparse.o global.o token.o str_eng.o core make[2]: Leaving directory '/build/reproducible-path/pmars-0.9.4/src' @@ -362,24 +398,24 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/pmars-0.9.4' dh_auto_build --sourcedir src - cd src && make -j16 INSTALL="install --strip-program=true" + cd src && make -j12 INSTALL="install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/pmars-0.9.4/src' Making pmars with compiler flags -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT Compiling pmars.o +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c pmars.c Compiling asm.o +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c asm.c Compiling eval.o +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c eval.c Compiling disasm.o -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c pmars.c Compiling cdb.o -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c asm.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c eval.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c disasm.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c cdb.c Compiling sim.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c sim.c Compiling pos.o -Compiling clparse.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c pos.c +Compiling clparse.o Compiling global.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c clparse.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pmars-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT -c global.c @@ -403,54 +439,38 @@ eval.c:250:1: warning: old-style function definition [-Wold-style-definition] 250 | getval(expr, val) | ^~~~~~ -eval.c: In function 'set_reg': -In file included from disasm.c:26: +In file included from cdb.c:30: sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] 92 | extern int round; | ^~~~~ -disasm.c: In function 'cellview': -disasm.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | cellview(cell, outp, emptyDisp) - | ^~~~~~~~ -disasm.c: In function 'locview': -disasm.c:87:1: warning: old-style function definition [-Wold-style-definition] - 87 | locview(loc, outp) - | ^~~~~~~ -disasm.c: In function 'disasm': -pmars.c: In function 'decode_vopt': -pmars.c:139:1: warning: old-style function definition [-Wold-style-definition] - 139 | decode_vopt(option) - | ^~~~~~~~~~~ -pmars.c: In function 'sighandler': -pmars.c:232:1: warning: old-style function definition [-Wold-style-definition] - 232 | sighandler(dummy) - | ^~~~~~~~~~ -pmars.c: In function 'Exit': -pmars.c:259:1: warning: old-style function definition [-Wold-style-definition] - 259 | Exit(errorcode) - | ^~~~ -pmars.c: In function 'main': -pmars.c:289:1: warning: old-style function definition [-Wold-style-definition] - 289 | main(argc, argv) - | ^~~~ -disasm.c:99:1: warning: old-style function definition [-Wold-style-definition] - 99 | disasm(cells, n, offset) +asm.c: In function 'lookup': +asm.c:266:1: warning: old-style function definition [-Wold-style-definition] + 266 | lookup(symn) | ^~~~~~ +cdb.c: In function 'cdb': +eval.c: In function 'set_reg': eval.c:394:1: warning: old-style function definition [-Wold-style-definition] 394 | set_reg(regChr, val) | ^~~~~~~ eval.c: In function 'eval_expr': +In file included from disasm.c:26: +sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] + 92 | extern int round; + | ^~~~~ eval.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | eval_expr(expr, result) /* wrapper for eval() */ | ^~~~~~~~~ -asm.c: In function 'lookup': -asm.c:266:1: warning: old-style function definition [-Wold-style-definition] - 266 | lookup(symn) - | ^~~~~~ asm.c: In function 'addsym': asm.c:300:1: warning: old-style function definition [-Wold-style-definition] 300 | addsym(symn, curgroup) | ^~~~~~ +disasm.c: In function 'cellview': +cdb.c:359:1: warning: old-style function definition [-Wold-style-definition] + 359 | cdb(message) + | ^~~ +disasm.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | cellview(cell, outp, emptyDisp) + | ^~~~~~~~ asm.c: In function 'addpredef': asm.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | addpredef(symn, value) @@ -459,10 +479,18 @@ asm.c:368:1: warning: old-style function definition [-Wold-style-definition] 368 | addline(vline, src, lspnt) | ^~~~~~~ +disasm.c: In function 'locview': +disasm.c:87:1: warning: old-style function definition [-Wold-style-definition] + 87 | locview(loc, outp) + | ^~~~~~~ asm.c: In function 'addlinesrc': asm.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | addlinesrc(src, loc) | ^~~~~~~~~~ +disasm.c: In function 'disasm': +disasm.c:99:1: warning: old-style function definition [-Wold-style-definition] + 99 | disasm(cells, n, offset) + | ^~~~~~ asm.c: In function 'disposeline': asm.c:413:1: warning: old-style function definition [-Wold-style-definition] 413 | disposeline(aline) @@ -476,11 +504,6 @@ 443 | disposetbl(atbl, btbl) | ^~~~~~~~~~ asm.c: In function 'show_info': -In file included from cdb.c:30: -sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] - 92 | extern int round; - | ^~~~~ -cdb.c: In function 'cdb': asm.c:527:1: warning: old-style function definition [-Wold-style-definition] 527 | show_info(sspnt) | ^~~~~~~~~ @@ -504,14 +527,10 @@ asm.c:697:1: warning: old-style function definition [-Wold-style-definition] 697 | errprn(code, aline, arg) | ^~~~~~ -cdb.c:359:1: warning: old-style function definition [-Wold-style-definition] - 359 | cdb(message) - | ^~~ asm.c: In function 'automaton': asm.c:950:1: warning: old-style function definition [-Wold-style-definition] 950 | automaton(expr, state, cell) | ^~~~~~~~~ -asm.c: In function 'dfashell': cdb.c: In function 'queue': cdb.c:1008:1: warning: old-style function definition [-Wold-style-definition] 1008 | queue(index) @@ -520,41 +539,58 @@ cdb.c:1034:1: warning: old-style function definition [-Wold-style-definition] 1034 | get_cmd(prompt) | ^~~~~~~ +clparse.c: In function 'xwin_decode': cdb.c: In function 'cdb_fputs': +clparse.c:144:1: warning: old-style function definition [-Wold-style-definition] + 144 | xwin_decode(inputs, clip) + | ^~~~~~~~~~~ cdb.c:1364:1: warning: old-style function definition [-Wold-style-definition] 1364 | cdb_fputs(str, wout) | ^~~~~~~~~ -asm.c:1286:1: warning: old-style function definition [-Wold-style-definition] - 1286 | dfashell(expr, cell) - | ^~~~~~~~ cdb.c: In function 'bad_arg': cdb.c:1443:1: warning: old-style function definition [-Wold-style-definition] 1443 | bad_arg(argStr) | ^~~~~~~ +clparse.c: In function 'print_usage': +clparse.c:172:1: warning: old-style function definition [-Wold-style-definition] + 172 | print_usage(clopt) + | ^~~~~~~~~~~ cdb.c: In function 'hash_str': cdb.c:1454:1: warning: old-style function definition [-Wold-style-definition] 1454 | hash_str(str, length) | ^~~~~~~~ +asm.c: In function 'dfashell': +In file included from sim.c:29: +sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] + 92 | extern int round; + | ^~~~~ +asm.c:1286:1: warning: old-style function definition [-Wold-style-definition] + 1286 | dfashell(expr, cell) + | ^~~~~~~~ cdb.c: In function 'substitute': cdb.c:1471:1: warning: old-style function definition [-Wold-style-definition] 1471 | substitute(in, repl, with, out) | ^~~~~~~~~~ +clparse.c: In function 'next_input': +clparse.c:216:1: warning: old-style function definition [-Wold-style-definition] + 216 | next_input(filep, inputs) + | ^~~~~~~~~~ +cdb.c: In function 'subst_eval': +cdb.c:1501:1: warning: old-style function definition [-Wold-style-definition] + 1501 | subst_eval(inpStr, result) + | ^~~~~~~~~~ +clparse.c: In function 'clp_parse': +clparse.c:256:1: warning: old-style function definition [-Wold-style-definition] + 256 | clp_parse(clopt, filep) + | ^~~~~~~~~ asm.c: In function 'normalize': asm.c:1427:1: warning: old-style function definition [-Wold-style-definition] 1427 | normalize(value) | ^~~~~~~~~ -cdb.c: In function 'subst_eval': asm.c: In function 'encode': -cdb.c:1501:1: warning: old-style function definition [-Wold-style-definition] - 1501 | subst_eval(inpStr, result) - | ^~~~~~~~~~ asm.c:1441:1: warning: old-style function definition [-Wold-style-definition] 1441 | encode(sspnt) | ^~~~~~ -asm.c: In function 'blkfor': -asm.c:1546:1: warning: old-style function definition [-Wold-style-definition] - 1546 | blkfor(expr, dest) - | ^~~~~~ cdb.c:1550:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1550 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -567,11 +603,6 @@ | long int 1552 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ -asm.c: In function 'equtbl': -In file included from sim.c:29: -sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] - 92 | extern int round; - | ^~~~~ cdb.c:1558:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1558 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -584,6 +615,10 @@ | long int 1560 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ +asm.c: In function 'blkfor': +asm.c:1546:1: warning: old-style function definition [-Wold-style-definition] + 1546 | blkfor(expr, dest) + | ^~~~~~ cdb.c:1563:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1563 | sprintf(outs, "%d", (cycle + (warriorsLeft ? warriorsLeft : 1) - 1) / | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -592,49 +627,106 @@ | %ld 1564 | (warriorsLeft ? warriorsLeft : 1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -asm.c:1633:1: warning: old-style function definition [-Wold-style-definition] - 1633 | equtbl(expr) - | ^~~~~~ -asm.c: In function 'equsub': +clparse.c: In function 'parse_param': +clparse.c:452:1: warning: old-style function definition [-Wold-style-definition] + 452 | parse_param(largc, largv) + | ^~~~~~~~~~~ +In file included from pos.c:24: +sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] + 92 | extern int round; + | ^~~~~ cdb.c: In function 'parse_cmd': cdb.c:1620:1: warning: old-style function definition [-Wold-style-definition] 1620 | parse_cmd(inpStr, verbStr, start, stop, argStr) | ^~~~~~~~~ +asm.c: In function 'equtbl': +asm.c:1633:1: warning: old-style function definition [-Wold-style-definition] + 1633 | equtbl(expr) + | ^~~~~~ +pos.c: In function 'rng': +pos.c:43:1: warning: old-style function definition [-Wold-style-definition] + 43 | rng(seed) + | ^~~ +asm.c: In function 'equsub': asm.c:1689:1: warning: old-style function definition [-Wold-style-definition] 1689 | equsub(expr, dest, wdecl, tbl) | ^~~~~~ +pmars.c: In function 'decode_vopt': asm.c: In function 'trav2': asm.c:1726:1: warning: old-style function definition [-Wold-style-definition] 1726 | trav2(buffer, dest, wdecl) | ^~~~~ +pmars.c:139:1: warning: old-style function definition [-Wold-style-definition] + 139 | decode_vopt(option) + | ^~~~~~~~~~~ cdb.c: In function 'print_core': cdb.c:1753:1: warning: old-style function definition [-Wold-style-definition] 1753 | print_core(start, stop) | ^~~~~~~~~~ +pmars.c: In function 'sighandler': +pmars.c:232:1: warning: old-style function definition [-Wold-style-definition] + 232 | sighandler(dummy) + | ^~~~~~~~~~ +pmars.c: In function 'Exit': +pmars.c:259:1: warning: old-style function definition [-Wold-style-definition] + 259 | Exit(errorcode) + | ^~~~ +pmars.c: In function 'main': +pmars.c:289:1: warning: old-style function definition [-Wold-style-definition] + 289 | main(argc, argv) + | ^~~~ cdb.c: In function 'set_trace': -asm.c: In function 'expand': -asm.c:1945:1: warning: old-style function definition [-Wold-style-definition] - 1945 | expand(sspnt) - | ^~~~~~ cdb.c:1843:1: warning: old-style function definition [-Wold-style-definition] 1843 | set_trace(start, stop) | ^~~~~~~~~ +pos.c: In function 'rc5_schedule': cdb.c: In function 'unset_trace': cdb.c:1856:1: warning: old-style function definition [-Wold-style-definition] 1856 | unset_trace(start, stop) | ^~~~~~~~~~~ +pos.c:154:12: warning: conversion from 'long unsigned int' to 'U32_T' {aka 'unsigned int'} changes value from '8393868501' to '4098901205' [-Woverflow] + 154 | #define _P 0xb7e15163UL + | ^~~~~~~~~~~~ +pos.c:219:14: note: in expansion of macro '_P' + 219 | for ( S[2]=_P+2*_Q, i=3; i