[Libre-soc-bugs] [Bug 1228] SFFS ISACaller userspace ELF support for dynamic linking and PIC

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Dec 8 10:58:24 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1228

--- Comment #15 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #14)
> 
> i don't know if that will help?

not really, again, it's system mode, not user mode afaict.

today I tried to create a simple ppc64le VM iso where init immediately runs
gdbserver on the serial port, the idea is that there would be a new class like
SimRunner that would run qemu-system on that iso and then connect either using
the gdb-remote protocol or through gdb/mi using powerpc64le-linux-gnu-gdb on
the host. this would mean we have an actual linux kernel doing the ELF loading,
so we have a reference to compare against.

turns out creating a ppc64le VM iso is much harder than you might think if you
haven't done it before and are trying to not require building the iso from a
ppc64le host (cuz then you don't even need the VM).

I have a half-baked script that doesn't really work, I can commit it if you
like, but there might be a much better way to do it.

extra fun: I tried live-build, but apparently ppc64el debian 10's live-build
doesn't support ppc64le, and I can't get cross-building from amd64 to work on
ubuntu 20.04, and it turns out that the ppc64el debian 12 installer iso won't
boot in qemu...so I'm trying installing debian 10 in a VM and upgrading to
debian 12.

I'll just be done with this bug for now. on to other things...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list