Skip to contentSkip to conversation

F10 build failure

Qemu-devel Michael S. Tsirkin 2 participants 4 messages Nov 26, 2009 – Nov 29, 2009

lore
Share & tools
lore
#0 lore raw

Hi!
qemu build on fedora 10 fails with:
/root/scm/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[1]: *** [fpu/softfloat-native.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

just sticking

#define HOST_LONG_BITS 64

in fpu/softfloat-native.c helps, but what is the correct fix?

Signature · 1 line
MST
#1 lore raw
Quoted 6 lines · Michael S. Tsirkin

Hi!
qemu build on fedora 10 fails with:
/root/scm/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[1]: *** [fpu/softfloat-native.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

Quoted 6 lines

just sticking

#define HOST_LONG_BITS 64

in fpu/softfloat-native.c helps, but what is the correct fix?

rm */config.h

You updated from an old tree, right?

Later, Juan.

#2 lore raw
Quoted 11 lines · Juan Quintela
Quoted 10 lines · Michael S. Tsirkin

Hi!
qemu build on fedora 10 fails with:
/root/scm/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[1]: *** [fpu/softfloat-native.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

just sticking

#define HOST_LONG_BITS 64

Quoted 8 lines
Quoted 2 lines

in fpu/softfloat-native.c helps, but what is the correct fix?

rm */config.h

You updated from an old tree, right?

Later, Juan.

Yes. That helped, but I am surprised simply re-running configure was insufficient.

Signature · 1 line
MST
#3 lore raw
Quoted 15 lines · Michael S. Tsirkin
Quoted 14 lines · Juan Quintela
Quoted 12 lines · Michael S. Tsirkin

Hi!
qemu build on fedora 10 fails with:
/root/scm/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[1]: *** [fpu/softfloat-native.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

just sticking

#define HOST_LONG_BITS 64

in fpu/softfloat-native.c helps, but what is the correct fix?

Quoted 8 lines
Quoted 5 lines

rm */config.h

You updated from an old tree, right?

Later, Juan.

Yes. That helped, but I am surprised simply re-running configure was insufficient.

It is a long, long story. basically config.h was generated and stoped being generated, then moved to a different directory, and you could have an old one around. Make distclean also fixed the problem.

Later, Juan.