Advertisement
Guest User

BYOK Build

a guest
Nov 24th, 2020 (edited)
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.58 KB | None | 0 0
  1. $ diff -uN kernel/Makefile{.orig,}
  2. --- kernel/Makefile.orig 2020-11-24 21:52:30.087251642 +0200
  3. +++ kernel/Makefile 2020-11-24 22:31:10.922074797 +0200
  4. @@ -18,7 +18,7 @@
  5. CFLAGS:=$(CFLAGS) -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"$(GIT_VERSION)\"
  6. CPPFLAGS:=$(CPPFLAGS) -D__is_byok_kernel -Iinclude
  7. LDFLAGS:=$(LDFLAGS)
  8. -LIBS:=$(LIBS) -nostdlib -lgcc -lforth -lc -lm
  9. +LIBS:=$(LIBS) ../forth/libforth.a ../libc/libc.a -nostdlib -lgcc -lforth -lc -lm
  10.  
  11. ARCHDIR:=src/arch/$(HOSTARCH)
  12.  
  13. $ i686-linux-gnu-gcc -v
  14. Using built-in specs.
  15. COLLECT_GCC=i686-linux-gnu-gcc
  16. COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper
  17. Target: i686-linux-gnu
  18. Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
  19. Thread model: posix
  20. gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
  21.  
  22. $ HOST=i686-linux-gnu make clean build 2>&1 | tee make.log
  23. make -C fdlibm clean
  24. make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
  25. rm -f libm.a src/math/k_standard.o src/math/k_rem_pio2.o src/math/k_cos.o src/math/k_sin.o src/math/k_tan.o src/math/e_acos.o src/math/e_acosh.o src/math/e_asin.o src/math/e_atan2.o src/math/e_atanh.o src/math/e_cosh.o src/math/e_exp.o src/math/e_fmod.o src/math/e_gamma.o src/math/e_gamma_r.o src/math/e_hypot.o src/math/e_j0.o src/math/e_j1.o src/math/e_jn.o src/math/e_lgamma.o src/math/e_lgamma_r.o src/math/e_log.o src/math/e_log10.o src/math/e_pow.o src/math/e_rem_pio2.o src/math/e_remainder.o src/math/e_scalb.o src/math/e_sinh.o src/math/e_sqrt.o src/math/w_acos.o src/math/w_acosh.o src/math/w_asin.o src/math/w_atan2.o src/math/w_atanh.o src/math/w_cosh.o src/math/w_exp.o src/math/w_fmod.o src/math/w_gamma.o src/math/w_gamma_r.o src/math/w_hypot.o src/math/w_j0.o src/math/w_j1.o src/math/w_jn.o src/math/w_lgamma.o src/math/w_lgamma_r.o src/math/w_log.o src/math/w_log10.o src/math/w_pow.o src/math/w_remainder.o src/math/w_scalb.o src/math/w_sinh.o src/math/w_sqrt.o src/math/s_asinh.o src/math/s_atan.o src/math/s_cbrt.o src/math/s_ceil.o src/math/s_copysign.o src/math/s_cos.o src/math/s_erf.o src/math/s_expm1.o src/math/s_fabs.o src/math/s_finite.o src/math/s_floor.o src/math/s_frexp.o src/math/s_ilogb.o src/math/s_isnan.o src/math/s_ldexp.o src/math/s_lib_version.o src/math/s_log1p.o src/math/s_logb.o src/math/s_matherr.o src/math/s_modf.o src/math/s_nextafter.o src/math/s_rint.o src/math/s_scalbn.o src/math/s_signgam.o src/math/s_significand.o src/math/s_sin.o src/math/s_tan.o src/math/s_tanh.o *.o */*.o */*/*.o
  26. make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
  27. make -C libc clean
  28. make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
  29. rm -f libc.a libg.a src/stdio/printf.o src/stdio/putchar.o src/stdio/puts.o src/stdlib/abort.o src/stdlib/assert.o src/stdlib/itoa.o src/stdlib/dtoa.o src/stdlib/atoi.o src/stdlib/malloc.o src/stdlib/qsort.o src/string/memcmp.o src/string/memcpy.o src/string/memmove.o src/string/memset.o src/string/strcmp.o src/string/strlen.o src/string/strchr.o src/string/strdup.o src/string/strndup.o src/string/strpbrk.o src/string/strtok.o src/string/strsep.o src/string/strspn.o src/string/strtoupper.o src/string/trim.o src/regex/regex.o src/regex/re_fail.o *.o */*.o */*/*.o
  30. make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
  31. make -C kernel clean
  32. make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
  33. fatal: Not a git repository (or any of the parent directories): .git
  34. rm -f byok.kernel src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o src/arch/i386/crti.o src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o src/arch/i386/crtn.o *.o */*.o */*/*.o
  35. make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
  36. make -C forth clean
  37. make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
  38. rm -f libforth.a src/stack_machine/entry.o src/stack_machine/repl.o src/stack_machine/common.o src/stack_machine/error.o src/stack_machine/interpreter.o src/stack_machine/compiler.o src/stack_machine/slots.o src/util/history.o src/collections/list.o src/collections/dlist.o src/collections/stack.o src/collections/queue.o src/collections/hashtable.o src/primitives/stack_manip.o src/primitives/arithmetics.o src/primitives/io.o src/primitives/bit_logic.o src/primitives/comparison.o src/primitives/misc.o src/primitives/memory.o src/forth/resources.o src/editor/model.o src/editor/render.o src/editor/colorize.o src/editor/actions.o *.o */*.o */*/*.o
  39. make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
  40. rm -rf sysroot
  41. rm -rf isodir
  42. rm -rf byok.iso
  43. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C fdlibm install-headers
  44. make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
  45. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  46. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  47. make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
  48. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C libc install-headers
  49. make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
  50. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  51. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  52. make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
  53. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C forth install-headers
  54. make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
  55. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  56. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  57. make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
  58. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C kernel install-headers
  59. make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
  60. fatal: Not a git repository (or any of the parent directories): .git
  61. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  62. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  63. make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
  64. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C libc install
  65. make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
  66. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  67. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  68. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/printf.c -o src/stdio/printf.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  69. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/putchar.c -o src/stdio/putchar.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  70. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/puts.c -o src/stdio/puts.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  71. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/abort.c -o src/stdlib/abort.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  72. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/assert.c -o src/stdlib/assert.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  73. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/itoa.c -o src/stdlib/itoa.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  74. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/dtoa.c -o src/stdlib/dtoa.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  75. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/atoi.c -o src/stdlib/atoi.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  76. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/malloc.c -o src/stdlib/malloc.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  77. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/qsort.c -o src/stdlib/qsort.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  78. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memcmp.c -o src/string/memcmp.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  79. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memcpy.c -o src/string/memcpy.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  80. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memmove.c -o src/string/memmove.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  81. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memset.c -o src/string/memset.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  82. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strcmp.c -o src/string/strcmp.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  83. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strlen.c -o src/string/strlen.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  84. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strchr.c -o src/string/strchr.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  85. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strdup.c -o src/string/strdup.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  86. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strndup.c -o src/string/strndup.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  87. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strpbrk.c -o src/string/strpbrk.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  88. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strtok.c -o src/string/strtok.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  89. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strsep.c -o src/string/strsep.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  90. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strspn.c -o src/string/strspn.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  91. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strtoupper.c -o src/string/strtoupper.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  92. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/trim.c -o src/string/trim.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  93. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/regex/regex.c -o src/regex/regex.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  94. src/regex/regex.c: In function ‘re_comp’:
  95. src/regex/regex.c:263:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
  96. if (!pat || !*pat)
  97. ^
  98. src/regex/regex.c: In function ‘pmatch’:
  99. src/regex/regex.c:656:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  100. if (lp!=bol && iswordc(lp[-1]) || !iswordc(*lp))
  101. ^
  102. src/regex/regex.c:699:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  103. if (e = pmatch(lp, ap))
  104. ^~
  105. src/regex/regex.c: In function ‘re_subs’:
  106. src/regex/regex.c:763:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  107. while (c = *src++) {
  108. ^~~~~
  109. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/regex/re_fail.c -o src/regex/re_fail.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
  110. i686-linux-gnu-ar rcs libc.a src/stdio/printf.o src/stdio/putchar.o src/stdio/puts.o src/stdlib/abort.o src/stdlib/assert.o src/stdlib/itoa.o src/stdlib/dtoa.o src/stdlib/atoi.o src/stdlib/malloc.o src/stdlib/qsort.o src/string/memcmp.o src/string/memcpy.o src/string/memmove.o src/string/memset.o src/string/strcmp.o src/string/strlen.o src/string/strchr.o src/string/strdup.o src/string/strndup.o src/string/strpbrk.o src/string/strtok.o src/string/strsep.o src/string/strspn.o src/string/strtoupper.o src/string/trim.o src/regex/regex.o src/regex/re_fail.o
  111. i686-linux-gnu-ar rcs libg.a
  112. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
  113. cp libc.a libg.a /home/user/Downloads/byok-master/sysroot/usr/lib
  114. make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
  115. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C fdlibm install
  116. make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
  117. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  118. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  119. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_standard.c -o src/math/k_standard.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  120. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_rem_pio2.c -o src/math/k_rem_pio2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  121. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_cos.c -o src/math/k_cos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  122. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_sin.c -o src/math/k_sin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  123. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_tan.c -o src/math/k_tan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  124. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_acos.c -o src/math/e_acos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  125. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_acosh.c -o src/math/e_acosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  126. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_asin.c -o src/math/e_asin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  127. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_atan2.c -o src/math/e_atan2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  128. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_atanh.c -o src/math/e_atanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  129. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_cosh.c -o src/math/e_cosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  130. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_exp.c -o src/math/e_exp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  131. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_fmod.c -o src/math/e_fmod.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  132. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_gamma.c -o src/math/e_gamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  133. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_gamma_r.c -o src/math/e_gamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  134. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_hypot.c -o src/math/e_hypot.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  135. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_j0.c -o src/math/e_j0.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  136. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_j1.c -o src/math/e_j1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  137. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_jn.c -o src/math/e_jn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  138. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_lgamma.c -o src/math/e_lgamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  139. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_lgamma_r.c -o src/math/e_lgamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  140. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_log.c -o src/math/e_log.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  141. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_log10.c -o src/math/e_log10.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  142. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_pow.c -o src/math/e_pow.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  143. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_rem_pio2.c -o src/math/e_rem_pio2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  144. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_remainder.c -o src/math/e_remainder.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  145. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_scalb.c -o src/math/e_scalb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  146. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_sinh.c -o src/math/e_sinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  147. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_sqrt.c -o src/math/e_sqrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  148. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_acos.c -o src/math/w_acos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  149. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_acosh.c -o src/math/w_acosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  150. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_asin.c -o src/math/w_asin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  151. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_atan2.c -o src/math/w_atan2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  152. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_atanh.c -o src/math/w_atanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  153. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_cosh.c -o src/math/w_cosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  154. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_exp.c -o src/math/w_exp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  155. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_fmod.c -o src/math/w_fmod.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  156. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_gamma.c -o src/math/w_gamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  157. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_gamma_r.c -o src/math/w_gamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  158. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_hypot.c -o src/math/w_hypot.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  159. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_j0.c -o src/math/w_j0.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  160. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_j1.c -o src/math/w_j1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  161. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_jn.c -o src/math/w_jn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  162. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_lgamma.c -o src/math/w_lgamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  163. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_lgamma_r.c -o src/math/w_lgamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  164. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_log.c -o src/math/w_log.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  165. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_log10.c -o src/math/w_log10.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  166. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_pow.c -o src/math/w_pow.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  167. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_remainder.c -o src/math/w_remainder.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  168. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_scalb.c -o src/math/w_scalb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  169. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_sinh.c -o src/math/w_sinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  170. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_sqrt.c -o src/math/w_sqrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  171. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_asinh.c -o src/math/s_asinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  172. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_atan.c -o src/math/s_atan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  173. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_cbrt.c -o src/math/s_cbrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  174. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ceil.c -o src/math/s_ceil.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  175. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_copysign.c -o src/math/s_copysign.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  176. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_cos.c -o src/math/s_cos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  177. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_erf.c -o src/math/s_erf.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  178. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_expm1.c -o src/math/s_expm1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  179. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_fabs.c -o src/math/s_fabs.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  180. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_finite.c -o src/math/s_finite.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  181. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_floor.c -o src/math/s_floor.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  182. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_frexp.c -o src/math/s_frexp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  183. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ilogb.c -o src/math/s_ilogb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  184. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_isnan.c -o src/math/s_isnan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  185. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ldexp.c -o src/math/s_ldexp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  186. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_lib_version.c -o src/math/s_lib_version.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  187. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_log1p.c -o src/math/s_log1p.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  188. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_logb.c -o src/math/s_logb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  189. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_matherr.c -o src/math/s_matherr.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  190. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_modf.c -o src/math/s_modf.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  191. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_nextafter.c -o src/math/s_nextafter.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  192. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_rint.c -o src/math/s_rint.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  193. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_scalbn.c -o src/math/s_scalbn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  194. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_signgam.c -o src/math/s_signgam.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  195. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_significand.c -o src/math/s_significand.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  196. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_sin.c -o src/math/s_sin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  197. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_tan.c -o src/math/s_tan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  198. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_tanh.c -o src/math/s_tanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
  199. i686-linux-gnu-ar rcs libm.a src/math/k_standard.o src/math/k_rem_pio2.o src/math/k_cos.o src/math/k_sin.o src/math/k_tan.o src/math/e_acos.o src/math/e_acosh.o src/math/e_asin.o src/math/e_atan2.o src/math/e_atanh.o src/math/e_cosh.o src/math/e_exp.o src/math/e_fmod.o src/math/e_gamma.o src/math/e_gamma_r.o src/math/e_hypot.o src/math/e_j0.o src/math/e_j1.o src/math/e_jn.o src/math/e_lgamma.o src/math/e_lgamma_r.o src/math/e_log.o src/math/e_log10.o src/math/e_pow.o src/math/e_rem_pio2.o src/math/e_remainder.o src/math/e_scalb.o src/math/e_sinh.o src/math/e_sqrt.o src/math/w_acos.o src/math/w_acosh.o src/math/w_asin.o src/math/w_atan2.o src/math/w_atanh.o src/math/w_cosh.o src/math/w_exp.o src/math/w_fmod.o src/math/w_gamma.o src/math/w_gamma_r.o src/math/w_hypot.o src/math/w_j0.o src/math/w_j1.o src/math/w_jn.o src/math/w_lgamma.o src/math/w_lgamma_r.o src/math/w_log.o src/math/w_log10.o src/math/w_pow.o src/math/w_remainder.o src/math/w_scalb.o src/math/w_sinh.o src/math/w_sqrt.o src/math/s_asinh.o src/math/s_atan.o src/math/s_cbrt.o src/math/s_ceil.o src/math/s_copysign.o src/math/s_cos.o src/math/s_erf.o src/math/s_expm1.o src/math/s_fabs.o src/math/s_finite.o src/math/s_floor.o src/math/s_frexp.o src/math/s_ilogb.o src/math/s_isnan.o src/math/s_ldexp.o src/math/s_lib_version.o src/math/s_log1p.o src/math/s_logb.o src/math/s_matherr.o src/math/s_modf.o src/math/s_nextafter.o src/math/s_rint.o src/math/s_scalbn.o src/math/s_signgam.o src/math/s_significand.o src/math/s_sin.o src/math/s_tan.o src/math/s_tanh.o
  200. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
  201. cp libm.a /home/user/Downloads/byok-master/sysroot/usr/lib
  202. make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
  203. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C forth install
  204. make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
  205. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  206. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  207. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/entry.c -o src/stack_machine/entry.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  208. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/repl.c -o src/stack_machine/repl.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  209. src/stack_machine/repl.c: In function ‘init_context’:
  210. src/stack_machine/repl.c:84:29: warning: passing argument 3 of ‘load’ from incompatible pointer type [-Wincompatible-pointer-types]
  211. load(ctx, "system.fth", &system_forth);
  212. ^
  213. In file included from src/stack_machine/repl.c:13:0:
  214. include/stack_machine/compiler.h:13:19: note: expected ‘char *’ but argument is of type ‘int *’
  215. extern context_t *load(context_t *ctx, char *filename, char *buf);
  216. ^~~~
  217. src/stack_machine/repl.c:90:31: warning: passing argument 3 of ‘load’ from incompatible pointer type [-Wincompatible-pointer-types]
  218. load(ctx, "examples.fth", &examples_forth);
  219. ^
  220. In file included from src/stack_machine/repl.c:13:0:
  221. include/stack_machine/compiler.h:13:19: note: expected ‘char *’ but argument is of type ‘int *’
  222. extern context_t *load(context_t *ctx, char *filename, char *buf);
  223. ^~~~
  224. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/common.c -o src/stack_machine/common.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  225. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/error.c -o src/stack_machine/error.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  226. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/interpreter.c -o src/stack_machine/interpreter.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  227. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/compiler.c -o src/stack_machine/compiler.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  228. src/stack_machine/compiler.c: In function ‘comma’:
  229. src/stack_machine/compiler.c:20:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  230. ctx->dp = align(ctx->dp);
  231. ^
  232. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/slots.c -o src/stack_machine/slots.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  233. src/stack_machine/slots.c: In function ‘slot_flush’:
  234. src/stack_machine/slots.c:13:21: warning: left shift of negative value [-Wshift-negative-value]
  235. #define SLOT_DIRTY 1<<0
  236. ^
  237. src/stack_machine/slots.c:34:25: note: in expansion of macro ‘SLOT_DIRTY’
  238. slot->flags &= ~SLOT_DIRTY;
  239. ^~~~~~~~~~
  240. src/stack_machine/slots.c: In function ‘slot_reload’:
  241. src/stack_machine/slots.c:13:21: warning: left shift of negative value [-Wshift-negative-value]
  242. #define SLOT_DIRTY 1<<0
  243. ^
  244. src/stack_machine/slots.c:51:21: note: in expansion of macro ‘SLOT_DIRTY’
  245. slot->flags &= ~SLOT_DIRTY;
  246. ^~~~~~~~~~
  247. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/util/history.c -o src/util/history.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  248. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/list.c -o src/collections/list.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  249. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/dlist.c -o src/collections/dlist.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  250. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/stack.c -o src/collections/stack.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  251. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/queue.c -o src/collections/queue.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  252. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/hashtable.c -o src/collections/hashtable.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  253. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/stack_manip.c -o src/primitives/stack_manip.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  254. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/arithmetics.c -o src/primitives/arithmetics.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  255. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/io.c -o src/primitives/io.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  256. src/primitives/io.c: In function ‘__UDOT’:
  257. src/primitives/io.c:36:45: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  258. printnum(num < 0 ? num + 0x80000000 : num, ctx->base);
  259. ^
  260. src/primitives/io.c: In function ‘__CLS’:
  261. src/primitives/io.c:100:26: warning: unused parameter ‘ctx’ [-Wunused-parameter]
  262. state_t __CLS(context_t *ctx)
  263. ^~~
  264. src/primitives/io.c: In function ‘__TYPE’:
  265. src/primitives/io.c:111:50: warning: passing argument 2 of ‘popnum’ makes pointer from integer without a cast [-Wint-conversion]
  266. if (popnum(ctx->ds, &num) && popnum(ctx->ds, (int)&addr))
  267. ^
  268. In file included from src/primitives/io.c:8:0:
  269. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘int’
  270. extern int popnum(stack_t *stack, int *num);
  271. ^~~~~~
  272. src/primitives/io.c: In function ‘__CURSOR’:
  273. src/primitives/io.c:172:25: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  274. if (popnum(ctx->ds, &end) && popnum(ctx->ds, &start))
  275. ^
  276. In file included from src/primitives/io.c:8:0:
  277. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
  278. extern int popnum(stack_t *stack, int *num);
  279. ^~~~~~
  280. src/primitives/io.c:172:50: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  281. if (popnum(ctx->ds, &end) && popnum(ctx->ds, &start))
  282. ^
  283. In file included from src/primitives/io.c:8:0:
  284. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
  285. extern int popnum(stack_t *stack, int *num);
  286. ^~~~~~
  287. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/bit_logic.c -o src/primitives/bit_logic.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  288. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/comparison.c -o src/primitives/comparison.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  289. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/misc.c -o src/primitives/misc.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  290. src/primitives/misc.c: In function ‘__LICENSE’:
  291. src/primitives/misc.c:15:30: warning: unused parameter ‘ctx’ [-Wunused-parameter]
  292. state_t __LICENSE(context_t *ctx)
  293. ^~~
  294. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/memory.c -o src/primitives/memory.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  295. src/primitives/memory.c: In function ‘__NEST’:
  296. src/primitives/memory.c:18:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  297. ctx->ip = ++ctx->w.ptr;
  298. ^
  299. src/primitives/memory.c: In function ‘__MOVE’:
  300. src/primitives/memory.c:428:25: warning: passing argument 2 of ‘popnum’ makes pointer from integer without a cast [-Wint-conversion]
  301. if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  302. ^
  303. In file included from src/primitives/memory.c:9:0:
  304. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘int’
  305. extern int popnum(stack_t *stack, int *num);
  306. ^~~~~~
  307. src/primitives/memory.c:428:53: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  308. if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  309. ^
  310. In file included from src/primitives/memory.c:9:0:
  311. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
  312. extern int popnum(stack_t *stack, int *num);
  313. ^~~~~~
  314. src/primitives/memory.c:428:77: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  315. if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  316. ^
  317. In file included from src/primitives/memory.c:9:0:
  318. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
  319. extern int popnum(stack_t *stack, int *num);
  320. ^~~~~~
  321. src/primitives/memory.c: In function ‘__CMOVE’:
  322. src/primitives/memory.c:446:25: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  323. if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  324. ^
  325. In file included from src/primitives/memory.c:9:0:
  326. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
  327. extern int popnum(stack_t *stack, int *num);
  328. ^~~~~~
  329. src/primitives/memory.c:446:48: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  330. if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  331. ^
  332. In file included from src/primitives/memory.c:9:0:
  333. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
  334. extern int popnum(stack_t *stack, int *num);
  335. ^~~~~~
  336. src/primitives/memory.c:446:72: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
  337. if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
  338. ^
  339. In file included from src/primitives/memory.c:9:0:
  340. include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
  341. extern int popnum(stack_t *stack, int *num);
  342. ^~~~~~
  343. src/primitives/memory.c: In function ‘__NAME_GT’:
  344. src/primitives/memory.c:520:26: warning: passing argument 2 of ‘pushnum’ makes integer from pointer without a cast [-Wint-conversion]
  345. pushnum(ctx->ds, entry->name);
  346. ^~~~~
  347. In file included from src/primitives/memory.c:9:0:
  348. include/stack_machine/common.h:25:12: note: expected ‘int’ but argument is of type ‘char *’
  349. extern int pushnum(stack_t *stack, int num);
  350. ^~~~~~~
  351. src/primitives/memory.c: In function ‘__LATEST’:
  352. src/primitives/memory.c:532:22: warning: passing argument 2 of ‘pushnum’ makes integer from pointer without a cast [-Wint-conversion]
  353. pushnum(ctx->ds, ctx->last_word);
  354. ^~~
  355. In file included from src/primitives/memory.c:9:0:
  356. include/stack_machine/common.h:25:12: note: expected ‘int’ but argument is of type ‘entry_t * {aka struct <anonymous> *}’
  357. extern int pushnum(stack_t *stack, int num);
  358. ^~~~~~~
  359. src/primitives/memory.c: In function ‘print_line’:
  360. src/primitives/memory.c:548:15: warning: implicit declaration of function ‘rpad’ [-Wimplicit-function-declaration]
  361. out = rpad(out, hex_addr, 8, '0');
  362. ^~~~
  363. src/primitives/memory.c:548:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  364. out = rpad(out, hex_addr, 8, '0');
  365. ^
  366. src/primitives/memory.c:549:15: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
  367. out = write(out, ':');
  368. ^~~~~
  369. src/primitives/memory.c:549:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  370. out = write(out, ':');
  371. ^
  372. src/primitives/memory.c:550:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  373. out = write(out, ' ');
  374. ^
  375. src/primitives/memory.c:551:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  376. out = write(out, ' ');
  377. ^
  378. src/primitives/memory.c:553:15: warning: implicit declaration of function ‘hex_bytes’ [-Wimplicit-function-declaration]
  379. out = hex_bytes(out, &value, 4);
  380. ^~~~~~~~~
  381. src/primitives/memory.c:553:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  382. out = hex_bytes(out, &value, 4);
  383. ^
  384. src/primitives/memory.c:554:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  385. out = write(out, ' ');
  386. ^
  387. src/primitives/memory.c:555:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  388. out = write(out, '|');
  389. ^
  390. src/primitives/memory.c:556:15: warning: implicit declaration of function ‘safe_puts’ [-Wimplicit-function-declaration]
  391. out = safe_puts(out, &value, 4);
  392. ^~~~~~~~~
  393. src/primitives/memory.c:556:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  394. out = safe_puts(out, &value, 4);
  395. ^
  396. src/primitives/memory.c:557:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  397. out = write(out, '|');
  398. ^
  399. src/primitives/memory.c:559:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  400. out = write(out, ' ');
  401. ^
  402. src/primitives/memory.c:560:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  403. out = write(out, ' ');
  404. ^
  405. src/primitives/memory.c: In function ‘__DISASSEMBLE’:
  406. src/primitives/memory.c:581:28: warning: passing argument 1 of ‘print_line’ makes integer from pointer without a cast [-Wint-conversion]
  407. print_line(&addr.ptr[i], value, entry->name);
  408. ^
  409. src/primitives/memory.c:540:10: note: expected ‘unsigned int’ but argument is of type ‘int *’
  410. void print_line(unsigned int addr, unsigned int value, char *name)
  411. ^~~~~~~~~~
  412. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/forth/resources.S -o src/forth/resources.o -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  413. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/model.c -o src/editor/model.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  414. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/render.c -o src/editor/render.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  415. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/colorize.c -o src/editor/colorize.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  416. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/actions.c -o src/editor/actions.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
  417. i686-linux-gnu-ar rcs libforth.a src/stack_machine/entry.o src/stack_machine/repl.o src/stack_machine/common.o src/stack_machine/error.o src/stack_machine/interpreter.o src/stack_machine/compiler.o src/stack_machine/slots.o src/util/history.o src/collections/list.o src/collections/dlist.o src/collections/stack.o src/collections/queue.o src/collections/hashtable.o src/primitives/stack_manip.o src/primitives/arithmetics.o src/primitives/io.o src/primitives/bit_logic.o src/primitives/comparison.o src/primitives/misc.o src/primitives/memory.o src/forth/resources.o src/editor/model.o src/editor/render.o src/editor/colorize.o src/editor/actions.o
  418. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
  419. cp libforth.a /home/user/Downloads/byok-master/sysroot/usr/lib
  420. make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
  421. DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C kernel install
  422. make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
  423. fatal: Not a git repository (or any of the parent directories): .git
  424. mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
  425. cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
  426. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/crti.S -o src/arch/i386/crti.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  427. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/boot.S -o src/arch/i386/boot.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  428. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/tty.c -o src/arch/i386/tty.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  429. In file included from src/arch/i386/tty.c:8:0:
  430. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  431. #undef __STDC_HOSTED__
  432. ^~~~~~~~~~~~~~~
  433. src/arch/i386/tty.c: In function ‘terminal_colorstring’:
  434. src/arch/i386/tty.c:194:46: warning: passing argument 2 of ‘colorizer->fn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  435. : colorizer->fn(token, data, index, colorizer->free_vars);
  436. ^~~~
  437. src/arch/i386/tty.c:194:46: note: expected ‘char *’ but argument is of type ‘const char *’
  438. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/gdt.c -o src/arch/i386/gdt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  439. In file included from include/kernel/system.h:13:0,
  440. from src/arch/i386/gdt.c:1:
  441. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  442. #undef __STDC_HOSTED__
  443. ^~~~~~~~~~~~~~~
  444. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/idt.c -o src/arch/i386/idt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  445. In file included from include/kernel/system.h:13:0,
  446. from src/arch/i386/idt.c:2:
  447. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  448. #undef __STDC_HOSTED__
  449. ^~~~~~~~~~~~~~~
  450. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/irq.c -o src/arch/i386/irq.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  451. In file included from include/kernel/system.h:13:0,
  452. from src/arch/i386/irq.c:2:
  453. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  454. #undef __STDC_HOSTED__
  455. ^~~~~~~~~~~~~~~
  456. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/isr.c -o src/arch/i386/isr.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  457. In file included from include/kernel/system.h:13:0,
  458. from src/arch/i386/isr.c:3:
  459. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  460. #undef __STDC_HOSTED__
  461. ^~~~~~~~~~~~~~~
  462. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/sbrk.c -o src/arch/i386/sbrk.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  463. In file included from include/kernel/system.h:13:0,
  464. from src/arch/i386/sbrk.c:2:
  465. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  466. #undef __STDC_HOSTED__
  467. ^~~~~~~~~~~~~~~
  468. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/timer.c -o src/arch/i386/timer.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  469. In file included from include/kernel/system.h:13:0,
  470. from src/arch/i386/timer.c:1:
  471. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  472. #undef __STDC_HOSTED__
  473. ^~~~~~~~~~~~~~~
  474. src/arch/i386/timer.c: In function ‘timer_handler’:
  475. src/arch/i386/timer.c:8:33: warning: unused parameter ‘r’ [-Wunused-parameter]
  476. void timer_handler(registers_t *r)
  477. ^
  478. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/kb.c -o src/arch/i386/kb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  479. In file included from include/kernel/system.h:13:0,
  480. from src/arch/i386/kb.c:3:
  481. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  482. #undef __STDC_HOSTED__
  483. ^~~~~~~~~~~~~~~
  484. src/arch/i386/kb.c: In function ‘keyboard_handler’:
  485. src/arch/i386/kb.c:97:36: warning: unused parameter ‘r’ [-Wunused-parameter]
  486. void keyboard_handler(registers_t *r)
  487. ^
  488. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/mmu.c -o src/arch/i386/mmu.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  489. In file included from include/kernel/system.h:13:0,
  490. from src/arch/i386/mmu.c:1:
  491. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  492. #undef __STDC_HOSTED__
  493. ^~~~~~~~~~~~~~~
  494. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/kernel.c -o src/kernel/kernel.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  495. In file included from src/kernel/kernel.c:7:0:
  496. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  497. #undef __STDC_HOSTED__
  498. ^~~~~~~~~~~~~~~
  499. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/boot_logo.c -o src/kernel/boot_logo.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  500. In file included from src/kernel/boot_logo.c:2:0:
  501. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  502. #undef __STDC_HOSTED__
  503. ^~~~~~~~~~~~~~~
  504. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/dump.c -o src/kernel/dump.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  505. src/kernel/dump.c: In function ‘dump’:
  506. src/kernel/dump.c:75:18: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  507. char **ptr = ret;
  508. ^~~
  509. src/kernel/dump.c:76:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  510. char *out = ret + lines + 2;
  511. ^~~
  512. src/kernel/dump.c:82:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  513. for (char *a = start; a < end; a += bytes_per_line)
  514. ^~~~~
  515. src/kernel/dump.c:138:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
  516. return ret;
  517. ^~~
  518. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/pager.c -o src/kernel/pager.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  519. In file included from src/kernel/pager.c:5:0:
  520. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  521. #undef __STDC_HOSTED__
  522. ^~~~~~~~~~~~~~~
  523. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/readline.c -o src/kernel/readline.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  524. In file included from include/kernel/system.h:13:0,
  525. from src/kernel/readline.c:3:
  526. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  527. #undef __STDC_HOSTED__
  528. ^~~~~~~~~~~~~~~
  529. src/kernel/readline.c: In function ‘rl_prev_word’:
  530. src/kernel/readline.c:103:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  531. while (index >= 0 && buf[index - 1] == ' ')
  532. ^~
  533. In file included from src/kernel/readline.c:2:0:
  534. src/kernel/readline.c: In function ‘rl_next_word’:
  535. src/kernel/readline.c:118:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  536. assert(index >= 0);
  537. ^
  538. src/kernel/readline.c: In function ‘rl_get_token’:
  539. src/kernel/readline.c:208:56: warning: unused parameter ‘sz’ [-Wunused-parameter]
  540. char *rl_get_token(char *buf, uint16_t index, uint16_t sz)
  541. ^~
  542. src/kernel/readline.c: In function ‘readline’:
  543. src/kernel/readline.c:432:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  544. for (int i = 0, n = strlen(yank[posn]); i < n; i++)
  545. ^
  546. src/kernel/readline.c:434:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  547. if (rl_insert(buf, index, yank[posn][i], sz))
  548. ^
  549. src/arch/i386/kb.c: In function ‘keyboard_handler’:
  550. src/arch/i386/kb.c:97:36: warning: unused parameter ‘r’ [-Wunused-parameter]
  551. void keyboard_handler(registers_t *r)
  552. ^
  553. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/mmu.c -o src/arch/i386/mmu.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  554. In file included from include/kernel/system.h:13:0,
  555. from src/arch/i386/mmu.c:1:
  556. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  557. #undef __STDC_HOSTED__
  558. ^~~~~~~~~~~~~~~
  559. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/kernel.c -o src/kernel/kernel.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  560. In file included from src/kernel/kernel.c:7:0:
  561. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  562. #undef __STDC_HOSTED__
  563. ^~~~~~~~~~~~~~~
  564. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/boot_logo.c -o src/kernel/boot_logo.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  565. In file included from src/kernel/boot_logo.c:2:0:
  566. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  567. #undef __STDC_HOSTED__
  568. ^~~~~~~~~~~~~~~
  569. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/dump.c -o src/kernel/dump.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  570. src/kernel/dump.c: In function ‘dump’:
  571. src/kernel/dump.c:75:18: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  572. char **ptr = ret;
  573. ^~~
  574. src/kernel/dump.c:76:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  575. char *out = ret + lines + 2;
  576. ^~~
  577. src/kernel/dump.c:82:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  578. for (char *a = start; a < end; a += bytes_per_line)
  579. ^~~~~
  580. src/kernel/dump.c:138:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
  581. return ret;
  582. ^~~
  583. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/pager.c -o src/kernel/pager.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  584. In file included from src/kernel/pager.c:5:0:
  585. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  586. #undef __STDC_HOSTED__
  587. ^~~~~~~~~~~~~~~
  588. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/readline.c -o src/kernel/readline.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  589. In file included from include/kernel/system.h:13:0,
  590. from src/kernel/readline.c:3:
  591. include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
  592. #undef __STDC_HOSTED__
  593. ^~~~~~~~~~~~~~~
  594. src/kernel/readline.c: In function ‘rl_prev_word’:
  595. src/kernel/readline.c:103:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596. while (index >= 0 && buf[index - 1] == ' ')
  597. ^~
  598. In file included from src/kernel/readline.c:2:0:
  599. src/kernel/readline.c: In function ‘rl_next_word’:
  600. src/kernel/readline.c:118:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  601. assert(index >= 0);
  602. ^
  603. src/kernel/readline.c: In function ‘rl_get_token’:
  604. src/kernel/readline.c:208:56: warning: unused parameter ‘sz’ [-Wunused-parameter]
  605. char *rl_get_token(char *buf, uint16_t index, uint16_t sz)
  606. ^~
  607. src/kernel/readline.c: In function ‘readline’:
  608. src/kernel/readline.c:432:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  609. for (int i = 0, n = strlen(yank[posn]); i < n; i++)
  610. ^
  611. src/kernel/readline.c:434:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  612. if (rl_insert(buf, index, yank[posn][i], sz))
  613. ^
  614. src/kernel/readline.c:462:21: warning: unused variable ‘n’ [-Wunused-variable]
  615. int n = rl_replace_word(buf, orig_text, new_text, index, sz);
  616. ^
  617. src/kernel/readline.c:471:21: warning: unused variable ‘n’ [-Wunused-variable]
  618. int n = rl_replace_word(buf, orig_text, orig_text, index, sz);
  619. ^
  620. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/crtn.S -o src/arch/i386/crtn.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
  621. i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -T src/arch/i386/linker.ld -o byok.kernel -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" src/arch/i386/crti.o /usr/lib/gcc/i686-linux-gnu/6/crtbegin.o src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o /usr/lib/gcc/i686-linux-gnu/6/crtend.o src/arch/i386/crtn.o ../forth/libforth.a ../libc/libc.a -nostdlib -lgcc -lforth -lc -lm
  622. mkdir -p /home/user/Downloads/byok-master/sysroot/boot
  623. cp byok.kernel /home/user/Downloads/byok-master/sysroot/boot
  624. make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
  625.  
  626. $ qemu-system-i386 -kernel kernel/byok.kernel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement