>>> at91dataflashboot 1.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-11/output-1/build/.DataflashBoot-1.05.tar.bz2.t7peNK/output' 'ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2' --2023-08-02 19:07:34-- ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2 => '/home/autobuild/autobuild/instance-11/output-1/build/.DataflashBoot-1.05.tar.bz2.t7peNK/output' Resolving www.at91.com (www.at91.com)... 198.175.253.196 Connecting to www.at91.com (www.at91.com)|198.175.253.196|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/buildroot ... done. ==> SIZE DataflashBoot-1.05.tar.bz2 ... 92559 ==> PASV ... done. ==> RETR DataflashBoot-1.05.tar.bz2 ... done. Length: 92559 (90K) (unauthoritative) 0K .......... .......... .......... .......... .......... 55% 568K 0s 50K .......... .......... .......... .......... 100% 75.2T=0.09s 2023-08-02 19:07:35 (1.00 MB/s) - '/home/autobuild/autobuild/instance-11/output-1/build/.DataflashBoot-1.05.tar.bz2.t7peNK/output' saved [92559] DataflashBoot-1.05.tar.bz2: OK (sha256: 2cfeb6a9236e1a743c8010f05e504dbc92169ef42d9a6cf7948954a577bfc386) >>> at91dataflashboot 1.05 Extracting bzcat /home/autobuild/autobuild/instance-11/dl/at91dataflashboot/DataflashBoot-1.05.tar.bz2 | tar --strip-components=1 -C /home/autobuild/autobuild/instance-11/output-1/build/at91dataflashboot-1.05 -xf - >>> at91dataflashboot 1.05 Patching Applying 0001-do-not-install.patch using patch: patching file Makefile Applying 0002-eabi-fixes.patch using patch: patching file _udivsi3.S >>> at91dataflashboot 1.05 Configuring >>> at91dataflashboot 1.05 Building make -C /home/autobuild/autobuild/instance-11/output-1/build/at91dataflashboot-1.05 CROSS_COMPILE=/home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi- CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector" make[1]: Entering directory '/home/autobuild/autobuild/instance-11/output-1/build/at91dataflashboot-1.05' rm -f objs/cstartup_ram.o objs/at45.o objs/com.o objs/dataflash.o objs/div0.o objs/init.o objs/main.o objs/stdio.o objs/asm_isr.o objs/jump.o objs/_udivsi3.o objs/_umodsi3.o objs/led.o DataflashBoot-1.05.out DataflashBoot-1.05.bin DataflashBoot-1.05.lss *~ rm -f *.out rm -f *.bin rm -f *.lss mkdir -p objs /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/cstartup_ram.o cstartup_ram.S /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/at45.o at45.c In file included from at45.c:18: stdio.h:23:5: warning: conflicting types for built-in function 'putc'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch] 23 | int putc(int c); | ^~~~ stdio.h:3:1: note: 'putc' is declared in header '' 2 | #include +++ |+#include 3 | In file included from at45.c:20: include/lib_AT91RM9200.h: In function 'AT91F_ST_SetPeriodInterval': include/lib_AT91RM9200.h:2352:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/com.o com.c In file included from com.c:17: stdio.h:23:5: warning: conflicting types for built-in function 'putc'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch] 23 | int putc(int c); | ^~~~ stdio.h:3:1: note: 'putc' is declared in header '' 2 | #include +++ |+#include 3 | In file included from com.c:19: include/lib_AT91RM9200.h: In function 'AT91F_ST_SetPeriodInterval': include/lib_AT91RM9200.h:2352:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ com.c: In function 'AT91F_WaitKeyPressed': com.c:176:13: warning: variable 'c' set but not used [-Wunused-but-set-variable] 176 | int c; | ^ /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/dataflash.o dataflash.c In file included from dataflash.c:16: stdio.h:23:5: warning: conflicting types for built-in function 'putc'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch] 23 | int putc(int c); | ^~~~ stdio.h:3:1: note: 'putc' is declared in header '' 2 | #include +++ |+#include 3 | /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/div0.o div0.c /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/init.o init.c In file included from init.c:17: include/lib_AT91RM9200.h: In function 'AT91F_ST_SetPeriodInterval': include/lib_AT91RM9200.h:2352:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ In function 'AT91F_AIC_SetExceptionVector', inlined from 'AT91F_AIC_Open' at include/lib_AT91RM9200.h:2140:2, inlined from 'AT91F_LowLevelInit' at init.c:165:2: include/lib_AT91RM9200.h:2076:22: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2076 | unsigned int oldVector = *pVector; | ^~~~~~~~~ include/lib_AT91RM9200.h:2079:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2079 | *pVector = (unsigned int) AT91C_AIC_BRANCH_OPCODE; | ^ In function 'AT91F_AIC_SetExceptionVector', inlined from 'AT91F_AIC_Open' at include/lib_AT91RM9200.h:2142:2, inlined from 'AT91F_LowLevelInit' at init.c:165:2: include/lib_AT91RM9200.h:2076:22: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2076 | unsigned int oldVector = *pVector; | ^~~~~~~~~ include/lib_AT91RM9200.h:2081:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2081 | *pVector = (((((unsigned int) Handler) - ((unsigned int) pVector) - 0x8) >> 2) & 0x00FFFFFF) | 0xEA000000; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/lib_AT91RM9200.h:2079:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2079 | *pVector = (unsigned int) AT91C_AIC_BRANCH_OPCODE; | ^ In function 'AT91F_AIC_SetExceptionVector', inlined from 'AT91F_LowLevelInit' at init.c:183:2: include/lib_AT91RM9200.h:2081:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2081 | *pVector = (((((unsigned int) Handler) - ((unsigned int) pVector) - 0x8) >> 2) & 0x00FFFFFF) | 0xEA000000; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/lib_AT91RM9200.h:2079:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2079 | *pVector = (unsigned int) AT91C_AIC_BRANCH_OPCODE; | ^ In function 'AT91F_AIC_SetExceptionVector', inlined from 'AT91F_LowLevelInit' at init.c:184:2: include/lib_AT91RM9200.h:2081:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2081 | *pVector = (((((unsigned int) Handler) - ((unsigned int) pVector) - 0x8) >> 2) & 0x00FFFFFF) | 0xEA000000; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/lib_AT91RM9200.h:2079:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2079 | *pVector = (unsigned int) AT91C_AIC_BRANCH_OPCODE; | ^ In function 'AT91F_AIC_SetExceptionVector', inlined from 'AT91F_LowLevelInit' at init.c:185:2: include/lib_AT91RM9200.h:2081:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2081 | *pVector = (((((unsigned int) Handler) - ((unsigned int) pVector) - 0x8) >> 2) & 0x00FFFFFF) | 0xEA000000; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/lib_AT91RM9200.h:2079:26: warning: array subscript 0 is outside array bounds of 'unsigned int[0]' [-Warray-bounds] 2079 | *pVector = (unsigned int) AT91C_AIC_BRANCH_OPCODE; | ^ /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fno-stack-protector -Os -Wall -Iinclude -c -o objs/main.o main.c In file included from main.c:25: stdio.h:23:5: warning: conflicting types for built-in function 'putc'; expected 'int(int, void *)' [-Wbuiltin-declaration-mismatch] 23 | int putc(int c); | ^~~~ stdio.h:3:1: note: 'putc' is declared in header '' 2 | #include +++ |+#include 3 | In file included from main.c:27: include/lib_AT91RM9200.h: In function 'AT91F_ST_SetPeriodInterval': include/lib_AT91RM9200.h:2352:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ main.c: In function 'AT91F_ResetRegisters': main.c:334:22: warning: variable 'i' set but not used [-Wunused-but-set-variable] 334 | volatile int i = 0; | ^ main.c: In function 'main': main.c:647:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 647 | while(i >>= 1) | ^~~~~ main.c:649:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 649 | i = (SizeToDownload / 512)+1 + (NbPage << 13) + | ^ main.c: In function 'AT91F_DisplayMenu': main.c:190:17: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] 190 | puts(menu_dataflash[i]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:189:22: note: within this loop 189 | for(i = 0; i < MAXMENU; i++) { | ^ /tmp/ccBR4jsI.s: Assembler messages: /tmp/ccBR4jsI.s:196: Error: selected processor does not support `msr CPSR_c,#0xDF' in Thumb mode make[1]: *** [Makefile:58: objs/main.o] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-11/output-1/build/at91dataflashboot-1.05' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-11/output-1/build/at91dataflashboot-1.05/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-11/buildroot'