Diff of the two buildlogs: -- --- b1/build.log 2025-02-25 05:16:01.609294671 +0000 +++ b2/build.log 2025-02-25 05:16:43.811389313 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Feb 24 17:15:02 -12 2025 -I: pbuilder-time-stamp: 1740460502 +I: Current time: Tue Mar 31 01:39:04 +14 2026 +I: pbuilder-time-stamp: 1774870744 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -23,52 +23,84 @@ dpkg-source: info: unpacking nxt-firmware_1.29.7-6.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1785061/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3457678/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Mar 30 11:39 /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/3457678/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3457678/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='eb95a707921843f88f8dc04d90e77e57' - 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='1785061' - PS1='# ' - PS2='> ' + INVOCATION_ID=f1628e86aef64fafb77263486d43248b + 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=3457678 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.D7ifhaBe/pbuilderrc_SLOE --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D7ifhaBe/b1 --logfile b1/build.log nxt-firmware_1.29.7-6.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.D7ifhaBe/pbuilderrc_HR8p --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D7ifhaBe/b2 --logfile b2/build.log nxt-firmware_1.29.7-6.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-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1785061/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3457678/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -181,7 +213,7 @@ Get: 69 http://deb.debian.org/debian trixie/main arm64 libxcb1 arm64 1.17.0-2+b1 [143 kB] Get: 70 http://deb.debian.org/debian trixie/main arm64 picolibc-arm-none-eabi all 1.8.9-2 [38.2 MB] Get: 71 http://deb.debian.org/debian trixie/main arm64 python3-pil arm64 11.1.0-5 [514 kB] -Fetched 126 MB in 2s (53.7 MB/s) +Fetched 126 MB in 0s (286 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:arm64. (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 ... 19916 files and directories currently installed.) @@ -434,8 +466,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Feb 25 05:15:42 UTC 2025. -Universal Time is now: Tue Feb 25 05:15:42 UTC 2025. +Local time is now: Mon Mar 30 11:39:26 UTC 2026. +Universal Time is now: Mon Mar 30 11:39:26 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -493,7 +525,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/nxt-firmware-1.29.7/ && 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 > ../nxt-firmware_1.29.7-6_source.changes +I: user script /srv/workspace/pbuilder/3457678/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3457678/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/nxt-firmware-1.29.7/ && 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 > ../nxt-firmware_1.29.7-6_source.changes dpkg-buildpackage: info: source package nxt-firmware dpkg-buildpackage: info: source version 1.29.7-6 dpkg-buildpackage: info: source distribution unstable @@ -524,39 +560,34 @@ make[2]: Entering directory '/build/reproducible-path/nxt-firmware-1.29.7' arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o Cstartup.o ./startup/Cstartup.S arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_button.o ./src/c_button.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_cmd.o ./src/c_cmd.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_comm.o ./src/c_comm.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_display.o ./src/c_display.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_input.o ./src/c_input.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_ioctrl.o ./src/c_ioctrl.c ROM_MODE enabled remapping enabled Vectors at start of RAM Vectors in section .vectmapped -> .data RCR setting for remapping enabled IRQ_Handler_Entry in section .fastrun -> .data -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_cmd.o ./src/c_cmd.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_comm.o ./src/c_comm.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_loader.o ./src/c_loader.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_lowspeed.o ./src/c_lowspeed.c +./src/c_comm.c: In function 'cCommReq': +./src/c_comm.c:3624:20: warning: comparison is always true due to limited range of data type [-Wtype-limits] + 3624 | if (Param1 <= sizeof(VarsComm.BtModuleOutBuf.Buf)) + | ^~ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_output.o ./src/c_output.c ./src/c_cmd.c: In function 'cCmdCtrl': ./src/c_cmd.c:1183:3: warning: enumeration value 'VM_RUN_PAUSE' not handled in switch [-Wswitch] 1183 | switch (VarsCmd.VMState) | ^~~~~~ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_sound.o ./src/c_sound.c ./src/c_cmd.c: In function 'cCmdUnop2': -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_display.o ./src/c_display.c ./src/c_cmd.c:4960:12: warning: taking the absolute value of unsigned type 'ULONG' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 4960 | return abs(Operand); | ^~~ -./src/c_cmd.c: In function 'cCmdLSWrite': -./src/c_cmd.c:6455:4: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 6453 | if ((pInput->SensorType == LOWSPEED_9V || pInput->SensorType == LOWSPEED) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6454 | && (pInput->InvalidData == FALSE) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6455 | && (*pChState == LOWSPEED_IDLE) || (*pChState == LOWSPEED_ERROR)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./src/c_comm.c: In function 'cCommReq': -./src/c_comm.c:3624:20: warning: comparison is always true due to limited range of data type [-Wtype-limits] - 3624 | if (Param1 <= sizeof(VarsComm.BtModuleOutBuf.Buf)) - | ^~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_input.o ./src/c_input.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_ioctrl.o ./src/c_ioctrl.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_loader.o ./src/c_loader.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_lowspeed.o ./src/c_lowspeed.c +echo "LAST_BUILD_DATE = 2025-02-23T09:59" > version.mak ./src/c_input.c: In function 'cInputCalcSensorValue': ./src/c_input.c:794:17: warning: 'PresentBoolean' may be used uninitialized [-Wmaybe-uninitialized] 794 | *pBoolean = PresentBoolean; @@ -564,21 +595,18 @@ ./src/c_input.c:655:11: note: 'PresentBoolean' was declared here 655 | UBYTE PresentBoolean; | ^~~~~~~~~~~~~~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_output.o ./src/c_output.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_sound.o ./src/c_sound.c -echo "LAST_BUILD_DATE = 2025-02-23T09:59" > version.mak python3 ./tools/img2src -o Cursor.h data/bitmaps/Cursor.toml data/bitmaps/Cursor.png +./src/c_cmd.c: In function 'cCmdLSWrite': +./src/c_cmd.c:6455:4: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 6453 | if ((pInput->SensorType == LOWSPEED_9V || pInput->SensorType == LOWSPEED) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6454 | && (pInput->InvalidData == FALSE) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6455 | && (*pChState == LOWSPEED_IDLE) || (*pChState == LOWSPEED_ERROR)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ python3 ./tools/img2src -o Display.h data/bitmaps/Display.toml data/bitmaps/Display.png python3 ./tools/img2src -o Fail.h data/bitmaps/Fail.toml data/bitmaps/Fail.png python3 ./tools/img2src -o Info.h data/bitmaps/Info.toml data/bitmaps/Info.png -In file included from ./src/c_cmd.c:99: -./src/c_cmd_drawing.inc: In function 'cCmdResolveValue': -./src/c_cmd_drawing.inc:425:15: warning: 'RCur' may be used uninitialized [-Wmaybe-uninitialized] - 425 | return RCur; - | ^~~~ -./src/c_cmd_drawing.inc:399:22: note: 'RCur' was declared here - 399 | SLONG i, DCur, RCur, DSpread, VSpread, RSpread; - | ^~~~ python3 ./tools/img2src -o LowBattery.h data/bitmaps/LowBattery.toml data/bitmaps/LowBattery.png python3 ./tools/img2src -o Ok.h data/bitmaps/Ok.toml data/bitmaps/Ok.png python3 ./tools/img2src -o Wait.h data/bitmaps/Wait.toml data/bitmaps/Wait.png @@ -591,27 +619,21 @@ python3 ./tools/img2src -o RCXintro_7.h data/bitmaps/RCXintro_7.toml data/bitmaps/RCXintro_7.png python3 ./tools/img2src -o RCXintro_8.h data/bitmaps/RCXintro_8.toml data/bitmaps/RCXintro_8.png python3 ./tools/img2src -o RCXintro_9.h data/bitmaps/RCXintro_9.toml data/bitmaps/RCXintro_9.png -./src/c_comm.c: In function 'cCommInterpreteCmd': -./src/c_comm.c:1195:9: warning: 'Status' may be used uninitialized [-Wmaybe-uninitialized] - 1195 | return(Status); - | ^ -./src/c_comm.c:497:11: note: 'Status' was declared here - 497 | UWORD Status; - | ^~~~~~ python3 ./tools/img2src -o RCXintro_10.h data/bitmaps/RCXintro_10.toml data/bitmaps/RCXintro_10.png python3 ./tools/img2src -o RCXintro_11.h data/bitmaps/RCXintro_11.toml data/bitmaps/RCXintro_11.png python3 ./tools/img2src -o RCXintro_12.h data/bitmaps/RCXintro_12.toml data/bitmaps/RCXintro_12.png python3 ./tools/img2src -o RCXintro_13.h data/bitmaps/RCXintro_13.toml data/bitmaps/RCXintro_13.png -./src/c_comm.c: In function 'cCommInterprete': -./src/c_comm.c:490:9: warning: 'ReturnStatus' may be used uninitialized [-Wmaybe-uninitialized] - 490 | return(ReturnStatus); - | ^ -./src/c_comm.c:355:11: note: 'ReturnStatus' was declared here - 355 | UWORD ReturnStatus; - | ^~~~~~~~~~~~ python3 ./tools/img2src -o RCXintro_14.h data/bitmaps/RCXintro_14.toml data/bitmaps/RCXintro_14.png python3 ./tools/img2src -o RCXintro_15.h data/bitmaps/RCXintro_15.toml data/bitmaps/RCXintro_15.png python3 ./tools/img2src -o RCXintro_16.h data/bitmaps/RCXintro_16.toml data/bitmaps/RCXintro_16.png +In file included from ./src/c_cmd.c:99: +./src/c_cmd_drawing.inc: In function 'cCmdResolveValue': +./src/c_cmd_drawing.inc:425:15: warning: 'RCur' may be used uninitialized [-Wmaybe-uninitialized] + 425 | return RCur; + | ^~~~ +./src/c_cmd_drawing.inc:399:22: note: 'RCur' was declared here + 399 | SLONG i, DCur, RCur, DSpread, VSpread, RSpread; + | ^~~~ python3 ./tools/img2src -o Test1.h data/bitmaps/Test1.toml data/bitmaps/Test1.png python3 ./tools/img2src -o Test2.h data/bitmaps/Test2.toml data/bitmaps/Test2.png python3 ./tools/img2src -o Connections.h data/icons/Connections.toml data/icons/Connections.png @@ -619,6 +641,60 @@ python3 ./tools/img2src -o Font.h data/icons/Font.toml data/icons/Font.png python3 ./tools/img2src -o Icons.h data/icons/Icons.toml data/icons/Icons.png python3 ./tools/img2src -o Port.h data/icons/Port.toml data/icons/Port.png +python3 ./tools/img2src -o Running.h data/icons/Running.toml data/icons/Running.png +python3 ./tools/img2src -o Status.h data/icons/Status.toml data/icons/Status.png +python3 ./tools/img2src -o Step.h data/icons/Step.toml data/icons/Step.png +./src/c_comm.c: In function 'cCommInterpreteCmd': +./src/c_comm.c:1195:9: warning: 'Status' may be used uninitialized [-Wmaybe-uninitialized] + 1195 | return(Status); + | ^ +./src/c_comm.c:497:11: note: 'Status' was declared here + 497 | UWORD Status; + | ^~~~~~ +python3 ./tools/menu2src -o Mainmenu.h data/menus/Mainmenu.toml +python3 ./tools/menu2src -o Submenu01.h data/menus/Submenu01.toml +python3 ./tools/menu2src -o Submenu02.h data/menus/Submenu02.toml +python3 ./tools/menu2src -o Submenu03.h data/menus/Submenu03.toml +python3 ./tools/menu2src -o Submenu04.h data/menus/Submenu04.toml +./src/c_comm.c: In function 'cCommInterprete': +./src/c_comm.c:490:9: warning: 'ReturnStatus' may be used uninitialized [-Wmaybe-uninitialized] + 490 | return(ReturnStatus); + | ^ +./src/c_comm.c:355:11: note: 'ReturnStatus' was declared here + 355 | UWORD ReturnStatus; + | ^~~~~~~~~~~~ +python3 ./tools/menu2src -o Submenu05.h data/menus/Submenu05.toml +python3 ./tools/menu2src -o Submenu06.h data/menus/Submenu06.toml +python3 ./tools/menu2src -o Submenu07.h data/menus/Submenu07.toml +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_bt.o ./src/d_bt.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_button.o ./src/d_button.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_display.o ./src/d_display.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_hispeed.o ./src/d_hispeed.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_input.o ./src/d_input.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_ioctrl.o ./src/d_ioctrl.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_loader.o ./src/d_loader.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_lowspeed.o ./src/d_lowspeed.c +./src/d_loader.c: In function 'dLoaderAllocateHeader': +./src/d_loader.c:925:87: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 925 | pHeader->FileStartAdr = (((SectorIndex << 5) + Tmp) << SECTORSIZESHIFT) + (HeaderByteSize - (TmpHSS<DataSize = TmpFileHeader->FileSize - HandleTable[Handle].DataLength; + | ^~ +./src/d_loader.c:58:23: note: object 'WriteBuffer' of size 1040 + 58 | static WRITEBUF WriteBuffer[MAX_WRITE_BUFFERS]; + | ^~~~~~~~~~~ +./src/d_loader.c:597:24: warning: array subscript 'FILEHEADER[0]' is partly outside array bounds of 'WRITEBUF[4]' [-Warray-bounds=] + 597 | TmpFileHeader->DataSize = TmpFileHeader->FileSize - HandleTable[Handle].DataLength; + | ^~ +./src/d_loader.c:58:23: note: object 'WriteBuffer' of size 1040 + 58 | static WRITEBUF WriteBuffer[MAX_WRITE_BUFFERS]; + | ^~~~~~~~~~~ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_timer.o ./src/d_timer.c +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_usb.o ./src/d_usb.c ./src/c_cmd.c: In function 'cCmdInterpFromClump': ./src/c_cmd.c:4234:19: warning: 'InstrSize' may be used uninitialized [-Wmaybe-uninitialized] 4234 | Status = (*InterpFuncs[InstrSize])(pInstr); @@ -626,11 +702,39 @@ ./src/c_cmd.c:4168:9: note: 'InstrSize' was declared here 4168 | UBYTE InstrSize; | ^~~~~~~~~ -python3 ./tools/img2src -o Running.h data/icons/Running.toml data/icons/Running.png +./src/d_usb.c: In function 'dUsbWrite': +./src/d_usb.c:349:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] + 349 | while ( !((*AT91C_UDP_CSR2) & AT91C_UDP_TXCOMP) ) // Wait for the the first bank to be sent + | ^~~~~ +./src/d_usb.c:353:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' + 353 | (*AT91C_UDP_CSR2) &= ~(AT91C_UDP_TXCOMP); // Reset transmit interrupt flag + | ^ +./src/d_usb.c: In function 'dUsbEnumerate': +./src/d_usb.c:498:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] + 498 | while ( ((*AT91C_UDP_CSR0) & AT91C_UDP_RXSETUP) ); // Wait until bit cleared + | ^~~~~ +./src/d_usb.c:502:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' + 502 | switch ((bRequest << 8) | bmRequestType) + | ^~~~~~ +./src/d_usb.c:573:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] + 573 | while((*AT91C_UDP_CSR0) & AT91C_UDP_TXPKTRDY && !dUsbTimedOut()); + | ^~~~~ +./src/d_usb.c:575:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' + 575 | *AT91C_UDP_FADDR = (AT91C_UDP_FEN | wValue); // Set device address. No check for invalid address. + | ^ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o m_sched.o ./src/m_sched.c +./src/d_loader.c: In function 'dLoaderSetFilePointer': +./src/d_loader.c:1261:30: warning: 'Adr' may be used uninitialized [-Wmaybe-uninitialized] + 1261 | *pData = (const UBYTE *)((ULONG)Adr + BytePtr); + | ^~~~~~~~~~ +./src/d_loader.c:1235:16: note: 'Adr' was declared here + 1235 | const UBYTE *Adr; + | ^~~ ./src/c_cmd.c: In function 'cCmdInterpPolyUnop2': ./src/c_cmd.c:4931:26: warning: 'DVIndex1' may be used uninitialized [-Wmaybe-uninitialized] 4931 | Offset1 += DV_ARRAY[DVIndex1].ElemSize; | ^ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o sscanf.o ./lib/sscanf.c ./src/c_cmd.c:4802:12: note: 'DVIndex1' was declared here 4802 | DV_INDEX DVIndex1, DVIndex2; | ^~~~~~~~ @@ -646,13 +750,14 @@ ./src/c_cmd.c:4810:9: note: 'AdvCluster' was declared here 4810 | UBYTE AdvCluster; | ^~~~~~~~~~ +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o Cstartup_SAM7.o ./startup/Cstartup_SAM7.c ./src/c_cmd.c:4936:26: warning: 'DVIndex2' may be used uninitialized [-Wmaybe-uninitialized] 4936 | Offset2 += DV_ARRAY[DVIndex2].ElemSize; | ^ ./src/c_cmd.c:4802:22: note: 'DVIndex2' was declared here 4802 | DV_INDEX DVIndex1, DVIndex2; | ^~~~~~~~ -python3 ./tools/img2src -o Status.h data/icons/Status.toml data/icons/Status.png +arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_ui.o ./src/c_ui.c ./src/c_cmd.c: In function 'cCmdInterpPolyBinop': ./src/c_cmd.c:5403:26: warning: 'DVIndex3' may be used uninitialized [-Wmaybe-uninitialized] 5403 | Offset3 += DV_ARRAY[DVIndex3].ElemSize; @@ -660,7 +765,6 @@ ./src/c_cmd.c:5263:32: note: 'DVIndex3' was declared here 5263 | DV_INDEX DVIndex1, DVIndex2, DVIndex3; | ^~~~~~~~ -python3 ./tools/img2src -o Step.h data/icons/Step.toml data/icons/Step.png ./src/c_cmd.c:5266:25: warning: 'Count3' may be used uninitialized [-Wmaybe-uninitialized] 5266 | UWORD Count1, Count2, Count3; | ^~~~~~ @@ -691,80 +795,6 @@ ./src/c_cmd.c:5271:9: note: 'AdvCluster' was declared here 5271 | UBYTE AdvCluster; | ^~~~~~~~~~ -python3 ./tools/menu2src -o Mainmenu.h data/menus/Mainmenu.toml -python3 ./tools/menu2src -o Submenu01.h data/menus/Submenu01.toml -python3 ./tools/menu2src -o Submenu02.h data/menus/Submenu02.toml -python3 ./tools/menu2src -o Submenu03.h data/menus/Submenu03.toml -./src/c_cmd.c: In function 'cCmdInterpUnop2': -./src/c_cmd.c:4721:9: warning: 'ArgVal2' may be used uninitialized [-Wmaybe-uninitialized] - 4721 | sprintf(pArg1, "%d", (SLONG)ArgVal2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./src/c_cmd.c:4456:9: note: 'ArgVal2' was declared here - 4456 | ULONG ArgVal2; - | ^~~~~~~ -python3 ./tools/menu2src -o Submenu04.h data/menus/Submenu04.toml -python3 ./tools/menu2src -o Submenu05.h data/menus/Submenu05.toml -python3 ./tools/menu2src -o Submenu06.h data/menus/Submenu06.toml -python3 ./tools/menu2src -o Submenu07.h data/menus/Submenu07.toml -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_bt.o ./src/d_bt.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_button.o ./src/d_button.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_display.o ./src/d_display.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_hispeed.o ./src/d_hispeed.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_input.o ./src/d_input.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_ioctrl.o ./src/d_ioctrl.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_loader.o ./src/d_loader.c -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_lowspeed.o ./src/d_lowspeed.c -./src/d_loader.c: In function 'dLoaderAllocateHeader': -./src/d_loader.c:925:87: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 925 | pHeader->FileStartAdr = (((SectorIndex << 5) + Tmp) << SECTORSIZESHIFT) + (HeaderByteSize - (TmpHSS<DataSize = TmpFileHeader->FileSize - HandleTable[Handle].DataLength; - | ^~ -./src/d_loader.c:58:23: note: object 'WriteBuffer' of size 1040 - 58 | static WRITEBUF WriteBuffer[MAX_WRITE_BUFFERS]; - | ^~~~~~~~~~~ -./src/d_loader.c:597:24: warning: array subscript 'FILEHEADER[0]' is partly outside array bounds of 'WRITEBUF[4]' [-Warray-bounds=] - 597 | TmpFileHeader->DataSize = TmpFileHeader->FileSize - HandleTable[Handle].DataLength; - | ^~ -./src/d_loader.c:58:23: note: object 'WriteBuffer' of size 1040 - 58 | static WRITEBUF WriteBuffer[MAX_WRITE_BUFFERS]; - | ^~~~~~~~~~~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o d_usb.o ./src/d_usb.c -./src/d_usb.c: In function 'dUsbWrite': -./src/d_usb.c:349:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] - 349 | while ( !((*AT91C_UDP_CSR2) & AT91C_UDP_TXCOMP) ) // Wait for the the first bank to be sent - | ^~~~~ -./src/d_usb.c:353:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' - 353 | (*AT91C_UDP_CSR2) &= ~(AT91C_UDP_TXCOMP); // Reset transmit interrupt flag - | ^ -./src/d_usb.c: In function 'dUsbEnumerate': -./src/d_usb.c:498:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] - 498 | while ( ((*AT91C_UDP_CSR0) & AT91C_UDP_RXSETUP) ); // Wait until bit cleared - | ^~~~~ -./src/d_usb.c:502:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' - 502 | switch ((bRequest << 8) | bmRequestType) - | ^~~~~~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o m_sched.o ./src/m_sched.c -./src/d_usb.c:573:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] - 573 | while((*AT91C_UDP_CSR0) & AT91C_UDP_TXPKTRDY && !dUsbTimedOut()); - | ^~~~~ -./src/d_usb.c:575:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' - 575 | *AT91C_UDP_FADDR = (AT91C_UDP_FEN | wValue); // Set device address. No check for invalid address. - | ^ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o sscanf.o ./lib/sscanf.c -./src/d_loader.c: In function 'dLoaderSetFilePointer': -./src/d_loader.c:1261:30: warning: 'Adr' may be used uninitialized [-Wmaybe-uninitialized] - 1261 | *pData = (const UBYTE *)((ULONG)Adr + BytePtr); - | ^~~~~~~~~~ -./src/d_loader.c:1235:16: note: 'Adr' was declared here - 1235 | const UBYTE *Adr; - | ^~~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o Cstartup_SAM7.o ./startup/Cstartup_SAM7.c ./src/d_loader.c: In function 'dLoaderCropDatafile': ./src/d_loader.c:1467:36: warning: array subscript 'FILEHEADER[0]' is partly outside array bounds of 'ULONG[256]' {aka 'long unsigned int[256]'} [-Warray-bounds=] 1467 | ((FILEHEADER*)SectorBuffer)->FileSize = ((FILEHEADER const *)(FILEPTRTABLE[FileIndex]))->DataSize; @@ -772,7 +802,13 @@ ./src/d_loader.c:1450:21: note: object 'SectorBuffer' of size 1024 1450 | ULONG SectorBuffer[SECTORSIZE]; | ^~~~~~~~~~~~ -arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -c -o c_ui.o ./src/c_ui.c +./src/c_cmd.c: In function 'cCmdInterpUnop2': +./src/c_cmd.c:4721:9: warning: 'ArgVal2' may be used uninitialized [-Wmaybe-uninitialized] + 4721 | sprintf(pArg1, "%d", (SLONG)ArgVal2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./src/c_cmd.c:4456:9: note: 'ArgVal2' was declared here + 4456 | ULONG ArgVal2; + | ^~~~~~~ arm-none-eabi-gcc -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -Wall -W -Wundef -Wno-unused -Wno-format -Os -fno-strict-aliasing -ffunction-sections -fdata-sections --specs=picolibc.specs -I. -I./include -DPROTOTYPE_PCB_4 -DNEW_MENU -DROM_RUN -DVECTORS_IN_RAM -DSTARTOFUSERFLASH_FROM_LINKER=1 -D'BUILD_DATE="2025-02-23T09:59"' -MMD -nostdlib -T ./lib/nxt.ld -Wl,--gc-sections Cstartup.o c_button.o c_cmd.o c_comm.o c_display.o c_input.o c_ioctrl.o c_loader.o c_lowspeed.o c_output.o c_sound.o c_ui.o d_bt.o d_button.o d_display.o d_hispeed.o d_input.o d_ioctrl.o d_loader.o d_lowspeed.o d_output.o d_sound.o d_timer.o d_usb.o m_sched.o sscanf.o Cstartup_SAM7.o -lc -lm -lgcc -o nxt_firmware.elf arm-none-eabi-objcopy --pad-to=0x140000 --gap-fill=0xff -O binary nxt_firmware.elf nxt_firmware.bin make[2]: Leaving directory '/build/reproducible-path/nxt-firmware-1.29.7' @@ -809,12 +845,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/3457678/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3457678/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/1785061 and its subdirectories -I: Current time: Mon Feb 24 17:16:00 -12 2025 -I: pbuilder-time-stamp: 1740460560 +I: removing directory /srv/workspace/pbuilder/3457678 and its subdirectories +I: Current time: Tue Mar 31 01:39:42 +14 2026 +I: pbuilder-time-stamp: 1774870782