>>> at91dataflashboot 1.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-0/output-1/build/.DataflashBoot-1.05.tar.bz2.25MJGH/output' 'ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2' --2022-08-27 16:46:40-- ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2 => '/home/buildroot/autobuild/instance-0/output-1/build/.DataflashBoot-1.05.tar.bz2.25MJGH/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% 330K 0s 50K .......... .......... .......... .......... 100% 1.29M=0.2s 2022-08-27 16:46:41 (496 KB/s) - '/home/buildroot/autobuild/instance-0/output-1/build/.DataflashBoot-1.05.tar.bz2.25MJGH/output' saved [92559] DataflashBoot-1.05.tar.bz2: OK (sha256: 2cfeb6a9236e1a743c8010f05e504dbc92169ef42d9a6cf7948954a577bfc386) >>> at91dataflashboot 1.05 Extracting bzcat /home/buildroot/autobuild/instance-0/dl/at91dataflashboot/DataflashBoot-1.05.tar.bz2 | /home/buildroot/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/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/buildroot/autobuild/instance-0/output-1/build/at91dataflashboot-1.05 CROSS_COMPILE=/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf- make[1]: Entering directory '/home/buildroot/autobuild/instance-0/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/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/cstartup_ram.o cstartup_ram.S /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -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/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -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/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -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/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/div0.o div0.c /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -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; | ^~~~~~ /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -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++) { | ^ /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/stdio.o stdio.c In file included from stdio.c:2: 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 | stdio.c: In function 'fputs': stdio.c:64:5: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 64 | if(fp == (FILE *)0) | ^ stdio.c: In function 'fputc': stdio.c:80:5: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 80 | if(fp == (FILE *)0) | ^ stdio.c: In function 'strlen': stdio.c:125:5: warning: 'nonnull' argument 'str' compared to NULL [-Wnonnull-compare] 125 | if(str == (char *)0) | ^ /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/asm_isr.o asm_isr.S /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/jump.o jump.S /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/_udivsi3.o _udivsi3.S /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/_umodsi3.o _umodsi3.S /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Os -Wall -Iinclude -c -o objs/led.o led.c /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld -T elf32-littlearm.lds -Ttext 0 -n -o DataflashBoot-1.05.out 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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/com.o: in function `AT91F_ReadLine': com.c:(.text+0x238): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: com.c:(.text+0x2e4): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/dataflash.o: in function `read_dataflash': dataflash.c:(.text+0x29c): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: dataflash.c:(.text+0x2a8): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/dataflash.o: in function `write_dataflash': dataflash.c:(.text+0x308): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: dataflash.c:(.text+0x314): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/dataflash.o: in function `erase_dataflash': dataflash.c:(.text+0x364): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: dataflash.c:(.text+0x370): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/main.o: in function `AT91F_StartBoot.isra.0': main.c:(.text+0xd4): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: main.c:(.text+0x260): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/main.o: in function `main': main.c:(.text.startup+0x838): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/stdio.o: in function `number.constprop.0': stdio.c:(.text+0x1d4): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: stdio.c:(.text+0x20c): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/stdio.o: in function `fprintf': stdio.c:(.text+0x440): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: stdio.c:(.text+0x454): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/stdio.o: in function `printf': stdio.c:(.text+0x4a0): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: stdio.c:(.text+0x4b4): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: objs/stdio.o: in function `uprintf': stdio.c:(.text+0x514): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: stdio.c:(.text+0x528): undefined reference to `__stack_chk_guard' Makefile:77: recipe for target 'DataflashBoot-1.05.out' failed make[1]: *** [DataflashBoot-1.05.out] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/at91dataflashboot-1.05' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/at91dataflashboot-1.05/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/at91dataflashboot-1.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'