Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.09 KB | None | 0 0
  1. Running with gitlab-runner 12.3.0 (a8a019e0)
  2. on runner-nswi004 r-Ereygj
  3. Using Docker executor with image mffd3s/nswi004-mips32:latest ...
  4. Pulling docker image mffd3s/nswi004-mips32:latest ...
  5. Using docker image sha256:db16101af2b63d9d71b6f3ba41e202412bea575fb4a05a56d1f0035a827038c9 for mffd3s/nswi004-mips32:latest ...
  6. Running on runner-r-Ereygj-project-241-concurrent-0 via ee69b46cad57...
  7. Fetching changes with git depth set to 50...
  8. Reinitialized existing Git repository in /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.git/
  9. Checking out dea6d2a6 as master...
  10.  
  11. Removing _build_kernel__adt__list1/
  12. Removing _build_kernel__adt__list2/
  13. Removing _build_kernel__basic__dump_function/
  14. Removing _build_kernel__basic__probe_memory/
  15. Removing _build_kernel__basic__stack_pointer/
  16. Removing _build_kernel__printk__char/
  17. Removing _build_kernel__printk__hex/
  18. Removing _build_kernel__printk__int/
  19. Removing _build_kernel__printk__list/
  20. Removing _build_kernel__printk__string/
  21.  
  22. Skipping Git submodules setup
  23.  
  24. $ ./tools/tester.py suite --verbose suite_as1.txt
  25. [2019-10-23 19:22:41,445 K/adt/list1 DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list1.
  26. [2019-10-23 19:22:41,445 K/adt/list1 INFO] Configuring ...
  27. [2019-10-23 19:22:41,507 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,506 main DEBUG] Creating config.mk
  28. [2019-10-23 19:22:41,507 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,507 main DEBUG] Creating Makefile inside ./
  29. [2019-10-23 19:22:41,508 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,507 main DEBUG] Creating Makefile inside kernel/
  30. [2019-10-23 19:22:41,508 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,508 main DEBUG] Creating Makefile inside user/
  31. [2019-10-23 19:22:41,509 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,508 main DEBUG] Copying msim.conf
  32. [2019-10-23 19:22:41,509 K/adt/list1 DEBUG] [../configure.py] [2019-10-23 19:22:41,509 main DEBUG] Copying gdbinit
  33. [2019-10-23 19:22:41,516 K/adt/list1 INFO] Building ...
  34. [2019-10-23 19:22:41,525 K/adt/list1 DEBUG] [make] make -C kernel
  35. [2019-10-23 19:22:41,533 K/adt/list1 DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list1/kernel'
  36. [2019-10-23 19:22:41,533 K/adt/list1 DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/adt/list1/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  37. [2019-10-23 19:22:41,571 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  38. [2019-10-23 19:22:41,572 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  39. [2019-10-23 19:22:41,573 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  40. [2019-10-23 19:22:41,573 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  41. [2019-10-23 19:22:41,588 K/adt/list1 DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  42. [2019-10-23 19:22:41,589 K/adt/list1 DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  43. [2019-10-23 19:22:41,589 K/adt/list1 DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  44. [2019-10-23 19:22:41,590 K/adt/list1 DEBUG] [make] return (uintptr_t)&p;
  45. [2019-10-23 19:22:41,590 K/adt/list1 DEBUG] [make] ^~~~~~~~~~~~~
  46. [2019-10-23 19:22:41,598 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  47. [2019-10-23 19:22:41,599 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  48. [2019-10-23 19:22:41,608 K/adt/list1 DEBUG] [make] cc1: all warnings being treated as errors
  49. [2019-10-23 19:22:41,610 K/adt/list1 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  50. [2019-10-23 19:22:41,614 K/adt/list1 DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  51. [2019-10-23 19:22:41,615 K/adt/list1 DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  52. [2019-10-23 19:22:41,754 K/adt/list1 DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list1/kernel'
  53. [2019-10-23 19:22:41,755 K/adt/list1 DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  54. [2019-10-23 19:22:41,756 run_tests ERROR] Test adt/list1 failed: build failed (see make.log).
  55. [2019-10-23 19:22:41,756 K/adt/list2 DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list2.
  56. [2019-10-23 19:22:41,757 K/adt/list2 INFO] Configuring ...
  57. [2019-10-23 19:22:41,816 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,815 main DEBUG] Creating config.mk
  58. [2019-10-23 19:22:41,816 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,816 main DEBUG] Creating Makefile inside ./
  59. [2019-10-23 19:22:41,817 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,816 main DEBUG] Creating Makefile inside kernel/
  60. [2019-10-23 19:22:41,817 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,816 main DEBUG] Creating Makefile inside user/
  61. [2019-10-23 19:22:41,817 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,817 main DEBUG] Copying msim.conf
  62. [2019-10-23 19:22:41,818 K/adt/list2 DEBUG] [../configure.py] [2019-10-23 19:22:41,817 main DEBUG] Copying gdbinit
  63. [2019-10-23 19:22:41,823 K/adt/list2 INFO] Building ...
  64. [2019-10-23 19:22:41,831 K/adt/list2 DEBUG] [make] make -C kernel
  65. [2019-10-23 19:22:41,842 K/adt/list2 DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list2/kernel'
  66. [2019-10-23 19:22:41,842 K/adt/list2 DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/adt/list2/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  67. [2019-10-23 19:22:41,881 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  68. [2019-10-23 19:22:41,882 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  69. [2019-10-23 19:22:41,883 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  70. [2019-10-23 19:22:41,883 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  71. [2019-10-23 19:22:41,898 K/adt/list2 DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  72. [2019-10-23 19:22:41,898 K/adt/list2 DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  73. [2019-10-23 19:22:41,898 K/adt/list2 DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  74. [2019-10-23 19:22:41,898 K/adt/list2 DEBUG] [make] return (uintptr_t)&p;
  75. [2019-10-23 19:22:41,899 K/adt/list2 DEBUG] [make] ^~~~~~~~~~~~~
  76. [2019-10-23 19:22:41,907 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  77. [2019-10-23 19:22:41,912 K/adt/list2 DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  78. [2019-10-23 19:22:41,915 K/adt/list2 DEBUG] [make] cc1: all warnings being treated as errors
  79. [2019-10-23 19:22:41,919 K/adt/list2 DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  80. [2019-10-23 19:22:41,919 K/adt/list2 DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  81. [2019-10-23 19:22:42,068 K/adt/list2 DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__adt__list2/kernel'
  82. [2019-10-23 19:22:42,068 K/adt/list2 DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  83. [2019-10-23 19:22:42,070 run_tests ERROR] Test adt/list2 failed: build failed (see make.log).
  84. [2019-10-23 19:22:42,071 K/basic/dump_function DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__dump_function.
  85. [2019-10-23 19:22:42,071 K/basic/dump_function INFO] Configuring ...
  86. [2019-10-23 19:22:42,130 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,130 main DEBUG] Creating config.mk
  87. [2019-10-23 19:22:42,131 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,130 main DEBUG] Creating Makefile inside ./
  88. [2019-10-23 19:22:42,131 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,131 main DEBUG] Creating Makefile inside kernel/
  89. [2019-10-23 19:22:42,132 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,131 main DEBUG] Creating Makefile inside user/
  90. [2019-10-23 19:22:42,132 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,132 main DEBUG] Copying msim.conf
  91. [2019-10-23 19:22:42,132 K/basic/dump_function DEBUG] [../configure.py] [2019-10-23 19:22:42,132 main DEBUG] Copying gdbinit
  92. [2019-10-23 19:22:42,140 K/basic/dump_function INFO] Building ...
  93. [2019-10-23 19:22:42,146 K/basic/dump_function DEBUG] [make] make -C kernel
  94. [2019-10-23 19:22:42,157 K/basic/dump_function DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__dump_function/kernel'
  95. [2019-10-23 19:22:42,157 K/basic/dump_function DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/basic/dump_function/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  96. [2019-10-23 19:22:42,195 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  97. [2019-10-23 19:22:42,196 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  98. [2019-10-23 19:22:42,197 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  99. [2019-10-23 19:22:42,198 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  100. [2019-10-23 19:22:42,215 K/basic/dump_function DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  101. [2019-10-23 19:22:42,215 K/basic/dump_function DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  102. [2019-10-23 19:22:42,215 K/basic/dump_function DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  103. [2019-10-23 19:22:42,216 K/basic/dump_function DEBUG] [make] return (uintptr_t)&p;
  104. [2019-10-23 19:22:42,216 K/basic/dump_function DEBUG] [make] ^~~~~~~~~~~~~
  105. [2019-10-23 19:22:42,222 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  106. [2019-10-23 19:22:42,228 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  107. [2019-10-23 19:22:42,231 K/basic/dump_function DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  108. [2019-10-23 19:22:42,233 K/basic/dump_function DEBUG] [make] cc1: all warnings being treated as errors
  109. [2019-10-23 19:22:42,236 K/basic/dump_function DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  110. [2019-10-23 19:22:42,237 K/basic/dump_function DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  111. [2019-10-23 19:22:42,409 K/basic/dump_function DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__dump_function/kernel'
  112. [2019-10-23 19:22:42,410 K/basic/dump_function DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  113. [2019-10-23 19:22:42,411 run_tests ERROR] Test basic/dump_function failed: build failed (see make.log).
  114. [2019-10-23 19:22:42,412 K/basic/probe_memory DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__probe_memory.
  115. [2019-10-23 19:22:42,412 K/basic/probe_memory INFO] Configuring ...
  116. [2019-10-23 19:22:42,470 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,470 main DEBUG] Creating config.mk
  117. [2019-10-23 19:22:42,470 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,470 main DEBUG] Creating Makefile inside ./
  118. [2019-10-23 19:22:42,471 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,470 main DEBUG] Creating Makefile inside kernel/
  119. [2019-10-23 19:22:42,471 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,471 main DEBUG] Creating Makefile inside user/
  120. [2019-10-23 19:22:42,472 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,471 main DEBUG] Copying msim.conf
  121. [2019-10-23 19:22:42,472 K/basic/probe_memory DEBUG] [../configure.py] [2019-10-23 19:22:42,472 main DEBUG] Copying gdbinit
  122. [2019-10-23 19:22:42,479 K/basic/probe_memory INFO] Building ...
  123. [2019-10-23 19:22:42,488 K/basic/probe_memory DEBUG] [make] make -C kernel
  124. [2019-10-23 19:22:42,498 K/basic/probe_memory DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__probe_memory/kernel'
  125. [2019-10-23 19:22:42,498 K/basic/probe_memory DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/basic/probe_memory/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  126. [2019-10-23 19:22:42,540 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  127. [2019-10-23 19:22:42,541 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -DKERNEL_TEST_PROBE_MEMORY_MAINMEM_SIZE_KB=1024 -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  128. [2019-10-23 19:22:42,541 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  129. [2019-10-23 19:22:42,542 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -DKERNEL_TEST_PROBE_MEMORY_MAINMEM_SIZE_KB=1024 -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  130. [2019-10-23 19:22:42,565 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -DKERNEL_TEST_PROBE_MEMORY_MAINMEM_SIZE_KB=1024 -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  131. [2019-10-23 19:22:42,566 K/basic/probe_memory DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  132. [2019-10-23 19:22:42,567 K/basic/probe_memory DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  133. [2019-10-23 19:22:42,567 K/basic/probe_memory DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  134. [2019-10-23 19:22:42,568 K/basic/probe_memory DEBUG] [make] return (uintptr_t)&p;
  135. [2019-10-23 19:22:42,568 K/basic/probe_memory DEBUG] [make] ^~~~~~~~~~~~~
  136. [2019-10-23 19:22:42,577 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -DKERNEL_TEST_PROBE_MEMORY_MAINMEM_SIZE_KB=1024 -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  137. [2019-10-23 19:22:42,591 K/basic/probe_memory DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -DKERNEL_TEST_PROBE_MEMORY_MAINMEM_SIZE_KB=1024 -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  138. [2019-10-23 19:22:42,597 K/basic/probe_memory DEBUG] [make] cc1: all warnings being treated as errors
  139. [2019-10-23 19:22:42,601 K/basic/probe_memory DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  140. [2019-10-23 19:22:42,601 K/basic/probe_memory DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  141. [2019-10-23 19:22:42,768 K/basic/probe_memory DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__probe_memory/kernel'
  142. [2019-10-23 19:22:42,768 K/basic/probe_memory DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  143. [2019-10-23 19:22:42,770 run_tests ERROR] Test basic/probe_memory failed: build failed (see make.log).
  144. [2019-10-23 19:22:42,771 K/basic/stack_pointer DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__stack_pointer.
  145. [2019-10-23 19:22:42,771 K/basic/stack_pointer INFO] Configuring ...
  146. [2019-10-23 19:22:42,832 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,831 main DEBUG] Creating config.mk
  147. [2019-10-23 19:22:42,832 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,832 main DEBUG] Creating Makefile inside ./
  148. [2019-10-23 19:22:42,832 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,832 main DEBUG] Creating Makefile inside kernel/
  149. [2019-10-23 19:22:42,833 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,833 main DEBUG] Creating Makefile inside user/
  150. [2019-10-23 19:22:42,833 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,833 main DEBUG] Copying msim.conf
  151. [2019-10-23 19:22:42,834 K/basic/stack_pointer DEBUG] [../configure.py] [2019-10-23 19:22:42,834 main DEBUG] Copying gdbinit
  152. [2019-10-23 19:22:42,840 K/basic/stack_pointer INFO] Building ...
  153. [2019-10-23 19:22:42,848 K/basic/stack_pointer DEBUG] [make] make -C kernel
  154. [2019-10-23 19:22:42,859 K/basic/stack_pointer DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__stack_pointer/kernel'
  155. [2019-10-23 19:22:42,859 K/basic/stack_pointer DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/basic/stack_pointer/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  156. [2019-10-23 19:22:42,896 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  157. [2019-10-23 19:22:42,897 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  158. [2019-10-23 19:22:42,897 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  159. [2019-10-23 19:22:42,898 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  160. [2019-10-23 19:22:42,915 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  161. [2019-10-23 19:22:42,918 K/basic/stack_pointer DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  162. [2019-10-23 19:22:42,918 K/basic/stack_pointer DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  163. [2019-10-23 19:22:42,919 K/basic/stack_pointer DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  164. [2019-10-23 19:22:42,919 K/basic/stack_pointer DEBUG] [make] return (uintptr_t)&p;
  165. [2019-10-23 19:22:42,920 K/basic/stack_pointer DEBUG] [make] ^~~~~~~~~~~~~
  166. [2019-10-23 19:22:42,926 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  167. [2019-10-23 19:22:42,929 K/basic/stack_pointer DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  168. [2019-10-23 19:22:42,937 K/basic/stack_pointer DEBUG] [make] cc1: all warnings being treated as errors
  169. [2019-10-23 19:22:42,941 K/basic/stack_pointer DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  170. [2019-10-23 19:22:42,941 K/basic/stack_pointer DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  171. [2019-10-23 19:22:43,089 K/basic/stack_pointer DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__basic__stack_pointer/kernel'
  172. [2019-10-23 19:22:43,089 K/basic/stack_pointer DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  173. [2019-10-23 19:22:43,090 run_tests ERROR] Test basic/stack_pointer failed: build failed (see make.log).
  174. [2019-10-23 19:22:43,091 K/printk/char DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__char.
  175. [2019-10-23 19:22:43,092 K/printk/char INFO] Configuring ...
  176. [2019-10-23 19:22:43,151 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,151 main DEBUG] Creating config.mk
  177. [2019-10-23 19:22:43,152 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,151 main DEBUG] Creating Makefile inside ./
  178. [2019-10-23 19:22:43,152 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,151 main DEBUG] Creating Makefile inside kernel/
  179. [2019-10-23 19:22:43,153 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,152 main DEBUG] Creating Makefile inside user/
  180. [2019-10-23 19:22:43,153 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,153 main DEBUG] Copying msim.conf
  181. [2019-10-23 19:22:43,154 K/printk/char DEBUG] [../configure.py] [2019-10-23 19:22:43,154 main DEBUG] Copying gdbinit
  182. [2019-10-23 19:22:43,160 K/printk/char INFO] Building ...
  183. [2019-10-23 19:22:43,169 K/printk/char DEBUG] [make] make -C kernel
  184. [2019-10-23 19:22:43,178 K/printk/char DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__char/kernel'
  185. [2019-10-23 19:22:43,178 K/printk/char DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/printk/char/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  186. [2019-10-23 19:22:43,218 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  187. [2019-10-23 19:22:43,219 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  188. [2019-10-23 19:22:43,220 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  189. [2019-10-23 19:22:43,220 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  190. [2019-10-23 19:22:43,239 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  191. [2019-10-23 19:22:43,243 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  192. [2019-10-23 19:22:43,246 K/printk/char DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  193. [2019-10-23 19:22:43,246 K/printk/char DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  194. [2019-10-23 19:22:43,246 K/printk/char DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  195. [2019-10-23 19:22:43,246 K/printk/char DEBUG] [make] return (uintptr_t)&p;
  196. [2019-10-23 19:22:43,246 K/printk/char DEBUG] [make] ^~~~~~~~~~~~~
  197. [2019-10-23 19:22:43,249 K/printk/char DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  198. [2019-10-23 19:22:43,264 K/printk/char DEBUG] [make] cc1: all warnings being treated as errors
  199. [2019-10-23 19:22:43,268 K/printk/char DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  200. [2019-10-23 19:22:43,268 K/printk/char DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  201. [2019-10-23 19:22:43,409 K/printk/char DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__char/kernel'
  202. [2019-10-23 19:22:43,410 K/printk/char DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  203. [2019-10-23 19:22:43,412 run_tests ERROR] Test printk/char failed: build failed (see make.log).
  204. [2019-10-23 19:22:43,413 K/printk/hex DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__hex.
  205. [2019-10-23 19:22:43,413 K/printk/hex INFO] Configuring ...
  206. [2019-10-23 19:22:43,470 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,470 main DEBUG] Creating config.mk
  207. [2019-10-23 19:22:43,471 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,470 main DEBUG] Creating Makefile inside ./
  208. [2019-10-23 19:22:43,471 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,470 main DEBUG] Creating Makefile inside kernel/
  209. [2019-10-23 19:22:43,471 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,471 main DEBUG] Creating Makefile inside user/
  210. [2019-10-23 19:22:43,472 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,472 main DEBUG] Copying msim.conf
  211. [2019-10-23 19:22:43,472 K/printk/hex DEBUG] [../configure.py] [2019-10-23 19:22:43,472 main DEBUG] Copying gdbinit
  212. [2019-10-23 19:22:43,478 K/printk/hex INFO] Building ...
  213. [2019-10-23 19:22:43,484 K/printk/hex DEBUG] [make] make -C kernel
  214. [2019-10-23 19:22:43,495 K/printk/hex DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__hex/kernel'
  215. [2019-10-23 19:22:43,495 K/printk/hex DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/printk/hex/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  216. [2019-10-23 19:22:43,530 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  217. [2019-10-23 19:22:43,530 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  218. [2019-10-23 19:22:43,531 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  219. [2019-10-23 19:22:43,532 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  220. [2019-10-23 19:22:43,546 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  221. [2019-10-23 19:22:43,549 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  222. [2019-10-23 19:22:43,556 K/printk/hex DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  223. [2019-10-23 19:22:43,556 K/printk/hex DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  224. [2019-10-23 19:22:43,556 K/printk/hex DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  225. [2019-10-23 19:22:43,556 K/printk/hex DEBUG] [make] return (uintptr_t)&p;
  226. [2019-10-23 19:22:43,556 K/printk/hex DEBUG] [make] ^~~~~~~~~~~~~
  227. [2019-10-23 19:22:43,566 K/printk/hex DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  228. [2019-10-23 19:22:43,576 K/printk/hex DEBUG] [make] cc1: all warnings being treated as errors
  229. [2019-10-23 19:22:43,576 K/printk/hex DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  230. [2019-10-23 19:22:43,576 K/printk/hex DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  231. [2019-10-23 19:22:43,708 K/printk/hex DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__hex/kernel'
  232. [2019-10-23 19:22:43,708 K/printk/hex DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  233. [2019-10-23 19:22:43,710 run_tests ERROR] Test printk/hex failed: build failed (see make.log).
  234. [2019-10-23 19:22:43,711 K/printk/int DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__int.
  235. [2019-10-23 19:22:43,711 K/printk/int INFO] Configuring ...
  236. [2019-10-23 19:22:43,770 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,770 main DEBUG] Creating config.mk
  237. [2019-10-23 19:22:43,770 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,770 main DEBUG] Creating Makefile inside ./
  238. [2019-10-23 19:22:43,771 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,770 main DEBUG] Creating Makefile inside kernel/
  239. [2019-10-23 19:22:43,771 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,771 main DEBUG] Creating Makefile inside user/
  240. [2019-10-23 19:22:43,772 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,772 main DEBUG] Copying msim.conf
  241. [2019-10-23 19:22:43,772 K/printk/int DEBUG] [../configure.py] [2019-10-23 19:22:43,772 main DEBUG] Copying gdbinit
  242. [2019-10-23 19:22:43,779 K/printk/int INFO] Building ...
  243. [2019-10-23 19:22:43,787 K/printk/int DEBUG] [make] make -C kernel
  244. [2019-10-23 19:22:43,800 K/printk/int DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__int/kernel'
  245. [2019-10-23 19:22:43,801 K/printk/int DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/printk/int/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  246. [2019-10-23 19:22:43,836 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  247. [2019-10-23 19:22:43,837 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  248. [2019-10-23 19:22:43,837 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  249. [2019-10-23 19:22:43,838 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  250. [2019-10-23 19:22:43,853 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  251. [2019-10-23 19:22:43,856 K/printk/int DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  252. [2019-10-23 19:22:43,857 K/printk/int DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  253. [2019-10-23 19:22:43,857 K/printk/int DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  254. [2019-10-23 19:22:43,857 K/printk/int DEBUG] [make] return (uintptr_t)&p;
  255. [2019-10-23 19:22:43,857 K/printk/int DEBUG] [make] ^~~~~~~~~~~~~
  256. [2019-10-23 19:22:43,870 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  257. [2019-10-23 19:22:43,875 K/printk/int DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  258. [2019-10-23 19:22:43,876 K/printk/int DEBUG] [make] cc1: all warnings being treated as errors
  259. [2019-10-23 19:22:43,880 K/printk/int DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  260. [2019-10-23 19:22:43,880 K/printk/int DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  261. [2019-10-23 19:22:44,033 K/printk/int DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__int/kernel'
  262. [2019-10-23 19:22:44,034 K/printk/int DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  263. [2019-10-23 19:22:44,036 run_tests ERROR] Test printk/int failed: build failed (see make.log).
  264. [2019-10-23 19:22:44,036 K/printk/list DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__list.
  265. [2019-10-23 19:22:44,037 K/printk/list INFO] Configuring ...
  266. [2019-10-23 19:22:44,098 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,098 main DEBUG] Creating config.mk
  267. [2019-10-23 19:22:44,099 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,098 main DEBUG] Creating Makefile inside ./
  268. [2019-10-23 19:22:44,099 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,098 main DEBUG] Creating Makefile inside kernel/
  269. [2019-10-23 19:22:44,099 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,099 main DEBUG] Creating Makefile inside user/
  270. [2019-10-23 19:22:44,100 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,100 main DEBUG] Copying msim.conf
  271. [2019-10-23 19:22:44,101 K/printk/list DEBUG] [../configure.py] [2019-10-23 19:22:44,100 main DEBUG] Copying gdbinit
  272. [2019-10-23 19:22:44,107 K/printk/list INFO] Building ...
  273. [2019-10-23 19:22:44,115 K/printk/list DEBUG] [make] make -C kernel
  274. [2019-10-23 19:22:44,126 K/printk/list DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__list/kernel'
  275. [2019-10-23 19:22:44,127 K/printk/list DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/printk/list/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  276. [2019-10-23 19:22:44,167 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  277. [2019-10-23 19:22:44,168 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  278. [2019-10-23 19:22:44,169 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  279. [2019-10-23 19:22:44,170 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  280. [2019-10-23 19:22:44,189 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  281. [2019-10-23 19:22:44,198 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  282. [2019-10-23 19:22:44,203 K/printk/list DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  283. [2019-10-23 19:22:44,203 K/printk/list DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  284. [2019-10-23 19:22:44,203 K/printk/list DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  285. [2019-10-23 19:22:44,204 K/printk/list DEBUG] [make] return (uintptr_t)&p;
  286. [2019-10-23 19:22:44,204 K/printk/list DEBUG] [make] ^~~~~~~~~~~~~
  287. [2019-10-23 19:22:44,207 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  288. [2019-10-23 19:22:44,221 K/printk/list DEBUG] [make] cc1: all warnings being treated as errors
  289. [2019-10-23 19:22:44,222 K/printk/list DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF tests/printk/list/test.dep -c -o tests/printk/list/test.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/tests/printk/list/test.c
  290. [2019-10-23 19:22:44,225 K/printk/list DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  291. [2019-10-23 19:22:44,225 K/printk/list DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  292. [2019-10-23 19:22:44,330 K/printk/list DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__list/kernel'
  293. [2019-10-23 19:22:44,330 K/printk/list DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  294. [2019-10-23 19:22:44,331 run_tests ERROR] Test printk/list failed: build failed (see make.log).
  295. [2019-10-23 19:22:44,332 K/printk/string DEBUG] Will use build directory /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__string.
  296. [2019-10-23 19:22:44,332 K/printk/string INFO] Configuring ...
  297. [2019-10-23 19:22:44,371 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,371 main DEBUG] Creating config.mk
  298. [2019-10-23 19:22:44,371 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,371 main DEBUG] Creating Makefile inside ./
  299. [2019-10-23 19:22:44,372 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,371 main DEBUG] Creating Makefile inside kernel/
  300. [2019-10-23 19:22:44,372 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,371 main DEBUG] Creating Makefile inside user/
  301. [2019-10-23 19:22:44,372 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,372 main DEBUG] Copying msim.conf
  302. [2019-10-23 19:22:44,373 K/printk/string DEBUG] [../configure.py] [2019-10-23 19:22:44,372 main DEBUG] Copying gdbinit
  303. [2019-10-23 19:22:44,377 K/printk/string INFO] Building ...
  304. [2019-10-23 19:22:44,386 K/printk/string DEBUG] [make] make -C kernel
  305. [2019-10-23 19:22:44,391 K/printk/string DEBUG] [make] make[1]: Entering directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__string/kernel'
  306. [2019-10-23 19:22:44,392 K/printk/string DEBUG] [make] for i in src/main.o src/head.o src/debug/code.o src/debug/mm.o src/lib/print.o src/lib/runtime.o tests/printk/string/test.o boot/loader.o; do mkdir -p `dirname $i`; done
  307. [2019-10-23 19:22:44,429 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o boot/loader.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/boot/loader.S
  308. [2019-10-23 19:22:44,430 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/main.dep -c -o src/main.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/main.c
  309. [2019-10-23 19:22:44,430 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -I. -D__ASM__ -c -o src/head.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/head.S
  310. [2019-10-23 19:22:44,431 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/code.dep -c -o src/debug/code.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c
  311. [2019-10-23 19:22:44,445 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/debug/mm.dep -c -o src/debug/mm.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/mm.c
  312. [2019-10-23 19:22:44,450 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/print.dep -c -o src/lib/print.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/print.c
  313. [2019-10-23 19:22:44,452 K/printk/string DEBUG] [make] In file included from /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/debug/code.c:4:
  314. [2019-10-23 19:22:44,452 K/printk/string DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h: In function 'debug_get_stack_pointer':
  315. [2019-10-23 19:22:44,453 K/printk/string DEBUG] [make] /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include/debug/code.h:13:12: error: function returns address of local variable [-Werror=return-local-addr]
  316. [2019-10-23 19:22:44,453 K/printk/string DEBUG] [make] return (uintptr_t)&p;
  317. [2019-10-23 19:22:44,453 K/printk/string DEBUG] [make] ^~~~~~~~~~~~~
  318. [2019-10-23 19:22:44,457 K/printk/string DEBUG] [make] /opt/mff-nswi004//bin/mipsel-linux-gnu-gcc -I/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/include -O2 -march=r4000 -mabi=32 -mgp32 -msoft-float -mlong32 -G 0 -mno-abicalls -fno-pic -fno-builtin -ffreestanding -nostdlib -nostdinc -pipe -Wall -Wextra -Werror -Wno-unused-parameter -Wmissing-prototypes -g3 -std=c11 -DKERNEL_TEST -MD -MF src/lib/runtime.dep -c -o src/lib/runtime.o /builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel/src/lib/runtime.c
  319. [2019-10-23 19:22:44,464 K/printk/string DEBUG] [make] cc1: all warnings being treated as errors
  320. [2019-10-23 19:22:44,468 K/printk/string DEBUG] [make] make[1]: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/kernel//Makefile:113: src/debug/code.o] Error 1
  321. [2019-10-23 19:22:44,468 K/printk/string DEBUG] [make] make[1]: *** Waiting for unfinished jobs....
  322. [2019-10-23 19:22:44,620 K/printk/string DEBUG] [make] make[1]: Leaving directory '/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/_build_kernel__printk__string/kernel'
  323. [2019-10-23 19:22:44,621 K/printk/string DEBUG] [make] make: *** [/builds/teaching/nswi004/winter-2019-20/01-student-nguyeth6/.//Makefile:20: kernel] Error 2
  324. [2019-10-23 19:22:44,622 run_tests ERROR] Test printk/string failed: build failed (see make.log).
  325. [2019-10-23 19:22:44,622 report INFO]
  326. [2019-10-23 19:22:44,623 report INFO] Test run report:
  327. [2019-10-23 19:22:44,623 report INFO]
  328. [2019-10-23 19:22:44,623 report INFO] - adt/list1 FAILED (build failed)
  329. [2019-10-23 19:22:44,624 report INFO] - adt/list2 FAILED (build failed)
  330. [2019-10-23 19:22:44,624 report INFO] - basic/dump_function FAILED (build failed)
  331. [2019-10-23 19:22:44,625 report INFO] - basic/probe_memory FAILED (build failed)
  332. [2019-10-23 19:22:44,625 report INFO] - basic/stack_pointer FAILED (build failed)
  333. [2019-10-23 19:22:44,625 report INFO] - printk/char FAILED (build failed)
  334. [2019-10-23 19:22:44,626 report INFO] - printk/hex FAILED (build failed)
  335. [2019-10-23 19:22:44,626 report INFO] - printk/int FAILED (build failed)
  336. [2019-10-23 19:22:44,627 report INFO] - printk/list FAILED (build failed)
  337. [2019-10-23 19:22:44,627 report INFO] - printk/string FAILED (build failed)
  338. [2019-10-23 19:22:44,627 report INFO]
  339. [2019-10-23 19:22:44,628 report INFO] There were failures: 0 passed, 10 failed.
  340. ERROR: Job failed: exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement