debian/patches/riscv-on-ppc64-gcc15-121689.patch disables the Global
Common Subexpression Elimination (GCSE) optimization pass for function
riscv_pmu_icount_update_priv() (__attribute__((optimize("no-gcse")))).

@Michael
I would suggest to build without the patch and run

    qemu-system-riscv64 -M virt -cpu rv64,h=off -nographic

on a ppc64el system. The RISC-V emulation should hang after OpenSBI
output. No QEMU error should be reported.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120835

Title:
  EDK2 tests for riscv emulation fail against qemu 10.1 on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/2120835/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to