Closed nathanchance closed 2 years ago
Will we need to roll our own QEMU again for CI?
Will we need to roll our own QEMU again for CI?
No, this issue is not fatal (as QEMU just exits, rather than hanging). I only happened to catch this because I looked back at my local QEMU boot logs. The patch is marked for QEMU stable, so it should get to us via a .1 release (although I have not seen QEMU stable updated recently, so maybe we will have to wait for 7.2.0).
This is now in QEMU master: https://gitlab.com/qemu-project/qemu/-/commit/131aafa7eff4aa4d747cb7113726b27394a38866
It is tagged for their stable releases; if they are still being done, we should get it in CI via that route. Otherwise, we will get it when 7.2.0 is released. Closing up for now as there is nothing else for us to do.
Fedora recently switched from
CONFIG_MARCH_ZEC12
toCONFIG_MARCH_Z13
(corresponding to-march=zec12
to-march=z13
):https://src.fedoraproject.org/rpms/kernel/c/aff6e8acdaa437e9f06ef4166ca2209071223f8d
Unfortunately, this results in an "illegal operation" panic when booting in QEMU:
This does not appear to be an LLVM or QEMU regression, as it can be reproduced with LLVM 14 through 16 and QEMU 6.0.0 (first release that supported s390x clang built kernels) through 7.1.0 (latest release):
https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/3042931830/jobs/4902909201 https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/3042917740/jobs/4902318661 https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/3042964560/jobs/4905063959
It can be trivially reproduced with
ARCH=s390 defconfig
+CONFIG_MARCH_Z13
:I do not see any issues with GCC 12.2.1 from Fedora but it is just possible that GCC does not generate the same code as clang.
I have reported this upstream:
https://lore.kernel.org/YyC%2FJvFONhtTYjM%2F@dev-arch.thelio-3990X/