>>> at91dataflashboot 1.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-1/output-1/build/.DataflashBoot-1.05.tar.bz2.P7hIMI/output' 'ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2' --2023-02-22 00:49:38-- ftp://www.at91.com/pub/buildroot/DataflashBoot-1.05.tar.bz2 => '/home/buildroot/autobuild/instance-1/output-1/build/.DataflashBoot-1.05.tar.bz2.P7hIMI/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% 589K 0s 50K .......... .......... .......... .......... 100% 1012K=0.1s 2023-02-22 00:49:39 (725 KB/s) - '/home/buildroot/autobuild/instance-1/output-1/build/.DataflashBoot-1.05.tar.bz2.P7hIMI/output' saved [92559] DataflashBoot-1.05.tar.bz2: OK (sha256: 2cfeb6a9236e1a743c8010f05e504dbc92169ef42d9a6cf7948954a577bfc386) >>> at91dataflashboot 1.05 Extracting bzcat /home/buildroot/autobuild/instance-1/dl/at91dataflashboot/DataflashBoot-1.05.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/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-1/output-1/build/at91dataflashboot-1.05 CROSS_COMPILE=/home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi- make[1]: Entering directory '/home/buildroot/autobuild/instance-1/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-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/cstartup_ram.o cstartup_ram.S /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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:15: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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:15: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ com.c: In function 'AT91F_WaitKeyPressed': com.c:176:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 176 | int c; | ^ /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/div0.o div0.c /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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:15: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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:15: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2352 | volatile int status; | ^~~~~~ main.c: In function 'AT91F_ResetRegisters': main.c:334:15: warning: variable 'i' set but not used [-Wunused-but-set-variable] 334 | volatile int i = 0; | ^ main.c: In function 'main': main.c:647:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 647 | while(i >>= 1) | ^~~~~ main.c:649:4: 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:3: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] 190 | puts(menu_dataflash[i]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:189:2: note: within this loop 189 | for(i = 0; i < MAXMENU; i++) { | ^~~ /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/asm_isr.o asm_isr.S /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/jump.o jump.S /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/_udivsi3.o _udivsi3.S /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/_umodsi3.o _umodsi3.S /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc -Os -Wall -Iinclude -c -o objs/led.o led.c /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-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-1/output-1/host/bin/arm-buildroot-linux-gnueabi-ld: objs/main.o: in function `main': main.c:(.text.startup+0x834): undefined reference to `__stack_chk_guard' /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-ld: objs/stdio.o: in function `number.constprop.0': stdio.c:(.text+0x1d8): undefined reference to `__stack_chk_fail' /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabi-ld: stdio.c:(.text+0x210): undefined reference to `__stack_chk_guard' make[1]: *** [Makefile:77: DataflashBoot-1.05.out] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/at91dataflashboot-1.05' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-1/output-1/build/at91dataflashboot-1.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'