-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel doesn't boot on debug mode #12
Comments
I don't know what magic you did behind the scenes, but the kernel does boot okay on my machine now . :) |
On debug mode? Did you pass |
Nope didn't have to, and it just worked! I think you may try it too! |
N.B.
|
The ISO filesystem isn't complete! You shouldn't do Can you try rebuilding it? Building on debug mode doesn't work for me... |
okay! In the meanwhile, some other theories:
|
It still works! It's kinda strange that working properly is a bug, but anyways. git clone https://github.com/ffwff/lilith && cd lilith # of course
source env.sh
pushd .
cd userspace/toolchain
make
make ARCH=x86_64-elf-lilith
popd
pkgs/missio install libc
make distro
make run_img Here's the package versions; ask me for more info.
|
The kernel currently doesn't boot correctly when compiled in debug mode, might be because stack size is too small and LLVM doesn't inline functions as often as in release mode.
I might wanna add a flag which sets the kernel stack size to 32kb (and maybe the intrq stack size to 16kb), and maybe sprinkle in some
@[AlwaysInline]
annotations.The text was updated successfully, but these errors were encountered: