Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd libc; make i386 CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/libc'
- i586-elf-gcc -o build/math.o -c src/math.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bootvid/include
- i586-elf-gcc -o build/stdio.o -c src/stdio.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bootvid/include
- i586-elf-gcc -o build/stdlib.o -c src/stdlib.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bootvid/include
- i586-elf-gcc -o build/string.o -c src/string.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bootvid/include
- i586-elf-ar rs -o build/libc-i386.a `find build -type f -name *.o`
- i586-elf-ar: creating build/libc-i386.a
- make[1]: Leaving directory '/home/George/darkside-kernel/libc'
- cd libadt; make i386 CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/libadt'
- i586-elf-gcc -o build/array.o -c src/array.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include
- i586-elf-gcc -o build/dict.o -c src/dict.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include
- i586-elf-gcc -o build/list.o -c src/list.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include
- i586-elf-gcc -o build/map.o -c src/map.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include
- i586-elf-gcc -o build/tree.o -c src/tree.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include
- i586-elf-ar rs -o build/libadt-i386.a `find build -type f -name *.o`
- i586-elf-ar: creating build/libadt-i386.a
- make[1]: Leaving directory '/home/George/darkside-kernel/libadt'
- cd bootvid/pc; make i386 CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/bootvid/pc'
- i586-elf-gcc -o build/ports.o -c src/ports.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../libc/include
- i586-elf-gcc -o build/vga.o -c src/vga.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../libc/include
- i586-elf-ar rs -o build/libbootvid-i386.a `find build -type f -name *.o`
- i586-elf-ar: creating build/libbootvid-i386.a
- cp build/libbootvid-i386.a ../build/libbootvid-i386.a
- make[1]: Leaving directory '/home/George/darkside-kernel/bootvid/pc'
- cd bal/pc; make ext2 CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/bal/pc'
- # Build each stage
- cd stage1; make all
- make[2]: Entering directory '/home/George/darkside-kernel/bal/pc/stage1'
- nasm -f bin -o build/stage1.bin src/stage1.s
- make[2]: Leaving directory '/home/George/darkside-kernel/bal/pc/stage1'
- cd stage2; make ext2
- make[2]: Entering directory '/home/George/darkside-kernel/bal/pc/stage2'
- nasm -f bin -o build/stage2.bin src/ext2.s
- make[2]: Leaving directory '/home/George/darkside-kernel/bal/pc/stage2'
- cd stage3; make all CCBASE="i586-elf"
- make[2]: Entering directory '/home/George/darkside-kernel/bal/pc/stage3'
- i586-elf-gcc -o build/firmware/acpi.o -c src/firmware/acpi.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/firmware/acpi.c: In function 'map_acpi_table':
- src/firmware/acpi.c:41:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- struct acpi_table_header *table = (struct acpi_table_header*) (virtual_address + (physical_address & 0xFFF));
- ^
- src/firmware/acpi.c: In function 'acpi_init':
- src/firmware/acpi.c:197:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- loader_block->rsdp = (paddr_t) rsdp;
- ^
- i586-elf-gcc -o build/firmware/memory.o -c src/firmware/memory.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- i586-elf-gcc -o build/firmware/topology.o -c src/firmware/topology.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/firmware/topology.c: In function 'per_cpu_numa_area_alloc':
- src/firmware/topology.c:66:30: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- void *data = ((void*) madt) + sizeof(struct madt);
- ^
- src/firmware/topology.c:99:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- data += entry->length;
- ^
- src/firmware/topology.c:122:40: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*)numa_domain_data_area + j, 0, 0x1000);
- ^
- src/firmware/topology.c:144:24: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- data = ((void*) srat) + sizeof(struct srat);
- ^
- src/firmware/topology.c:166:42: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*)numa_domain_data_area + j, 0, 0x1000);
- ^
- src/firmware/topology.c:194:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- data += entry->length;
- ^
- i586-elf-gcc -o build/fs/ext2.o -c src/fs/ext2.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/fs/ext2.c: In function 'read_bgdesc':
- src/fs/ext2.c:49:42: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memcpy(buffer, superblock->block_buffer + bgdesc_offset, sizeof(ext2_bgdesc_t));
- ^
- src/fs/ext2.c: In function 'read_inode':
- src/fs/ext2.c:81:42: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memcpy(buffer, superblock->block_buffer + table_offset, superblock->inode_size);
- ^
- src/fs/ext2.c: In function 'read_block_pointer':
- src/fs/ext2.c:142:44: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memcpy(buffer, superblock->block_buffer + *offset, length);
- ^
- src/fs/ext2.c:118:12: warning: unused variable 'bytes_left' [-Wunused-variable]
- uint32_t bytes_left = 0;
- ^
- src/fs/ext2.c:178:11: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- buffer += bytes_read;
- ^
- src/fs/ext2.c: In function 'ext2_inode_read':
- src/fs/ext2.c:209:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- buffer += bytes_read;
- ^
- src/fs/ext2.c:218:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- buffer += bytes_read;
- ^
- src/fs/ext2.c:224:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- buffer += bytes_read;
- ^
- src/fs/ext2.c:230:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- buffer += bytes_read;
- ^
- src/fs/ext2.c:195:21: warning: unused variable 'superblock' [-Wunused-variable]
- ext2_superblock_t *superblock = (ext2_superblock_t*) node->filesystem->extension;
- ^
- src/fs/ext2.c: In function 'ext2_init':
- src/fs/ext2.c:359:2: warning: passing argument 1 of 'fs_register' discards 'const' qualifier from pointer target type [enabled by default]
- fs_register("ext2", &ext2_filesystem_ops);
- ^
- In file included from src/fs/ext2.c:9:0:
- ../../include/fs/fs.h:10:5: note: expected 'char *' but argument is of type 'const char *'
- int fs_register(char *fs_name, filesystem_ops_t *ops);
- ^
- i586-elf-gcc -o build/fs/fs.o -c src/fs/fs.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/fs/fs.c: In function 'root_inode_finddir':
- src/fs/fs.c:167:57: warning: unused parameter 'name' [-Wunused-parameter]
- static inode_t *root_inode_finddir(inode_t *node, char *name)
- ^
- i586-elf-gcc -o build/graphics/graphics.o -c src/graphics/graphics.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/graphics/graphics.c: In function 'framebuffer_create':
- src/graphics/graphics.c:19:11: warning: variable 'status' set but not used [-Wunused-but-set-variable]
- uint32_t status = vbe_set_mode(mode);
- ^
- src/graphics/graphics.c: In function 'graphics_init':
- src/graphics/graphics.c:51:2: warning: passing argument 2 of 'strncpy' discards 'const' qualifier from pointer target type [enabled by default]
- strncpy(controller_info->signature, "VBE2", 4);
- ^
- In file included from src/graphics/graphics.c:2:0:
- ../../../libc/include/string.h:14:7: note: expected 'char *' but argument is of type 'const char *'
- char *strncpy(char *dest, char *src, size_t count);
- ^
- i586-elf-gcc -o build/init/kernel.o -c src/init/kernel.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/init/kernel.c: In function 'bal_enter_kernel':
- src/init/kernel.c:10:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
- printf("About to jump to kernel at 0x%08X\n", entry_point);
- ^
- i586-elf-gcc -o build/init/main.o -c src/init/main.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/init/main.c: In function 'bal_main':
- src/init/main.c:54:6: warning: unused variable 'status' [-Wunused-variable]
- int status = acpi_init(loader_block);
- ^
- i586-elf-gcc -o build/mm/e820.o -c src/mm/e820.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/mm/e820.c: In function 'e820_map_sanitize':
- src/mm/e820.c:157:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (entry->flags == flags)
- ^
- i586-elf-gcc -o build/mm/pmm.o -c src/mm/pmm.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- i586-elf-gcc -o build/mm/vmm.o -c src/mm/vmm.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- i586-elf-gcc -o build/mm/watermark.o -c src/mm/watermark.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/mm/watermark.c: In function 'free':
- src/mm/watermark.c:15:17: warning: unused parameter 'ptr' [-Wunused-parameter]
- void free(void *ptr)
- ^
- i586-elf-gcc -o build/storage/blockdev.o -c src/storage/blockdev.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- i586-elf-gcc -o build/storage/disk.o -c src/storage/disk.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/storage/disk.c: In function 'disk_read':
- src/storage/disk.c:14:43: warning: unused parameter 'blockdev' [-Wunused-parameter]
- /*static */uint64_t disk_read(blockdev_t *blockdev, void *buffer, uint64_t start, uint64_t numsectors)
- ^
- src/storage/disk.c: In function 'disk_write':
- src/storage/disk.c:20:40: warning: unused parameter 'blockdev' [-Wunused-parameter]
- static uint64_t disk_write(blockdev_t *blockdev, void *buffer, uint64_t start, uint64_t numsectors)
- ^
- i586-elf-gcc -o build/storage/mbr.o -c src/storage/mbr.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- src/storage/mbr.c: In function 'mbr_get_partition':
- src/storage/mbr.c:86:42: warning: 'entry' may be used uninitialized in this function [-Wmaybe-uninitialized]
- partition->numsectors = (uint64_t) entry->length;
- ^
- i586-elf-gcc -o build/storage/storage.o -c src/storage/storage.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../../include -I../../../libc/include -I../../../libadt/include -I../../../bootvid/include
- nasm -f elf src/graphics/vbe.s -o build/graphics/vbe.o
- nasm -f elf src/init/loader.s -o build/init/loader.o
- nasm -f elf src/storage/bios.s -o build/storage/bios.o
- rm -f build/stage3.o
- i586-elf-ld -r -o build/stage3.o build/init/loader.o `find build -type f -name *.o ! -name loader.o` -L ../../../libgcc/build -L ../../../libc/build -L ../../../libadt/build -L ../../../bootvid/build -lgcc-i386 -lc-i386 -ladt-i386 -lbootvid-i386
- cp build/stage3.o build/../../../build/bal.o
- make[2]: Leaving directory '/home/George/darkside-kernel/bal/pc/stage3'
- # Get a clean MBR image
- cp img/mbr_master.img img/mbr.img
- # Copy stage1 and stage2 to the MBR and VBR
- dd if=stage1/build/stage1.bin of=img/mbr.img bs=440 conv=notrunc
- 1+0 records in
- 1+0 records out
- 440 bytes (440 B) copied, 0.00177285 s, 248 kB/s
- dd if=stage2/build/stage2.bin of=../../img/images/ext2.img bs=1024 conv=notrunc
- 1+0 records in
- 1+0 records out
- 1024 bytes (1.0 kB) copied, 0.00137525 s, 745 kB/s
- #sudo dd if=stage2/build/stage2.bin of=/dev/sda3 bs=1024 conv=notrunc
- dd if=img/mbr.img of=../../img/images/os.img bs=512 count=2048 conv=notrunc
- 2048+0 records in
- 2048+0 records out
- 1048576 bytes (1.0 MB) copied, 0.01994 s, 52.6 MB/s
- make[1]: Leaving directory '/home/George/darkside-kernel/bal/pc'
- cd kldr; make all CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/kldr'
- i586-elf-gcc -o build/executable/elf.o -c src/executable/elf.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/executable/elf.c: In function 'elf_executable_load_executable':
- src/executable/elf.c:92:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for (int j = 0; j < file_size; j += 0x1000)
- ^
- src/executable/elf.c:100:61: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- bytes_read = fs_read(elf, (void*) phdr.virtual_address + j, phdr.offset + j, phdr.file_size);
- ^
- src/executable/elf.c:104:61: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- bytes_read = fs_read(elf, (void*) phdr.virtual_address + j, phdr.offset + j, 0x1000);
- ^
- src/executable/elf.c:119:41: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*) phdr.virtual_address + file_size, 0, phdr.mem_size);
- ^
- src/executable/elf.c:124:41: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*) phdr.virtual_address + file_size, 0, to_next_page);
- ^
- src/executable/elf.c:131:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for (int j = 0; j < mem_size; j += 0x1000)
- ^
- src/executable/elf.c:139:42: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*) phdr.virtual_address + j, 0, phdr.mem_size);
- ^
- src/executable/elf.c:143:42: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*) phdr.virtual_address + j, 0, 0x1000);
- ^
- src/executable/elf.c: In function 'elf_executable_load_object':
- src/executable/elf.c:172:48: warning: unused parameter 'filename' [-Wunused-parameter]
- executable_t *elf_executable_load_object(char *filename, vaddr_t address)
- ^
- src/executable/elf.c:172:66: warning: unused parameter 'address' [-Wunused-parameter]
- executable_t *elf_executable_load_object(char *filename, vaddr_t address)
- ^
- src/executable/elf.c: In function 'elf_init':
- src/executable/elf.c:188:2: warning: passing argument 1 of 'executable_format_register' discards 'const' qualifier from pointer target type [enabled by default]
- executable_format_register("elf", &elf_executable_ops);
- ^
- In file included from src/executable/elf.c:7:0:
- ./include/executable/executable.h:31:5: note: expected 'char *' but argument is of type 'const char *'
- int executable_format_register(char *format_name, executable_ops_t *ops);
- ^
- i586-elf-gcc -o build/executable/executable.o -c src/executable/executable.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/init/draw.o -c src/init/draw.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/init/draw.c: In function 'drawing_demo':
- src/init/draw.c:14:2: warning: implicit declaration of function 'inportb' [-Wimplicit-function-declaration]
- uint8_t status = inportb(0x64);
- ^
- src/init/draw.c:44:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (x < fb->width)
- ^
- src/init/draw.c:56:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (y < fb->height)
- ^
- src/init/draw.c:16:10: warning: variable 'shift' set but not used [-Wunused-but-set-variable]
- uint8_t shift = 0;
- ^
- src/init/draw.c: In function 'draw_bmp_32':
- src/init/draw.c:124:2: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration]
- if(header.header_field != 0x4D42) panic("Invalid BMP header field: %04X.\n", header.header_field);
- ^
- src/init/draw.c:134:28: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- fs_read(file, fb->buffer + fb_offset, file_offset, header.bpp / 8 * header.width);
- ^
- src/init/draw.c:116:59: warning: unused parameter 'x' [-Wunused-parameter]
- void draw_bmp_32(framebuffer_t *fb, char *fname, uint32_t x, uint32_t y)
- ^
- src/init/draw.c:116:71: warning: unused parameter 'y' [-Wunused-parameter]
- void draw_bmp_32(framebuffer_t *fb, char *fname, uint32_t x, uint32_t y)
- ^
- i586-elf-gcc -o build/init/main.o -c src/init/main.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/init/main.c: In function 'ba_main':
- src/init/main.c:19:2: warning: passing argument 2 of 'fs_mount' discards 'const' qualifier from pointer target type [enabled by default]
- int status = fs_mount(storage_get_boot_device(), "/", "ext2");
- ^
- In file included from src/init/main.c:11:0:
- ../bal/include/fs/fs.h:14:5: note: expected 'char *' but argument is of type 'const char *'
- int fs_mount(device_t *device, char *path, char *fs_name);
- ^
- src/init/main.c:19:2: warning: passing argument 3 of 'fs_mount' discards 'const' qualifier from pointer target type [enabled by default]
- int status = fs_mount(storage_get_boot_device(), "/", "ext2");
- ^
- In file included from src/init/main.c:11:0:
- ../bal/include/fs/fs.h:14:5: note: expected 'char *' but argument is of type 'const char *'
- int fs_mount(device_t *device, char *path, char *fs_name);
- ^
- src/init/main.c:36:2: warning: implicit declaration of function 'elf_executable_load_executable' [-Wimplicit-function-declaration]
- executable_t *kernel = elf_executable_load_executable("/boot/kernel-i386.elf");
- ^
- src/init/main.c:36:25: warning: initialization makes pointer from integer without a cast [enabled by default]
- executable_t *kernel = elf_executable_load_executable("/boot/kernel-i386.elf");
- ^
- src/init/main.c:49:2: warning: implicit declaration of function 'per_cpu_numa_area_alloc' [-Wimplicit-function-declaration]
- per_cpu_numa_area_alloc(loader_block, kernel->end);
- ^
- src/init/main.c:53:2: warning: implicit declaration of function 'memory_numa_domains_detect' [-Wimplicit-function-declaration]
- memory_numa_domains_detect(loader_block);
- ^
- src/init/main.c:61:2: warning: implicit declaration of function 'dma_bitmap_alloc' [-Wimplicit-function-declaration]
- dma_bitmap_alloc(loader_block);
- ^
- src/init/main.c:65:2: warning: implicit declaration of function 'hyperspace_alloc' [-Wimplicit-function-declaration]
- hyperspace_alloc(loader_block);
- ^
- i586-elf-gcc -o build/mm/dma_bitmap.o -c src/mm/dma_bitmap.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/hyperspace.o -c src/mm/hyperspace.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/pfn.o -c src/mm/pfn.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/mm/pfn.c: In function 'pfn_database_alloc':
- src/mm/pfn.c:91:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (to_next_page && get_mapping(pfn_database - to_next_page) == -1)
- ^
- src/mm/pfn.c:108:32: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
- memset((void*) pfn_database + needed_space, 0, space_remaining);
- ^
- i586-elf-gcc -o build/modules/modreg.o -c src/modules/modreg.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/modules/modreg.c: In function 'module_registry_init':
- src/modules/modreg.c:23:2: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign]
- char *line = strtok_r(registry_data, "\n", &saveptr);
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:20:7: note: expected 'char *' but argument is of type 'uint8_t *'
- char *strtok_r(char *str, const char *delimeter, char **saveptr);
- ^
- src/modules/modreg.c:47:5: warning: passing argument 1 of 'strncmp' discards 'const' qualifier from pointer target type [enabled by default]
- if(!strncmp("@NAME", line, 5))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:17:5: note: expected 'char *' but argument is of type 'const char *'
- int strncmp(char *s1, char *s2, size_t num);
- ^
- src/modules/modreg.c:51:5: warning: passing argument 1 of 'strncmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strncmp("@DESC", line, 5))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:17:5: note: expected 'char *' but argument is of type 'const char *'
- int strncmp(char *s1, char *s2, size_t num);
- ^
- src/modules/modreg.c:55:5: warning: passing argument 1 of 'strncmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strncmp("@AUTHOR", line, 7))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:17:5: note: expected 'char *' but argument is of type 'const char *'
- int strncmp(char *s1, char *s2, size_t num);
- ^
- src/modules/modreg.c:59:5: warning: passing argument 1 of 'strncmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strncmp("@PATH", line, 5))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:17:5: note: expected 'char *' but argument is of type 'const char *'
- int strncmp(char *s1, char *s2, size_t num);
- ^
- src/modules/modreg.c:63:5: warning: passing argument 1 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp("@REQBOOT", line))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/modreg.c:67:5: warning: passing argument 1 of 'strncmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strncmp("@VERSION", line, 8))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:17:5: note: expected 'char *' but argument is of type 'const char *'
- int strncmp(char *s1, char *s2, size_t num);
- ^
- src/modules/modreg.c:106:4: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- if(!strcmp(line, "@MODULE"))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/modreg.c:112:4: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(strcmp(line, ""))
- ^
- In file included from src/modules/modreg.c:2:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- i586-elf-gcc -o build/modules/text_utils.o -c src/modules/text_utils.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/modules/tree_utils.o -c src/modules/tree_utils.c -std=c99 -O2 -W -Wall -Wextra -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Winline -Wno-endif-labels -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch -Wsystem-headers -Wno-pragmas -Wdisabled-optimization -Wpointer-arith -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../bal/include -I../libc/include -I../libadt/include -I../bootvid/include
- src/modules/tree_utils.c: In function 'tree_index':
- src/modules/tree_utils.c:14:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- if(!strcmp(line, "$DEVICE_DRIVERS"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:18:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$EXECUTABLE"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:22:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$FILESYSTEMS"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:26:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:30:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$DISPLAY_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:34:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$STORAGE_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:38:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$NETWORK_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:42:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$INPUT_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:46:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SOUND_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:50:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$BUSES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:54:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$CONTROLLER_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:58:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$OTHER_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:62:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_PROCESSOR_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:66:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_MEMORY_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:70:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_IRQ_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:74:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_TIMER_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:78:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$SYSTEM_RTC_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:82:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$DISPLAY_TEXTMODE_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:86:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$DISPLAY_GRAPHICS_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:90:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$STORAGE_HDD_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:94:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$STORAGE_DISC_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:98:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$STORAGE_FLOPPY_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:102:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$STORAGE_USBMASS_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:104:4: warning: 'return' with no value, in function returning non-void [enabled by default]
- return DEVICE_STORAGE_USBMASS;
- ^
- src/modules/tree_utils.c:106:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$NETWORK_ETHERNET_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:110:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$NETWORK_WIFI_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:114:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$INPUT_KEYBOARD_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:118:3: warning: passing argument 2 of 'strcmp' discards 'const' qualifier from pointer target type [enabled by default]
- else if(!strcmp(line, "$INPUT_MOUSE_DEVICES"))
- ^
- In file included from src/modules/tree_utils.c:7:0:
- ../libc/include/string.h:16:5: note: expected 'char *' but argument is of type 'const char *'
- int strcmp(char *s1, char *s2);
- ^
- src/modules/tree_utils.c:137:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
- printf("Syntax error: module registry index unrecognized at line %d: %s\n", lineNumber, line);
- ^
- i586-elf-ld -T linker.ld -o build/stage3.elf ../bal/build/bal.o `find build -type f -name *.o` -L ../libgcc/build -L ../libc/build -L ../libadt/build -L ../bootvid/build -lgcc-i386 -lc-i386 -ladt-i386 -lbootvid-i386
- i586-elf-objdump -S build/stage3.elf > build/disasm.s
- i586-elf-objcopy -O binary build/stage3.elf build/stage3.bin
- make[1]: Leaving directory '/home/George/darkside-kernel/kldr'
- cd kernel; make i386 CCBASE="i586-elf"
- make[1]: Entering directory '/home/George/darkside-kernel/kernel'
- i586-elf-gcc -o build/microkernel/i686/atomic.o -c src/microkernel/i686/atomic.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/cpu.o -c src/microkernel/i686/cpu.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/cpuid.o -c src/microkernel/i686/cpuid.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/exception.o -c src/microkernel/i686/exception.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- src/microkernel/i686/exception.c: In function 'exception_handler':
- src/microkernel/i686/exception.c:54:3: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration]
- panic("Unhandled exception 0x%08X\n", regs->int_no);
- ^
- src/microkernel/i686/exception.c: In function 'page_fault_handler':
- src/microkernel/i686/exception.c:63:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
- printf("Page fault at 0x%08X, error code 0x%x\n", faulting_address, regs->err_code);
- ^
- i586-elf-gcc -o build/microkernel/i686/freelist.o -c src/microkernel/i686/freelist.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/gdt.o -c src/microkernel/i686/gdt.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/idt.o -c src/microkernel/i686/idt.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/lapic.o -c src/microkernel/i686/lapic.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/lock.o -c src/microkernel/i686/lock.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/main.o -c src/microkernel/i686/main.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- src/microkernel/i686/main.c: In function 'microkernel_init':
- src/microkernel/i686/main.c:104:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
- printf("Initializing free lists\n");
- ^
- i586-elf-gcc -o build/microkernel/i686/msr.o -c src/microkernel/i686/msr.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/paging-standard.o -c src/microkernel/i686/paging-standard.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/pic.o -c src/microkernel/i686/pic.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- src/microkernel/i686/pic.c: In function 'pic_irq_handler':
- src/microkernel/i686/pic.c:84:3: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration]
- panic("Unhandled IRQ 0x%08X\n", regs->int_no - 32);
- ^
- i586-elf-gcc -o build/microkernel/i686/ports.o -c src/microkernel/i686/ports.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/microkernel/i686/thread.o -c src/microkernel/i686/thread.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/addrspace.o -c src/mm/addrspace.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/heap.o -c src/mm/heap.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/mmfault.o -c src/mm/mmfault.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- src/mm/mmfault.c: In function 'vmm_fault_handler':
- src/mm/mmfault.c:6:2: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration]
- panic("Page fault at 0x%08X\n", faulting_address);
- ^
- i586-elf-gcc -o build/mm/pfn.o -c src/mm/pfn.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/slab.o -c src/mm/slab.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- i586-elf-gcc -o build/mm/vad.o -c src/mm/vad.c -std=c99 -O -fno-asynchronous-unwind-tables -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -I../libc/include -I../libadt/include -I../bootvid/include
- nasm -f elf src/microkernel/i686/exception_asm.s -o build/microkernel/i686/exception_asm.o
- nasm -f elf src/microkernel/i686/gdt_asm.s -o build/microkernel/i686/gdt_asm.o
- nasm -f elf src/microkernel/i686/idt_asm.s -o build/microkernel/i686/idt_asm.o
- nasm -f elf src/microkernel/i686/lapic_asm.s -o build/microkernel/i686/lapic_asm.o
- src/microkernel/i686/lapic_asm.s:8: warning: signed byte value exceeds bounds
- nasm -f elf src/microkernel/i686/loader.s -o build/microkernel/i686/loader.o
- nasm -f elf src/microkernel/i686/lock_asm.s -o build/microkernel/i686/lock_asm.o
- nasm -f elf src/microkernel/i686/pic_asm.s -o build/microkernel/i686/pic_asm.o
- nasm -f elf src/microkernel/i686/smp_init.s -o build/microkernel/i686/smp_init.o
- i586-elf-ld -T linker.ld -o build/kernel-i386.elf build/microkernel/i686/loader.o `find build -type f -name *.o ! -name loader.o` -L ../libgcc/build -L ../libc/build -L ../libadt/build -L ../bootvid/build -lc-i386 -ladt-i386 -lbootvid-i386 -lgcc-i386
- i586-elf-objdump -S build/kernel-i386.elf > build/disasm.s
- make[1]: Leaving directory '/home/George/darkside-kernel/kernel'
- img/utils/updateimage.sh
- Waiting for kernel-i386.elf to be copied into ext2.img [Press Enter to continue]...38+1 records in
- 38+1 records out
- 40239104 bytes (40 MB) copied, 0.0382968 s, 1.1 GB/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement