On 2/28/26 9:53 AM, Alex Bennée wrote:
Pierrick Bouvier <[email protected]> writes:

On 2/27/26 9:21 AM, Pierrick Bouvier wrote:
On 2/27/26 1:58 AM, Philippe Mathieu-Daudé wrote:
The error message is as follows:
         TEST    basic gdbstub support on ppc
       Python Exception <class 'gdb.error'>: Could not fetch register "fpscr"; 
remote failure reply '14'
       Error occurred in Python: Could not fetch register "fpscr"; remote 
failure reply '14'
       qemu-ppc: QEMU: Terminated via GDBstub
I've tested from a clean checkout with the following commands:
       ./configure --target-list=ppc-linux-user
       make -j$(nproc) all
       make check-tcg

It's odd this config isn't caught by our CI.

https://gitlab.com/qemu-project/qemu/-/blob/master/tests/tcg/multiarch/Makefile.target#L153
```
ifneq ($(GDB),)
...
# gdbstub tests
...
else
run-gdbstub-%:
        $(call skip-test, "gdbstub test $*", "need working gdb with $(patsubst
-%,,$(TARGET_NAME)) support")
```
Unfortunately, gdb is not installed in any container.
At least we caught something with this bug, which is great :).
Regards,
Pierrick

Alex, is it something you could see to add to existing Dockerfiles?

I think we need to work out the equivalent of gdb-multiarch and add
mappings to the libvirt-ci project. But for linux-all-test-cross we can
add it manually.


Yes, it sounds good, it should be enough to get it in build-user and build-user-static jobs. I asked you because I know you already contributed to lcitool and did such an update, so it should be easier than for me.

Thanks,
Pierrick

Reply via email to