On Sun, Apr 28, 2024 at 2:41 AM Michael Tokarev <m...@tls.msk.ru> wrote: > > 27.04.2024 18:17, Andrew Jones : > > I wrote instructions [2] for how to cross-compile without a full > > environment/container once. It might be better for quick, local testing. > > > > [2] > > https://lore.kernel.org/qemu-riscv/20230726120706.335340-2-ajo...@ventanamicro.com/ > > I just extracted a few packages from debian riscv64 (like libglib & deps) > in a separate dir and pointed various tools (pkgconf, gcc -I, gcc -L) to > that dir. > > > >> 49c211ffca00fdf7c is also needed. So it's 3 so far, still not compile- > >> tested. Anything else? > > > > Those 3, the first of the series [1], are good. Not sure why it's still not > > compiling. > > Yes, I picked up these 3 I mentioned, in addition to the problematic one > which is part of 8.2.3. Once I had the build environment, I tried compiling > it, and it builds fine. I wrote it is not compile-TESTED, not as it fails > to compile. > > Also, I tried to build qemu on a real riscv64 hardware (on a debian > porterbox), > -- it built fine (with the 3 mentioned changes applied) and is now running > tests, but it looks like it will be fine too. > > > [1] https://lists.gnu.org/archive/html/qemu-devel/2023-12/msg01132.html > > So yes, I'm picking these additional 3 from this set, - the ones which > I already mentioned.
Thanks so much for testing that. I'm not really sure what to do about the RISC-V host builds. I keep expecting distros to ship better RISC-V support, but still they don't seem to have it Alistair > > Thanks, > > /mjt > > > -- > GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24. > New key: rsa4096/61AD3D98ECDF2C8E 9D8B E14E 3F2A 9DD7 9199 28F1 61AD 3D98 > ECDF 2C8E > Old key: rsa2048/457CE0A0804465C5 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 > 8044 65C5 > Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt > >