Panic on load, attempting to substract with overflow when using more than the rust binary.
xacrimon opened this issue · 4 comments
xacrimon commented
Panic on load, attempting to substract with overflow when using more than the rust binary.
phil-opp commented
Could you explain in more detail what you're trying to do? What do you mean with "when using more than the rust binary"?
xacrimon commented
If you link more than 1 static .a library. For example i did one in C and one Rust and try to load the multiboot info the kernel panics
phil-opp commented
So you're linking multiple static libraries into a final kernel binary and then try to load the multiboot info somewhere in it?
Could you give us some more information where the panic happens, in which line and in which file (you can output this information in your panic handler)? A GDB backtrace would be even better (start QEMU with -s, then connect a GBD instance, and then execute backtrace).