Skip to contentSkip to conversation

qemu-0.5.5 compile regression

Qemu-devel Michael Buesch 1 participant 2 messages May 16, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

qemu-0.5.5 suffers from a gcc regression.

gcc -Wall -O2 -g -fomit-frame-pointer -O2 -mpreferred-stack-boundary=2 -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/home/mb/qemu-0.5.5/target-i386 -I/home/mb/qemu-0.5.5 -D_GNU_SOURCE -c -o op.o /home/mb/qemu-0.5.5/target-i386/op.c /home/mb/qemu-0.5.5/target-i386/ops_template_mem.h: In function `op_rolb_kernel_T0_T1_cc':
/home/mb/qemu-0.5.5/softmmu_header.h:179: error: can't find a register in class GENERAL_REGS' while reloading asm'

A workaround for the problem is compiling with -O1 I don't know how to workaround this properly.

[Please CC: me on replies, as I'm not subscribed]

- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAp2UcFGK1OIvVOP4RAv+tAJ9fNivZsqLzELE86gzU+8zHFE5Z3gCdE7XZ YS+P092APY0zEWa2OghAhsU=
=W9Fk
-----END PGP SIGNATURE-----

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · you

Hi,

qemu-0.5.5 suffers from a gcc regression.

Quoted 9 lines

gcc -Wall -O2 -g -fomit-frame-pointer -O2 -mpreferred-stack-boundary=2 -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/home/mb/qemu-0.5.5/target-i386 -I/home/mb/qemu-0.5.5 -D_GNU_SOURCE -c -o op.o /home/mb/qemu-0.5.5/target-i386/op.c /home/mb/qemu-0.5.5/target-i386/ops_template_mem.h: In function `op_rolb_kernel_T0_T1_cc':
/home/mb/qemu-0.5.5/softmmu_header.h:179: error: can't find a register in class GENERAL_REGS' while reloading asm'

A workaround for the problem is compiling with -O1 I don't know how to workaround this properly.

[Please CC: me on replies, as I'm not subscribed]

Ouw, should note that it's gcc-3.4.0 ;)

- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAp2VgFGK1OIvVOP4RAq0KAKDh7r7K5BJqgPoXAApzvZjgJcc/oQCg2kQq BJ7Esufse0vPQG2BCbyGt6w=
=3EDn
-----END PGP SIGNATURE-----