cjsmeele / RikaiOS

A tiny from-scratch x86 PC operating system written in C++
Apache License 2.0
8 stars 1 forks source link

disk generation problem #1

Open pdpdds opened 2 years ago

pdpdds commented 2 years ago

compile is okay but next error ocurr.

./boot/utils/loader-install: disk does not have a boot partition (partition id 0x7f)

cjsmeele commented 2 years ago

Hi, thanks for reaching out.

  1. are you using make disk to build the image?
  2. do you have all the dependencies installed, including parted?

If yes, then please share the full console output of the build process (make -B disk VERBOSE=1).

pdpdds commented 2 years ago

retro@DESKTOP-6369PIV:/mnt/d/osbuild/RikaiOS$ make -B disk VERBOSE=1 make[1]: Entering directory '/mnt/d/osbuild/RikaiOS/src' make[1]: Nothing to be done for 'Makefile'. make[1]: Leaving directory '/mnt/d/osbuild/RikaiOS/src' make[1]: Entering directory '/mnt/d/osbuild/RikaiOS/src' make -C boot all make[2]: Entering directory '/mnt/d/osbuild/RikaiOS/src/boot' nasm -o bootsect.bin bootsect.asm clang++ --target=i686-elf -march=i686 -m16 -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -Istage2 -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Winline -Wuninitialized -Wfatal-errors -fdiagnostics-color=auto -c -o stage2/main.o stage2/main.cc clang++ --target=i686-elf -march=i686 -m16 -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -Istage2 -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Winline -Wuninitialized -Wfatal-errors -fdiagnostics-color=auto -c -o stage2/memory.o stage2/memory.cc clang++ --target=i686-elf -march=i686 -m16 -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -Istage2 -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Winline -Wuninitialized -Wfatal-errors -fdiagnostics-color=auto -c -o stage2/console.o stage2/console.cc clang++ --target=i686-elf -march=i686 -m16 -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -Istage2 -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Winline -Wuninitialized -Wfatal-errors -fdiagnostics-color=auto -c -o stage2/disk.o stage2/disk.cc clang++ --target=i686-elf -march=i686 -m16 -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -Istage2 -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Winline -Wuninitialized -Wfatal-errors -fdiagnostics-color=auto -c -o stage2/asm.o stage2/asm.cc nasm -f elf32 -o stage2/start.o stage2/start.asm ld.lld -Tstage2.ld -Map=stage2.map -o stage2.elf stage2/main.o stage2/memory.o stage2/console.o stage2/disk.o stage2/asm.o stage2/start.o llvm-objcopy -O binary stage2.elf stage2.bin clang++ -Wall -Wextra -pedantic -std=c++17 -o utils/loader-install utils/loader-install.cc make[2]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/boot' make -C kernel all make[2]: Entering directory '/mnt/d/osbuild/RikaiOS/src/kernel' mkdir -p d/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/common/debug.o -o d/common/debug.d src/common/debug.cc mkdir -p d/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/common/kprint.o -o d/common/kprint.d src/common/kprint.cc mkdir -p d/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/common/panic.o -o d/common/panic.d src/common/panic.cc mkdir -p d/console && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/console/serial.o -o d/console/serial.d src/console/serial.cc mkdir -p d/console && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/console/textmode.o -o d/console/textmode.d src/console/textmode.cc mkdir -p d && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/debug-keys.o -o d/debug-keys.d src/debug-keys.cc mkdir -p d/driver/disk/ata && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/disk/ata/protocol.o -o d/driver/disk/ata/protocol.d src/driver/disk/ata/protocol.cc mkdir -p d/driver/disk && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/disk/ata.o -o d/driver/disk/ata.d src/driver/disk/ata.cc mkdir -p d/driver/disk && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/disk/mbr.o -o d/driver/disk/mbr.d src/driver/disk/mbr.cc mkdir -p d/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/driver.o -o d/driver/driver.d src/driver/driver.cc mkdir -p d/driver/input && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/input/keys.o -o d/driver/input/keys.d src/driver/input/keys.cc mkdir -p d/driver/input/ps2 && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/input/ps2/protocol.o -o d/driver/input/ps2/protocol.d src/driver/input/ps2/protocol.cc mkdir -p d/driver/input/ps2 && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/input/ps2/scancodes.o -o d/driver/input/ps2/scancodes.d src/driver/input/ps2/scancodes.cc mkdir -p d/driver/input && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/input/ps2.o -o d/driver/input/ps2.d src/driver/input/ps2.cc mkdir -p d/driver/timer && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/timer/pit.o -o d/driver/timer/pit.d src/driver/timer/pit.cc mkdir -p d/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/uart.o -o d/driver/uart.d src/driver/uart.cc mkdir -p d/driver/vga && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/vga/hacks.o -o d/driver/vga/hacks.d src/driver/vga/hacks.cc mkdir -p d/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/driver/vga.o -o d/driver/vga.d src/driver/vga.cc mkdir -p d/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/filesystem/devfs.o -o d/filesystem/devfs.d src/filesystem/devfs.cc mkdir -p d/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/filesystem/fat32.o -o d/filesystem/fat32.d src/filesystem/fat32.cc mkdir -p d/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/filesystem/filesystem.o -o d/filesystem/filesystem.d src/filesystem/filesystem.cc mkdir -p d/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/filesystem/vfs.o -o d/filesystem/vfs.d src/filesystem/vfs.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/controller.o -o d/interrupt/controller.d src/interrupt/controller.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/handlers.o -o d/interrupt/handlers.d src/interrupt/handlers.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/idt.o -o d/interrupt/idt.d src/interrupt/idt.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/interrupt.o -o d/interrupt/interrupt.d src/interrupt/interrupt.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/page-fault.o -o d/interrupt/page-fault.d src/interrupt/page-fault.cc mkdir -p d/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/interrupt/syscall.o -o d/interrupt/syscall.d src/interrupt/syscall.cc mkdir -p d/ipc && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/ipc/semaphore.o -o d/ipc/semaphore.d src/ipc/semaphore.cc mkdir -p d && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/kshell.o -o d/kshell.d src/kshell.cc mkdir -p d && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/main.o -o d/main.d src/main.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/gdt.o -o d/memory/gdt.d src/memory/gdt.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/kernel-heap.o -o d/memory/kernel-heap.d src/memory/kernel-heap.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/layout.o -o d/memory/layout.d src/memory/layout.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/manager-physical.o -o d/memory/manager-physical.d src/memory/manager-physical.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/manager-virtual.o -o d/memory/manager-virtual.d src/memory/manager-virtual.cc mkdir -p d/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/memory/memory.o -o d/memory/memory.d src/memory/memory.cc mkdir -p d && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/misc.o -o d/misc.d src/misc.cc mkdir -p d/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/process/elf.o -o d/process/elf.d src/process/elf.cc mkdir -p d/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/process/idle.o -o d/process/idle.d src/process/idle.cc mkdir -p d/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -MM -MT o/process/proc.o -o d/process/proc.d src/process/proc.cc mkdir -p . && cat d/common/debug.d d/common/kprint.d d/common/panic.d d/console/serial.d d/console/textmode.d d/debug-keys.d d/driver/disk/ata/protocol.d d/driver/disk/ata.d d/driver/disk/mbr.d d/driver/driver.d d/driver/input/keys.d d/driver/input/ps2/protocol.d d/driver/input/ps2/scancodes.d d/driver/input/ps2.d d/driver/timer/pit.d d/driver/uart.d d/driver/vga/hacks.d d/driver/vga.d d/filesystem/devfs.d d/filesystem/fat32.d d/filesystem/filesystem.d d/filesystem/vfs.d d/interrupt/controller.d d/interrupt/handlers.d d/interrupt/idt.d d/interrupt/interrupt.d d/interrupt/page-fault.d d/interrupt/syscall.d d/ipc/semaphore.d d/kshell.d d/main.d d/memory/gdt.d d/memory/kernel-heap.d d/memory/layout.d d/memory/manager-physical.d d/memory/manager-virtual.d d/memory/memory.d d/misc.d d/process/elf.d d/process/idle.d d/process/proc.d > deps.make make[2]: Warning: File 'deps.make' has modification time 4 s in the future mkdir -p o && nasm -f elf32 -o o/start.o src/start.asm mkdir -p o/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/common/debug.o src/common/debug.cc mkdir -p o/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/common/kprint.o src/common/kprint.cc mkdir -p o/common && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/common/panic.o src/common/panic.cc mkdir -p o/console && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/console/serial.o src/console/serial.cc mkdir -p o/console && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/console/textmode.o src/console/textmode.cc mkdir -p o && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/debug-keys.o src/debug-keys.cc mkdir -p o/driver/disk/ata && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/disk/ata/protocol.o src/driver/disk/ata/protocol.cc mkdir -p o/driver/disk && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/disk/ata.o src/driver/disk/ata.cc mkdir -p o/driver/disk && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/disk/mbr.o src/driver/disk/mbr.cc mkdir -p o/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/driver.o src/driver/driver.cc mkdir -p o/driver/input && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/input/keys.o src/driver/input/keys.cc mkdir -p o/driver/input/ps2 && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/input/ps2/protocol.o src/driver/input/ps2/protocol.cc mkdir -p o/driver/input/ps2 && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/input/ps2/scancodes.o src/driver/input/ps2/scancodes.cc mkdir -p o/driver/input && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/input/ps2.o src/driver/input/ps2.cc mkdir -p o/driver/timer && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/timer/pit.o src/driver/timer/pit.cc mkdir -p o/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/uart.o src/driver/uart.cc mkdir -p o/driver/vga && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/vga/hacks.o src/driver/vga/hacks.cc mkdir -p o/driver && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/driver/vga.o src/driver/vga.cc mkdir -p o/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/filesystem/devfs.o src/filesystem/devfs.cc mkdir -p o/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/filesystem/fat32.o src/filesystem/fat32.cc In file included from src/filesystem/fat32.cc:15: src/filesystem/fat32.hh:71:9: warning: private field 'cluster_count' is not used [-Wunused-private-field] u32 cluster_count = 0; ^ 1 warning generated. mkdir -p o/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/filesystem/filesystem.o src/filesystem/filesystem.cc mkdir -p o/filesystem && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/filesystem/vfs.o src/filesystem/vfs.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/controller.o src/interrupt/controller.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/handlers.o src/interrupt/handlers.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/idt.o src/interrupt/idt.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/interrupt.o src/interrupt/interrupt.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/page-fault.o src/interrupt/page-fault.cc mkdir -p o/interrupt && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/interrupt/syscall.o src/interrupt/syscall.cc mkdir -p o/ipc && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/ipc/semaphore.o src/ipc/semaphore.cc mkdir -p o && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/kshell.o src/kshell.cc mkdir -p o && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/main.o src/main.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/gdt.o src/memory/gdt.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/kernel-heap.o src/memory/kernel-heap.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/layout.o src/memory/layout.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/manager-physical.o src/memory/manager-physical.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/manager-virtual.o src/memory/manager-virtual.cc mkdir -p o/memory && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/memory/memory.o src/memory/memory.cc mkdir -p o && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/misc.o src/misc.cc mkdir -p o/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/process/elf.o src/process/elf.cc mkdir -p o/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/process/idle.o src/process/idle.cc mkdir -p o/process && clang++ --target=i686-elf -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -ffreestanding -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -mno-red-zone -mno-sse -std=c++17 -pipe -I ../boot/include -I ./include -I ./src -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto -c -o o/process/proc.o src/process/proc.cc mkdir -p . && ld.lld -o kernel.elf o/start.o o/common/debug.o o/common/kprint.o o/common/panic.o o/console/serial.o o/console/textmode.o o/debug-keys.o o/driver/disk/ata/protocol.o o/driver/disk/ata.o o/driver/disk/mbr.o o/driver/driver.o o/driver/input/keys.o o/driver/input/ps2/protocol.o o/driver/input/ps2/scancodes.o o/driver/input/ps2.o o/driver/timer/pit.o o/driver/uart.o o/driver/vga/hacks.o o/driver/vga.o o/filesystem/devfs.o o/filesystem/fat32.o o/filesystem/filesystem.o o/filesystem/vfs.o o/interrupt/controller.o o/interrupt/handlers.o o/interrupt/idt.o o/interrupt/interrupt.o o/interrupt/page-fault.o o/interrupt/syscall.o o/ipc/semaphore.o o/kshell.o o/main.o o/memory/gdt.o o/memory/kernel-heap.o o/memory/layout.o o/memory/manager-physical.o o/memory/manager-virtual.o o/memory/memory.o o/misc.o o/process/elf.o o/process/idle.o o/process/proc.o -Tkernel.ld -Map=kernel.map -L. -L.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 mkdir -p . && llvm-objcopy -O binary kernel.elf kernel.bin make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/kernel' make -C user all make[2]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user' make -C libsys make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/libsys' mkdir -p o && nasm -f elf32 -o o/start.o src/start.asm mkdir -p src && clang++ --target=i686-elf -o src/io.o -c src/io.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -Iinclude -I../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p src && clang++ --target=i686-elf -o src/memory.o -c src/memory.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -Iinclude -I../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p src && clang++ --target=i686-elf -o src/misc.o -c src/misc.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -Iinclude -I../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p src && clang++ --target=i686-elf -o src/proc.o -c src/proc.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -Iinclude -I../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p lib && llvm-ar -rcs lib/libsys.a o/start.o src/io.o src/memory.o src/misc.o src/proc.o make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/libsys' make -C shell make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/shell' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../shell.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../shell.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/shell' mkdir -p bin && cp shell.elf bin/shell.elf make -C more make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/more' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../more.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../more.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/more' mkdir -p bin && cp more.elf bin/more.elf make -C crash make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/crash' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../crash.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../crash.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/crash' mkdir -p bin && cp crash.elf bin/crash.elf make -C cp make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/cp' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../cp.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../cp.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/cp' mkdir -p bin && cp cp.elf bin/cp.elf make -C cat make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/cat' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../cat.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../cat.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/cat' mkdir -p bin && cp cat.elf bin/cat.elf make -C schuif make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/schuif' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../schuif.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../schuif.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/schuif' mkdir -p bin && cp schuif.elf bin/schuif.elf make -C ls make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/ls' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../ls.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../ls.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/ls' mkdir -p bin && cp ls.elf bin/ls.elf make -C view make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/view' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../view.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../view.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/view' mkdir -p bin && cp view.elf bin/view.elf make -C echo make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/echo' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../echo.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../echo.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/echo' mkdir -p bin && cp echo.elf bin/echo.elf make -C init make[3]: Entering directory '/mnt/d/osbuild/RikaiOS/src/user/init' mkdir -p . && clang++ --target=i686-elf -o main.o -c main.cc -march=i686 -m32 -msoft-float -Os -g3 -ggdb -nostdlib -fno-stack-protector -fno-exceptions -fno-rtti -fno-threadsafe-statics -fwrapv -fdiagnostics-color=auto -mno-sse -std=c++17 -pipe -I ../libsys/include -I ../../kernel/include -Wall -Wextra -Wpedantic -Werror=return-type -Werror=unused-result -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wuninitialized -Wno-unused-variable -Wno-unused-function -Wfatal-errors -fdiagnostics-color=auto mkdir -p .. && ld.lld -o ../init.elf main.o -T../libsys/link.ld -L ../libsys/lib -lsys -Map=../init.elf.map -L. -L.. -L../.. -L/usr/lib/clang/8.0.1/lib/linux -L/usr/lib/clang/10.0.1/lib/linux -L/usr/lib/clang/10/lib/linux -L/usr/lib/clang/6.0/lib/linux -L/usr/lib/clang/6.0.1/lib/linux -L/usr/lib/clang/8/lib/linux -L/usr/lib/clang/7/lib/linux -L/usr/lib/clang/7.0.1/lib/linux -lclang_rt.builtins-i386 make[3]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user/init' mkdir -p bin && cp init.elf bin/init.elf make[2]: Leaving directory '/mnt/d/osbuild/RikaiOS/src/user' ./mkdisk.sh ./disk.img 100 ./boot/utils/loader-install \ ./disk.img \ boot/bootsect.bin \ boot/stage2.bin \ kernel/kernel.bin ./boot/utils/loader-install: disk does not have a boot partition (partition id 0x7f) make[1]: [Makefile:112: disk] Error 1 make[1]: Leaving directory '/mnt/d/osbuild/RikaiOS/src' make: [Makefile:4: disk] Error 2