Can I use qemu system emulated builds for riscv64 and loongarch64 on build.opensuse.org?
riscv64 and loongarch64 have more test fails with erros like: qemu: uncaught target signal 6 (Aborted) - core dumped And they build much slower than the other architectures. They both use qemu user space emulation (qemu-$ARCH from the package qemu-linux-user) on top of a x86_64 qemu-kvm VM. The other ports (aarch64, ppc64le, s390x) use qemu-system-$ARCH VMs. Does there exist an option to use qemu-system-$ARCH for riscv64 and loongarch64 on build.opensuse.org?
The other architectures use `qemu-system-$ARCH -cpu host` so the speed difference comes from their native building machines. But the sentence regarding test fails is still valid. I think we can reduced the need to disable tests with full system emulation.
Am 02.01.25 um 07:10 schrieb JS:
The other architectures use `qemu-system-$ARCH -cpu host` so the speed difference comes from their native building machines.
But the sentence regarding test fails is still valid. I think we can reduced the need to disable tests with full system emulation.
In my experience: No, you can't. I'm running qemu-system-ppc64 emulated builds in my OBS instance at work, and while it is even much slower than plain userspace emulation, it still breaks the odd compilation / testcase, e.g. I basically had to disable all RHEL-9 annobin stuff to get moderately complex packages to build at all (albeit slow) without SIGILL, ICE, just seemingly random segfaults etc., not even thinking about enabling tests. Now it might be that the tests just have problems with interpreting /proc/cpuinfo or such, then system emulation might help, but as I said: it's even slower than userspace emulation. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman
participants (2)
-
JS
-
Stefan Seyfried