Comment 3 for bug 1843394

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: FTBFS in Eoan - Error: operand type mismatch for `push' - gcc 9.2.1

I wanted to test that gdb stub, to ensure the fix doesn't break things.

But all our usual ipxe components don't have the gdbstub.
The only place this object file leads to is in the last component of:
  debian/util/geniso src/bin-efi/ipxe.iso src/bin/ipxe.lkrn src/bin-x86_64-efi/ipxe.efi

None of the other roms gets linked with the code that failed to build.

Booting the iso with an efi loader (to get the right one loaded):
  qemu-system-x86_64 -enable-kvm -pflash /usr/share/OVMF/OVMF_CODE.fd -hda /usr/lib/ipxe/ipxe.iso -nographic

Still has no gdbstub feature, which matches the config as we have nothing of [1] set.
We can check we booted the right thing seeing:
  Features: DNS HTTP HTTPS iSCSI NFS TFTP SRP AoE EFI Menu
If I boot via seabios instead of ovms I get the bios version on the ISO which is different.
Features: DNS HTTP HTTPS iSCSI NFS TFTP SRP AoE ELF MBOOT PXE bzImage Menu PXEXT

Also none of the objects created by ipxe has any "gdb" string or symbol in it.

So it seems that this code is compiled, but eventually unused.
Which if true means that it isn't too important how good/bad the fix is as long as it gets the build going.
I still hope for upstream feedback on it ...

[1]: http://ipxe.org/buildcfg/gdbudp