-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_log.txt
More file actions
76 lines (73 loc) · 5.65 KB
/
build_log.txt
File metadata and controls
76 lines (73 loc) · 5.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
=== VLSMC Bare-Metal Build Script ===
[1/5] Assembling bootloader (Stage 1 + Stage 2)...
[2/5] Assembling kernel entry and interrupts...
[3/5] Compiling C++ kernel sources...
bash : kernel/src/vmm.cpp: In static member function
тАШstatic bool re36::VMM::handle_page_fault(uint32_t,
uint32_t)тАЩ:
строка:1 знак:1
+ bash ./build.sh > build_log.txt 2>&1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (kernel/
src/vmm...., uint32_t)тАЩ::String) [], RemoteExc
eption
+ FullyQualifiedErrorId : NativeCommandError
kernel/src/vmm.cpp:260:14: warning: unused variable т
АШpt_indexтАЩ [-Wunused-variable]
260 | uint32_t pt_index = (fault_addr >> 12) &
0x3FF;
| ^~~~~~~~
kernel/src/elf_loader.cpp: In function тАШvoid re36::
elf_thread_entry()тАЩ:
kernel/src/elf_loader.cpp:40:15: warning: comparison
of integer expressions of different signedness: тАШin
tтАЩ and тАШunsigned intтАЩ [-Wsign-compare]
40 | if (bytes < sizeof(Elf32_Ehdr)) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
kernel/src/shell.cpp:29:12: warning: тАШre36::cursor_
xтАЩ defined but not used [-Wunused-variable]
29 | static int cursor_x = 0;
| ^~~~~~~~
[4/5] Linking kernel...
x86_64-linux-gnu-ld: warning: switch_task.o: missing
.note.GNU-stack section implies executable stack
x86_64-linux-gnu-ld: NOTE: This behaviour is deprecat
ed and will be removed in a future version of the lin
ker
[5/5] Building Disk Images...
mkfs.fat 4.2 (2021-01-31)
--- Boot disk ---
Volume in drive : has no label
Volume Serial Number is 63EB-95CA
Directory for ::/
STAGE2 BIN 1084 2026-02-27 21:37
KERNEL BIN 86520 2026-02-27 21:37
2 files 87 604 bytes
1 369 600 bytes free
=== Building Data Disk (FAT16) ===
mkfs.fat 4.2 (2021-01-31)
=== Building Libc ===
In file included from user/libc/include/stdio.h:3,
from user/libc/src/stdio.cpp:1:
user/libc/src/stdio.cpp: In function тАШchar* gets_s(
char*, size_t)тАЩ:
user/libc/include/stddef.h:7:23: error: invalid conve
rsion from тАШvoid*тАЩ to тАШchar*тАЩ [-fpermissive]
7 | #define NULL ((void*)0)
| ^
| |
| void*
user/libc/src/stdio.cpp:190:16: note: in expansion of
macro тАШNULLтАЩ
190 | return NULL;
| ^~~~
user/libc/include/stddef.h:7:23: error: invalid conve
rsion from тАШvoid*тАЩ to тАШchar*тАЩ [-fpermissive]
7 | #define NULL ((void*)0)
| ^
| |
| void*
user/libc/src/stdio.cpp:197:32: note: in expansion of
macro тАШNULLтАЩ
197 | if (i == 0) return NULL;
| ^~~~