IRC channel logs
2026-03-25.log
back to list of logs
<alganet>the kernels (builder-hex0-aarch64 and builder-hex0-riscv64) completed the stage0-posix bootstrap with minor changes. It was easier than I imagined. <alganet>I will now spend some time investigating stage0-uefi, and possibly trying to hoan the bootstrapper to take the new builder-hex0 variants up to the mes build <matrix_bridge><Andrius Štikonas> Uefi is tricker because you don't own entire memory... <matrix_bridge><Andrius Štikonas> Alrhough I did get POSIX (amd64) version of mes to run on UEFI <matrix_bridge><Andrius Štikonas> But to get more progress in emulating POSIX than i did, one need to have implement memory mapping <matrix_bridge><Andrius Štikonas> And then parse Elf sections to place them in correct locations <alganet>stikonas on stage0-uefi, I'm getting "fputs is not a defined symbol" just right after " +> amd64\artifact\cc_amd64.efi amd64\artifact\M2-0.c amd64\artifact\M2-0.M1" <stikonas>hmm, let me try, haven't ran it for a long time <stikonas>alganet: next thing to check, did you run git submodule update --init --recursive <alganet>gonna check the m2libc version, thanks! I'm doing it from the tarball, probably messed up something there, maybe it needs a pinned version <stikonas>probably no submodule if it's git archive <alganet>but you're right! I will check with the git submodule flow, I think it's going to work <alganet>it's a great help, submodules are fine but sometimes savannah git goes out and suddenly everything breaks <alganet>probably a skill issue on my part, but I was never able to replace submodule origins in github ci <alganet>I end up cloning and replacing the contents, that's why I ended up going for the tarball builds <stikonas>anyway, looks like mescc-tools is also pointing to github <stikonas>anyway, I can probably generate tarball for 1.9.1 too <alganet>I'll use the submodule path for now. The tarball would be great in the future, but it's not anything urgent <alganet>confirmed, fputs was me using wrong files! Thanks for the help! <stikonas>probably need to add some make target to get tarball <stikonas>the last thing it builds there is posix-runner.efi <stikonas>though it has been 2 years since I've hacked on posix-runner... <alganet>I'm probably stepping in my own toes here, but I'm not using its makefile directly. I'm trying to reuse the existing flow for abuild which generates the image using stage0. So now I'm bumping into short name MESCC-~1 FAT issues with my homegrown image builder <alganet>that has nothing to do with stage0-uefi, it's entirely on my own <alganet>host builds stage0 -> uses wrap to build image -> qemu boots completely stage0-built image